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.

569 lines
12 KiB

9 years ago
7 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 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 UI 2.2.12 - Statistic
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Released under the MIT license
  7. * http://opensource.org/licenses/MIT
  8. *
  9. */
  10. /*******************************
  11. Statistic
  12. *******************************/
  13. /* Standalone */
  14. .ui.statistic {
  15. display: -webkit-inline-box;
  16. display: -ms-inline-flexbox;
  17. display: inline-flex;
  18. -webkit-box-orient: vertical;
  19. -webkit-box-direction: normal;
  20. -ms-flex-direction: column;
  21. flex-direction: column;
  22. margin: 1em 0em;
  23. max-width: auto;
  24. }
  25. .ui.statistic + .ui.statistic {
  26. margin: 0em 0em 0em 1.5em;
  27. }
  28. .ui.statistic:first-child {
  29. margin-top: 0em;
  30. }
  31. .ui.statistic:last-child {
  32. margin-bottom: 0em;
  33. }
  34. /*******************************
  35. Group
  36. *******************************/
  37. /* Grouped */
  38. .ui.statistics {
  39. display: -webkit-box;
  40. display: -ms-flexbox;
  41. display: flex;
  42. -webkit-box-align: start;
  43. -ms-flex-align: start;
  44. align-items: flex-start;
  45. -ms-flex-wrap: wrap;
  46. flex-wrap: wrap;
  47. }
  48. .ui.statistics > .statistic {
  49. display: -webkit-inline-box;
  50. display: -ms-inline-flexbox;
  51. display: inline-flex;
  52. -webkit-box-flex: 0;
  53. -ms-flex: 0 1 auto;
  54. flex: 0 1 auto;
  55. -webkit-box-orient: vertical;
  56. -webkit-box-direction: normal;
  57. -ms-flex-direction: column;
  58. flex-direction: column;
  59. margin: 0em 1.5em 2em;
  60. max-width: auto;
  61. }
  62. .ui.statistics {
  63. display: -webkit-box;
  64. display: -ms-flexbox;
  65. display: flex;
  66. margin: 1em -1.5em -2em;
  67. }
  68. /* Clearing */
  69. .ui.statistics:after {
  70. display: block;
  71. content: ' ';
  72. height: 0px;
  73. clear: both;
  74. overflow: hidden;
  75. visibility: hidden;
  76. }
  77. .ui.statistics:first-child {
  78. margin-top: 0em;
  79. }
  80. .ui.statistics:last-child {
  81. margin-bottom: 0em;
  82. }
  83. /*******************************
  84. Content
  85. *******************************/
  86. /*--------------
  87. Value
  88. ---------------*/
  89. .ui.statistics .statistic > .value,
  90. .ui.statistic > .value {
  91. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  92. font-size: 4rem;
  93. font-weight: normal;
  94. line-height: 1em;
  95. color: #1B1C1D;
  96. text-transform: uppercase;
  97. text-align: center;
  98. }
  99. /*--------------
  100. Label
  101. ---------------*/
  102. .ui.statistics .statistic > .label,
  103. .ui.statistic > .label {
  104. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  105. font-size: 1em;
  106. font-weight: bold;
  107. color: rgba(0, 0, 0, 0.87);
  108. text-transform: uppercase;
  109. text-align: center;
  110. }
  111. /* Top Label */
  112. .ui.statistics .statistic > .label ~ .value,
  113. .ui.statistic > .label ~ .value {
  114. margin-top: 0rem;
  115. }
  116. /* Bottom Label */
  117. .ui.statistics .statistic > .value ~ .label,
  118. .ui.statistic > .value ~ .label {
  119. margin-top: 0rem;
  120. }
  121. /*******************************
  122. Types
  123. *******************************/
  124. /*--------------
  125. Icon Value
  126. ---------------*/
  127. .ui.statistics .statistic > .value .icon,
  128. .ui.statistic > .value .icon {
  129. opacity: 1;
  130. width: auto;
  131. margin: 0em;
  132. }
  133. /*--------------
  134. Text Value
  135. ---------------*/
  136. .ui.statistics .statistic > .text.value,
  137. .ui.statistic > .text.value {
  138. line-height: 1em;
  139. min-height: 2em;
  140. font-weight: bold;
  141. text-align: center;
  142. }
  143. .ui.statistics .statistic > .text.value + .label,
  144. .ui.statistic > .text.value + .label {
  145. text-align: center;
  146. }
  147. /*--------------
  148. Image Value
  149. ---------------*/
  150. .ui.statistics .statistic > .value img,
  151. .ui.statistic > .value img {
  152. max-height: 3rem;
  153. vertical-align: baseline;
  154. }
  155. /*******************************
  156. Variations
  157. *******************************/
  158. /*--------------
  159. Count
  160. ---------------*/
  161. .ui.ten.statistics {
  162. margin: 0em 0em -2em;
  163. }
  164. .ui.ten.statistics .statistic {
  165. min-width: 10%;
  166. margin: 0em 0em 2em;
  167. }
  168. .ui.nine.statistics {
  169. margin: 0em 0em -2em;
  170. }
  171. .ui.nine.statistics .statistic {
  172. min-width: 11.11111111%;
  173. margin: 0em 0em 2em;
  174. }
  175. .ui.eight.statistics {
  176. margin: 0em 0em -2em;
  177. }
  178. .ui.eight.statistics .statistic {
  179. min-width: 12.5%;
  180. margin: 0em 0em 2em;
  181. }
  182. .ui.seven.statistics {
  183. margin: 0em 0em -2em;
  184. }
  185. .ui.seven.statistics .statistic {
  186. min-width: 14.28571429%;
  187. margin: 0em 0em 2em;
  188. }
  189. .ui.six.statistics {
  190. margin: 0em 0em -2em;
  191. }
  192. .ui.six.statistics .statistic {
  193. min-width: 16.66666667%;
  194. margin: 0em 0em 2em;
  195. }
  196. .ui.five.statistics {
  197. margin: 0em 0em -2em;
  198. }
  199. .ui.five.statistics .statistic {
  200. min-width: 20%;
  201. margin: 0em 0em 2em;
  202. }
  203. .ui.four.statistics {
  204. margin: 0em 0em -2em;
  205. }
  206. .ui.four.statistics .statistic {
  207. min-width: 25%;
  208. margin: 0em 0em 2em;
  209. }
  210. .ui.three.statistics {
  211. margin: 0em 0em -2em;
  212. }
  213. .ui.three.statistics .statistic {
  214. min-width: 33.33333333%;
  215. margin: 0em 0em 2em;
  216. }
  217. .ui.two.statistics {
  218. margin: 0em 0em -2em;
  219. }
  220. .ui.two.statistics .statistic {
  221. min-width: 50%;
  222. margin: 0em 0em 2em;
  223. }
  224. .ui.one.statistics {
  225. margin: 0em 0em -2em;
  226. }
  227. .ui.one.statistics .statistic {
  228. min-width: 100%;
  229. margin: 0em 0em 2em;
  230. }
  231. /*--------------
  232. Horizontal
  233. ---------------*/
  234. .ui.horizontal.statistic {
  235. -webkit-box-orient: horizontal;
  236. -webkit-box-direction: normal;
  237. -ms-flex-direction: row;
  238. flex-direction: row;
  239. -webkit-box-align: center;
  240. -ms-flex-align: center;
  241. align-items: center;
  242. }
  243. .ui.horizontal.statistics {
  244. -webkit-box-orient: vertical;
  245. -webkit-box-direction: normal;
  246. -ms-flex-direction: column;
  247. flex-direction: column;
  248. margin: 0em;
  249. max-width: none;
  250. }
  251. .ui.horizontal.statistics .statistic {
  252. -webkit-box-orient: horizontal;
  253. -webkit-box-direction: normal;
  254. -ms-flex-direction: row;
  255. flex-direction: row;
  256. -webkit-box-align: center;
  257. -ms-flex-align: center;
  258. align-items: center;
  259. max-width: none;
  260. margin: 1em 0em;
  261. }
  262. .ui.horizontal.statistic > .text.value,
  263. .ui.horizontal.statistics > .statistic > .text.value {
  264. min-height: 0em !important;
  265. }
  266. .ui.horizontal.statistics .statistic > .value .icon,
  267. .ui.horizontal.statistic > .value .icon {
  268. width: 1.18em;
  269. }
  270. .ui.horizontal.statistics .statistic > .value,
  271. .ui.horizontal.statistic > .value {
  272. display: inline-block;
  273. vertical-align: middle;
  274. }
  275. .ui.horizontal.statistics .statistic > .label,
  276. .ui.horizontal.statistic > .label {
  277. display: inline-block;
  278. vertical-align: middle;
  279. margin: 0em 0em 0em 0.75em;
  280. }
  281. /*--------------
  282. Colors
  283. ---------------*/
  284. .ui.red.statistics .statistic > .value,
  285. .ui.statistics .red.statistic > .value,
  286. .ui.red.statistic > .value {
  287. color: #DB2828;
  288. }
  289. .ui.orange.statistics .statistic > .value,
  290. .ui.statistics .orange.statistic > .value,
  291. .ui.orange.statistic > .value {
  292. color: #F2711C;
  293. }
  294. .ui.yellow.statistics .statistic > .value,
  295. .ui.statistics .yellow.statistic > .value,
  296. .ui.yellow.statistic > .value {
  297. color: #FBBD08;
  298. }
  299. .ui.olive.statistics .statistic > .value,
  300. .ui.statistics .olive.statistic > .value,
  301. .ui.olive.statistic > .value {
  302. color: #B5CC18;
  303. }
  304. .ui.green.statistics .statistic > .value,
  305. .ui.statistics .green.statistic > .value,
  306. .ui.green.statistic > .value {
  307. color: #21BA45;
  308. }
  309. .ui.teal.statistics .statistic > .value,
  310. .ui.statistics .teal.statistic > .value,
  311. .ui.teal.statistic > .value {
  312. color: #00B5AD;
  313. }
  314. .ui.blue.statistics .statistic > .value,
  315. .ui.statistics .blue.statistic > .value,
  316. .ui.blue.statistic > .value {
  317. color: #2185D0;
  318. }
  319. .ui.violet.statistics .statistic > .value,
  320. .ui.statistics .violet.statistic > .value,
  321. .ui.violet.statistic > .value {
  322. color: #6435C9;
  323. }
  324. .ui.purple.statistics .statistic > .value,
  325. .ui.statistics .purple.statistic > .value,
  326. .ui.purple.statistic > .value {
  327. color: #A333C8;
  328. }
  329. .ui.pink.statistics .statistic > .value,
  330. .ui.statistics .pink.statistic > .value,
  331. .ui.pink.statistic > .value {
  332. color: #E03997;
  333. }
  334. .ui.brown.statistics .statistic > .value,
  335. .ui.statistics .brown.statistic > .value,
  336. .ui.brown.statistic > .value {
  337. color: #A5673F;
  338. }
  339. .ui.grey.statistics .statistic > .value,
  340. .ui.statistics .grey.statistic > .value,
  341. .ui.grey.statistic > .value {
  342. color: #767676;
  343. }
  344. /*--------------
  345. Inverted
  346. ---------------*/
  347. .ui.inverted.statistics .statistic > .value,
  348. .ui.inverted.statistic .value {
  349. color: #FFFFFF;
  350. }
  351. .ui.inverted.statistics .statistic > .label,
  352. .ui.inverted.statistic .label {
  353. color: rgba(255, 255, 255, 0.9);
  354. }
  355. .ui.inverted.red.statistics .statistic > .value,
  356. .ui.statistics .inverted.red.statistic > .value,
  357. .ui.inverted.red.statistic > .value {
  358. color: #FF695E;
  359. }
  360. .ui.inverted.orange.statistics .statistic > .value,
  361. .ui.statistics .inverted.orange.statistic > .value,
  362. .ui.inverted.orange.statistic > .value {
  363. color: #FF851B;
  364. }
  365. .ui.inverted.yellow.statistics .statistic > .value,
  366. .ui.statistics .inverted.yellow.statistic > .value,
  367. .ui.inverted.yellow.statistic > .value {
  368. color: #FFE21F;
  369. }
  370. .ui.inverted.olive.statistics .statistic > .value,
  371. .ui.statistics .inverted.olive.statistic > .value,
  372. .ui.inverted.olive.statistic > .value {
  373. color: #D9E778;
  374. }
  375. .ui.inverted.green.statistics .statistic > .value,
  376. .ui.statistics .inverted.green.statistic > .value,
  377. .ui.inverted.green.statistic > .value {
  378. color: #2ECC40;
  379. }
  380. .ui.inverted.teal.statistics .statistic > .value,
  381. .ui.statistics .inverted.teal.statistic > .value,
  382. .ui.inverted.teal.statistic > .value {
  383. color: #6DFFFF;
  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.violet.statistics .statistic > .value,
  391. .ui.statistics .inverted.violet.statistic > .value,
  392. .ui.inverted.violet.statistic > .value {
  393. color: #A291FB;
  394. }
  395. .ui.inverted.purple.statistics .statistic > .value,
  396. .ui.statistics .inverted.purple.statistic > .value,
  397. .ui.inverted.purple.statistic > .value {
  398. color: #DC73FF;
  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.brown.statistics .statistic > .value,
  406. .ui.statistics .inverted.brown.statistic > .value,
  407. .ui.inverted.brown.statistic > .value {
  408. color: #D67C1C;
  409. }
  410. .ui.inverted.grey.statistics .statistic > .value,
  411. .ui.statistics .inverted.grey.statistic > .value,
  412. .ui.inverted.grey.statistic > .value {
  413. color: #DCDDDE;
  414. }
  415. /*--------------
  416. Floated
  417. ---------------*/
  418. .ui[class*="left floated"].statistic {
  419. float: left;
  420. margin: 0em 2em 1em 0em;
  421. }
  422. .ui[class*="right floated"].statistic {
  423. float: right;
  424. margin: 0em 0em 1em 2em;
  425. }
  426. .ui.floated.statistic:last-child {
  427. margin-bottom: 0em;
  428. }
  429. /*--------------
  430. Sizes
  431. ---------------*/
  432. /* Mini */
  433. .ui.mini.statistics .statistic > .value,
  434. .ui.mini.statistic > .value {
  435. font-size: 1.5rem !important;
  436. }
  437. .ui.mini.horizontal.statistics .statistic > .value,
  438. .ui.mini.horizontal.statistic > .value {
  439. font-size: 1.5rem !important;
  440. }
  441. .ui.mini.statistics .statistic > .text.value,
  442. .ui.mini.statistic > .text.value {
  443. font-size: 1rem !important;
  444. }
  445. /* Tiny */
  446. .ui.tiny.statistics .statistic > .value,
  447. .ui.tiny.statistic > .value {
  448. font-size: 2rem !important;
  449. }
  450. .ui.tiny.horizontal.statistics .statistic > .value,
  451. .ui.tiny.horizontal.statistic > .value {
  452. font-size: 2rem !important;
  453. }
  454. .ui.tiny.statistics .statistic > .text.value,
  455. .ui.tiny.statistic > .text.value {
  456. font-size: 1rem !important;
  457. }
  458. /* Small */
  459. .ui.small.statistics .statistic > .value,
  460. .ui.small.statistic > .value {
  461. font-size: 3rem !important;
  462. }
  463. .ui.small.horizontal.statistics .statistic > .value,
  464. .ui.small.horizontal.statistic > .value {
  465. font-size: 2rem !important;
  466. }
  467. .ui.small.statistics .statistic > .text.value,
  468. .ui.small.statistic > .text.value {
  469. font-size: 1rem !important;
  470. }
  471. /* Medium */
  472. .ui.statistics .statistic > .value,
  473. .ui.statistic > .value {
  474. font-size: 4rem !important;
  475. }
  476. .ui.horizontal.statistics .statistic > .value,
  477. .ui.horizontal.statistic > .value {
  478. font-size: 3rem !important;
  479. }
  480. .ui.statistics .statistic > .text.value,
  481. .ui.statistic > .text.value {
  482. font-size: 2rem !important;
  483. }
  484. /* Large */
  485. .ui.large.statistics .statistic > .value,
  486. .ui.large.statistic > .value {
  487. font-size: 5rem !important;
  488. }
  489. .ui.large.horizontal.statistics .statistic > .value,
  490. .ui.large.horizontal.statistic > .value {
  491. font-size: 4rem !important;
  492. }
  493. .ui.large.statistics .statistic > .text.value,
  494. .ui.large.statistic > .text.value {
  495. font-size: 2.5rem !important;
  496. }
  497. /* Huge */
  498. .ui.huge.statistics .statistic > .value,
  499. .ui.huge.statistic > .value {
  500. font-size: 6rem !important;
  501. }
  502. .ui.huge.horizontal.statistics .statistic > .value,
  503. .ui.huge.horizontal.statistic > .value {
  504. font-size: 5rem !important;
  505. }
  506. .ui.huge.statistics .statistic > .text.value,
  507. .ui.huge.statistic > .text.value {
  508. font-size: 2.5rem !important;
  509. }
  510. /*******************************
  511. Theme Overrides
  512. *******************************/
  513. /*******************************
  514. User Variable Overrides
  515. *******************************/