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.

650 lines
16 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
  1. /*
  2. * # Semantic - Statistic
  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. /*-------------------
  60. Accents
  61. --------------------*/
  62. /* 4px @ 14px */
  63. /* Used for differentiating neutrals */
  64. /* Used for differentiating layers */
  65. /*-------------------
  66. Grid
  67. --------------------*/
  68. /*-------------------
  69. Breakpoints
  70. --------------------*/
  71. /*******************************
  72. Power-User
  73. *******************************/
  74. /*-------------------
  75. Icons
  76. --------------------*/
  77. /* Maximum Glyph Width of Icon */
  78. /*-------------------
  79. Easing
  80. --------------------*/
  81. /*--- Neutrals ---*/
  82. /*--- Colored Backgrounds ---*/
  83. /*--- Colored Text ---*/
  84. /*--- Colored Headers ---*/
  85. /*-------------------
  86. Emotive Colors
  87. --------------------*/
  88. /* Mood */
  89. /* Status */
  90. /*-------------------
  91. Neutral Text
  92. --------------------*/
  93. /*-------------------
  94. Brand Colors
  95. --------------------*/
  96. /*-------------------
  97. Borders
  98. --------------------*/
  99. /*-------------------
  100. Sizes
  101. --------------------*/
  102. /*-------------------
  103. Transitions
  104. --------------------*/
  105. /*-------------------
  106. Derived Values
  107. --------------------*/
  108. /* Makes sure padded grid can fit at 320px */
  109. /* Used to match floats with text */
  110. /* Positive / Negative Dupes */
  111. /* Header Colors */
  112. /* Responsive */
  113. /* Columns */
  114. /*******************************
  115. States
  116. *******************************/
  117. /*-------------------
  118. Disabled
  119. --------------------*/
  120. /*-------------------
  121. Hover
  122. --------------------*/
  123. /*--- Colors ---*/
  124. /*--- Emotive ---*/
  125. /*--- Neutrals ---*/
  126. /*-------------------
  127. Down (:active)
  128. --------------------*/
  129. /*--- Colors ---*/
  130. /*--- Emotive ---*/
  131. /*--- Neutrals ---*/
  132. /*-------------------
  133. Active
  134. --------------------*/
  135. /*--- Standard ---*/
  136. /*--- Emotive ---*/
  137. /*--- Neutrals ---*/
  138. /*******************************
  139. Statistic
  140. *******************************/
  141. /*-------------------
  142. View
  143. --------------------*/
  144. /* Group */
  145. /* Group Element */
  146. /*-------------------
  147. Content
  148. --------------------*/
  149. /* Value */
  150. /* Label */
  151. /* Text */
  152. /* Label Image */
  153. /*-------------------
  154. Types
  155. --------------------*/
  156. /*-------------------
  157. Variations
  158. --------------------*/
  159. /* Floated */
  160. /* Inverted */
  161. /* Size */
  162. /*------------------
  163. Load Theme
  164. -------------------*/
  165. /*******************************
  166. Site Settings
  167. *******************************/
  168. /*-------------------
  169. Paths
  170. --------------------*/
  171. /*-------------------
  172. Fonts
  173. --------------------*/
  174. /*-------------------
  175. Site Colors
  176. --------------------*/
  177. /*--- Colors ---*/
  178. /*--- Light Colors ---*/
  179. /*-------------------
  180. Page
  181. --------------------*/
  182. /*-------------------
  183. Background Colors
  184. --------------------*/
  185. /*-------------------
  186. Accents
  187. --------------------*/
  188. /* 4px @ 14px */
  189. /* Used for differentiating neutrals */
  190. /* Used for differentiating layers */
  191. /*-------------------
  192. Grid
  193. --------------------*/
  194. /*-------------------
  195. Breakpoints
  196. --------------------*/
  197. /*******************************
  198. Power-User
  199. *******************************/
  200. /*-------------------
  201. Icons
  202. --------------------*/
  203. /* Maximum Glyph Width of Icon */
  204. /*-------------------
  205. Easing
  206. --------------------*/
  207. /*--- Neutrals ---*/
  208. /*--- Colored Backgrounds ---*/
  209. /*--- Colored Text ---*/
  210. /*--- Colored Headers ---*/
  211. /*-------------------
  212. Emotive Colors
  213. --------------------*/
  214. /* Mood */
  215. /* Status */
  216. /*-------------------
  217. Neutral Text
  218. --------------------*/
  219. /*-------------------
  220. Brand Colors
  221. --------------------*/
  222. /*-------------------
  223. Borders
  224. --------------------*/
  225. /*-------------------
  226. Sizes
  227. --------------------*/
  228. /*-------------------
  229. Transitions
  230. --------------------*/
  231. /*-------------------
  232. Derived Values
  233. --------------------*/
  234. /* Makes sure padded grid can fit at 320px */
  235. /* Used to match floats with text */
  236. /* Positive / Negative Dupes */
  237. /* Header Colors */
  238. /* Responsive */
  239. /* Columns */
  240. /*******************************
  241. States
  242. *******************************/
  243. /*-------------------
  244. Disabled
  245. --------------------*/
  246. /*-------------------
  247. Hover
  248. --------------------*/
  249. /*--- Colors ---*/
  250. /*--- Emotive ---*/
  251. /*--- Neutrals ---*/
  252. /*-------------------
  253. Down (:active)
  254. --------------------*/
  255. /*--- Colors ---*/
  256. /*--- Emotive ---*/
  257. /*--- Neutrals ---*/
  258. /*-------------------
  259. Active
  260. --------------------*/
  261. /*--- Standard ---*/
  262. /*--- Emotive ---*/
  263. /*--- Neutrals ---*/
  264. /*******************************
  265. Statistic
  266. *******************************/
  267. /*-------------------
  268. View
  269. --------------------*/
  270. /* Group */
  271. /* Group Element */
  272. /*-------------------
  273. Content
  274. --------------------*/
  275. /* Value */
  276. /* Label */
  277. /* Text */
  278. /* Label Image */
  279. /*-------------------
  280. Types
  281. --------------------*/
  282. /*-------------------
  283. Variations
  284. --------------------*/
  285. /* Floated */
  286. /* Inverted */
  287. /* Size */
  288. /*------------------
  289. Load Site
  290. -------------------*/
  291. /*******************************
  292. User Global Variables
  293. *******************************/
  294. /*******************************
  295. User Variable Overrides
  296. *******************************/
  297. /*------------------
  298. Override Loader
  299. -------------------*/
  300. /*******************************
  301. Statistic
  302. *******************************/
  303. /* Standalone */
  304. .ui.statistic {
  305. display: inline-block;
  306. margin: 1em 0em;
  307. max-width: 175px;
  308. }
  309. .ui.statistic + .ui.statistic {
  310. margin: 0em 0em 0em 1em;
  311. }
  312. .ui.statistic:first-child {
  313. margin-top: 0em;
  314. }
  315. .ui.statistic:last-child {
  316. margin-bottom: 0em;
  317. }
  318. /* Grouped */
  319. .ui.statistics > .statistic {
  320. display: block;
  321. float: left;
  322. margin: 0em 1em 2em;
  323. max-width: 175px;
  324. }
  325. /*******************************
  326. Group
  327. *******************************/
  328. .ui.statistics {
  329. display: block;
  330. margin: 1em -1em;
  331. }
  332. /* Clearing */
  333. .ui.statistics:after {
  334. display: block;
  335. content: ' ';
  336. height: 0px;
  337. clear: both;
  338. overflow: hidden;
  339. visibility: hidden;
  340. }
  341. .ui.statistics:first-child {
  342. margin-top: 0em;
  343. }
  344. .ui.statistics:last-child {
  345. margin-bottom: 0em;
  346. }
  347. /*******************************
  348. Content
  349. *******************************/
  350. /*--------------
  351. Value
  352. ---------------*/
  353. .ui.statistics .statistic > .value,
  354. .ui.statistic > .value {
  355. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  356. font-size: 4rem;
  357. font-weight: normal;
  358. line-height: 1em;
  359. color: #1b1c1d;
  360. text-transform: uppercase;
  361. text-align: center;
  362. }
  363. /*--------------
  364. Label
  365. ---------------*/
  366. .ui.statistics .statistic > .label,
  367. .ui.statistic > .label {
  368. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  369. font-size: 1rem;
  370. font-weight: normal;
  371. color: rgba(0, 0, 0, 0.4);
  372. text-transform: none;
  373. text-align: center;
  374. }
  375. /* Top Label */
  376. .ui.statistics .statistic > .label ~ .value,
  377. .ui.statistic > .label ~ .value {
  378. margin-top: 0rem;
  379. }
  380. /* Bottom Label */
  381. .ui.statistics .statistic > .value ~ .label,
  382. .ui.statistic > .value ~ .label {
  383. margin-top: 0.25rem;
  384. }
  385. /*******************************
  386. Types
  387. *******************************/
  388. /*--------------
  389. Icon Value
  390. ---------------*/
  391. .ui.statistics .statistic > .value .icon,
  392. .ui.statistic > .value .icon {
  393. opacity: 1;
  394. width: auto;
  395. }
  396. /*--------------
  397. Text Value
  398. ---------------*/
  399. .ui.statistics .statistic > .text.value,
  400. .ui.statistic > .text.value {
  401. line-height: 1em;
  402. min-height: 2em;
  403. text-align: center;
  404. }
  405. .ui.statistics .statistic > .text.value + .label,
  406. .ui.statistic > .text.value + .label {
  407. text-align: center;
  408. }
  409. /*--------------
  410. Image Value
  411. ---------------*/
  412. .ui.statistics .statistic > .value img,
  413. .ui.statistic > .value img {
  414. max-height: 3rem;
  415. vertical-align: baseline;
  416. }
  417. /*******************************
  418. Variations
  419. *******************************/
  420. /*--------------
  421. Horizontal
  422. ---------------*/
  423. .ui.horizontal.statistics,
  424. .ui.horizontal.statistic {
  425. display: block;
  426. margin: 0em;
  427. max-width: 9999px;
  428. }
  429. .ui.horizontal.statistics .statistic {
  430. float: none;
  431. margin: 1em 0em;
  432. max-width: 9999px;
  433. }
  434. .ui.horizontal.statistic > .text.value,
  435. .ui.horizontal.statistics > .statistic > .text.value {
  436. min-height: 0em !important;
  437. }
  438. .ui.horizontal.statistics .statistic > .value,
  439. .ui.horizontal.statistic > .value {
  440. display: inline-block;
  441. vertical-align: middle;
  442. }
  443. .ui.horizontal.statistics .statistic > .label,
  444. .ui.horizontal.statistic > .label {
  445. display: inline-block;
  446. vertical-align: middle;
  447. margin: 0em 0em 0em 0.75em;
  448. }
  449. /*--------------
  450. Colors
  451. ---------------*/
  452. .ui.blue.statistics .statistic > .value,
  453. .ui.statistics .blue.statistic > .value,
  454. .ui.blue.statistic > .value {
  455. color: #3b83c0;
  456. }
  457. .ui.green.statistics .statistic > .value,
  458. .ui.statistics .green.statistic > .value,
  459. .ui.green.statistic > .value {
  460. color: #5bbd72;
  461. }
  462. .ui.orange.statistics .statistic > .value,
  463. .ui.statistics .orange.statistic > .value,
  464. .ui.orange.statistic > .value {
  465. color: #e07b53;
  466. }
  467. .ui.pink.statistics .statistic > .value,
  468. .ui.statistics .pink.statistic > .value,
  469. .ui.pink.statistic > .value {
  470. color: #d9499a;
  471. }
  472. .ui.purple.statistics .statistic > .value,
  473. .ui.statistics .purple.statistic > .value,
  474. .ui.purple.statistic > .value {
  475. color: #564f8a;
  476. }
  477. .ui.red.statistics .statistic > .value,
  478. .ui.statistics .red.statistic > .value,
  479. .ui.red.statistic > .value {
  480. color: #d95c5c;
  481. }
  482. .ui.teal.statistics .statistic > .value,
  483. .ui.statistics .teal.statistic > .value,
  484. .ui.teal.statistic > .value {
  485. color: #00b5ad;
  486. }
  487. .ui.yellow.statistics .statistic > .value,
  488. .ui.statistics .yellow.statistic > .value,
  489. .ui.yellow.statistic > .value {
  490. color: #f2c61f;
  491. }
  492. /*--------------
  493. Floated
  494. ---------------*/
  495. .ui.left.floated.statistic {
  496. float: left;
  497. margin: 0em 2em 1em 0em;
  498. }
  499. .ui.right.floated.statistic {
  500. float: right;
  501. margin: 0em 0em 1em 2em;
  502. }
  503. .ui.floated.statistic:last-child {
  504. margin-bottom: 0em;
  505. }
  506. /*--------------
  507. Inverted
  508. ---------------*/
  509. .ui.inverted.statistic .value {
  510. color: #ffffff;
  511. }
  512. .ui.inverted.statistic .label {
  513. color: rgba(255, 255, 255, 0.8);
  514. }
  515. .ui.inverted.blue.statistics .statistic > .value,
  516. .ui.statistics .inverted.blue.statistic > .value,
  517. .ui.inverted.blue.statistic > .value {
  518. color: #54c8ff;
  519. }
  520. .ui.inverted.green.statistics .statistic > .value,
  521. .ui.statistics .inverted.green.statistic > .value,
  522. .ui.inverted.green.statistic > .value {
  523. color: #2ecc40;
  524. }
  525. .ui.inverted.orange.statistics .statistic > .value,
  526. .ui.statistics .inverted.orange.statistic > .value,
  527. .ui.inverted.orange.statistic > .value {
  528. color: #ff851b;
  529. }
  530. .ui.inverted.pink.statistics .statistic > .value,
  531. .ui.statistics .inverted.pink.statistic > .value,
  532. .ui.inverted.pink.statistic > .value {
  533. color: #ff8edf;
  534. }
  535. .ui.inverted.purple.statistics .statistic > .value,
  536. .ui.statistics .inverted.purple.statistic > .value,
  537. .ui.inverted.purple.statistic > .value {
  538. color: #cdc6ff;
  539. }
  540. .ui.inverted.red.statistics .statistic > .value,
  541. .ui.statistics .inverted.red.statistic > .value,
  542. .ui.inverted.red.statistic > .value {
  543. color: #ff695e;
  544. }
  545. .ui.inverted.teal.statistics .statistic > .value,
  546. .ui.statistics .inverted.teal.statistic > .value,
  547. .ui.inverted.teal.statistic > .value {
  548. color: #6dffff;
  549. }
  550. .ui.inverted.yellow.statistics .statistic > .value,
  551. .ui.statistics .inverted.yellow.statistic > .value,
  552. .ui.inverted.yellow.statistic > .value {
  553. color: #ffe21f;
  554. }
  555. /*--------------
  556. Sizes
  557. ---------------*/
  558. /* Mini */
  559. .ui.mini.statistics .statistic > .value,
  560. .ui.mini.statistic > .value {
  561. font-size: 1.5rem;
  562. }
  563. .ui.mini.horizontal.statistics .statistic > .value,
  564. .ui.mini.horizontal.statistic > .value {
  565. font-size: 1.5rem;
  566. }
  567. .ui.mini.statistics .statistic > .text.value,
  568. .ui.mini.statistic > .text.value {
  569. font-size: 1rem;
  570. }
  571. /* Tiny */
  572. .ui.tiny.statistics .statistic > .value,
  573. .ui.tiny.statistic > .value {
  574. font-size: 2rem;
  575. }
  576. .ui.tiny.horizontal.statistics .statistic > .value,
  577. .ui.tiny.horizontal.statistic > .value {
  578. font-size: 2rem;
  579. }
  580. .ui.tiny.statistics .statistic > .text.value,
  581. .ui.tiny.statistic > .text.value {
  582. font-size: 1rem;
  583. }
  584. /* Small */
  585. .ui.small.statistics .statistic > .value,
  586. .ui.small.statistic > .value {
  587. font-size: 3rem;
  588. }
  589. .ui.small.horizontal.statistics .statistic > .value,
  590. .ui.small.horizontal.statistic > .value {
  591. font-size: 2rem;
  592. }
  593. .ui.small.statistics .statistic > .text.value,
  594. .ui.small.statistic > .text.value {
  595. font-size: 1.5rem;
  596. }
  597. /* Medium */
  598. .ui.statistics .statistic > .value,
  599. .ui.statistic > .value {
  600. font-size: 4rem;
  601. }
  602. .ui.horizontal.statistics .statistic > .value,
  603. .ui.horizontal.statistic > .value {
  604. font-size: 3rem;
  605. }
  606. .ui.statistics .statistic > .text.value,
  607. .ui.statistic > .text.value {
  608. font-size: 2rem;
  609. }
  610. /* Large */
  611. .ui.large.statistics .statistic > .value,
  612. .ui.large.statistic > .value {
  613. font-size: 5rem;
  614. }
  615. .ui.large.horizontal.statistics .statistic > .value,
  616. .ui.large.horizontal.statistic > .value {
  617. font-size: 4rem;
  618. }
  619. .ui.large.statistics .statistic > .text.value,
  620. .ui.large.statistic > .text.value {
  621. font-size: 2.5rem;
  622. }
  623. /* Huge */
  624. .ui.huge.statistics .statistic > .value,
  625. .ui.huge.statistic > .value {
  626. font-size: 6rem;
  627. }
  628. .ui.huge.horizontal.statistics .statistic > .value,
  629. .ui.huge.horizontal.statistic > .value {
  630. font-size: 5rem;
  631. }
  632. .ui.huge.statistics .statistic > .text.value,
  633. .ui.huge.statistic > .text.value {
  634. font-size: 2.5rem;
  635. }
  636. /*******************************
  637. Overrides
  638. *******************************/
  639. /*******************************
  640. User Variable Overrides
  641. *******************************/