From 7ac7a0326387012b1aad6ebc692c26b5620289b4 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 12 Nov 2026 19:07:11 +0100 Subject: fix(dashboard): stroke only the top of the chip graphs The CPU, GPU and network graphs stroked their closed area path, so the outline also ran along the bottom edge and up the left side while the history filled. Each series is now a filled area and an open line through the samples, and only the line is stroked. Co-Authored-By: Claude Opus 5.5 --- static/deck.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'static/deck.css') diff --git a/static/deck.css b/static/deck.css index 74cf147..b6d2202 100644 --- a/static/deck.css +++ b/static/deck.css @@ -672,8 +672,11 @@ select { .dash .chip svg, .dash .chip .fill { position: absolute; inset: 0; pointer-events: none; } .dash .chip svg { width: 100%; height: 100%; } .dash .chip svg path { stroke-width: 1.5; vector-effect: non-scaling-stroke; } -.dash .chip svg path.hy { fill: url(#hyfill); stroke: url(#hyline); } -.dash .chip svg path.up { fill: color-mix(in srgb, var(--udt-text) 8%, transparent); stroke: color-mix(in srgb, var(--udt-text) 30%, transparent); } +.dash .chip svg path.hy { fill: url(#hyfill); } +.dash .chip svg path.up { fill: color-mix(in srgb, var(--udt-text) 8%, transparent); } +.dash .chip svg path.ln { fill: none; } +.dash .chip svg path.hy.ln { stroke: url(#hyline); } +.dash .chip svg path.up.ln { stroke: color-mix(in srgb, var(--udt-text) 30%, transparent); } .dash .chip .fill { right: auto; width: 0; background: color-mix(in srgb, var(--udt-accent) 20%, transparent); transition: width .4s; } /* Charging: streaks rain right to left into the fill's edge. The strip sits past the fill and the chip's overflow clips it; each layer moves a whole tile per -- cgit v1.2.3