Improved cursors functionality

This commit is contained in:
Martino Ferrari
2026-05-27 16:46:06 +02:00
parent 915c6fc126
commit d5b1986761
2 changed files with 76 additions and 1 deletions
+14
View File
@@ -364,6 +364,20 @@ input[type=range].trig-range::-webkit-slider-thumb {
.vstb-close:hover { color:var(--red); }
.plot-vscale-bar { display:none; }
/* ── Per-plot cursor value readout (in plot card header) ────────── */
.plot-cursor-ro {
margin-left:auto; flex-shrink:0;
align-items:center; gap:5px;
font-size:10px; font-family:monospace;
background:var(--surface0); border:1px solid var(--surface1);
border-radius:4px; padding:1px 7px; white-space:nowrap;
overflow:hidden;
}
.pcur-a { color:var(--sky); }
.pcur-b { color:var(--yellow); }
.pcur-dv { color:var(--subtext1); }
.pcur-sep { color:var(--surface2); }
/* ── Badge vscale info & active state ───────────────────────────── */
.vscale-info {
font-size:9px; color:var(--overlay0); font-family:monospace; margin-left:2px; white-space:nowrap;