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.

147 lines
6.4 KiB

  1. ---
  2. layout : 'default'
  3. css : 'divider'
  4. title : 'Divider'
  5. description : 'A divider visually segments content into separate groups'
  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">Variations</a>
  14. </div>
  15. </div>
  16. <h2 class="ui dividing header">Types</h2>
  17. <div class="example">
  18. <h4 class="ui header">Divider</h4>
  19. <div class="ignored ui warning message">If you are looking to add a divider in between grid rows, you can use the <code>ui divided grid</code> variation. For more information check out <a href="/collections/grid.html">the grid definition</a></div>
  20. <p>A standard divider</p>
  21. <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>
  22. <div class="ui divider"></div>
  23. <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>
  24. </div>
  25. <div class="example">
  26. <h4 class="ui header">Vertical Divider</h4>
  27. <p>A divider can segment content vertically</p>
  28. <div class="ui two column middle aligned relaxed grid basic segment">
  29. <div class="column">
  30. <div class="ui form segment">
  31. <div class="field">
  32. <label>Username</label>
  33. <div class="ui left labeled icon input">
  34. <input type="text" placeholder="Username">
  35. <i class="user icon"></i>
  36. <div class="ui corner label">
  37. <i class="asterisk icon"></i>
  38. </div>
  39. </div>
  40. </div>
  41. <div class="field">
  42. <label>Password</label>
  43. <div class="ui left labeled icon input">
  44. <input type="password">
  45. <i class="lock icon"></i>
  46. <div class="ui corner label">
  47. <i class="asterisk icon"></i>
  48. </div>
  49. </div>
  50. </div>
  51. <div class="ui blue submit button">Login</div>
  52. </div>
  53. </div>
  54. <div class="ui vertical divider">
  55. Or
  56. </div>
  57. <div class="center aligned column">
  58. <div class="huge green ui labeled icon button">
  59. <i class="signup icon"></i>
  60. Sign Up
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="example">
  66. <h4 class="ui header">Horizontal Divider</h4>
  67. <p>A divider can segment content horizontally</p>
  68. <h3 class="ui header">Retrieve Order</h3>
  69. <div class="ui tertiary form segment">
  70. <div class="field">
  71. <label>Lookup Order</label>
  72. <div class="ui left labeled icon input">
  73. <i class="search icon"></i>
  74. <input type="text" placeholder="Order #">
  75. </div>
  76. </div>
  77. <div class="ui blue submit button">Search</div>
  78. </div>
  79. <div class="ui horizontal divider">
  80. Or
  81. </div>
  82. <div class="ui teal labeled icon button">
  83. Create New Order
  84. <i class="add icon"></i>
  85. </div>
  86. </div>
  87. <div class="example">
  88. <h4 class="ui header">Icon Divider</h4>
  89. <p>A divider can include an icon</p>
  90. <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>
  91. <div class="ui horizontal icon divider">
  92. <i class="circular heart icon"></i>
  93. </div>
  94. <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>
  95. </div>
  96. <h2 class="ui dividing header">Variations</h2>
  97. <div class="example">
  98. <h4 class="ui header">Inverted</h4>
  99. <p>A divider can have its colors inverted</p>
  100. <div class="ui inverted segment">
  101. <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>
  102. <div class="ui inverted divider"></div>
  103. <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>
  104. </div>
  105. </div>
  106. <div class="example">
  107. <h4 class="ui header">Fitted</h4>
  108. <p>A divider can be fitted, without any space above or below it.</p>
  109. <div class="ui segment">
  110. 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.
  111. <div class="ui fitted divider"></div>
  112. 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.
  113. </div>
  114. </div>
  115. <div class="example">
  116. <h4 class="ui header">Section</h4>
  117. <p>A divider can provide greater margins to divide sections of content</p>
  118. <h3 class="ui header">Section One</h3>
  119. <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>
  120. <div class="ui section divider"></div>
  121. <h3 class="ui header">Section Two</h3>
  122. <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>
  123. </div>
  124. <div class="example">
  125. <h4 class="ui header">Clearing</h4>
  126. <p>A divider can clear the contents above it</p>
  127. <div class="ui segment">
  128. <h2 class="ui left floated header">Left Header</h2>
  129. <h2 class="ui right floated header">Right Header</h2>
  130. <div class="ui clearing divider"></div>
  131. <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>
  132. </div>
  133. </div>
  134. </div>