Files
2022-06-30 13:45:18 -05:00

52 lines
730 B
SCSS

@use 'utils'as u;
#tooltip {
text-transform: capitalize;
position: absolute;
opacity: 0.80;
border-radius: 5px;
background-color: lightgray;
border: 1px solid darkgray;
cursor: default;
user-select: none;
width: 150px;
@include u.fade-on-show();
@media (prefers-color-scheme: dark) {
color: black;
}
>div {
padding: 2px;
}
.title-container {
box-shadow: 0px 5px 5px darkgrey;
height: 1.2em;
}
.title {
font-size: 0.8em;
margin-top: 0.2em;
}
.value {
float: right;
font-family: monospace;
font-size: 1.3em;
font-weight: bold;
}
.timestamp {
font-family: monospace;
text-align: center;
}
&.show {
opacity: 0.8;
@media (prefers-color-scheme: dark) {
opacity: 1;
}
}
}