Clean up uPlot CSS rules a bit

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2024-07-23 21:22:23 +02:00
parent 90cf8b3082
commit a2a177a04c

View file

@ -13,45 +13,47 @@
font-weight: 500;
font-size: var(--mantine-font-size-xs);
}
tr {
display: block;
}
}
.u-under {
background-color: light-dark(unset, #1f1f1f);
}
.u-over {
box-shadow: 0px 0px 0px 0.5px #ccc;
cursor: crosshair;
}
.u-legend {
text-align: left;
margin: 20px 25px;
}
.u-inline tr {
display: block;
/* display: table;
* {
display: table-cell;
} */
margin-right: 8px;
}
}
.uplot {
display: inline-block;
vertical-align: top;
width: min-content;
}
.u-label {
font-size: 12px;
}
.u-under {
background-color: light-dark(unset, #1f1f1f);
}
.u-select {
background: rgba(255, 200, 150, 0.2);
}
.u-over {
box-shadow: 0px 0px 0px 0.5px #ccc;
cursor: crosshair;
}
.u-hz .u-cursor-x,
.u-vt .u-cursor-y {
border-right: 1px dashed light-dark(#607d8b, #90adbc);
}
.u-legend {
text-align: left;
margin-top: 20px;
padding-left: 20px;
}
.u-inline tr {
margin-right: 8px;
}
.u-label {
font-size: 12px;
.u-hz .u-cursor-y,
.u-vt .u-cursor-x {
border-bottom: 1px dashed light-dark(#607d8b, #90adbc);
}
}
.u-tooltip {
@ -101,17 +103,3 @@
height: 10px;
}
}
.u-select {
background: rgba(255, 200, 150, 0.2);
}
.u-hz .u-cursor-x,
.u-vt .u-cursor-y {
border-right: 1px dashed light-dark(#607d8b, #90adbc);
}
.u-hz .u-cursor-y,
.u-vt .u-cursor-x {
border-bottom: 1px dashed light-dark(#607d8b, #90adbc);
}