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.

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