This repository has been archived on 2024-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
calcifer/web/semantic/dist/components/statistic.css

585 lines
13 KiB
CSS
Raw Normal View History

2015-03-29 19:33:23 +02:00
/*!
2016-06-10 00:34:34 +02:00
* # Semantic UI 2.1.7 - Statistic
2015-03-29 19:33:23 +02:00
* http://github.com/semantic-org/semantic-ui/
*
*
2016-06-10 00:34:34 +02:00
* Copyright 2015 Contributors
2015-03-29 19:33:23 +02:00
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Statistic
*******************************/
/* Standalone */
.ui.statistic {
2016-06-10 00:34:34 +02:00
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
2015-03-29 19:33:23 +02:00
margin: 1em 0em;
2016-06-10 00:34:34 +02:00
max-width: auto;
2015-03-29 19:33:23 +02:00
}
.ui.statistic + .ui.statistic {
2016-06-10 00:34:34 +02:00
margin: 0em 0em 0em 1.5em;
2015-03-29 19:33:23 +02:00
}
.ui.statistic:first-child {
margin-top: 0em;
}
.ui.statistic:last-child {
margin-bottom: 0em;
}
/*******************************
Group
*******************************/
2016-06-10 00:34:34 +02:00
/* Grouped */
2015-03-29 19:33:23 +02:00
.ui.statistics {
2016-06-10 00:34:34 +02:00
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.ui.statistics > .statistic {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-flex: 0;
-webkit-flex: 0 1 auto;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
margin: 0em 1.5em 2em;
max-width: auto;
}
.ui.statistics {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
margin: 1em -1.5em -2em;
2015-03-29 19:33:23 +02:00
}
/* Clearing */
.ui.statistics:after {
display: block;
content: ' ';
height: 0px;
clear: both;
overflow: hidden;
visibility: hidden;
}
.ui.statistics:first-child {
margin-top: 0em;
}
.ui.statistics:last-child {
margin-bottom: 0em;
}
/*******************************
Content
*******************************/
/*--------------
Value
---------------*/
.ui.statistics .statistic > .value,
.ui.statistic > .value {
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
font-size: 4rem;
font-weight: normal;
line-height: 1em;
color: #1b1c1d;
text-transform: uppercase;
text-align: center;
}
/*--------------
Label
---------------*/
.ui.statistics .statistic > .label,
.ui.statistic > .label {
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
2016-06-10 00:34:34 +02:00
font-size: 1em;
font-weight: bold;
color: rgba(0, 0, 0, 0.87);
text-transform: uppercase;
2015-03-29 19:33:23 +02:00
text-align: center;
}
/* Top Label */
.ui.statistics .statistic > .label ~ .value,
.ui.statistic > .label ~ .value {
margin-top: 0rem;
}
/* Bottom Label */
.ui.statistics .statistic > .value ~ .label,
.ui.statistic > .value ~ .label {
2016-06-10 00:34:34 +02:00
margin-top: 0rem;
2015-03-29 19:33:23 +02:00
}
/*******************************
Types
*******************************/
/*--------------
Icon Value
---------------*/
.ui.statistics .statistic > .value .icon,
.ui.statistic > .value .icon {
opacity: 1;
width: auto;
margin: 0em;
}
/*--------------
Text Value
---------------*/
.ui.statistics .statistic > .text.value,
.ui.statistic > .text.value {
line-height: 1em;
min-height: 2em;
2016-06-10 00:34:34 +02:00
font-weight: bold;
2015-03-29 19:33:23 +02:00
text-align: center;
}
.ui.statistics .statistic > .text.value + .label,
.ui.statistic > .text.value + .label {
text-align: center;
}
/*--------------
Image Value
---------------*/
.ui.statistics .statistic > .value img,
.ui.statistic > .value img {
max-height: 3rem;
vertical-align: baseline;
}
/*******************************
Variations
*******************************/
2016-06-10 00:34:34 +02:00
/*--------------
Count
---------------*/
.ui.ten.statistics {
margin: 0em 0em -2em;
}
.ui.ten.statistics .statistic {
min-width: 10%;
margin: 0em 0em 2em;
}
.ui.nine.statistics {
margin: 0em 0em -2em;
}
.ui.nine.statistics .statistic {
min-width: 11.11111111%;
margin: 0em 0em 2em;
}
.ui.eight.statistics {
margin: 0em 0em -2em;
}
.ui.eight.statistics .statistic {
min-width: 12.5%;
margin: 0em 0em 2em;
}
.ui.seven.statistics {
margin: 0em 0em -2em;
}
.ui.seven.statistics .statistic {
min-width: 14.28571429%;
margin: 0em 0em 2em;
}
.ui.six.statistics {
margin: 0em 0em -2em;
}
.ui.six.statistics .statistic {
min-width: 16.66666667%;
margin: 0em 0em 2em;
}
.ui.five.statistics {
margin: 0em 0em -2em;
}
.ui.five.statistics .statistic {
min-width: 20%;
margin: 0em 0em 2em;
}
.ui.four.statistics {
margin: 0em 0em -2em;
}
.ui.four.statistics .statistic {
min-width: 25%;
margin: 0em 0em 2em;
}
.ui.three.statistics {
margin: 0em 0em -2em;
}
.ui.three.statistics .statistic {
min-width: 33.33333333%;
margin: 0em 0em 2em;
}
.ui.two.statistics {
margin: 0em 0em -2em;
}
.ui.two.statistics .statistic {
min-width: 50%;
margin: 0em 0em 2em;
}
.ui.one.statistics {
margin: 0em 0em -2em;
}
.ui.one.statistics .statistic {
min-width: 100%;
margin: 0em 0em 2em;
}
2015-03-29 19:33:23 +02:00
/*--------------
Horizontal
---------------*/
.ui.horizontal.statistic {
2016-06-10 00:34:34 +02:00
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.ui.horizontal.statistics {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
2015-03-29 19:33:23 +02:00
margin: 0em;
2016-06-10 00:34:34 +02:00
max-width: none;
2015-03-29 19:33:23 +02:00
}
.ui.horizontal.statistics .statistic {
2016-06-10 00:34:34 +02:00
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
max-width: none;
2015-03-29 19:33:23 +02:00
margin: 1em 0em;
}
.ui.horizontal.statistic > .text.value,
.ui.horizontal.statistics > .statistic > .text.value {
min-height: 0em !important;
}
.ui.horizontal.statistics .statistic > .value .icon,
.ui.horizontal.statistic > .value .icon {
width: 1.18em;
}
.ui.horizontal.statistics .statistic > .value,
.ui.horizontal.statistic > .value {
display: inline-block;
vertical-align: middle;
}
.ui.horizontal.statistics .statistic > .label,
.ui.horizontal.statistic > .label {
display: inline-block;
vertical-align: middle;
margin: 0em 0em 0em 0.75em;
}
/*--------------
Colors
---------------*/
2016-06-10 00:34:34 +02:00
.ui.red.statistics .statistic > .value,
.ui.statistics .red.statistic > .value,
.ui.red.statistic > .value {
color: #db2828;
2015-03-29 19:33:23 +02:00
}
.ui.orange.statistics .statistic > .value,
.ui.statistics .orange.statistic > .value,
.ui.orange.statistic > .value {
2016-06-10 00:34:34 +02:00
color: #f2711c;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.yellow.statistics .statistic > .value,
.ui.statistics .yellow.statistic > .value,
.ui.yellow.statistic > .value {
color: #fbbd08;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.olive.statistics .statistic > .value,
.ui.statistics .olive.statistic > .value,
.ui.olive.statistic > .value {
color: #b5cc18;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.green.statistics .statistic > .value,
.ui.statistics .green.statistic > .value,
.ui.green.statistic > .value {
color: #21ba45;
2015-03-29 19:33:23 +02:00
}
.ui.teal.statistics .statistic > .value,
.ui.statistics .teal.statistic > .value,
.ui.teal.statistic > .value {
color: #00b5ad;
}
2016-06-10 00:34:34 +02:00
.ui.blue.statistics .statistic > .value,
.ui.statistics .blue.statistic > .value,
.ui.blue.statistic > .value {
color: #2185d0;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.violet.statistics .statistic > .value,
.ui.statistics .violet.statistic > .value,
.ui.violet.statistic > .value {
color: #6435c9;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.purple.statistics .statistic > .value,
.ui.statistics .purple.statistic > .value,
.ui.purple.statistic > .value {
color: #a333c8;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.pink.statistics .statistic > .value,
.ui.statistics .pink.statistic > .value,
.ui.pink.statistic > .value {
color: #e03997;
}
.ui.brown.statistics .statistic > .value,
.ui.statistics .brown.statistic > .value,
.ui.brown.statistic > .value {
color: #a5673f;
}
.ui.grey.statistics .statistic > .value,
.ui.statistics .grey.statistic > .value,
.ui.grey.statistic > .value {
color: #767676;
2015-03-29 19:33:23 +02:00
}
/*--------------
Inverted
---------------*/
2016-06-10 00:34:34 +02:00
.ui.inverted.statistics .statistic > .value,
2015-03-29 19:33:23 +02:00
.ui.inverted.statistic .value {
color: #ffffff;
}
2016-06-10 00:34:34 +02:00
.ui.inverted.statistics .statistic > .label,
2015-03-29 19:33:23 +02:00
.ui.inverted.statistic .label {
2016-06-10 00:34:34 +02:00
color: rgba(255, 255, 255, 0.9);
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.inverted.red.statistics .statistic > .value,
.ui.statistics .inverted.red.statistic > .value,
.ui.inverted.red.statistic > .value {
color: #ff695e;
}
.ui.inverted.orange.statistics .statistic > .value,
.ui.statistics .inverted.orange.statistic > .value,
.ui.inverted.orange.statistic > .value {
color: #ff851b;
}
.ui.inverted.yellow.statistics .statistic > .value,
.ui.statistics .inverted.yellow.statistic > .value,
.ui.inverted.yellow.statistic > .value {
color: #ffe21f;
}
.ui.inverted.olive.statistics .statistic > .value,
.ui.statistics .inverted.olive.statistic > .value,
.ui.inverted.olive.statistic > .value {
color: #d9e778;
2015-03-29 19:33:23 +02:00
}
.ui.inverted.green.statistics .statistic > .value,
.ui.statistics .inverted.green.statistic > .value,
.ui.inverted.green.statistic > .value {
color: #2ecc40;
}
2016-06-10 00:34:34 +02:00
.ui.inverted.teal.statistics .statistic > .value,
.ui.statistics .inverted.teal.statistic > .value,
.ui.inverted.teal.statistic > .value {
color: #6dffff;
}
.ui.inverted.blue.statistics .statistic > .value,
.ui.statistics .inverted.blue.statistic > .value,
.ui.inverted.blue.statistic > .value {
color: #54c8ff;
}
.ui.inverted.violet.statistics .statistic > .value,
.ui.statistics .inverted.violet.statistic > .value,
.ui.inverted.violet.statistic > .value {
color: #a291fb;
}
.ui.inverted.purple.statistics .statistic > .value,
.ui.statistics .inverted.purple.statistic > .value,
.ui.inverted.purple.statistic > .value {
color: #dc73ff;
2015-03-29 19:33:23 +02:00
}
.ui.inverted.pink.statistics .statistic > .value,
.ui.statistics .inverted.pink.statistic > .value,
.ui.inverted.pink.statistic > .value {
color: #ff8edf;
}
2016-06-10 00:34:34 +02:00
.ui.inverted.brown.statistics .statistic > .value,
.ui.statistics .inverted.brown.statistic > .value,
.ui.inverted.brown.statistic > .value {
color: #d67c1c;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui.inverted.grey.statistics .statistic > .value,
.ui.statistics .inverted.grey.statistic > .value,
.ui.inverted.grey.statistic > .value {
color: #dcddde;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
/*--------------
Floated
---------------*/
.ui[class*="left floated"].statistic {
float: left;
margin: 0em 2em 1em 0em;
2015-03-29 19:33:23 +02:00
}
2016-06-10 00:34:34 +02:00
.ui[class*="right floated"].statistic {
float: right;
margin: 0em 0em 1em 2em;
}
.ui.floated.statistic:last-child {
margin-bottom: 0em;
2015-03-29 19:33:23 +02:00
}
/*--------------
Sizes
---------------*/
/* Mini */
.ui.mini.statistics .statistic > .value,
.ui.mini.statistic > .value {
font-size: 1.5rem;
}
.ui.mini.horizontal.statistics .statistic > .value,
.ui.mini.horizontal.statistic > .value {
font-size: 1.5rem;
}
.ui.mini.statistics .statistic > .text.value,
.ui.mini.statistic > .text.value {
font-size: 1rem;
}
/* Tiny */
.ui.tiny.statistics .statistic > .value,
.ui.tiny.statistic > .value {
font-size: 2rem;
}
.ui.tiny.horizontal.statistics .statistic > .value,
.ui.tiny.horizontal.statistic > .value {
font-size: 2rem;
}
.ui.tiny.statistics .statistic > .text.value,
.ui.tiny.statistic > .text.value {
font-size: 1rem;
}
/* Small */
.ui.small.statistics .statistic > .value,
.ui.small.statistic > .value {
font-size: 3rem;
}
.ui.small.horizontal.statistics .statistic > .value,
.ui.small.horizontal.statistic > .value {
font-size: 2rem;
}
.ui.small.statistics .statistic > .text.value,
.ui.small.statistic > .text.value {
2016-06-10 00:34:34 +02:00
font-size: 1rem;
2015-03-29 19:33:23 +02:00
}
/* Medium */
.ui.statistics .statistic > .value,
.ui.statistic > .value {
font-size: 4rem;
}
.ui.horizontal.statistics .statistic > .value,
.ui.horizontal.statistic > .value {
font-size: 3rem;
}
.ui.statistics .statistic > .text.value,
.ui.statistic > .text.value {
font-size: 2rem;
}
/* Large */
.ui.large.statistics .statistic > .value,
.ui.large.statistic > .value {
font-size: 5rem;
}
.ui.large.horizontal.statistics .statistic > .value,
.ui.large.horizontal.statistic > .value {
font-size: 4rem;
}
.ui.large.statistics .statistic > .text.value,
.ui.large.statistic > .text.value {
font-size: 2.5rem;
}
/* Huge */
.ui.huge.statistics .statistic > .value,
.ui.huge.statistic > .value {
font-size: 6rem;
}
.ui.huge.horizontal.statistics .statistic > .value,
.ui.huge.horizontal.statistic > .value {
font-size: 5rem;
}
.ui.huge.statistics .statistic > .text.value,
.ui.huge.statistic > .text.value {
font-size: 2.5rem;
}
/*******************************
Theme Overrides
*******************************/
/*******************************
User Variable Overrides
*******************************/