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.

281 lines
10 KiB

  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>UI Menu - Semantic</title>
  6. <link rel="stylesheet" class="ui" href="../src/ui/flat/panel.css" type="text/css" media="screen" />
  7. <link rel="stylesheet" class="ui" href="../src/ui/flat/button.css" type="text/css" media="screen" />
  8. <link rel="stylesheet" class="ui" href="../src/ui/flat/text.css" type="text/css" media="screen" />
  9. <link rel="stylesheet" class="ui" href="../src/ui/flat/form.css" type="text/css" media="screen" />
  10. <link rel="stylesheet" class="ui" href="../src/ui/flat/divider.css" type="text/css" media="screen" />
  11. <link rel="stylesheet" class="ui" href="../src/ui/flat/block.css" type="text/css" media="screen" />
  12. <link rel="stylesheet" class="ui" href="../src/ui/flat/segment.css" type="text/css" media="screen" />
  13. <link rel="stylesheet" class="ui" href="../src/ui/flat/checkbox.css" type="text/css" media="screen" />
  14. <link rel="stylesheet" class="ui" href="../src/ui/flat/icons.css" type="text/css" media="screen" />
  15. <link rel="stylesheet" href="../src/ui/flat/menu.css" type="text/css" media="screen" />
  16. <link rel="stylesheet" href="../src/modules/ui/shape.css" type="text/css" media="screen" />
  17. <link rel="stylesheet" href="library/sidr.css" type="text/css" media="screen" />
  18. <link rel="stylesheet" href="stylesheets/example.css" type="text/css" media="screen" />
  19. <script src="library/jquery.js" type="text/javascript"></script>
  20. <script src="library/ace/ace.js" type="text/javascript"></script>
  21. <script src="library/sidr.js" type="text/javascript"></script>
  22. <script src="library/waypoints.js" type="text/javascript"></script>
  23. <script src="javascript/semantic.js" type="text/javascript"></script>
  24. <script src="../src/modules/ui/shape.js" type="text/javascript"></script>
  25. <script src="../src/modules/behavior/state.js" type="text/javascript"></script>
  26. </head>
  27. <body id="example">
  28. <div class="ui large vertical menu" id="menu">
  29. <div class="menu">
  30. <div class="item"><a href="module.html"><b>Introduction</b></a></div>
  31. <div class="item"><a href="download"><b>Download</b></a></div>
  32. <div class="item">
  33. <a href="#"><b>UI Elements</b></a>
  34. <div class="menu">
  35. <div class="item"><a href="button.html">Button</a></div>
  36. <div class="active item"><a href="form.html">Forms</a></div>
  37. <div class="item"><a href="table.html">Table</a></div>
  38. <div class="item"><a href="steps.html">Steps</a></div>
  39. <div class="item"><a href="progress.html">Progress</a></div>
  40. <div class="item"><a href="text.html">Text Block</a></div>
  41. <div class="item"><a href="header.html">Headers</a></div>
  42. <div class="item"><a href="header.html">Segment</a></div>
  43. <div class="item"><a href="column.html">Columns</a></div>
  44. <div class="item"><a href="element.html">Elements (Grid System)</a></div>
  45. <div class="item"><a href="tag.html">Tags</a></div>
  46. <div class="item"><a href="item.html">Items (Lists of Content)</a></div>
  47. <div class="item"><a href="panel.html">Panels (Type of Menu)</a></div>
  48. <div class="item"><a href="icon.html">Icons</a></div>
  49. <div class="item"><a href="divider.html">Dividers</a></div>
  50. </div>
  51. </div>
  52. <div class="item">
  53. <a href="#"><b>UI Views</b></a>
  54. <div class="menu">
  55. <div class="item"><a href="form.html">Forms</a></div>
  56. <div class="item"><a href="activity.html">Activity Feed</a></div>
  57. <div class="item"><a href="list.html">Content List</a></div>
  58. <div class="item"><a href="user-list.html">User List</a></div>
  59. </div>
  60. </div>
  61. <div class="item">
  62. <a href="#"><b>UI Modules</b></a>
  63. <div class="menu">
  64. <div class="item"><a href="accordion.html">Accordion</a></div>
  65. <div class="item"><a href="chatroom.html">Chat Room</a></div>
  66. <div class="item"><a href="modal.html">Modal</a></div>
  67. <div class="item"><a href="nag.html">Nag</a></div>
  68. <div class="item"><a href="popup.html">Popup</a></div>
  69. <div class="item"><a href="search.html">Search</a></div>
  70. <div class="item"><a href="star.html">Star Rating</a></div>
  71. <div class="item"><a href="tab.html">Tabs</a></div>
  72. </div>
  73. </div>
  74. <div class="item">
  75. <a href="#"><b>Behavioral Modules</b></a>
  76. <div class="menu">
  77. <div class="item"><a href="api.html">API</a></div>
  78. <div class="item"><a href="animation.html">Animation</a></div>
  79. <div class="item"><a href="validate.html">Form Validation</a></div>
  80. <div class="item"><a href="placeholder.html">Placeholder Text</a></div>
  81. <div class="item"><a href="shape.html">Shape</a></div>
  82. <div class="item"><a href="state.html">State</a></div>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. <div class="ui fixed transparent black menu">
  88. <div class="container">
  89. <div class="title item">
  90. Semantic UI: Menu
  91. </div>
  92. <div class="icon previous link item">
  93. <a href="button.html"><i class="icon left-open"></i></a>
  94. </div>
  95. <div class="section dropdown item">
  96. 3 of 14
  97. <div class="menu">
  98. <a href="button.html" class="item">1. Button</a>
  99. <a href="form.html" class="item">2. Form</a>
  100. <a href="table.html" class="item">3. Table</a>
  101. <a class="item active">4. Menu</a>
  102. <a class="item">5. Elements</a>
  103. <a class="item">6. Tags</a>
  104. <a class="item">7. Items</a>
  105. <a class="item">8. Panels</a>
  106. </div>
  107. </div>
  108. <div class="icon next link item">
  109. <i class="icon right-open"></i>
  110. </div>
  111. <div class="right menu">
  112. <a class="item" href="https://github.com/quirkyinc/semantic">
  113. <i class="icon cloud"></i>
  114. </a>
  115. <a class="item" href="https://github.com/quirkyinc/semantic">
  116. <i class="icon github"></i>
  117. </a>
  118. <div class="dropdown item">
  119. <i class="icon tint"></i> Theme
  120. <div class="theme menu">
  121. <div class="item" data-theme="flat">Flat</div>
  122. <div class="item" data-theme="shaded">Shaded</div>
  123. <div class="item" data-theme="classic">Classic</div>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. <div class="ui huge left attached vertical side buttons">
  130. <div class="ui blue menu button">Menu</div>
  131. </div>
  132. <div class="segment">
  133. <div class="container">
  134. <h1>Menu</h1>
  135. <p>A menu is a ui collection made up of items. These items can be links, dropdowns, menus themselves, or other item types.</p>
  136. <p>Items containing menus are formatted as sub menus. Menus containing menus are formatted as the same tier as the parent menu.</p>
  137. </div>
  138. </div>
  139. <div class="main container">
  140. <div class="peek">
  141. <div class="ui large vertical pointing bottom attached panel">
  142. <li class="active">Collection</li>
  143. <li>Elements</li>
  144. <li>Variations</li>
  145. <li>Group</li>
  146. </div>
  147. </div>
  148. <h2>Collection</h2>
  149. <div class="example">
  150. <h4>Menu</h4>
  151. <p>This example uses several menu elements, an unclickable block, a clickable text link, a clickable icon link, and a dropdown group</p>
  152. <div class="ui menu">
  153. <div class="item">
  154. Site Title
  155. </div>
  156. <div class="active item">
  157. <a>Current section</a>
  158. </div>
  159. <div class="item">
  160. <a>Section 1</a>
  161. </div>
  162. <div class="icon item">
  163. <a><i class="icon heart"></i></a>
  164. </div>
  165. <div class="right dropdown item">
  166. Dropdown <i class="icon down-dir"></i>
  167. <div class="menu">
  168. <div class="item">Choice 1</div>
  169. <div class="item">Choice 2</div>
  170. <div class="item">Choice 3</div>
  171. </div>
  172. </div>
  173. </div>
  174. </div>
  175. <div class="example">
  176. <h4>Vertical Menu</h4>
  177. <p>This example uses several menu elements, an unclickable block, a clickable text link, a clickable icon link, and a dropdown group</p>
  178. <div class="ui vertical menu">
  179. <div class="item">
  180. Site Title
  181. </div>
  182. <div class="active item">
  183. <a href="#">Current section</a>
  184. </div>
  185. <div class="item">
  186. <a href="#">Grouped Section</a>
  187. <div class="menu">
  188. <a class="item">Subsection 1</a>
  189. <a class="item">Subsection 1</a>
  190. <a class="item">Subsection 1</a>
  191. </div>
  192. </div>
  193. <div class="dropdown item">
  194. Dropdown <i class="icon right-dir"></i>
  195. <div class="menu">
  196. <div class="item">Choice 1</div>
  197. <div class="item">Choice 2</div>
  198. <div class="item">Choice 3</div>
  199. </div>
  200. </div>
  201. </div>
  202. </div>
  203. <h2>Elements</h2>
  204. <h2>States</h2>
  205. <h2>Variations</h2>
  206. <div class="example">
  207. <h4>Pointing (Horizontal)</h4>
  208. <p>A horizontal menu can point to content below itself to show ownership</p>
  209. <div class="ui pointing menu">
  210. <div class="item">
  211. Site Title
  212. </div>
  213. <div class="active item">
  214. <a href="#">Current section</a>
  215. </div>
  216. <div class="right menu">
  217. <div class="dropdown item">
  218. Dropdown <i class="icon down-dir"></i>
  219. <div class="menu">
  220. <div class="item">Choice 1</div>
  221. <div class="item">Choice 2</div>
  222. <div class="item">Choice 3</div>
  223. </div>
  224. </div>
  225. </div>
  226. </div>
  227. </div>
  228. <div class="example">
  229. <h4>Pointing (Horizontal)</h4>
  230. <p>A menu can point to content adjacent to itself to show ownership</p>
  231. <div class="ui pointing vertical menu">
  232. <div class="item">
  233. Site Title
  234. </div>
  235. <div class="active item">
  236. <a href="#">Current section</a>
  237. </div>
  238. <div class="item">
  239. <a href="#">Grouped Section</a>
  240. <div class="menu">
  241. <a class="item">Subsection 1</a>
  242. <a class="item">Subsection 1</a>
  243. <a class="item">Subsection 1</a>
  244. </div>
  245. </div>
  246. <div class="dropdown item">
  247. Dropdown <i class="icon right-dir"></i>
  248. <div class="menu">
  249. <div class="item">Choice 1</div>
  250. <div class="item">Choice 2</div>
  251. <div class="item">Choice 3</div>
  252. </div>
  253. </div>
  254. </div>
  255. </div>
  256. <h2>Groups</h2>
  257. <div class="example">
  258. <h4>Menu Groups</h4>
  259. <p>Menu can exist side by side to show relation</p>
  260. </div>
  261. </div>
  262. </body>
  263. </html>