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.

103 lines
2.9 KiB

  1. ---
  2. layout : 'default'
  3. css : 'breadcrumb'
  4. element : 'breadcrumb'
  5. elementType : 'collection'
  6. title : 'Breadcrumb'
  7. description : 'A breadcrumb is used to display the relation of the current content to other content.'
  8. type : 'UI Collection'
  9. themes : ['Default']
  10. ---
  11. <%- @partial('header') %>
  12. <link rel="stylesheet/less" type="text/css" href="/build/less/definitions/collections/breadcrumb.less" />
  13. <div class="main container">
  14. <div class="peek">
  15. <div class="ui vertical pointing secondary menu">
  16. <a class="active item">Types</a>
  17. <a class="item">Elements</a>
  18. <a class="item">Variations</a>
  19. </div>
  20. </div>
  21. <h2 class="ui dividing header">Types</h2>
  22. <div class="example">
  23. <h4 class="ui header">Breadcrumb</h4>
  24. <p>A standard breadcrumb</p>
  25. <div class="ui breadcrumb">
  26. <a class="section">Food</a>
  27. <div class="divider"> / </div>
  28. <a class="section">Fruit</a>
  29. <div class="divider"> / </div>
  30. <div class="active section">Apples</div>
  31. </div>
  32. </div>
  33. <h2 class="ui dividing header">Elements</h2>
  34. <div class="example">
  35. <h4 class="ui header">A divider</h4>
  36. <p>A breadcrumb can contain a divider to show the relationship between sections, this can be formatted as an icon or text.</p>
  37. <div class="ui breadcrumb">
  38. <a class="section">Food</a>
  39. <i class="right chevron icon divider"></i>
  40. <a class="section">Fruit</a>
  41. <i class="right chevron icon divider"></i>
  42. <div class="active section">Apples</div>
  43. </div>
  44. </div>
  45. <div class="example">
  46. <h4 class="ui header">A section</h4>
  47. <p>A breadcrumb can contain sections that can either be formatted as a link or text</p>
  48. <div class="ui breadcrumb">
  49. <a class="section">Food</a>
  50. <div class="divider"> / </div>
  51. <a class="section">Fruit</a>
  52. <div class="divider"> / </div>
  53. <div class="active section">Apples</div>
  54. </div>
  55. </div>
  56. <h2 class="ui dividing header">Variations</h2>
  57. <div class="example">
  58. <h4 class="ui header">Size</h4>
  59. <p>A breadcrumb can vary in size</p>
  60. <div class="ui small breadcrumb">
  61. <a class="section">Food</a>
  62. <div class="divider"> / </div>
  63. <a class="section">Fruit</a>
  64. <div class="divider"> / </div>
  65. <div class="active section">Apples</div>
  66. </div>
  67. </div>
  68. <div class="another example">
  69. <div class="ui large breadcrumb">
  70. <a class="section">Food</a>
  71. <div class="divider"> / </div>
  72. <a class="section">Fruit</a>
  73. <div class="divider"> / </div>
  74. <div class="active section">Apples</div>
  75. </div>
  76. </div>
  77. <div class="another example">
  78. <div class="ui huge breadcrumb">
  79. <a class="section">Food</a>
  80. <div class="divider"> / </div>
  81. <a class="section">Fruit</a>
  82. <div class="divider"> / </div>
  83. <div class="active section">Apples</div>
  84. </div>
  85. </div>
  86. </div>