You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

298 lines
11 KiB

  1. ---
  2. layout : 'default'
  3. css : 'index'
  4. title : 'Introduction'
  5. type : 'Semantic'
  6. ---
  7. <script src="/javascript/home.js"></script>
  8. <link rel="stylesheet" type="text/css" href="/stylesheets/home.css">
  9. <link rel="stylesheet/less" type="text/css" href="/build/less/definitions/elements/button.less" />
  10. <div class="following bar">
  11. <div class="ui page grid">
  12. <div class="column">
  13. <img src="/images/logo.png" class="logo">
  14. <div class="ui large inverted right floated secondary menu">
  15. <div class="ui language floating dropdown item" id="languages">
  16. <i class="world icon"></i>
  17. <div class="text">Select Language</div>
  18. <%- @partial('languages') %>
  19. </div>
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. <div class="zoomed masthead segment">
  25. <div class="ui page grid">
  26. <div class="column">
  27. <div class="introduction">
  28. <a class="ui black version label" href="https://github.com/semantic-org/Semantic-UI/blob/1.0/RELEASE%20NOTES.md">
  29. 1.0.0 Beta
  30. </a>
  31. <h1 class="ui inverted header">
  32. <span class="library">
  33. Semantic UI
  34. </span>
  35. <b data-text="User Interface">HTML</b>
  36. <span class="typed-cursor">|</span>
  37. <span class="text">is the vocabulary of the web.</span>
  38. </h1>
  39. <div class="ui hidden divider"></div>
  40. <a href="/build/semantic.zip" class="ui huge basic inverted teal download button">
  41. Download Now
  42. <i class="right chevron icon"></i>
  43. </a>
  44. </div>
  45. <div class="inverted advertisement">
  46. <% unless 'developments' in @getEnvironments(): %>
  47. <div id="carbonads-container">
  48. <div class="carbonad">
  49. <div id="azcarbon"></div>
  50. <script type="text/javascript">var z = document.createElement("script"); z.type = "text/javascript"; z.async = true; z.src = "http://engine.carbonads.com/z/51619/azcarbon_2_1_0_VERTDARK"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(z, s);</script>
  51. </div>
  52. </div>
  53. <% end %>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. <div class="ui vertical stripe segment">
  59. <div class="ui stackable very relaxed two column page grid">
  60. <div class="column">
  61. <h1 class="ui icon header">
  62. <img src="/images/icons/theming.png" class="ui icon image">
  63. Unbelievable Theming
  64. </h1>
  65. <p>Semantic provides true design freedom. Change the look and feel of your components with just a few variables.</p>
  66. </div>
  67. <div class="column">
  68. <div data-type="element" data-element="button" class="ui large floating dropdown theme button">
  69. <span class="text">Select Theme</span>
  70. <i class="dropdown icon"></i>
  71. <div class="menu ui transition hidden" tabindex="-1">
  72. <div data-value="Default" class="item">Default</div>
  73. <div data-value="Amazon" class="item">Amazon</div>
  74. <div data-value="Google" class="item">Google</div>
  75. <div data-value="GitHub" class="item">GitHub</div>
  76. <div data-value="Raised" class="item">Raised</div>
  77. <div data-value="Chubby" class="item">Chubby</div>
  78. <div data-value="Classic" class="item">Classic</div>
  79. </div>
  80. </div>
  81. <div class="ui divider"></div>
  82. <div class="ui button">
  83. View
  84. </div>
  85. <div class="ui primary button">
  86. <i class="shop icon"></i> Add to Cart
  87. </div>
  88. <div class="ui secondary button">
  89. <i class="save icon"></i> Save for Later
  90. </div>
  91. <div class="ui labeled icon button">
  92. <i class="star icon"></i>
  93. Rate
  94. </div>
  95. <div class="ui buttons">
  96. <div class="ui button">1</div>
  97. <div class="ui button">2</div>
  98. <div class="ui button">3</div>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. <div class="feature alternate ui vertical stripe segment">
  104. <div class="ui three column equal height center aligned divided relaxed stackable page grid">
  105. <div class="column">
  106. <h2 class="ui icon header">
  107. <img class="ui icon image" src="/images/icons/paint.png">
  108. 3000+ CSS Variables
  109. </h2>
  110. <p>The only dogma from this framework: <em>everything arbitrary is mutable</em>.</p>
  111. <div class="ui disabled button">View Themes</div>
  112. </div>
  113. <div class="column">
  114. <h2 class="ui icon header">
  115. <img class="ui icon image" src="/images/icons/book.png">
  116. 50+ UI Definitions
  117. </h2>
  118. <p>Build your entire site with one UI stack. Share your UI between multiple projects.</p>
  119. <div class="ui primary view-ui button">Browse UI</div>
  120. </div>
  121. <div class="column">
  122. <h2 class="ui icon header">
  123. <img class="ui icon image" src="/images/icons/glasses.png">
  124. 2200+ Commits
  125. </h2>
  126. <p>
  127. Semantic UI is a <b>free open source</b> project already used in multiple <a href="http://www.quirky.com" target="_blank">large</a> scale <a href="http://www.newrepublic.com" target="_blank">production</a> environments.
  128. </p>
  129. <a href="https://github.com/Semantic-Org/Semantic-UI/issues" class="ui button">Visit GitHub</a>
  130. </div>
  131. </div>
  132. </div>
  133. <div class="ui vertical stripe segment">
  134. <div class="ui stackable very relaxed page grid">
  135. <div class="twelve wide center aligned centered column">
  136. <h1 class="ui icon header">
  137. <img src="/images/icons/toolbox.png" class="ui icon image">
  138. Unbelievable Breadth
  139. </h1>
  140. <p>Definitions aren't limited to just buttons on a page. Semantic's components fall into four categories, elements, collections, modules, and views which cover the gamut of interface design.</p>
  141. </div>
  142. <div class="three column demo row">
  143. <div class="column">
  144. <div class="no example">
  145. <h4 class="ui header">
  146. <a href="/collections/menu.html">Menu</a>
  147. </h4>
  148. <%- @partial('examples/menu') %>
  149. </div>
  150. <div class="no example">
  151. <h4 class="ui header">
  152. <a href="/modules/accordion.html">Divider</a>
  153. </h4>
  154. <%- @partial('examples/divider') %>
  155. </div>
  156. <div class="no example">
  157. <h4 class="ui header">
  158. <a href="/modules/accordion.html">Accordion</a>
  159. </h4>
  160. <%- @partial('examples/accordion') %>
  161. </div>
  162. <div class="no example">
  163. <h4 class="ui header">
  164. <a href="/collections/message.html">Message</a>
  165. </h4>
  166. <%- @partial('examples/message') %>
  167. </div>
  168. </div>
  169. <div class="column">
  170. <div class="no example">
  171. <h4 class="ui header">
  172. <a href="/views/card.html">Card</a>
  173. </h4>
  174. <%- @partial('examples/card') %>
  175. </div>
  176. <div class="no example">
  177. <h4 class="ui header">
  178. <a href="/views/feed.html">Feed</a>
  179. </h4>
  180. <%- @partial('examples/feed') %>
  181. </div>
  182. <div class="no example">
  183. <h4 class="ui header">
  184. <a href="/elements/label.html">Label</a>
  185. </h4>
  186. <%- @partial('examples/label') %>
  187. </div>
  188. <div class="no example">
  189. <h4 class="ui header">
  190. <a href="/elements/step.html">Step</a>
  191. </h4>
  192. <%- @partial('examples/step') %>
  193. </div>
  194. </div>
  195. <div class="column">
  196. <div class="no example">
  197. <h4 class="ui header">
  198. <a href="/modules/dropdown.html">Dropdown</a>
  199. </h4>
  200. <%- @partial('examples/dropdown') %>
  201. </div>
  202. <div class="no example">
  203. <h4 class="ui header">
  204. <a href="/elements/progress.html">Progress</a>
  205. </h4>
  206. <%- @partial('examples/progress') %>
  207. </div>
  208. <div class="no segment example">
  209. <h4 class="ui header">
  210. <a href="/elements/segment.html">Segment</a>
  211. </h4>
  212. <%- @partial('examples/segment') %>
  213. </div>
  214. <div class="no example">
  215. <h4 class="ui header">
  216. <a href="/elements/input.html">Input</a>
  217. </h4>
  218. <%- @partial('examples/input') %>
  219. </div>
  220. <div class="no example">
  221. <h4 class="ui header">
  222. <a href="/modules/checkbox.html">Checkbox</a>
  223. </h4>
  224. <%- @partial('examples/checkbox') %>
  225. </div>
  226. </div>
  227. </div>
  228. </div>
  229. </div>
  230. <!-- <div class="ui vertical email stripe segment">
  231. <div class="ui center aligned page grid">
  232. <div class="column">
  233. <p>
  234. Semantic is growing fast. Want to see just how much? Sign up and we'll let you know</p>
  235. <form method="post" action="http://www.nogo.com">
  236. <div class="ui huge input" style="margin:0 auto">
  237. <input type="text" placeholder="E-mail">
  238. </div>
  239. <button type="submit" class="ui huge secondary submit button">
  240. Sign-up
  241. </button>
  242. </form>
  243. </div>
  244. </div>
  245. </div> -->
  246. <div class="ui vertical inverted stripe segment">
  247. <div class="ui stackable center aligned very relaxed page grid">
  248. <div class="twelve wide column">
  249. <h1 class="ui inverted icon header">
  250. <img src="/images/icons/pen.png" class="icon image">
  251. Simplify Your Codebase
  252. </h1>
  253. <p>Semantic's design is based around <a target="_blank" href="https://www.princeton.edu/~achaney/tmve/wiki100k/docs/Descriptive_linguistics.html"><em>common usage</em></a>, using features of natural language like, plurality, tense, and word order to make your code self-explanatory.</p>
  254. <div class="hidden code" data-type="html">
  255. <div class="ui stackable center aligned very relaxed page grid">
  256. <div class="twelve wide column">
  257. <h1 class="ui inverted icon header">
  258. <img src="/images/icons/pen.png" class="icon image">
  259. Simplify Your Codebase
  260. </h1>
  261. <p>Semantic's design is based around <a target="_blank"><em>common usage</em></a>, using features of natural language like, plurality, tense, and word order to make your code self-explanatory.
  262. </p>
  263. <!-- Recursion Omitted (Turtles all the way down) !-->
  264. </div>
  265. </div>
  266. </div>
  267. </div>
  268. </div>
  269. </div>
  270. <div class="ui vertical stripe segment">
  271. <div class="ui stackable center aligned page grid">
  272. <div class="twelve wide column">
  273. <h1 class="ui icon header">
  274. <img class="ui inline icon image" src="/images/icons/rocket.png">
  275. Liberate your Development
  276. </h1>
  277. <div class="ui two column stackable center aligned vertically padded grid">
  278. <div class="column">
  279. <h3 class="ui header">Enterprise Ready</h3>
  280. <p>Build tools, performance logging, support for custom definitions, multiple-levels of theme inheritanceance—a developer's wet dream.</p>
  281. <a class="ui large right disabled labeled icon button">
  282. <i class="right chevron icon"></i>
  283. View Expert Guide
  284. </a>
  285. </div>
  286. <div class="column">
  287. <h3 class="ui header">Beginner Friendly</h3>
  288. <p>Don't feel comfortable tweaking everything? Download free community designed themes and use our customizer to build a package fit for your needs.</p>
  289. <a class="ui large right disabled labeled icon button">
  290. <i class="right chevron icon"></i>
  291. View Basic Guide
  292. </a>
  293. </div>
  294. </div>
  295. </div>
  296. </div>
  297. </div>