diff --git a/frontend/src/v2/components/AppShell/AppNav.vue b/frontend/src/v2/components/AppShell/AppNav.vue index 265325534..09f5f4b08 100644 --- a/frontend/src/v2/components/AppShell/AppNav.vue +++ b/frontend/src/v2/components/AppShell/AppNav.vue @@ -123,6 +123,17 @@ onBeforeUnmount(() => { border-bottom-color: var(--r-color-border); } +/* Reduced-motion / low-power: the glass is a backdrop-filter blur, which is + expensive on weak GPUs and, against the now-solid page background (the + backdrop art is dropped in this mode), just reads as murky. Swap it for a + flat opaque surface so the fixed bar stays a clean, solid strip as content + scrolls under it. */ +:global(html.r-v2-reduced-motion) .r-v2-nav-bar::before { + background: var(--r-color-bg); + backdrop-filter: none; + -webkit-backdrop-filter: none; +} + /* Grid `1fr auto 1fr` keeps the tab pill geometrically centred on the viewport regardless of the side clusters' widths. With flex + justify-content:center the pill drifts whenever logo and right diff --git a/frontend/src/v2/styles/global.css b/frontend/src/v2/styles/global.css index d5b853b97..182bfe643 100644 --- a/frontend/src/v2/styles/global.css +++ b/frontend/src/v2/styles/global.css @@ -185,15 +185,15 @@ html[data-input="pad"] .r-v2 * { } /* Reduced-motion mode (Settings, per device; defaults to the OS - `prefers-reduced-motion`): a full-viewport blur(28px) is one of the heaviest - things we ask of the GPU and pegs weak rendering backends (see the Firefox - note above). Keep the same tone shift but drop the blur so low-power devices - only composite a sharp, dimmed backdrop. */ -html.r-v2-reduced-motion .r-v2-bg__layer { - filter: brightness(0.45); -} -html.r-v2-reduced-motion.r-v2-light .r-v2-bg__layer { - filter: brightness(1.12) saturate(0.7); + `prefers-reduced-motion`): the backdrop art is authored to be read only + through the 28px blur — unblurred it shows hard seams and a bright diagonal + wedge. And a full-viewport blur(28px) is one of the heaviest things we ask + of the GPU (see the Firefox note above). So drop the whole fixed art + + overlay stack and let the solid page background (`.r-v2` bg) show through: + cheaper, and no weird seam. */ +html.r-v2-reduced-motion .r-v2-bg, +html.r-v2-reduced-motion .r-v2-bg__overlay { + display: none; } /* The OS `prefers-reduced-motion` query is honored per-component (each R*