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.

447 lines
8.9 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic UI - 1.7.2
  3. * https://github.com/Semantic-Org/Semantic-UI
  4. * http://www.semantic-ui.com/
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Progress
  13. *******************************/
  14. .ui.progress {
  15. position: relative;
  16. display: block;
  17. max-width: 100%;
  18. border: 1px solid rgba(39, 41, 43, 0.15);
  19. margin: 1em 0em 2.5em;
  20. box-shadow: none;
  21. background: rgba(0, 0, 0, 0.03);
  22. padding: 0.2857em;
  23. border-radius: 0.2857rem;
  24. }
  25. .ui.progress:first-child {
  26. margin: 0em 0em 2.5em;
  27. }
  28. .ui.progress:last-child {
  29. margin: 0em 0em 1.5em;
  30. }
  31. /* Indicating */
  32. .ui.indicating.progress .bar[style*="width: 1"],
  33. .ui.indicating.progress .bar[style*="width: 2"] {
  34. background-color: #d95c5c;
  35. }
  36. .ui.indicating.progress .bar[style*="width: 3"] {
  37. background-color: #d9a65c;
  38. }
  39. .ui.indicating.progress .bar[style*="width: 4"],
  40. .ui.indicating.progress .bar[style*="width: 5"] {
  41. background-color: #e6bb48;
  42. }
  43. .ui.indicating.progress .bar[style*="width: 6"] {
  44. background-color: #ddc928;
  45. }
  46. .ui.indicating.progress .bar[style*="width: 7"],
  47. .ui.indicating.progress .bar[style*="width: 8"] {
  48. background-color: #b4d95c;
  49. }
  50. .ui.indicating.progress .bar[style*="width: 9"],
  51. .ui.indicating.progress .bar[style*="width: 100"] {
  52. background-color: #66da81;
  53. }
  54. /* Indicating Label */
  55. .ui.indicating.progress[data-percent^="1"] .label,
  56. .ui.indicating.progress[data-percent^="2"] .label {
  57. color: #d95c5c;
  58. }
  59. .ui.indicating.progress[data-percent^="3"] .label {
  60. color: #d9a65c;
  61. }
  62. .ui.indicating.progress[data-percent^="4"] .label,
  63. .ui.indicating.progress[data-percent^="5"] .label {
  64. color: #e6bb48;
  65. }
  66. .ui.indicating.progress[data-percent^="6"] .label {
  67. color: #ddc928;
  68. }
  69. .ui.indicating.progress[data-percent^="7"] .label,
  70. .ui.indicating.progress[data-percent^="8"] .label {
  71. color: #b4d95c;
  72. }
  73. .ui.indicating.progress[data-percent^="9"] .label,
  74. .ui.indicating.progress[data-percent^="100"] .label {
  75. color: #66da81;
  76. }
  77. /* Single Digits */
  78. .ui.indicating.progress .bar[style^="width: 1%"],
  79. .ui.indicating.progress .bar[style^="width: 2%"],
  80. .ui.indicating.progress .bar[style^="width: 3%"],
  81. .ui.indicating.progress .bar[style^="width: 4%"],
  82. .ui.indicating.progress .bar[style^="width: 5%"],
  83. .ui.indicating.progress .bar[style^="width: 6%"],
  84. .ui.indicating.progress .bar[style^="width: 7%"],
  85. .ui.indicating.progress .bar[style^="width: 8%"],
  86. .ui.indicating.progress .bar[style^="width: 9%"] {
  87. background-color: #d95c5c;
  88. }
  89. .ui.indicating.progress[data-percent="1"] .label,
  90. .ui.indicating.progress[data-percent="2"] .label,
  91. .ui.indicating.progress[data-percent="3"] .label,
  92. .ui.indicating.progress[data-percent="4"] .label,
  93. .ui.indicating.progress[data-percent="5"] .label,
  94. .ui.indicating.progress[data-percent="6"] .label,
  95. .ui.indicating.progress[data-percent="7"] .label,
  96. .ui.indicating.progress[data-percent="8"] .label,
  97. .ui.indicating.progress[data-percent="9"] .label {
  98. color: #d95c5c;
  99. }
  100. /* Indicating Success */
  101. .ui.indicating.progress.success .label {
  102. color: #356e36;
  103. }
  104. /*******************************
  105. Content
  106. *******************************/
  107. /* Activity Bar */
  108. .ui.progress .bar {
  109. display: block;
  110. line-height: 1;
  111. position: relative;
  112. width: 0%;
  113. min-width: 2em;
  114. background: #888888;
  115. border-radius: 0.2857rem;
  116. -webkit-transition: width 0.3s ease, background-color 0.3s ease;
  117. transition: width 0.3s ease, background-color 0.3s ease;
  118. }
  119. /* Percent Complete */
  120. .ui.progress .bar > .progress {
  121. white-space: nowrap;
  122. position: absolute;
  123. width: auto;
  124. font-size: 0.9em;
  125. top: 50%;
  126. right: 0.5em;
  127. left: auto;
  128. bottom: auto;
  129. color: rgba(255, 255, 255, 0.8);
  130. text-shadow: none;
  131. margin-top: -0.5em;
  132. font-weight: bold;
  133. text-align: left;
  134. }
  135. /* Label */
  136. .ui.progress > .label {
  137. position: absolute;
  138. width: 100%;
  139. font-size: 1em;
  140. top: 100%;
  141. right: auto;
  142. left: 0%;
  143. bottom: auto;
  144. color: rgba(0, 0, 0, 0.8);
  145. font-weight: bold;
  146. text-shadow: none;
  147. margin-top: 0.2em;
  148. text-align: center;
  149. -webkit-transition: color 0.4s ease;
  150. transition: color 0.4s ease;
  151. }
  152. /*******************************
  153. States
  154. *******************************/
  155. /*--------------
  156. Success
  157. ---------------*/
  158. .ui.progress.success .bar {
  159. background-color: #5bbd72 !important;
  160. }
  161. .ui.progress.success .bar,
  162. .ui.progress.success .bar::after {
  163. -webkit-animation: none !important;
  164. animation: none !important;
  165. }
  166. .ui.progress.success > .label {
  167. color: #356e36;
  168. }
  169. /*--------------
  170. Warning
  171. ---------------*/
  172. .ui.progress.warning .bar {
  173. background-color: #f2c037 !important;
  174. }
  175. .ui.progress.warning .bar,
  176. .ui.progress.warning .bar::after {
  177. -webkit-animation: none !important;
  178. animation: none !important;
  179. }
  180. .ui.progress.warning > .label {
  181. color: #825c01;
  182. }
  183. /*--------------
  184. Error
  185. ---------------*/
  186. .ui.progress.error .bar {
  187. background-color: #d95c5c !important;
  188. }
  189. .ui.progress.error .bar,
  190. .ui.progress.error .bar::after {
  191. -webkit-animation: none !important;
  192. animation: none !important;
  193. }
  194. .ui.progress.error > .label {
  195. color: #912d2b;
  196. }
  197. /*--------------
  198. Active
  199. ---------------*/
  200. .ui.active.progress .bar {
  201. position: relative;
  202. min-width: 2em;
  203. }
  204. .ui.active.progress .bar::after {
  205. content: '';
  206. opacity: 0;
  207. position: absolute;
  208. top: 0px;
  209. left: 0px;
  210. right: 0px;
  211. bottom: 0px;
  212. background: #ffffff;
  213. border-radius: 0.2857rem;
  214. -webkit-animation: progress-active 2s ease infinite;
  215. animation: progress-active 2s ease infinite;
  216. }
  217. @-webkit-keyframes progress-active {
  218. 0% {
  219. opacity: 0.3;
  220. width: 0;
  221. }
  222. 100% {
  223. opacity: 0;
  224. width: 100%;
  225. }
  226. }
  227. @keyframes progress-active {
  228. 0% {
  229. opacity: 0.3;
  230. width: 0;
  231. }
  232. 100% {
  233. opacity: 0;
  234. width: 100%;
  235. }
  236. }
  237. /*--------------
  238. Disabled
  239. ---------------*/
  240. .ui.disabled.progress {
  241. opacity: 0.35;
  242. }
  243. .ui.disabled.progress .bar,
  244. .ui.disabled.progress .bar::after {
  245. -webkit-animation: none !important;
  246. animation: none !important;
  247. }
  248. /*******************************
  249. Variations
  250. *******************************/
  251. /*--------------
  252. Inverted
  253. ---------------*/
  254. .ui.inverted.progress {
  255. background: rgba(255, 255, 255, 0.05);
  256. border: none;
  257. }
  258. .ui.inverted.progress .bar {
  259. background: #888888;
  260. }
  261. .ui.inverted.progress .bar > .progress {
  262. color: #fafafa;
  263. }
  264. .ui.inverted.progress > .label {
  265. color: #ffffff;
  266. }
  267. .ui.inverted.progress.success > .label {
  268. color: #5bbd72;
  269. }
  270. .ui.inverted.progress.warning > .label {
  271. color: #f2c037;
  272. }
  273. .ui.inverted.progress.error > .label {
  274. color: #d95c5c;
  275. }
  276. /*--------------
  277. Attached
  278. ---------------*/
  279. /* bottom attached */
  280. .ui.progress.attached {
  281. background: transparent;
  282. position: relative;
  283. border: none;
  284. margin: 0em;
  285. }
  286. .ui.progress.attached,
  287. .ui.progress.attached .bar {
  288. display: block;
  289. height: 3px;
  290. padding: 0px;
  291. overflow: hidden;
  292. border-radius: 0em 0em 0.2857rem 0.2857rem;
  293. }
  294. .ui.progress.attached .bar {
  295. border-radius: 0em;
  296. }
  297. /* top attached */
  298. .ui.progress.top.attached,
  299. .ui.progress.top.attached .bar {
  300. top: 0px;
  301. border-radius: 0.2857rem 0.2857rem 0em 0em;
  302. }
  303. .ui.progress.top.attached .bar {
  304. border-radius: 0em;
  305. }
  306. /*--------------
  307. Colors
  308. ---------------*/
  309. .ui.black.progress .bar {
  310. background-color: #1b1c1d;
  311. }
  312. .ui.blue.progress .bar {
  313. background-color: #3b83c0;
  314. }
  315. .ui.green.progress .bar {
  316. background-color: #5bbd72;
  317. }
  318. .ui.orange.progress .bar {
  319. background-color: #e07b53;
  320. }
  321. .ui.pink.progress .bar {
  322. background-color: #d9499a;
  323. }
  324. .ui.purple.progress .bar {
  325. background-color: #564f8a;
  326. }
  327. .ui.red.progress .bar {
  328. background-color: #d95c5c;
  329. }
  330. .ui.teal.progress .bar {
  331. background-color: #00b5ad;
  332. }
  333. .ui.yellow.progress .bar {
  334. background-color: #f2c61f;
  335. }
  336. .ui.black.inverted.progress .bar {
  337. background-color: #333333;
  338. }
  339. .ui.blue.inverted.progress .bar {
  340. background-color: #54c8ff;
  341. }
  342. .ui.green.inverted.progress .bar {
  343. background-color: #2ecc40;
  344. }
  345. .ui.orange.inverted.progress .bar {
  346. background-color: #ff851b;
  347. }
  348. .ui.pink.inverted.progress .bar {
  349. background-color: #ff8edf;
  350. }
  351. .ui.purple.inverted.progress .bar {
  352. background-color: #cdc6ff;
  353. }
  354. .ui.red.inverted.progress .bar {
  355. background-color: #ff695e;
  356. }
  357. .ui.teal.inverted.progress .bar {
  358. background-color: #6dffff;
  359. }
  360. .ui.yellow.inverted.progress .bar {
  361. background-color: #ffe21f;
  362. }
  363. /*--------------
  364. Sizes
  365. ---------------*/
  366. .ui.tiny.progress {
  367. font-size: 0.85714286rem;
  368. }
  369. .ui.tiny.progress .bar {
  370. height: 0.5em;
  371. }
  372. .ui.small.progress {
  373. font-size: 0.92857143rem;
  374. }
  375. .ui.small.progress .bar {
  376. height: 1em;
  377. }
  378. .ui.progress {
  379. font-size: 1rem;
  380. }
  381. .ui.progress .bar {
  382. height: 1.75em;
  383. }
  384. .ui.large.progress {
  385. font-size: 1.14285714rem;
  386. }
  387. .ui.large.progress .bar {
  388. height: 2.5em;
  389. }
  390. .ui.big.progress {
  391. font-size: 1.28571429rem;
  392. }
  393. .ui.big.progress .bar {
  394. height: 3.5em;
  395. }
  396. /*******************************
  397. Progress
  398. *******************************/
  399. /*******************************
  400. Site Overrides
  401. *******************************/