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.

265 lines
5.2 KiB

Merge branch 'css' of github.com:Semantic-Org/Semantic-UI into css Conflicts: build/less/collections/menu.less build/less/elements/button.less build/less/elements/icon.less build/less/elements/input.less build/less/elements/progress.less build/less/modules/accordion.less build/less/modules/checkbox.less build/less/modules/dimmer.less build/less/modules/popup.less build/less/modules/transition.less build/less/semantic.config build/less/themes/github/elements/button.overrides build/less/themes/github/elements/button.variables build/minified/collections/breadcrumb.min.css build/minified/collections/form.min.css build/minified/collections/grid.min.css build/minified/collections/menu.min.css build/minified/collections/message.min.css build/minified/collections/table.min.css build/minified/elements/button.min.css build/minified/elements/divider.min.css build/minified/elements/header.min.css build/minified/elements/icon.min.css build/minified/elements/image.min.css build/minified/elements/input.min.css build/minified/elements/label.min.css build/minified/elements/loader.min.css build/minified/elements/progress.min.css build/minified/elements/reveal.min.css build/minified/elements/segment.min.css build/minified/elements/step.min.css build/minified/modules/accordion.min.css build/minified/modules/chatroom.min.css build/minified/modules/checkbox.min.css build/minified/modules/dimmer.min.css build/minified/modules/dropdown.min.css build/minified/modules/modal.min.css build/minified/modules/nag.min.css build/minified/modules/popup.min.css build/minified/modules/rating.min.css build/minified/modules/search.min.css build/minified/modules/shape.min.css build/minified/modules/sidebar.min.css build/minified/modules/tab.min.css build/minified/modules/transition.min.css build/minified/modules/video.min.css build/minified/themes/github/elements/button.overrides build/minified/themes/github/elements/button.variables build/minified/views/comment.min.css build/minified/views/feed.min.css build/minified/views/item.min.css build/minified/views/list.min.css build/minified/views/statistic.min.css build/packaged/css/semantic.css build/packaged/css/semantic.min.css build/packaged/javascript/semantic.min.js build/packaged/themes/github/elements/button.overrides build/packaged/themes/github/elements/button.variables build/uncompressed/elements/button.css build/uncompressed/elements/header.css build/uncompressed/elements/icon.css build/uncompressed/elements/image.css build/uncompressed/elements/segment.css build/uncompressed/themes/github/elements/button.overrides build/uncompressed/themes/github/elements/button.variables rtl/less/collections/menu.less rtl/less/elements/basic.icon.less rtl/less/elements/button.less rtl/less/elements/icon.less rtl/less/elements/input.less rtl/less/elements/segment.less rtl/less/modules/accordion.less rtl/less/modules/checkbox.less rtl/less/modules/dimmer.less rtl/less/modules/dropdown.less rtl/less/modules/popup.less rtl/less/modules/transition.less rtl/minified/collections/breadcrumb.min.css rtl/minified/collections/form.min.css rtl/minified/collections/grid.min.css rtl/minified/collections/menu.min.css rtl/minified/collections/message.min.css rtl/minified/collections/table.min.css rtl/minified/elements/basic.icon.min.css rtl/minified/elements/button.min.css rtl/minified/elements/divider.min.css rtl/minified/elements/header.min.css rtl/minified/elements/icon.min.css rtl/minified/elements/image.min.css rtl/minified/elements/input.min.css rtl/minified/elements/label.min.css rtl/minified/elements/loader.min.css rtl/minified/elements/progress.min.css rtl/minified/elements/reveal.min.css rtl/minified/elements/segment.min.css rtl/minified/elements/step.min.css rtl/minified/modules/accordion.min.css rtl/minified/modules/chatroom.min.css rtl/minified/modules/checkbox.min.css rtl/minified/modules/dimmer.min.css rtl/minified/modules/dropdown.min.css rtl/minified/modules/modal.min.css rtl/minified/modules/nag.min.css rtl/minified/modules/popup.min.css rtl/minified/modules/rating.min.css rtl/minified/modules/search.min.css rtl/minified/modules/shape.min.css rtl/minified/modules/sidebar.min.css rtl/minified/modules/tab.min.css rtl/minified/modules/transition.min.css rtl/minified/modules/video.min.css rtl/minified/views/comment.min.css rtl/minified/views/feed.min.css rtl/minified/views/item.min.css rtl/minified/views/list.min.css rtl/minified/views/statistic.min.css rtl/packaged/css/semantic.css rtl/packaged/css/semantic.min.css rtl/packaged/javascript/semantic.min.js rtl/uncompressed/elements/basic.icon.css rtl/uncompressed/elements/icon.css server/files/stylesheets/library/basic.icon.css src/elements/icon.less
11 years ago
Merge branch 'css' of github.com:Semantic-Org/Semantic-UI into css Conflicts: build/less/collections/menu.less build/less/elements/button.less build/less/elements/icon.less build/less/elements/input.less build/less/elements/progress.less build/less/modules/accordion.less build/less/modules/checkbox.less build/less/modules/dimmer.less build/less/modules/popup.less build/less/modules/transition.less build/less/semantic.config build/less/themes/github/elements/button.overrides build/less/themes/github/elements/button.variables build/minified/collections/breadcrumb.min.css build/minified/collections/form.min.css build/minified/collections/grid.min.css build/minified/collections/menu.min.css build/minified/collections/message.min.css build/minified/collections/table.min.css build/minified/elements/button.min.css build/minified/elements/divider.min.css build/minified/elements/header.min.css build/minified/elements/icon.min.css build/minified/elements/image.min.css build/minified/elements/input.min.css build/minified/elements/label.min.css build/minified/elements/loader.min.css build/minified/elements/progress.min.css build/minified/elements/reveal.min.css build/minified/elements/segment.min.css build/minified/elements/step.min.css build/minified/modules/accordion.min.css build/minified/modules/chatroom.min.css build/minified/modules/checkbox.min.css build/minified/modules/dimmer.min.css build/minified/modules/dropdown.min.css build/minified/modules/modal.min.css build/minified/modules/nag.min.css build/minified/modules/popup.min.css build/minified/modules/rating.min.css build/minified/modules/search.min.css build/minified/modules/shape.min.css build/minified/modules/sidebar.min.css build/minified/modules/tab.min.css build/minified/modules/transition.min.css build/minified/modules/video.min.css build/minified/themes/github/elements/button.overrides build/minified/themes/github/elements/button.variables build/minified/views/comment.min.css build/minified/views/feed.min.css build/minified/views/item.min.css build/minified/views/list.min.css build/minified/views/statistic.min.css build/packaged/css/semantic.css build/packaged/css/semantic.min.css build/packaged/javascript/semantic.min.js build/packaged/themes/github/elements/button.overrides build/packaged/themes/github/elements/button.variables build/uncompressed/elements/button.css build/uncompressed/elements/header.css build/uncompressed/elements/icon.css build/uncompressed/elements/image.css build/uncompressed/elements/segment.css build/uncompressed/themes/github/elements/button.overrides build/uncompressed/themes/github/elements/button.variables rtl/less/collections/menu.less rtl/less/elements/basic.icon.less rtl/less/elements/button.less rtl/less/elements/icon.less rtl/less/elements/input.less rtl/less/elements/segment.less rtl/less/modules/accordion.less rtl/less/modules/checkbox.less rtl/less/modules/dimmer.less rtl/less/modules/dropdown.less rtl/less/modules/popup.less rtl/less/modules/transition.less rtl/minified/collections/breadcrumb.min.css rtl/minified/collections/form.min.css rtl/minified/collections/grid.min.css rtl/minified/collections/menu.min.css rtl/minified/collections/message.min.css rtl/minified/collections/table.min.css rtl/minified/elements/basic.icon.min.css rtl/minified/elements/button.min.css rtl/minified/elements/divider.min.css rtl/minified/elements/header.min.css rtl/minified/elements/icon.min.css rtl/minified/elements/image.min.css rtl/minified/elements/input.min.css rtl/minified/elements/label.min.css rtl/minified/elements/loader.min.css rtl/minified/elements/progress.min.css rtl/minified/elements/reveal.min.css rtl/minified/elements/segment.min.css rtl/minified/elements/step.min.css rtl/minified/modules/accordion.min.css rtl/minified/modules/chatroom.min.css rtl/minified/modules/checkbox.min.css rtl/minified/modules/dimmer.min.css rtl/minified/modules/dropdown.min.css rtl/minified/modules/modal.min.css rtl/minified/modules/nag.min.css rtl/minified/modules/popup.min.css rtl/minified/modules/rating.min.css rtl/minified/modules/search.min.css rtl/minified/modules/shape.min.css rtl/minified/modules/sidebar.min.css rtl/minified/modules/tab.min.css rtl/minified/modules/transition.min.css rtl/minified/modules/video.min.css rtl/minified/views/comment.min.css rtl/minified/views/feed.min.css rtl/minified/views/item.min.css rtl/minified/views/list.min.css rtl/minified/views/statistic.min.css rtl/packaged/css/semantic.css rtl/packaged/css/semantic.min.css rtl/packaged/javascript/semantic.min.js rtl/uncompressed/elements/basic.icon.css rtl/uncompressed/elements/icon.css server/files/stylesheets/library/basic.icon.css src/elements/icon.less
11 years ago
  1. /*
  2. * # Semantic - Progress Bar
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Progress Bar
  13. *******************************/
  14. .ui.progress {
  15. border: 1px solid rgba(0, 0, 0, 0.1);
  16. width: 100%;
  17. height: 35px;
  18. background-color: #FAFAFA;
  19. padding: 5px;
  20. border-radius: 0.3125em;
  21. -webkit-box-sizing: border-box;
  22. -moz-box-sizing: border-box;
  23. -ms-box-sizing: border-box;
  24. box-sizing: border-box;
  25. }
  26. .ui.progress .bar {
  27. display: inline-block;
  28. height: 100%;
  29. background-color: #CCCCCC;
  30. border-radius: 3px;
  31. -webkit-transition: width 1s ease-in-out, background-color 1s ease-out;
  32. transition: width 1s ease-in-out, background-color 1s ease-out;
  33. }
  34. /*******************************
  35. States
  36. *******************************/
  37. /*--------------
  38. Successful
  39. ---------------*/
  40. .ui.successful.progress .bar {
  41. background-color: #73E064 !important;
  42. }
  43. .ui.successful.progress .bar,
  44. .ui.successful.progress .bar::after {
  45. -webkit-animation: none !important;
  46. animation: none !important;
  47. }
  48. .ui.warning.progress .bar {
  49. background-color: #E96633 !important;
  50. }
  51. .ui.warning.progress .bar,
  52. .ui.warning.progress .bar::after {
  53. -webkit-animation: none !important;
  54. animation: none !important;
  55. }
  56. /*--------------
  57. Failed
  58. ---------------*/
  59. .ui.failed.progress .bar {
  60. background-color: #DF9BA4 !important;
  61. }
  62. .ui.failed.progress .bar,
  63. .ui.failed.progress .bar::after {
  64. -webkit-animation: none !important;
  65. animation: none !important;
  66. }
  67. /*--------------
  68. Active
  69. ---------------*/
  70. .ui.active.progress .bar {
  71. position: relative;
  72. }
  73. .ui.active.progress .bar::after {
  74. content: '';
  75. opacity: 0;
  76. position: absolute;
  77. top: 0px;
  78. left: 0px;
  79. right: 0px;
  80. bottom: 0px;
  81. background: #FFFFFF;
  82. border-radius: 3px;
  83. -webkit-animation: progress-active 2s ease-out infinite;
  84. animation: progress-active 2s ease-out infinite;
  85. }
  86. @-webkit-keyframes progress-active {
  87. 0% {
  88. opacity: 0;
  89. width: 0;
  90. }
  91. 50% {
  92. opacity: 0.3;
  93. }
  94. 100% {
  95. opacity: 0;
  96. width: 95%;
  97. }
  98. }
  99. @keyframes progress-active {
  100. 0% {
  101. opacity: 0;
  102. width: 0;
  103. }
  104. 50% {
  105. opacity: 0.3;
  106. }
  107. 100% {
  108. opacity: 0;
  109. width: 100%;
  110. }
  111. }
  112. /*--------------
  113. Disabled
  114. ---------------*/
  115. .ui.disabled.progress {
  116. opacity: 0.35;
  117. }
  118. .ui.disabled.progress .bar,
  119. .ui.disabled.progress .bar::after {
  120. -webkit-animation: none !important;
  121. animation: none !important;
  122. }
  123. /*******************************
  124. Variations
  125. *******************************/
  126. /*--------------
  127. Attached
  128. ---------------*/
  129. /* bottom attached */
  130. .ui.progress.attached {
  131. position: relative;
  132. border: none;
  133. }
  134. .ui.progress.attached,
  135. .ui.progress.attached .bar {
  136. display: block;
  137. height: 3px;
  138. padding: 0px;
  139. overflow: hidden;
  140. border-radius: 0em 0em 0.3125em 0.3125em;
  141. }
  142. .ui.progress.attached .bar {
  143. border-radius: 0em;
  144. }
  145. /* top attached */
  146. .ui.progress.top.attached,
  147. .ui.progress.top.attached .bar {
  148. top: -2px;
  149. border-radius: 0.3125em 0.3125em 0em 0em;
  150. }
  151. .ui.progress.top.attached .bar {
  152. border-radius: 0em;
  153. }
  154. /*--------------
  155. Colors
  156. ---------------*/
  157. .ui.blue.progress .bar {
  158. background-color: #6ECFF5;
  159. }
  160. .ui.black.progress .bar {
  161. background-color: #5C6166;
  162. }
  163. .ui.green.progress .bar {
  164. background-color: #A1CF64;
  165. }
  166. .ui.red.progress .bar {
  167. background-color: #EF4D6D;
  168. }
  169. .ui.purple.progress .bar {
  170. background-color: #564F8A;
  171. }
  172. .ui.teal.progress .bar {
  173. background-color: #00B5AD;
  174. }
  175. /*--------------
  176. Striped
  177. ---------------*/
  178. .ui.progress.striped .bar {
  179. -webkit-background-size: 30px 30px;
  180. background-size: 30px 30px;
  181. background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  182. background-image: -webkit-linear-gradient(135deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  183. background-image: -webkit-linear-gradient(315deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  184. background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  185. }
  186. .ui.progress.active.striped .bar:after {
  187. -webkit-animation: none;
  188. -ms-animation: none;
  189. animation: none;
  190. }
  191. .ui.progress.active.striped .bar {
  192. -webkit-animation: progress-striped 3s linear infinite;
  193. animation: progress-striped 3s linear infinite;
  194. }
  195. @-webkit-keyframes progress-striped {
  196. 0% {
  197. background-position: 0px 0;
  198. }
  199. 100% {
  200. background-position: 60px 0;
  201. }
  202. }
  203. @keyframes progress-striped {
  204. 0% {
  205. background-position: 0px 0;
  206. }
  207. 100% {
  208. background-position: 60px 0;
  209. }
  210. }
  211. /*--------------
  212. Sizes
  213. ---------------*/
  214. .ui.small.progress .bar {
  215. height: 14px;
  216. }