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.

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