v0.38.6
This commit is contained in:
1 parent
6fe2aa137b
commit
a977cf78a5
18 files changed
+182
-19
No files matched your search
@@ -169,6 +169,71 @@ html[data-theme=cream] :is(.card, .stat, dialog) {
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.rp-chart-crosshair {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
z-index: 2;
|
||||
font: 9px/1.15 var(--mono);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.rp-chart-crosshair[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rp-chart-crosshair-v,
|
||||
.rp-chart-crosshair-h {
|
||||
position: absolute;
|
||||
display: block;
|
||||
border: 0 dashed color-mix(in srgb, var(--text) 55%, transparent);
|
||||
}
|
||||
|
||||
.rp-chart-crosshair-v {
|
||||
top: var(--rp-cross-top);
|
||||
left: var(--rp-cross-x);
|
||||
height: var(--rp-cross-height);
|
||||
border-left-width: 1px;
|
||||
}
|
||||
|
||||
.rp-chart-crosshair-h {
|
||||
top: var(--rp-cross-y);
|
||||
left: var(--rp-cross-left);
|
||||
width: var(--rp-cross-width);
|
||||
border-top-width: 1px;
|
||||
}
|
||||
|
||||
.rp-chart-crosshair-y,
|
||||
.rp-chart-crosshair-x {
|
||||
position: absolute;
|
||||
padding: 1px 4px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: min(3px, var(--rp-radius-control, 3px));
|
||||
background: var(--panel);
|
||||
color: var(--text);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.rp-chart-crosshair-y {
|
||||
top: var(--rp-cross-y);
|
||||
left: calc(var(--rp-cross-left) + 3px);
|
||||
transform: translateY(-120%);
|
||||
}
|
||||
|
||||
.rp-chart-crosshair.is-low .rp-chart-crosshair-y {
|
||||
transform: translateY(20%);
|
||||
}
|
||||
|
||||
.rp-chart-crosshair-x {
|
||||
top: calc(var(--rp-cross-top) + var(--rp-cross-height) - 2px);
|
||||
left: var(--rp-cross-x);
|
||||
transform: translate(6px, -100%);
|
||||
}
|
||||
|
||||
.rp-chart-crosshair.is-right .rp-chart-crosshair-x {
|
||||
transform: translate(calc(-100% - 6px), -100%);
|
||||
}
|
||||
|
||||
.rp-chart-axis-series {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
Reference in new issue
Block a user