From a1e2e02774a1afe1f7d77c44a9effa32aad28267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 9 Sep 2026 22:36:49 +0300 Subject: [PATCH] =?UTF-8?q?the=20migration=20meter=20earns=20its=20motion:?= =?UTF-8?q?=20the=20fill=20was=20in's=20flat=20quota=20level=20wearing=20a?= =?UTF-8?q?=20border,=20which=20is=20a=20meter=20for=20a=20thing=20that=20?= =?UTF-8?q?stands=20still=20=E2=80=94=20a=20drain=20moves,=20so=20the=20fi?= =?UTF-8?q?ll=20is=20now=20full=20accent=20on=20a=209%=20tinted=20pill=20w?= =?UTF-8?q?ith=20a=20light=20band=20travelling=20its=20length,=20the=20swe?= =?UTF-8?q?ep=20stopped=20for=20prefers-reduced-motion.=20Same=20markup,?= =?UTF-8?q?=20same=20width=20contract;=20the=20meter=20simply=20looks=20li?= =?UTF-8?q?ke=20what=20it=20is.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style/main.scss | 45 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 9 deletions(-) diff --git a/style/main.scss b/style/main.scss index c12c284..a7554a8 100644 --- a/style/main.scss +++ b/style/main.scss @@ -4398,20 +4398,47 @@ input[type="radio"] { } } -// The migration meter on the Storage card's Migration fact: a sunken track -// with an accent fill, the same meter in's settings panel draws for quota — -// the family renders a level one way. Read-only: the level rides the fill's -// inline width. +// The migration meter on the Storage card's Migration fact: a tinted pill +// of track under an accent fill that carries a travelling highlight — a +// quota is a level, but a migration is activity, so the light moves the +// way the rows do, and the fill holds full accent against the 9% track so +// the meter reads at a glance from across the room. The level rides the +// fill's inline width; the highlight rides a background sweep that stands +// still for anyone who asked motion to stop. .quota-bar { - height: 8px; + height: 6px; margin-top: 0.45rem; - background: var(--panel-sunken); - border: 1px solid var(--border-soft); - border-radius: var(--radius); + background: color-mix(in srgb, var(--accent) 9%, transparent); + border-radius: 999px; overflow: hidden; } .quota-fill { height: 100%; - background: var(--accent); + border-radius: 999px; + background: linear-gradient( + 100deg, + var(--accent) 0%, + var(--accent) 38%, + color-mix(in srgb, var(--accent) 35%, white) 50%, + var(--accent) 62%, + var(--accent) 100% + ); + background-size: 200% 100%; + animation: quota-sweep 1.4s linear infinite; + + @media (prefers-reduced-motion: reduce) { + animation: none; + background: var(--accent); + } +} + +@keyframes quota-sweep { + from { + background-position: 100% 0; + } + + to { + background-position: 0 0; + } }