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.

129 lines
3.1 KiB

  1. ---
  2. layout : 'default'
  3. css : 'progress'
  4. title : 'Progress'
  5. description : 'Progress bars show the percent of a task complete'
  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">States</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">Progress Bar</h4>
  20. <p>A standard progress bar</p>
  21. <div class="ui progress">
  22. <div class="bar"></div>
  23. </div>
  24. </div>
  25. <h2 class="ui dividing header">States</h2>
  26. <div class="example">
  27. <h4 class="ui header">Active</h4>
  28. <p>A progress bar can show activity</p>
  29. <div class="ui active progress">
  30. <div class="bar"></div>
  31. </div>
  32. </div>
  33. <div class="example">
  34. <h4 class="ui header">Successful</h4>
  35. <p>A progress bar can show success</p>
  36. <div class="ui successful progress">
  37. <div class="bar" style="width:100%"></div>
  38. </div>
  39. </div>
  40. <div class="example">
  41. <h4 class="ui header">Warning</h4>
  42. <p>A progress bar can show a warning state</p>
  43. <div class="ui warning progress">
  44. <div class="bar" style="width:100%"></div>
  45. </div>
  46. </div>
  47. <div class="example">
  48. <h4 class="ui header">Failed</h4>
  49. <p>A progress bar can show failure</p>
  50. <div class="ui failed progress">
  51. <div class="bar" style="width:100%"></div>
  52. </div>
  53. </div>
  54. <div class="example">
  55. <h4 class="ui header">Disabled</h4>
  56. <p>A progress bar can be disabled</p>
  57. <div class="ui disabled progress">
  58. <div class="bar" style="width:100%"></div>
  59. </div>
  60. </div>
  61. <h2 class="ui dividing header">Variations</h2>
  62. <div class="example">
  63. <h4 class="ui header">Attached</h4>
  64. <p>A progress bar can show progress of an element</p>
  65. <div class="ui top attached progress">
  66. <div class="bar"></div>
  67. </div>
  68. <div class="ui attached segment">
  69. <p>La la la la</p>
  70. </div>
  71. <div class="ui bottom attached progress">
  72. <div class="bar"></div>
  73. </div>
  74. </div>
  75. <div class="example">
  76. <h4 class="ui header">Color</h4>
  77. <p>Can have different colors:</p>
  78. <div class="ui blue progress">
  79. <div class="bar"></div>
  80. </div>
  81. <div class="ui black progress">
  82. <div class="bar"></div>
  83. </div>
  84. <div class="ui green progress">
  85. <div class="bar"></div>
  86. </div>
  87. <div class="ui red progress">
  88. <div class="bar"></div>
  89. </div>
  90. <div class="ui blue progress">
  91. <div class="bar"></div>
  92. </div>
  93. <div class="ui purple progress">
  94. <div class="bar"></div>
  95. </div>
  96. <div class="ui teal progress">
  97. <div class="bar"></div>
  98. </div>
  99. </div>
  100. <div class="example">
  101. <h4 class="ui header">Striped</h4>
  102. <p>A progress bar can be striped</p>
  103. <div class="ui striped progress">
  104. <div class="bar"></div>
  105. </div>
  106. </div>
  107. <div class="another example">
  108. <div class="ui active striped progress">
  109. <div class="bar" style="width: 30%;"></div>
  110. </div>
  111. </div>
  112. </div>