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.

235 lines
9.2 KiB

11 years ago
  1. ---
  2. layout : 'default'
  3. css : 'header'
  4. title : 'Header'
  5. description : 'Headers provide a short summary of content'
  6. type : 'UI Element'
  7. ---
  8. <%- @partial('header') %>
  9. <div class="main container">
  10. <div class="peek">
  11. <div class="ui vertical pointing secondary menu">
  12. <a class="active item">Types</a>
  13. <a class="item">States</a>
  14. <a class="item">Variations</a>
  15. </div>
  16. </div>
  17. <h2 class="ui dividing header">Types</h2>
  18. <div class="example">
  19. <h4 class="ui header">Header</h4>
  20. <p>A standard header</p>
  21. <h2 class="ui header">
  22. Account Settings
  23. </h2>
  24. </div>
  25. <div class="example">
  26. <h4 class="ui header">Descriptive Headers</h4>
  27. <p>Headers may have sub headers containing further context to the section</p>
  28. <h2 class="ui header">
  29. Account Settings
  30. <div class="sub header">Manage your account settings and set e-mail preferences.</div>
  31. </h2>
  32. <h2 class="ui header">
  33. <i class="settings icon"></i>
  34. Account Settings
  35. </h2>
  36. <h2 class="ui header">
  37. <i class="settings icon"></i>
  38. <div class="content">
  39. Account Settings
  40. <div class="sub header">Manage your account settings and set e-mail preferences.</div>
  41. </div>
  42. </h2>
  43. </div>
  44. <div class="example">
  45. <h4 class="ui header">Icon</h4>
  46. <p>A header can be formatted to emphasize an icon</p>
  47. <div class="ui icon header">
  48. <i class="circular question icon"></i>Questions
  49. <div class="sub header">Have any questions? Contact Us</div>
  50. </div>
  51. </div>
  52. <div class="example">
  53. <h4 class="ui header">Page Headings</h4>
  54. <p class="header">Headers may be oriented to give the heirarchy of a section in the context of the page</p>
  55. <div class="ignored info ui message">Page headings size themselves relative to the base font of the entire page not the surrounding text.</div>
  56. <div class="ui vertical segment">
  57. <h1 class="ui header">First header</h1>
  58. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  59. <h2 class="ui header">Second header</h2>
  60. <p>Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis.</p>
  61. <h3 class="ui header">Third header</h3>
  62. <p>Morbi in sem quis dui placerat ornare. Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu. Cras consequat.</p>
  63. <h4 class="ui header">Fourth header</h4>
  64. <p>Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus.</p>
  65. <h5 class="ui header">Fifth header</h5>
  66. <p>Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi.</p>
  67. </div>
  68. <div class="ui ignored secondary font menu">
  69. <a class="increase item"> <i class="icon circular green plus"></i> Base Font</a>
  70. <a class="decrease item"> <i class="icon circular red minus"></i> Base Font</a>
  71. </div>
  72. </div>
  73. <div class="example">
  74. <h4 class="ui header">Content Headings</h4>
  75. <p>Headers may be oriented to give the importance of a section in the context of the content that surrounds it</p>
  76. <div class="ignored info ui message">Content headings size themselves relative to the base font of the surrounding text</div>
  77. <div class="ui vertical segment">
  78. <div class="ui huge header">Huge Header</div>
  79. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  80. <div class="ui large header">Large Header</div>
  81. <p>Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis.</p>
  82. <div class="ui medium header">Medium Header</div>
  83. <p>Morbi in sem quis dui placerat ornare. Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu. Cras consequat.</p>
  84. <div class="ui small header">Small Header</div>
  85. <p>Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus.</p>
  86. <div class="ui tiny header">Tiny Header</div>
  87. <p>Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi.</p>
  88. </div>
  89. <div class="ui ignored secondary font menu">
  90. <a class="increase item"> <i class="icon circular green plus"></i> Base Font</a>
  91. <a class="decrease item"> <i class="icon circular red minus"></i> Base Font</a>
  92. </div>
  93. </div>
  94. <h2 class="ui dividing header">States</h2>
  95. <div class="example">
  96. <h4 class="ui header">Disabled</h4>
  97. <p>A header can show that it is inactive</p>
  98. <div class="ui disabled header">
  99. Disabled Header
  100. </div>
  101. </div>
  102. <h2 class="ui dividing header">Variations</h2>
  103. <div class="example">
  104. <h4 class="ui header">Attached</h4>
  105. <p>A header can be attached to other content</p>
  106. <h4 class="ui top attached header">
  107. Sign Up For Our Site
  108. </h4>
  109. <div class="ui segment attached">
  110. <p>Morbi in sem quis dui placerat ornare. Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu. Cras consequat.</p>
  111. <p>Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus.</p>
  112. </div>
  113. <h4 class="ui bottom attached header">
  114. Thanks
  115. </h4>
  116. </div>
  117. <div class="example">
  118. <h4 class="ui header">Floating</h4>
  119. <p>A header can sit to the left or right of other content</p>
  120. <div class="ui segment">
  121. <h3 class="ui right floated header">
  122. Go Forward
  123. </h3>
  124. <h3 class="ui left floated header">
  125. Go Back
  126. </h3>
  127. </div>
  128. </div>
  129. <div class="clearing example">
  130. <h4 class="ui header">Text Alignment</h4>
  131. <p>A header can have its text aligned to a side</p>
  132. <div class="ui segment">
  133. <h3 class="ui right aligned header">
  134. Right
  135. </h3>
  136. <h3 class="ui left aligned header">
  137. Left
  138. </h3>
  139. <h3 class="ui justified header">
  140. This should take up the full width even if only one line
  141. </h3>
  142. <h3 class="ui center aligned header">
  143. Center
  144. </h3>
  145. </div>
  146. </div>
  147. <div class="example">
  148. <h4 class="ui header">Colors</h4>
  149. <p>A header can be formatted with different colors</p>
  150. <h3 class="ui black header">
  151. Black
  152. <div class="sub header">An excellent color</div>
  153. </h3>
  154. <h3 class="ui blue header">
  155. Blue
  156. <div class="sub header">An excellent color</div>
  157. </h3>
  158. <h3 class="ui red header">
  159. Red
  160. <div class="sub header">An excellent color</div>
  161. </h3>
  162. <h3 class="ui green header">
  163. Green
  164. <div class="sub header">An excellent color</div>
  165. </h3>
  166. <h3 class="ui purple header">
  167. Purple
  168. <div class="sub header">An excellent color</div>
  169. </h3>
  170. <h3 class="ui teal header">
  171. Teal
  172. <div class="sub header">An excellent color</div>
  173. </h3>
  174. </div>
  175. <div class="example">
  176. <h4 class="ui header">Dividing</h4>
  177. <p>A header can be formatted to divide itself from the content below it</p>
  178. <h3 class="ui dividing header">
  179. The nature of dogs
  180. </h3>
  181. <p>Understanding how dogs behave in nature can help us to better fulfill their needs when we bring them into our homes.</p>
  182. <p>When a puppy enters the world, his first pack leader is his mother. Canine moms teach rules, boundaries, and limitations from day one!</p>
  183. <p>Newborn puppies don't get a name like we do. The closest thing to a personality is a dog's status within the pack. In the animal world, there are two positions: the leader and the follower.</p>
  184. </div>
  185. <div class="example">
  186. <h4 class="ui header">Block</h4>
  187. <p>A header can be formatted to create a block</p>
  188. <h4 class="ui black block header">
  189. Block Header
  190. </h4>
  191. <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
  192. </div>
  193. <div class="example">
  194. <h4 class="ui header">Inverted</h4>
  195. <p>A header can have its colors inverted for contrast</p>
  196. <h4 class="ui inverted black block header">
  197. Black
  198. </h4>
  199. <h4 class="ui inverted blue block header">
  200. Blue
  201. </h4>
  202. <h4 class="ui inverted red block header">
  203. Red
  204. </h4>
  205. <h4 class="ui inverted green block header">
  206. Green
  207. </h4>
  208. <h4 class="ui inverted purple block header">
  209. Purple
  210. </h4>
  211. <h4 class="ui inverted teal block header">
  212. Teal
  213. </h4>
  214. </div>
  215. </div>