forge
Explore
Log in

Don't you dare go Hollow

the migration meter earns its motion: the fill was in's flat quota level wearing a border, which is a meter for a thing that stands still — a drain moves, so the fill is now full accent on a 9% tinted pill with a light band travelling its length, the sweep stopped for prefers-reduced-motion. Same markup, same width contract; the meter simply looks like what it is.

Browse files at this commit

a1e2e02774a1afe1f7d77c44a9effa32aad28267Ahmet Kaan GümüşParent: 3303c3f
style/main.scssmodified+36 -9
@@ -4398,20 +4398,47 @@ input[type="radio"] {
43984398 }
43994399 }
44004400
4401-// The migration meter on the Storage card's Migration fact: a sunken track
4402-// with an accent fill, the same meter in's settings panel draws for quota —
4403-// the family renders a level one way. Read-only: the level rides the fill's
4404-// inline width.
4401+// The migration meter on the Storage card's Migration fact: a tinted pill
4402+// of track under an accent fill that carries a travelling highlight — a
4403+// quota is a level, but a migration is activity, so the light moves the
4404+// way the rows do, and the fill holds full accent against the 9% track so
4405+// the meter reads at a glance from across the room. The level rides the
4406+// fill's inline width; the highlight rides a background sweep that stands
4407+// still for anyone who asked motion to stop.
44054408 .quota-bar {
4406- height: 8px;
4409+ height: 6px;
44074410 margin-top: 0.45rem;
4408- background: var(--panel-sunken);
4409- border: 1px solid var(--border-soft);
4410- border-radius: var(--radius);
4411+ background: color-mix(in srgb, var(--accent) 9%, transparent);
4412+ border-radius: 999px;
44114413 overflow: hidden;
44124414 }
44134415
44144416 .quota-fill {
44154417 height: 100%;
4416- background: var(--accent);
4418+ border-radius: 999px;
4419+ background: linear-gradient(
4420+ 100deg,
4421+ var(--accent) 0%,
4422+ var(--accent) 38%,
4423+ color-mix(in srgb, var(--accent) 35%, white) 50%,
4424+ var(--accent) 62%,
4425+ var(--accent) 100%
4426+ );
4427+ background-size: 200% 100%;
4428+ animation: quota-sweep 1.4s linear infinite;
4429+
4430+ @media (prefers-reduced-motion: reduce) {
4431+ animation: none;
4432+ background: var(--accent);
4433+ }
4434+}
4435+
4436+@keyframes quota-sweep {
4437+ from {
4438+ background-position: 100% 0;
4439+ }
4440+
4441+ to {
4442+ background-position: 0 0;
4443+ }
44174444 }