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.

93 lines
2.7 KiB

  1. ---
  2. layout : 'default'
  3. css : 'breadcrumb'
  4. title : 'Breadcrumb'
  5. description : 'A breadcrumb is a menu to show the location of the current section in relation to other sections.'
  6. type : 'UI Collection'
  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">Elements</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">Breadcrumb</h4>
  20. <p>A standard breadcrumb</p>
  21. <div class="ui breadcrumb">
  22. <a class="section">Food</a>
  23. <div class="divider"> / </div>
  24. <a class="section">Fruit</a>
  25. <div class="divider"> / </div>
  26. <div class="active section">Apples</div>
  27. </div>
  28. </div>
  29. <h2 class="ui dividing header">Elements</h2>
  30. <div class="example">
  31. <h4 class="ui header">A divider</h4>
  32. <p>A breadcrumb can contain a divider to show the relationship between sections, this can be formatted as an icon or text.</p>
  33. <div class="ui breadcrumb">
  34. <a class="section">Food</a>
  35. <i class="right arrow icon divider"></i>
  36. <a class="section">Fruit</a>
  37. <i class="right arrow icon divider"></i>
  38. <div class="active section">Apples</div>
  39. </div>
  40. </div>
  41. <div class="example">
  42. <h4 class="ui header">A section</h4>
  43. <p>A breadcrumb can contain sections that can either be formatted as a link or text</p>
  44. <div class="ui breadcrumb">
  45. <a class="section">Food</a>
  46. <div class="divider"> / </div>
  47. <a class="section">Fruit</a>
  48. <div class="divider"> / </div>
  49. <div class="active section">Apples</div>
  50. </div>
  51. </div>
  52. <h2 class="ui dividing header">Variations</h2>
  53. <div class="example">
  54. <h4 class="ui header">Size</h4>
  55. <p>A breadcrumb can vary in size</p>
  56. <div class="ui small breadcrumb">
  57. <a class="section">Food</a>
  58. <div class="divider"> / </div>
  59. <a class="section">Fruit</a>
  60. <div class="divider"> / </div>
  61. <div class="active section">Apples</div>
  62. </div>
  63. </div>
  64. <div class="another example">
  65. <div class="ui large breadcrumb">
  66. <a class="section">Food</a>
  67. <div class="divider"> / </div>
  68. <a class="section">Fruit</a>
  69. <div class="divider"> / </div>
  70. <div class="active section">Apples</div>
  71. </div>
  72. </div>
  73. <div class="another example">
  74. <div class="ui huge breadcrumb">
  75. <a class="section">Food</a>
  76. <div class="divider"> / </div>
  77. <a class="section">Fruit</a>
  78. <div class="divider"> / </div>
  79. <div class="active section">Apples</div>
  80. </div>
  81. </div>
  82. </div>