umami/components/metrics/BarChart.module.css

61 lines
843 B
CSS
Raw Normal View History

2020-07-29 06:50:29 +02:00
.chart {
position: relative;
}
.tooltip {
2020-09-20 10:33:39 +02:00
color: var(--msgColor);
2020-07-29 06:50:29 +02:00
pointer-events: none;
2020-08-01 05:37:29 +02:00
z-index: 1;
2020-07-29 06:50:29 +02:00
}
.content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
.title {
2020-08-06 04:04:02 +02:00
font-size: var(--font-size-xsmall);
2020-07-29 06:50:29 +02:00
font-weight: 600;
}
.metric {
display: flex;
justify-content: center;
align-items: center;
2020-08-06 04:04:02 +02:00
font-size: var(--font-size-small);
2020-07-29 06:50:29 +02:00
font-weight: 600;
}
.dot {
2020-08-04 03:12:28 +02:00
position: relative;
overflow: hidden;
2020-07-29 06:50:29 +02:00
border-radius: 100%;
2020-07-30 10:08:21 +02:00
margin-right: 8px;
2020-08-06 04:04:02 +02:00
background: var(--gray50);
2020-08-04 03:12:28 +02:00
}
.color {
width: 10px;
height: 10px;
2020-07-29 06:50:29 +02:00
}
.legend {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 10px;
}
.label {
display: flex;
align-items: center;
font-size: var(--font-size-xsmall);
}
.label + .label {
margin-left: 20px;
}