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.

487 lines
12 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
  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. /* Used to match floats with text */
  57. /*-------------------
  58. Background Colors
  59. --------------------*/
  60. /* Used for differentiating neutrals */
  61. /* Used for differentiating layers */
  62. /*-------------------
  63. Grid
  64. --------------------*/
  65. /*-------------------
  66. Breakpoints
  67. --------------------*/
  68. /*******************************
  69. Power-User
  70. *******************************/
  71. /*-------------------
  72. Icons
  73. --------------------*/
  74. /* Max Width of Icon */
  75. /*-------------------
  76. Easing
  77. --------------------*/
  78. /*--- Neutrals ---*/
  79. /*--- Colored Backgrounds ---*/
  80. /*--- Colored Text ---*/
  81. /*--- Colored Headers ---*/
  82. /*-------------------
  83. Emotive Colors
  84. --------------------*/
  85. /* Mood */
  86. /* Status */
  87. /* Darkened Headers */
  88. /*-------------------
  89. Neutral Text
  90. --------------------*/
  91. /*-------------------
  92. Brand Colors
  93. --------------------*/
  94. /*-------------------
  95. Grid Columns
  96. --------------------*/
  97. /*-------------------
  98. Borders
  99. --------------------*/
  100. /*-------------------
  101. Sizes
  102. --------------------*/
  103. /*-------------------
  104. Transitions
  105. --------------------*/
  106. /*******************************
  107. States
  108. *******************************/
  109. /*-------------------
  110. Disabled
  111. --------------------*/
  112. /*-------------------
  113. Hover
  114. --------------------*/
  115. /*--- Colors ---*/
  116. /*--- Emotive ---*/
  117. /*--- Neutrals ---*/
  118. /*-------------------
  119. Down (:active)
  120. --------------------*/
  121. /*--- Colors ---*/
  122. /*--- Emotive ---*/
  123. /*--- Neutrals ---*/
  124. /*-------------------
  125. Active
  126. --------------------*/
  127. /*--- Standard ---*/
  128. /*--- Emotive ---*/
  129. /*--- Neutrals ---*/
  130. /*******************************
  131. Progress
  132. *******************************/
  133. /*-------------------
  134. Element
  135. --------------------*/
  136. /* Bar */
  137. /* Progress Bar Label */
  138. /* Label */
  139. /*-------------------
  140. States
  141. --------------------*/
  142. /* Active */
  143. /*-------------------
  144. Types
  145. --------------------*/
  146. /* Attached */
  147. /* Inverted */
  148. /*------------------
  149. Load Theme
  150. -------------------*/
  151. /*------------------
  152. Load Site
  153. -------------------*/
  154. /*******************************
  155. User Global Variables
  156. *******************************/
  157. /*******************************
  158. User Variable Overrides
  159. *******************************/
  160. /*------------------
  161. Override Loader
  162. -------------------*/
  163. .ui.progress {
  164. position: relative;
  165. display: block;
  166. max-width: 100%;
  167. border: 1px solid rgba(0, 0, 0, 0.05);
  168. margin: 1em 0em 2.5em;
  169. box-shadow: none;
  170. background: rgba(0, 0, 0, 0.03);
  171. padding: 0.325em;
  172. border-radius: 0.325em;
  173. }
  174. .ui.progress:first-child {
  175. margin: 0em 0em 2.5em;
  176. }
  177. .ui.progress:last-child {
  178. margin: 0em 0em 1.5em;
  179. }
  180. /* Indicating */
  181. .ui.indicating.progress .bar[style^="width: 3"] {
  182. background-color: #D9A65C;
  183. }
  184. .ui.indicating.progress .bar[style^="width: 4"],
  185. .ui.indicating.progress .bar[style^="width: 5"] {
  186. background-color: #E6BB48;
  187. }
  188. .ui.indicating.progress .bar[style^="width: 6"] {
  189. background-color: #DDC928;
  190. }
  191. .ui.indicating.progress .bar[style^="width: 7"],
  192. .ui.indicating.progress .bar[style^="width: 8"] {
  193. background-color: #B4D95C;
  194. }
  195. .ui.indicating.progress .bar[style^="width: 9"],
  196. .ui.indicating.progress .bar[style^="width: 100"] {
  197. background-color: #66DA81;
  198. }
  199. /* Single Digits Last */
  200. .ui.indicating.progress .bar[style^="width: 1%"],
  201. .ui.indicating.progress .bar[style^="width: 2%"],
  202. .ui.indicating.progress .bar[style^="width: 3%"],
  203. .ui.indicating.progress .bar[style^="width: 4%"],
  204. .ui.indicating.progress .bar[style^="width: 5%"],
  205. .ui.indicating.progress .bar[style^="width: 6%"],
  206. .ui.indicating.progress .bar[style^="width: 7%"],
  207. .ui.indicating.progress .bar[style^="width: 8%"],
  208. .ui.indicating.progress .bar[style^="width: 9%"],
  209. .ui.indicating.progress .bar[style^="width: 1"],
  210. .ui.indicating.progress .bar[style^="width: 2"] {
  211. background-color: #D95C5C;
  212. }
  213. /*******************************
  214. Content
  215. *******************************/
  216. /* Activity Bar */
  217. .ui.progress .bar {
  218. display: block;
  219. line-height: 1;
  220. position: relative;
  221. width: 0%;
  222. min-width: 0.25em;
  223. height: 1.75em;
  224. background: #888888;
  225. border-radius: 0.325em;
  226. -webkit-transition: width 0.5s ease, background-color 1s ease;
  227. transition: width 0.5s ease, background-color 1s ease;
  228. }
  229. /* Percent Complete */
  230. .ui.progress .bar > .progress {
  231. white-space: nowrap;
  232. position: absolute;
  233. width: auto;
  234. font-size: 0.9em;
  235. top: 50%;
  236. right: 0.5em;
  237. left: auto;
  238. bottom: auto;
  239. color: rgba(255, 255, 255, 0.8);
  240. text-shadow: none;
  241. margin-top: -0.5em;
  242. font-weight: bold;
  243. text-align: left;
  244. }
  245. /* Label */
  246. .ui.progress > .label {
  247. position: absolute;
  248. width: 100%;
  249. font-size: 1em;
  250. top: 100%;
  251. right: auto;
  252. left: 0%;
  253. bottom: auto;
  254. color: rgba(0, 0, 0, 0.8);
  255. font-weight: bold;
  256. text-shadow: none;
  257. margin-top: 0.2em;
  258. text-align: center;
  259. -webkit-transition: color 1s ease;
  260. transition: color 1s ease;
  261. }
  262. /*******************************
  263. States
  264. *******************************/
  265. /*--------------
  266. Success
  267. ---------------*/
  268. .ui.progress.success .bar {
  269. background-color: #5bbd72 !important;
  270. }
  271. .ui.progress.success .bar,
  272. .ui.progress.success .bar::after {
  273. -webkit-animation: none !important;
  274. animation: none !important;
  275. }
  276. .ui.progress.success > .label {
  277. color: #336534;
  278. }
  279. /*--------------
  280. Warning
  281. ---------------*/
  282. .ui.progress.warning .bar {
  283. background-color: #f2c037 !important;
  284. }
  285. .ui.progress.warning .bar,
  286. .ui.progress.warning .bar::after {
  287. -webkit-animation: none !important;
  288. animation: none !important;
  289. }
  290. .ui.progress.warning > .label {
  291. color: #785f33;
  292. }
  293. /*--------------
  294. Error
  295. ---------------*/
  296. .ui.progress.error .bar {
  297. background-color: #d95c5c !important;
  298. }
  299. .ui.progress.error .bar,
  300. .ui.progress.error .bar::after {
  301. -webkit-animation: none !important;
  302. animation: none !important;
  303. }
  304. .ui.progress.error > .label {
  305. color: #973d3b;
  306. }
  307. /*--------------
  308. Active
  309. ---------------*/
  310. .ui.active.progress .bar {
  311. position: relative;
  312. }
  313. .ui.active.progress .bar::after {
  314. content: '';
  315. opacity: 0;
  316. position: absolute;
  317. top: 0px;
  318. left: 0px;
  319. right: 0px;
  320. bottom: 0px;
  321. background: #ffffff;
  322. border-radius: 0.325em;
  323. -webkit-animation: progress-active 2s ease infinite;
  324. animation: progress-active 2s ease infinite;
  325. }
  326. @-webkit-keyframes progress-active {
  327. 0% {
  328. opacity: 0.3;
  329. width: 0;
  330. }
  331. 100% {
  332. opacity: 0;
  333. width: 100%;
  334. }
  335. }
  336. @keyframes progress-active {
  337. 0% {
  338. opacity: 0.3;
  339. width: 0;
  340. }
  341. 100% {
  342. opacity: 0;
  343. width: 100%;
  344. }
  345. }
  346. /*--------------
  347. Disabled
  348. ---------------*/
  349. .ui.disabled.progress {
  350. opacity: 0.35;
  351. }
  352. .ui.disabled.progress .bar,
  353. .ui.disabled.progress .bar::after {
  354. -webkit-animation: none !important;
  355. animation: none !important;
  356. }
  357. /*******************************
  358. Variations
  359. *******************************/
  360. /*--------------
  361. Inverted
  362. ---------------*/
  363. /* bottom attached */
  364. .ui.inverted.progress {
  365. background: rgba(255, 255, 255, 0.05);
  366. border: none;
  367. }
  368. .ui.inverted.progress .bar {
  369. background: #888888;
  370. }
  371. .ui.inverted.progress .bar > .progress {
  372. color: #fafafa;
  373. }
  374. .ui.inverted.progress > .label {
  375. color: #ffffff;
  376. }
  377. .ui.inverted.progress.success > .label {
  378. color: #5bbd72;
  379. }
  380. .ui.inverted.progress.warning > .label {
  381. color: #f2c037;
  382. }
  383. .ui.inverted.progress.error > .label {
  384. color: #d95c5c;
  385. }
  386. /*--------------
  387. Attached
  388. ---------------*/
  389. /* bottom attached */
  390. .ui.progress.attached {
  391. background: none transparent;
  392. position: relative;
  393. border: none;
  394. margin: 0em;
  395. }
  396. .ui.progress.attached,
  397. .ui.progress.attached .bar {
  398. display: block;
  399. height: 0.25em;
  400. padding: 0px;
  401. overflow: hidden;
  402. border-radius: 0em 0em 0.325em 0.325em;
  403. }
  404. .ui.progress.attached .bar {
  405. border-radius: 0em;
  406. }
  407. /* top attached */
  408. .ui.progress.top.attached,
  409. .ui.progress.top.attached .bar {
  410. top: 0px;
  411. border-radius: 0.325em 0.325em 0em 0em;
  412. }
  413. .ui.progress.top.attached .bar {
  414. border-radius: 0em;
  415. }
  416. /*--------------
  417. Colors
  418. ---------------*/
  419. .ui.black.progress .bar {
  420. background-color: #1b1c1d;
  421. }
  422. .ui.blue.progress .bar {
  423. background-color: #3b83c0;
  424. }
  425. .ui.green.progress .bar {
  426. background-color: #5bbd72;
  427. }
  428. .ui.orange.progress .bar {
  429. background-color: #e07b53;
  430. }
  431. .ui.pink.progress .bar {
  432. background-color: #d9499a;
  433. }
  434. .ui.purple.progress .bar {
  435. background-color: #564f8a;
  436. }
  437. .ui.red.progress .bar {
  438. background-color: #d95c5c;
  439. }
  440. .ui.teal.progress .bar {
  441. background-color: #00b5ad;
  442. }
  443. .ui.yellow.progress .bar {
  444. background-color: #f2c61f;
  445. }
  446. .ui.black.inverted.progress .bar {
  447. background-color: #333333;
  448. }
  449. .ui.blue.inverted.progress .bar {
  450. background-color: #54c8ff;
  451. }
  452. .ui.green.inverted.progress .bar {
  453. background-color: #2ecc40;
  454. }
  455. .ui.orange.inverted.progress .bar {
  456. background-color: #ff851b;
  457. }
  458. .ui.pink.inverted.progress .bar {
  459. background-color: #ff8edf;
  460. }
  461. .ui.purple.inverted.progress .bar {
  462. background-color: #cdc6ff;
  463. }
  464. .ui.red.inverted.progress .bar {
  465. background-color: #ff695e;
  466. }
  467. .ui.teal.inverted.progress .bar {
  468. background-color: #6dffff;
  469. }
  470. .ui.yellow.inverted.progress .bar {
  471. background-color: #ffe21f;
  472. }
  473. /*--------------
  474. Sizes
  475. ---------------*/
  476. .ui.small.progress .bar {
  477. height: 14px;
  478. }