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.

179 lines
5.1 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
  7. <title>Theming - Semantic</title>
  8. <!--- Site CSS -->
  9. <link rel="stylesheet" type="text/css" href="../../dist/components/reset.css">
  10. <link rel="stylesheet" type="text/css" href="../../dist/components/site.css">
  11. <link rel="stylesheet" type="text/css" href="../../dist/components/grid.css">
  12. <!--- Component CSS -->
  13. <link rel="stylesheet" type="text/css" href="../../dist/components/menu.css">
  14. <link rel="stylesheet" type="text/css" href="../../dist/components/input.css">
  15. <link rel="stylesheet" type="text/css" href="../../dist/components/dropdown.css">
  16. <link rel="stylesheet" type="text/css" href="../../dist/components/icon.css">
  17. <link rel="stylesheet" type="text/css" href="../../dist/components/button.css">
  18. <link rel="stylesheet" type="text/css" href="../../dist/components/transition.css">
  19. <!--- Example Libs -->
  20. <link rel="stylesheet" type="text/css" href="../../dist/components/popup.css">
  21. <script src="../assets/library/jquery.min.js"></script>
  22. <script src="../assets/library/iframe-content.js"></script>
  23. <script src="../assets/show-examples.js"></script>
  24. <script type="text/javascript" src="../../dist/components/popup.js"></script>
  25. <!--- Component JS -->
  26. <script type="text/javascript" src="../../dist/components/transition.js"></script>
  27. <script type="text/javascript" src="../../dist/components/dropdown.js"></script>
  28. <!--- Example CSS -->
  29. <style>
  30. .ui.menu {
  31. margin: 3em 0em;
  32. }
  33. .ui.menu:last-child {
  34. margin-bottom: 110px;
  35. }
  36. </style>
  37. <!--- Example Javascript -->
  38. <script>
  39. $(document)
  40. .ready(function() {
  41. $('.ui.menu .ui.dropdown').dropdown({
  42. on: 'hover'
  43. });
  44. $('.ui.menu a.item')
  45. .on('click', function() {
  46. $(this)
  47. .addClass('active')
  48. .siblings()
  49. .removeClass('active')
  50. ;
  51. })
  52. ;
  53. })
  54. ;
  55. </script>
  56. </head>
  57. <body>
  58. <div class="ui menu">
  59. <div class="header item">Brand</div>
  60. <a class="active item">Link</a>
  61. <a class="item">Link</a>
  62. <div class="ui dropdown item">
  63. Dropdown
  64. <i class="dropdown icon"></i>
  65. <div class="menu">
  66. <div class="item">Action</div>
  67. <div class="item">Another Action</div>
  68. <div class="item">Something else here</div>
  69. <div class="divider"></div>
  70. <div class="item">Separated Link</div>
  71. <div class="divider"></div>
  72. <div class="item">One more separated link</div>
  73. </div>
  74. </div>
  75. <div class="right menu">
  76. <div class="item">
  77. <div class="ui action left icon input">
  78. <i class="search icon"></i>
  79. <input type="text" placeholder="Search">
  80. <button class="ui button">Submit</button>
  81. </div>
  82. </div>
  83. <a class="item">Link</a>
  84. </div>
  85. </div>
  86. <div class="ui inverted menu">
  87. <div class="header item">Brand</div>
  88. <div class="active item">Link</div>
  89. <a class="item">Link</a>
  90. <div class="ui dropdown item">
  91. Dropdown
  92. <i class="dropdown icon"></i>
  93. <div class="menu">
  94. <div class="item">Action</div>
  95. <div class="item">Another Action</div>
  96. <div class="item">Something else here</div>
  97. <div class="divider"></div>
  98. <div class="item">Separated Link</div>
  99. <div class="divider"></div>
  100. <div class="item">One more separated link</div>
  101. </div>
  102. </div>
  103. <div class="right menu">
  104. <div class="item">
  105. <div class="ui transparent inverted icon input">
  106. <i class="search icon"></i>
  107. <input type="text" placeholder="Search">
  108. </div>
  109. </div>
  110. <a class="item">Link</a>
  111. </div>
  112. </div>
  113. <div class="ui secondary menu">
  114. <div class="active item">Link</div>
  115. <a class="item">Link</a>
  116. <div class="ui dropdown item">
  117. Dropdown
  118. <i class="dropdown icon"></i>
  119. <div class="menu">
  120. <div class="item">Action</div>
  121. <div class="item">Another Action</div>
  122. <div class="item">Something else here</div>
  123. <div class="divider"></div>
  124. <div class="item">Separated Link</div>
  125. <div class="divider"></div>
  126. <div class="item">One more separated link</div>
  127. </div>
  128. </div>
  129. <div class="right menu">
  130. <div class="item">
  131. <div class="ui action left icon input">
  132. <i class="search icon"></i>
  133. <input type="text" placeholder="Search">
  134. <button class="ui button">Submit</button>
  135. </div>
  136. </div>
  137. <a class="item">Link</a>
  138. </div>
  139. </div>
  140. <div class="ui three column doubling grid">
  141. <div class="column">
  142. <div class="ui secondary pointing menu">
  143. <div class="active item">Link</div>
  144. <a class="item">Link</a>
  145. <a class="item">Link</a>
  146. </div>
  147. </div>
  148. <div class="column">
  149. <div class="ui tabular menu">
  150. <div class="active item">Link</div>
  151. <a class="item">Link</a>
  152. <a class="item">Link</a>
  153. </div>
  154. </div>
  155. <div class="column">
  156. <div class="ui pointing menu">
  157. <div class="active item">Link</div>
  158. <a class="item">Link</a>
  159. <div class="right item">
  160. Right Text
  161. </div>
  162. </div>
  163. </div>
  164. </div>
  165. </body>
  166. </html>