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.

135 lines
3.2 KiB

  1. ---
  2. layout : 'default'
  3. css : 'progress'
  4. element : 'progress'
  5. elementType : 'element'
  6. title : 'Progress'
  7. description : 'A progress bar shows the progression of a task'
  8. type : 'UI Element'
  9. themes : ['Default']
  10. ---
  11. <%- @partial('header') %>
  12. <div class="main container">
  13. <div class="peek">
  14. <div class="ui vertical pointing secondary menu">
  15. <a class="active item">Types</a>
  16. <a class="item">States</a>
  17. <a class="item">Variations</a>
  18. </div>
  19. </div>
  20. <h2 class="ui dividing header">Types</h2>
  21. <div class="example">
  22. <h4 class="ui header">Progress Bar</h4>
  23. <p>A standard progress bar</p>
  24. <div class="ui progress">
  25. <div class="bar"></div>
  26. </div>
  27. </div>
  28. <h2 class="ui dividing header">States</h2>
  29. <div class="example">
  30. <h4 class="ui header">Active</h4>
  31. <p>A progress bar can show activity</p>
  32. <div class="ui active progress">
  33. <div class="bar"></div>
  34. </div>
  35. </div>
  36. <div class="example">
  37. <h4 class="ui header">Successful</h4>
  38. <p>A progress bar can show success</p>
  39. <div class="ui successful progress">
  40. <div class="bar" style="width:100%"></div>
  41. </div>
  42. </div>
  43. <div class="example">
  44. <h4 class="ui header">Warning</h4>
  45. <p>A progress bar can show a warning state</p>
  46. <div class="ui warning progress">
  47. <div class="bar" style="width:100%"></div>
  48. </div>
  49. </div>
  50. <div class="example">
  51. <h4 class="ui header">Failed</h4>
  52. <p>A progress bar can show failure</p>
  53. <div class="ui failed progress">
  54. <div class="bar" style="width:100%"></div>
  55. </div>
  56. </div>
  57. <div class="example">
  58. <h4 class="ui header">Disabled</h4>
  59. <p>A progress bar can be disabled</p>
  60. <div class="ui disabled progress">
  61. <div class="bar" style="width:100%"></div>
  62. </div>
  63. </div>
  64. <h2 class="ui dividing header">Variations</h2>
  65. <div class="example">
  66. <h4 class="ui header">Attached</h4>
  67. <p>A progress bar can show progress of an element</p>
  68. <div class="ui top attached progress">
  69. <div class="bar"></div>
  70. </div>
  71. <div class="ui attached segment">
  72. <p>La la la la</p>
  73. </div>
  74. <div class="ui bottom attached progress">
  75. <div class="bar"></div>
  76. </div>
  77. </div>
  78. <div class="example">
  79. <h4 class="ui header">Color</h4>
  80. <p>Can have different colors:</p>
  81. <div class="ui blue progress">
  82. <div class="bar"></div>
  83. </div>
  84. <div class="ui black progress">
  85. <div class="bar"></div>
  86. </div>
  87. <div class="ui green progress">
  88. <div class="bar"></div>
  89. </div>
  90. <div class="ui red progress">
  91. <div class="bar"></div>
  92. </div>
  93. <div class="ui blue progress">
  94. <div class="bar"></div>
  95. </div>
  96. <div class="ui purple progress">
  97. <div class="bar"></div>
  98. </div>
  99. <div class="ui teal progress">
  100. <div class="bar"></div>
  101. </div>
  102. </div>
  103. <div class="example">
  104. <h4 class="ui header">Striped</h4>
  105. <p>A progress bar can be striped</p>
  106. <div class="ui striped progress">
  107. <div class="bar"></div>
  108. </div>
  109. </div>
  110. <div class="another example">
  111. <div class="ui active striped progress">
  112. <div class="bar" style="width: 30%;"></div>
  113. </div>
  114. </div>
  115. </div>