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. element : 'breadcrumb'
  5. elementType : 'collection'
  6. title : 'Breadcrumb'
  7. description : 'A breadcrumb is used to show heirarchy between 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. <h2 class="ui dividing header">Types</h2>
  15. <div class="example">
  16. <h4 class="ui header">Breadcrumb</h4>
  17. <p>A standard breadcrumb</p>
  18. <div class="ui breadcrumb">
  19. <a class="section">Home</a>
  20. <div class="divider"> / </div>
  21. <a class="section">Store</a>
  22. <div class="divider"> / </div>
  23. <div class="active section">T-Shirt</div>
  24. </div>
  25. </div>
  26. <h2 class="ui dividing header">Elements</h2>
  27. <div class="example">
  28. <h4 class="ui header">Divider</h4>
  29. <p>A breadcrumb can contain a divider to show the relationship between sections, this can be formatted as an icon or text.</p>
  30. <div class="ui breadcrumb">
  31. <a class="section">Home</a>
  32. <i class="right chevron icon divider"></i>
  33. <a class="section">Registration</a>
  34. <i class="right chevron icon divider"></i>
  35. <div class="active section">Personal Information</div>
  36. </div>
  37. </div>
  38. <div class="example">
  39. <h4 class="ui header">Section</h4>
  40. <p>A breadcrumb can contain sections that can either be formatted as a link or text</p>
  41. <div class="ui breadcrumb">
  42. <a class="section">Home</a>
  43. <div class="divider"> / </div>
  44. <div class="active section">Search</div>
  45. </div>
  46. </div>
  47. <h2 class="ui dividing header">Variations</h2>
  48. <div class="example">
  49. <h4 class="ui header">Size</h4>
  50. <p>A breadcrumb can vary in size</p>
  51. <div class="ui small breadcrumb">
  52. <a class="section">Home</a>
  53. <i class="right chevron icon divider"></i>
  54. <a class="section">Registration</a>
  55. <i class="right chevron icon divider"></i>
  56. <div class="active section">Personal Information</div>
  57. </div>
  58. </div>
  59. <div class="another example">
  60. <div class="ui large breadcrumb">
  61. <a class="section">Home</a>
  62. <i class="right chevron icon divider"></i>
  63. <a class="section">Registration</a>
  64. <i class="right chevron icon divider"></i>
  65. <div class="active section">Personal Information</div>
  66. </div>
  67. </div>
  68. <div class="another example">
  69. <div class="ui huge breadcrumb">
  70. <a class="section">Home</a>
  71. <i class="right chevron icon divider"></i>
  72. <a class="section">Registration</a>
  73. <i class="right chevron icon divider"></i>
  74. <div class="active section">Personal Information</div>
  75. </div>
  76. </div>
  77. </div>