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.

604 lines
14 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
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 - Progress Bar
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. /*
  15. */
  16. /*******************************
  17. Folders
  18. *******************************/
  19. /* Path to theme packages */
  20. /* Path to site override folder */
  21. /*******************************
  22. Themes
  23. *******************************/
  24. /* To override a theme for an individual element
  25. specify theme name below
  26. Be sure to update the user folder name (see README)
  27. */
  28. /* Global */
  29. /* Elements */
  30. /* Collections */
  31. /* Modules */
  32. /* Views */
  33. /*******************************
  34. Import Directives
  35. *******************************/
  36. /*------------------
  37. Load Defaults
  38. -------------------*/
  39. /*******************************
  40. Site Settings
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Fonts
  47. --------------------*/
  48. /*-------------------
  49. Site Colors
  50. --------------------*/
  51. /*--- Colors ---*/
  52. /*--- Light Colors ---*/
  53. /*-------------------
  54. Page
  55. --------------------*/
  56. /*-------------------
  57. Background Colors
  58. --------------------*/
  59. /* Used for differentiating neutrals */
  60. /* Used for differentiating layers */
  61. /*-------------------
  62. Grid
  63. --------------------*/
  64. /*-------------------
  65. Breakpoints
  66. --------------------*/
  67. /*******************************
  68. Power-User
  69. *******************************/
  70. /*-------------------
  71. Icons
  72. --------------------*/
  73. /* Max Width of Icon */
  74. /*-------------------
  75. Easing
  76. --------------------*/
  77. /*--- Neutrals ---*/
  78. /*--- Colored Backgrounds ---*/
  79. /*--- Colored Text ---*/
  80. /*--- Colored Headers ---*/
  81. /*-------------------
  82. Emotive Colors
  83. --------------------*/
  84. /* Mood */
  85. /* Status */
  86. /*-------------------
  87. Neutral Text
  88. --------------------*/
  89. /*-------------------
  90. Brand Colors
  91. --------------------*/
  92. /*-------------------
  93. Borders
  94. --------------------*/
  95. /*-------------------
  96. Sizes
  97. --------------------*/
  98. /*-------------------
  99. Transitions
  100. --------------------*/
  101. /*-------------------
  102. Derived Values
  103. --------------------*/
  104. /* Makes sure padded grid can fit at 320px */
  105. /* Used to match floats with text */
  106. /* Positive / Negative Dupes */
  107. /* Header Colors */
  108. /* Responsive */
  109. /* Columns */
  110. /*******************************
  111. States
  112. *******************************/
  113. /*-------------------
  114. Disabled
  115. --------------------*/
  116. /*-------------------
  117. Hover
  118. --------------------*/
  119. /*--- Colors ---*/
  120. /*--- Emotive ---*/
  121. /*--- Neutrals ---*/
  122. /*-------------------
  123. Down (:active)
  124. --------------------*/
  125. /*--- Colors ---*/
  126. /*--- Emotive ---*/
  127. /*--- Neutrals ---*/
  128. /*-------------------
  129. Active
  130. --------------------*/
  131. /*--- Standard ---*/
  132. /*--- Emotive ---*/
  133. /*--- Neutrals ---*/
  134. /*******************************
  135. Progress
  136. *******************************/
  137. /*-------------------
  138. Element
  139. --------------------*/
  140. /* Bar */
  141. /* Progress Bar Label */
  142. /* Label */
  143. /*-------------------
  144. States
  145. --------------------*/
  146. /* Active */
  147. /*-------------------
  148. Types
  149. --------------------*/
  150. /* Attached */
  151. /* Inverted */
  152. /*------------------
  153. Load Theme
  154. -------------------*/
  155. /*******************************
  156. Site Settings
  157. *******************************/
  158. /*-------------------
  159. Paths
  160. --------------------*/
  161. /*-------------------
  162. Fonts
  163. --------------------*/
  164. /*-------------------
  165. Site Colors
  166. --------------------*/
  167. /*--- Colors ---*/
  168. /*--- Light Colors ---*/
  169. /*-------------------
  170. Page
  171. --------------------*/
  172. /*-------------------
  173. Background Colors
  174. --------------------*/
  175. /* Used for differentiating neutrals */
  176. /* Used for differentiating layers */
  177. /*-------------------
  178. Grid
  179. --------------------*/
  180. /*-------------------
  181. Breakpoints
  182. --------------------*/
  183. /*******************************
  184. Power-User
  185. *******************************/
  186. /*-------------------
  187. Icons
  188. --------------------*/
  189. /* Max Width of Icon */
  190. /*-------------------
  191. Easing
  192. --------------------*/
  193. /*--- Neutrals ---*/
  194. /*--- Colored Backgrounds ---*/
  195. /*--- Colored Text ---*/
  196. /*--- Colored Headers ---*/
  197. /*-------------------
  198. Emotive Colors
  199. --------------------*/
  200. /* Mood */
  201. /* Status */
  202. /*-------------------
  203. Neutral Text
  204. --------------------*/
  205. /*-------------------
  206. Brand Colors
  207. --------------------*/
  208. /*-------------------
  209. Borders
  210. --------------------*/
  211. /*-------------------
  212. Sizes
  213. --------------------*/
  214. /*-------------------
  215. Transitions
  216. --------------------*/
  217. /*-------------------
  218. Derived Values
  219. --------------------*/
  220. /* Makes sure padded grid can fit at 320px */
  221. /* Used to match floats with text */
  222. /* Positive / Negative Dupes */
  223. /* Header Colors */
  224. /* Responsive */
  225. /* Columns */
  226. /*******************************
  227. States
  228. *******************************/
  229. /*-------------------
  230. Disabled
  231. --------------------*/
  232. /*-------------------
  233. Hover
  234. --------------------*/
  235. /*--- Colors ---*/
  236. /*--- Emotive ---*/
  237. /*--- Neutrals ---*/
  238. /*-------------------
  239. Down (:active)
  240. --------------------*/
  241. /*--- Colors ---*/
  242. /*--- Emotive ---*/
  243. /*--- Neutrals ---*/
  244. /*-------------------
  245. Active
  246. --------------------*/
  247. /*--- Standard ---*/
  248. /*--- Emotive ---*/
  249. /*--- Neutrals ---*/
  250. /*******************************
  251. Progress
  252. *******************************/
  253. /*-------------------
  254. Element
  255. --------------------*/
  256. /* Bar */
  257. /* Progress Bar Label */
  258. /* Label */
  259. /*-------------------
  260. States
  261. --------------------*/
  262. /* Active */
  263. /*-------------------
  264. Types
  265. --------------------*/
  266. /* Attached */
  267. /* Inverted */
  268. /*------------------
  269. Load Site
  270. -------------------*/
  271. /*******************************
  272. User Global Variables
  273. *******************************/
  274. /*******************************
  275. User Variable Overrides
  276. *******************************/
  277. /*------------------
  278. Override Loader
  279. -------------------*/
  280. .ui.progress {
  281. position: relative;
  282. display: block;
  283. max-width: 100%;
  284. border: 1px solid rgba(0, 0, 0, 0.05);
  285. margin: 1em 0em 2.5em;
  286. box-shadow: none;
  287. background: rgba(0, 0, 0, 0.03);
  288. padding: 0.325em;
  289. border-radius: 0.325em;
  290. }
  291. .ui.progress:first-child {
  292. margin: 0em 0em 2.5em;
  293. }
  294. .ui.progress:last-child {
  295. margin: 0em 0em 1.5em;
  296. }
  297. /* Indicating */
  298. .ui.indicating.progress .bar[style^="width: 3"] {
  299. background-color: #D9A65C;
  300. }
  301. .ui.indicating.progress .bar[style^="width: 4"],
  302. .ui.indicating.progress .bar[style^="width: 5"] {
  303. background-color: #E6BB48;
  304. }
  305. .ui.indicating.progress .bar[style^="width: 6"] {
  306. background-color: #DDC928;
  307. }
  308. .ui.indicating.progress .bar[style^="width: 7"],
  309. .ui.indicating.progress .bar[style^="width: 8"] {
  310. background-color: #B4D95C;
  311. }
  312. .ui.indicating.progress .bar[style^="width: 9"],
  313. .ui.indicating.progress .bar[style^="width: 100"] {
  314. background-color: #66DA81;
  315. }
  316. /* Single Digits Last */
  317. .ui.indicating.progress .bar[style^="width: 1%"],
  318. .ui.indicating.progress .bar[style^="width: 2%"],
  319. .ui.indicating.progress .bar[style^="width: 3%"],
  320. .ui.indicating.progress .bar[style^="width: 4%"],
  321. .ui.indicating.progress .bar[style^="width: 5%"],
  322. .ui.indicating.progress .bar[style^="width: 6%"],
  323. .ui.indicating.progress .bar[style^="width: 7%"],
  324. .ui.indicating.progress .bar[style^="width: 8%"],
  325. .ui.indicating.progress .bar[style^="width: 9%"],
  326. .ui.indicating.progress .bar[style^="width: 1"],
  327. .ui.indicating.progress .bar[style^="width: 2"] {
  328. background-color: #D95C5C;
  329. }
  330. /*******************************
  331. Content
  332. *******************************/
  333. /* Activity Bar */
  334. .ui.progress .bar {
  335. display: block;
  336. line-height: 1;
  337. position: relative;
  338. width: 0%;
  339. min-width: 0.25em;
  340. height: 1.75em;
  341. background: #888888;
  342. border-radius: 0.325em;
  343. -webkit-transition: width 0.5s ease, background-color 1s ease;
  344. transition: width 0.5s ease, background-color 1s ease;
  345. }
  346. /* Percent Complete */
  347. .ui.progress .bar > .progress {
  348. white-space: nowrap;
  349. position: absolute;
  350. width: auto;
  351. font-size: 0.9em;
  352. top: 50%;
  353. right: 0.5em;
  354. left: auto;
  355. bottom: auto;
  356. color: rgba(255, 255, 255, 0.8);
  357. text-shadow: none;
  358. margin-top: -0.5em;
  359. font-weight: bold;
  360. text-align: left;
  361. }
  362. /* Label */
  363. .ui.progress > .label {
  364. position: absolute;
  365. width: 100%;
  366. font-size: 1em;
  367. top: 100%;
  368. right: auto;
  369. left: 0%;
  370. bottom: auto;
  371. color: rgba(0, 0, 0, 0.8);
  372. font-weight: bold;
  373. text-shadow: none;
  374. margin-top: 0.2em;
  375. text-align: center;
  376. -webkit-transition: color 1s ease;
  377. transition: color 1s ease;
  378. }
  379. /*******************************
  380. States
  381. *******************************/
  382. /*--------------
  383. Success
  384. ---------------*/
  385. .ui.progress.success .bar {
  386. background-color: #5bbd72 !important;
  387. }
  388. .ui.progress.success .bar,
  389. .ui.progress.success .bar::after {
  390. -webkit-animation: none !important;
  391. animation: none !important;
  392. }
  393. .ui.progress.success > .label {
  394. color: #336534;
  395. }
  396. /*--------------
  397. Warning
  398. ---------------*/
  399. .ui.progress.warning .bar {
  400. background-color: #f2c037 !important;
  401. }
  402. .ui.progress.warning .bar,
  403. .ui.progress.warning .bar::after {
  404. -webkit-animation: none !important;
  405. animation: none !important;
  406. }
  407. .ui.progress.warning > .label {
  408. color: #785f33;
  409. }
  410. /*--------------
  411. Error
  412. ---------------*/
  413. .ui.progress.error .bar {
  414. background-color: #d95c5c !important;
  415. }
  416. .ui.progress.error .bar,
  417. .ui.progress.error .bar::after {
  418. -webkit-animation: none !important;
  419. animation: none !important;
  420. }
  421. .ui.progress.error > .label {
  422. color: #973d3b;
  423. }
  424. /*--------------
  425. Active
  426. ---------------*/
  427. .ui.active.progress .bar {
  428. position: relative;
  429. }
  430. .ui.active.progress .bar::after {
  431. content: '';
  432. opacity: 0;
  433. position: absolute;
  434. top: 0px;
  435. left: 0px;
  436. right: 0px;
  437. bottom: 0px;
  438. background: #ffffff;
  439. border-radius: 0.325em;
  440. -webkit-animation: progress-active 2s ease infinite;
  441. animation: progress-active 2s ease infinite;
  442. }
  443. @-webkit-keyframes progress-active {
  444. 0% {
  445. opacity: 0.3;
  446. width: 0;
  447. }
  448. 100% {
  449. opacity: 0;
  450. width: 100%;
  451. }
  452. }
  453. @keyframes progress-active {
  454. 0% {
  455. opacity: 0.3;
  456. width: 0;
  457. }
  458. 100% {
  459. opacity: 0;
  460. width: 100%;
  461. }
  462. }
  463. /*--------------
  464. Disabled
  465. ---------------*/
  466. .ui.disabled.progress {
  467. opacity: 0.35;
  468. }
  469. .ui.disabled.progress .bar,
  470. .ui.disabled.progress .bar::after {
  471. -webkit-animation: none !important;
  472. animation: none !important;
  473. }
  474. /*******************************
  475. Variations
  476. *******************************/
  477. /*--------------
  478. Inverted
  479. ---------------*/
  480. /* bottom attached */
  481. .ui.inverted.progress {
  482. background: rgba(255, 255, 255, 0.05);
  483. border: none;
  484. }
  485. .ui.inverted.progress .bar {
  486. background: #888888;
  487. }
  488. .ui.inverted.progress .bar > .progress {
  489. color: #fafafa;
  490. }
  491. .ui.inverted.progress > .label {
  492. color: #ffffff;
  493. }
  494. .ui.inverted.progress.success > .label {
  495. color: #5bbd72;
  496. }
  497. .ui.inverted.progress.warning > .label {
  498. color: #f2c037;
  499. }
  500. .ui.inverted.progress.error > .label {
  501. color: #d95c5c;
  502. }
  503. /*--------------
  504. Attached
  505. ---------------*/
  506. /* bottom attached */
  507. .ui.progress.attached {
  508. background: none transparent;
  509. position: relative;
  510. border: none;
  511. margin: 0em;
  512. }
  513. .ui.progress.attached,
  514. .ui.progress.attached .bar {
  515. display: block;
  516. height: 0.25em;
  517. padding: 0px;
  518. overflow: hidden;
  519. border-radius: 0em 0em 0.325em 0.325em;
  520. }
  521. .ui.progress.attached .bar {
  522. border-radius: 0em;
  523. }
  524. /* top attached */
  525. .ui.progress.top.attached,
  526. .ui.progress.top.attached .bar {
  527. top: 0px;
  528. border-radius: 0.325em 0.325em 0em 0em;
  529. }
  530. .ui.progress.top.attached .bar {
  531. border-radius: 0em;
  532. }
  533. /*--------------
  534. Colors
  535. ---------------*/
  536. .ui.black.progress .bar {
  537. background-color: #1b1c1d;
  538. }
  539. .ui.blue.progress .bar {
  540. background-color: #3b83c0;
  541. }
  542. .ui.green.progress .bar {
  543. background-color: #5bbd72;
  544. }
  545. .ui.orange.progress .bar {
  546. background-color: #e07b53;
  547. }
  548. .ui.pink.progress .bar {
  549. background-color: #d9499a;
  550. }
  551. .ui.purple.progress .bar {
  552. background-color: #564f8a;
  553. }
  554. .ui.red.progress .bar {
  555. background-color: #d95c5c;
  556. }
  557. .ui.teal.progress .bar {
  558. background-color: #00b5ad;
  559. }
  560. .ui.yellow.progress .bar {
  561. background-color: #f2c61f;
  562. }
  563. .ui.black.inverted.progress .bar {
  564. background-color: #333333;
  565. }
  566. .ui.blue.inverted.progress .bar {
  567. background-color: #54c8ff;
  568. }
  569. .ui.green.inverted.progress .bar {
  570. background-color: #2ecc40;
  571. }
  572. .ui.orange.inverted.progress .bar {
  573. background-color: #ff851b;
  574. }
  575. .ui.pink.inverted.progress .bar {
  576. background-color: #ff8edf;
  577. }
  578. .ui.purple.inverted.progress .bar {
  579. background-color: #cdc6ff;
  580. }
  581. .ui.red.inverted.progress .bar {
  582. background-color: #ff695e;
  583. }
  584. .ui.teal.inverted.progress .bar {
  585. background-color: #6dffff;
  586. }
  587. .ui.yellow.inverted.progress .bar {
  588. background-color: #ffe21f;
  589. }
  590. /*--------------
  591. Sizes
  592. ---------------*/
  593. .ui.small.progress .bar {
  594. height: 14px;
  595. }