umami/components/common/HoverTooltip.module.css

44 lines
620 B
CSS
Raw Normal View History

2020-10-15 07:09:00 +02:00
.chart {
position: relative;
}
.tooltip {
position: fixed;
2020-10-15 07:09:00 +02:00
pointer-events: none;
z-index: var(--z-index-popup);
2020-10-15 07:09:00 +02:00
}
.content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
.title {
font-size: var(--font-size-xs);
2020-10-15 07:09:00 +02:00
font-weight: 600;
}
.metric {
display: flex;
justify-content: center;
align-items: center;
font-size: var(--font-size-sm);
2020-10-15 07:09:00 +02:00
font-weight: 600;
}
.dot {
position: relative;
overflow: hidden;
border-radius: 100%;
margin-right: 8px;
background: var(--base50);
2020-10-15 07:09:00 +02:00
}
.color {
width: 10px;
height: 10px;
}