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.

520 lines
13 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
  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 Default
  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. /* Solid Background Color */
  87. /* Status */
  88. /* Darkened Headers */
  89. /*-------------------
  90. Neutral Text
  91. --------------------*/
  92. /*-------------------
  93. Brand Colors
  94. --------------------*/
  95. /*-------------------
  96. Grid Columns
  97. --------------------*/
  98. /*-------------------
  99. Borders
  100. --------------------*/
  101. /*-------------------
  102. Sizes
  103. --------------------*/
  104. /*-------------------
  105. Transitions
  106. --------------------*/
  107. /*******************************
  108. States
  109. *******************************/
  110. /*-------------------
  111. Disabled
  112. --------------------*/
  113. /*-------------------
  114. Hover
  115. --------------------*/
  116. /*--- Colors ---*/
  117. /*--- Emotive ---*/
  118. /*--- Neutrals ---*/
  119. /*-------------------
  120. Down (:active)
  121. --------------------*/
  122. /*--- Colors ---*/
  123. /*--- Emotive ---*/
  124. /*--- Neutrals ---*/
  125. /*-------------------
  126. Active
  127. --------------------*/
  128. /*--- Standard ---*/
  129. /*--- Emotive ---*/
  130. /*--- Neutrals ---*/
  131. /*******************************
  132. Statistic
  133. *******************************/
  134. /*-------------------
  135. View
  136. --------------------*/
  137. /* Group */
  138. /* Group Element */
  139. /*-------------------
  140. Content
  141. --------------------*/
  142. /* Value */
  143. /* Label */
  144. /* Text */
  145. /* Label Image */
  146. /*-------------------
  147. Types
  148. --------------------*/
  149. /*-------------------
  150. Variations
  151. --------------------*/
  152. /* Floated */
  153. /* Inverted */
  154. /* Size */
  155. /*------------------
  156. Load Theme
  157. -------------------*/
  158. /*------------------
  159. Load Site
  160. -------------------*/
  161. /*******************************
  162. User Global Variables
  163. *******************************/
  164. /*******************************
  165. User Variable Overrides
  166. *******************************/
  167. /*------------------
  168. Override Mix-in
  169. -------------------*/
  170. /*******************************
  171. Statistic
  172. *******************************/
  173. /* Standalone */
  174. .ui.statistic {
  175. display: inline-block;
  176. margin: 1em 0em;
  177. max-width: 175px;
  178. }
  179. .ui.statistic + .ui.statistic {
  180. margin: 0em 0em 0em 1em;
  181. }
  182. .ui.statistic:first-child {
  183. margin-top: 0em;
  184. }
  185. .ui.statistic:last-child {
  186. margin-bottom: 0em;
  187. }
  188. /* Grouped */
  189. .ui.statistics > .statistic {
  190. display: block;
  191. float: left;
  192. margin: 0em 1em 2em;
  193. max-width: 175px;
  194. }
  195. /*******************************
  196. Group
  197. *******************************/
  198. .ui.statistics {
  199. display: block;
  200. margin: 1em -1em;
  201. }
  202. /* Clearing */
  203. .ui.statistics:after {
  204. display: block;
  205. content: ' ';
  206. height: 0px;
  207. clear: both;
  208. overflow: hidden;
  209. visibility: hidden;
  210. }
  211. .ui.statistics:first-child {
  212. margin-top: 0em;
  213. }
  214. .ui.statistics:last-child {
  215. margin-bottom: 0em;
  216. }
  217. /*******************************
  218. Content
  219. *******************************/
  220. /*--------------
  221. Value
  222. ---------------*/
  223. .ui.statistics .statistic > .value,
  224. .ui.statistic > .value {
  225. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  226. font-size: 4rem;
  227. font-weight: normal;
  228. line-height: 1em;
  229. color: #1b1c1d;
  230. text-transform: uppercase;
  231. text-align: center;
  232. }
  233. /*--------------
  234. Label
  235. ---------------*/
  236. .ui.statistics .statistic > .label,
  237. .ui.statistic > .label {
  238. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  239. font-size: 1rem;
  240. font-weight: normal;
  241. color: rgba(0, 0, 0, 0.4);
  242. text-transform: none;
  243. text-align: center;
  244. }
  245. /* Top Label */
  246. .ui.statistics .statistic > .label ~ .value,
  247. .ui.statistic > .label ~ .value {
  248. margin-top: 0rem;
  249. }
  250. /* Bottom Label */
  251. .ui.statistics .statistic > .value ~ .label,
  252. .ui.statistic > .value ~ .label {
  253. margin-top: 0.25rem;
  254. }
  255. /*******************************
  256. Types
  257. *******************************/
  258. /*--------------
  259. Icon Value
  260. ---------------*/
  261. .ui.statistics .statistic > .value .icon,
  262. .ui.statistic > .value .icon {
  263. opacity: 1;
  264. width: auto;
  265. }
  266. /*--------------
  267. Text Value
  268. ---------------*/
  269. .ui.statistics .statistic > .text.value,
  270. .ui.statistic > .text.value {
  271. line-height: 1em;
  272. min-height: 2em;
  273. text-align: center;
  274. }
  275. .ui.statistics .statistic > .text.value + .label,
  276. .ui.statistic > .text.value + .label {
  277. text-align: center;
  278. }
  279. /*--------------
  280. Image Value
  281. ---------------*/
  282. .ui.statistics .statistic > .value img,
  283. .ui.statistic > .value img {
  284. max-height: 3rem;
  285. vertical-align: baseline;
  286. }
  287. /*******************************
  288. Variations
  289. *******************************/
  290. /*--------------
  291. Horizontal
  292. ---------------*/
  293. .ui.horizontal.statistics,
  294. .ui.horizontal.statistic {
  295. display: block;
  296. margin: 0em;
  297. max-width: 9999px;
  298. }
  299. .ui.horizontal.statistics .statistic {
  300. float: none;
  301. margin: 1em 0em;
  302. max-width: 9999px;
  303. }
  304. .ui.horizontal.statistic > .text.value,
  305. .ui.horizontal.statistics > .statistic > .text.value {
  306. min-height: 0em !important;
  307. }
  308. .ui.horizontal.statistics .statistic > .value,
  309. .ui.horizontal.statistic > .value {
  310. display: inline-block;
  311. vertical-align: middle;
  312. }
  313. .ui.horizontal.statistics .statistic > .label,
  314. .ui.horizontal.statistic > .label {
  315. display: inline-block;
  316. vertical-align: middle;
  317. margin: 0em 0em 0em 0.75em;
  318. }
  319. /*--------------
  320. Colors
  321. ---------------*/
  322. .ui.blue.statistics .statistic > .value,
  323. .ui.statistics .blue.statistic > .value,
  324. .ui.blue.statistic > .value {
  325. color: #3b83c0;
  326. }
  327. .ui.green.statistics .statistic > .value,
  328. .ui.statistics .green.statistic > .value,
  329. .ui.green.statistic > .value {
  330. color: #5bbd72;
  331. }
  332. .ui.orange.statistics .statistic > .value,
  333. .ui.statistics .orange.statistic > .value,
  334. .ui.orange.statistic > .value {
  335. color: #e07b53;
  336. }
  337. .ui.pink.statistics .statistic > .value,
  338. .ui.statistics .pink.statistic > .value,
  339. .ui.pink.statistic > .value {
  340. color: #d9499a;
  341. }
  342. .ui.purple.statistics .statistic > .value,
  343. .ui.statistics .purple.statistic > .value,
  344. .ui.purple.statistic > .value {
  345. color: #564f8a;
  346. }
  347. .ui.red.statistics .statistic > .value,
  348. .ui.statistics .red.statistic > .value,
  349. .ui.red.statistic > .value {
  350. color: #d95c5c;
  351. }
  352. .ui.teal.statistics .statistic > .value,
  353. .ui.statistics .teal.statistic > .value,
  354. .ui.teal.statistic > .value {
  355. color: #00b5ad;
  356. }
  357. .ui.yellow.statistics .statistic > .value,
  358. .ui.statistics .yellow.statistic > .value,
  359. .ui.yellow.statistic > .value {
  360. color: #e9bd16;
  361. }
  362. /*--------------
  363. Floated
  364. ---------------*/
  365. .ui.left.floated.statistic {
  366. float: left;
  367. margin: 0em 2em 1em 0em;
  368. }
  369. .ui.right.floated.statistic {
  370. float: right;
  371. margin: 0em 0em 1em 2em;
  372. }
  373. .ui.floated.statistic:last-child {
  374. margin-bottom: 0em;
  375. }
  376. /*--------------
  377. Inverted
  378. ---------------*/
  379. .ui.inverted.statistic .value {
  380. color: #ffffff;
  381. }
  382. .ui.inverted.statistic .label {
  383. color: rgba(255, 255, 255, 0.8);
  384. }
  385. .ui.inverted.blue.statistics .statistic > .value,
  386. .ui.statistics .inverted.blue.statistic > .value,
  387. .ui.inverted.blue.statistic > .value {
  388. color: #54c8ff;
  389. }
  390. .ui.inverted.green.statistics .statistic > .value,
  391. .ui.statistics .inverted.green.statistic > .value,
  392. .ui.inverted.green.statistic > .value {
  393. color: #2ecc40;
  394. }
  395. .ui.inverted.orange.statistics .statistic > .value,
  396. .ui.statistics .inverted.orange.statistic > .value,
  397. .ui.inverted.orange.statistic > .value {
  398. color: #ff851b;
  399. }
  400. .ui.inverted.pink.statistics .statistic > .value,
  401. .ui.statistics .inverted.pink.statistic > .value,
  402. .ui.inverted.pink.statistic > .value {
  403. color: #ff8edf;
  404. }
  405. .ui.inverted.purple.statistics .statistic > .value,
  406. .ui.statistics .inverted.purple.statistic > .value,
  407. .ui.inverted.purple.statistic > .value {
  408. color: #cdc6ff;
  409. }
  410. .ui.inverted.red.statistics .statistic > .value,
  411. .ui.statistics .inverted.red.statistic > .value,
  412. .ui.inverted.red.statistic > .value {
  413. color: #ff695e;
  414. }
  415. .ui.inverted.teal.statistics .statistic > .value,
  416. .ui.statistics .inverted.teal.statistic > .value,
  417. .ui.inverted.teal.statistic > .value {
  418. color: #6dffff;
  419. }
  420. .ui.inverted.yellow.statistics .statistic > .value,
  421. .ui.statistics .inverted.yellow.statistic > .value,
  422. .ui.inverted.yellow.statistic > .value {
  423. color: #ffe21f;
  424. }
  425. /*--------------
  426. Sizes
  427. ---------------*/
  428. /* Mini */
  429. .ui.mini.statistics .statistic > .value,
  430. .ui.mini.statistic > .value {
  431. font-size: 1.5rem;
  432. }
  433. .ui.mini.horizontal.statistics .statistic > .value,
  434. .ui.mini.horizontal.statistic > .value {
  435. font-size: 1.5rem;
  436. }
  437. .ui.mini.statistics .statistic > .text.value,
  438. .ui.mini.statistic > .text.value {
  439. font-size: 1rem;
  440. }
  441. /* Tiny */
  442. .ui.tiny.statistics .statistic > .value,
  443. .ui.tiny.statistic > .value {
  444. font-size: 2rem;
  445. }
  446. .ui.tiny.horizontal.statistics .statistic > .value,
  447. .ui.tiny.horizontal.statistic > .value {
  448. font-size: 2rem;
  449. }
  450. .ui.tiny.statistics .statistic > .text.value,
  451. .ui.tiny.statistic > .text.value {
  452. font-size: 1rem;
  453. }
  454. /* Small */
  455. .ui.small.statistics .statistic > .value,
  456. .ui.small.statistic > .value {
  457. font-size: 3rem;
  458. }
  459. .ui.small.horizontal.statistics .statistic > .value,
  460. .ui.small.horizontal.statistic > .value {
  461. font-size: 2rem;
  462. }
  463. .ui.small.statistics .statistic > .text.value,
  464. .ui.small.statistic > .text.value {
  465. font-size: 1.5rem;
  466. }
  467. /* Medium */
  468. .ui.statistics .statistic > .value,
  469. .ui.statistic > .value {
  470. font-size: 4rem;
  471. }
  472. .ui.horizontal.statistics .statistic > .value,
  473. .ui.horizontal.statistic > .value {
  474. font-size: 3rem;
  475. }
  476. .ui.statistics .statistic > .text.value,
  477. .ui.statistic > .text.value {
  478. font-size: 2rem;
  479. }
  480. /* Large */
  481. .ui.large.statistics .statistic > .value,
  482. .ui.large.statistic > .value {
  483. font-size: 5rem;
  484. }
  485. .ui.large.horizontal.statistics .statistic > .value,
  486. .ui.large.horizontal.statistic > .value {
  487. font-size: 4rem;
  488. }
  489. .ui.large.statistics .statistic > .text.value,
  490. .ui.large.statistic > .text.value {
  491. font-size: 2.5rem;
  492. }
  493. /* Huge */
  494. .ui.huge.statistics .statistic > .value,
  495. .ui.huge.statistic > .value {
  496. font-size: 6rem;
  497. }
  498. .ui.huge.horizontal.statistics .statistic > .value,
  499. .ui.huge.horizontal.statistic > .value {
  500. font-size: 5rem;
  501. }
  502. .ui.huge.statistics .statistic > .text.value,
  503. .ui.huge.statistic > .text.value {
  504. font-size: 2.5rem;
  505. }
  506. /*******************************
  507. Overrides
  508. *******************************/
  509. /*******************************
  510. User Variable Overrides
  511. *******************************/