aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Media/Cover/HoverCover.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-05-15 11:59:35 +0000
committerFuwn <[email protected]>2026-05-15 11:59:35 +0000
commit45c66eaa88aefba86bf2a75d17c0f2fcdebaae1b (patch)
tree8f8e87423fb30e8a05348d02ce14f0d090033836 /src/lib/Media/Cover/HoverCover.svelte
parentfix(a11y): drop redundant alts and the landing em dash (diff)
downloaddue.moe-45c66eaa88aefba86bf2a75d17c0f2fcdebaae1b.tar.xz
due.moe-45c66eaa88aefba86bf2a75d17c0f2fcdebaae1b.zip
style(card): move backdrop blur to an opt-in .card-glass modifier
Strip backdrop-filter: blur(4px) from the base .card so the ~50 in-flow surfaces (landing panels, schedule rows, tool cards, user profile cards, badge wall, etc.) stop paying for a blur they don't need. Introduce .card-glass for the surfaces that actually float over other content: the sticky page header, header nav dropdowns, command palette, title-attribute tooltips, LinkedTooltip, and HoverCover. Popup, MediaRoulette, and Notification keep their existing parent-overlay or solid-background treatments.
Diffstat (limited to 'src/lib/Media/Cover/HoverCover.svelte')
-rw-r--r--src/lib/Media/Cover/HoverCover.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Media/Cover/HoverCover.svelte b/src/lib/Media/Cover/HoverCover.svelte
index 1909449f..c1412fa4 100644
--- a/src/lib/Media/Cover/HoverCover.svelte
+++ b/src/lib/Media/Cover/HoverCover.svelte
@@ -8,7 +8,7 @@ export let width = 250;
{#if options.hovering}
<img
- class="hover-image show card card-small"
+ class="hover-image show card card-small card-glass"
src={options.media
? $settings.displayDataSaver
? options.media.coverImage.medium