mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 23:08:00 +01:00
54 lines
942 B
CSS
54 lines
942 B
CSS
.statistics {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1.5px solid var(--secondary-color);
|
|
border-radius: var(--border-radius-inner);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.statistics__statistic {
|
|
display: grid;
|
|
grid-template-columns: 15% 15% auto;
|
|
background: var(--secondary-color);
|
|
}
|
|
|
|
@mixin even-odd statistics__statistic;
|
|
|
|
.statistics__column {
|
|
text-align: center;
|
|
padding: var(--padding-small);
|
|
}
|
|
|
|
.sparkline {
|
|
border-bottom: 1px solid var(--primary-border-color);
|
|
display: flex;
|
|
height: var(--padding-large);
|
|
padding: var(--padding-tiny);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.sparkline svg {
|
|
overflow: visible;
|
|
}
|
|
|
|
.barline__bar {
|
|
fill: var(--primary-link-color);
|
|
}
|
|
|
|
.barline__bar:hover {
|
|
fill: var(--danger-color);
|
|
}
|
|
|
|
.barline__dot {
|
|
fill: var(--primary-border-color);
|
|
stroke: var(--link-color);
|
|
stroke-width: 1px;
|
|
}
|
|
|
|
.barline__dot:hover {
|
|
fill: var(--danger-color);
|
|
}
|
|
|
|
.barline__dot[cy="21.25"] {
|
|
display: none;
|
|
}
|