philomena/assets/css/views/statistics.css

55 lines
942 B
CSS
Raw Normal View History

2023-11-23 17:07:49 +01:00
.statistics {
display: flex;
flex-direction: column;
2024-04-17 16:52:50 +02:00
border: 1.5px solid var(--secondary-color);
border-radius: var(--border-radius-inner);
overflow: hidden;
2023-11-23 17:07:49 +01:00
}
.statistics__statistic {
display: grid;
grid-template-columns: 15% 15% auto;
background: var(--secondary-color);
}
2024-04-30 20:38:28 +02:00
@mixin even-odd statistics__statistic;
2023-11-23 17:07:49 +01:00
.statistics__column {
text-align: center;
padding: var(--padding-small);
}
.sparkline {
border-bottom: 1px solid var(--primary-border-color);
display: flex;
2024-05-31 20:07:00 +02:00
height: var(--padding-large);
padding: var(--padding-tiny);
overflow: hidden;
}
.sparkline svg {
overflow: visible;
2023-11-23 17:07:49 +01:00
}
.barline__bar {
2024-05-31 20:07:00 +02:00
fill: var(--primary-link-color);
2024-04-30 20:38:28 +02:00
}
2023-11-23 17:07:49 +01:00
2024-04-30 20:38:28 +02:00
.barline__bar:hover {
fill: var(--danger-color);
2023-11-23 17:07:49 +01:00
}
2024-05-31 20:07:00 +02:00
.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;
}