From e4d978965e1249fa61da8e42f679fb85db872e57 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 18 Nov 2026 14:12:55 +0100 Subject: feat(xbox): profile background behind profile and consoles Xbox's profile background is the gamerpic blurred. The tab shows it behind the profile and console cards, greyscale and multiplied over the UDT accent under a base fade, so the theme keeps every colour. Co-Authored-By: Claude Opus 5.5 --- static/deck.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'static/deck.css') diff --git a/static/deck.css b/static/deck.css index 042e6e1..b2ffcf3 100644 --- a/static/deck.css +++ b/static/deck.css @@ -881,6 +881,14 @@ dialog.vm-sheet::backdrop { background: color-mix(in srgb, var(--udt-crust) 55%, .xbox .xb-on[hidden], .xbox .xb-off[hidden] { display: none; } .xbox .xb-card { background: var(--udt-mantle); border: 1px solid var(--udt-surface0); border-radius: 18px; padding: 14px; } .xbox .xb-head { display: flex; align-items: center; gap: 14px; } +.xbox .xb-hero { display: flex; flex-direction: column; gap: 14px; position: relative; isolation: isolate; + overflow: hidden; padding: 18px; border-radius: 18px; border: 1px solid var(--udt-surface0); background: var(--udt-accent); } +.xbox .xb-hero::before, .xbox .xb-hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; } +.xbox .xb-hero::before { inset: -60px; background: var(--xb-bg, none) center / cover; + filter: grayscale(1) blur(8px); mix-blend-mode: multiply; } +.xbox .xb-hero::after { inset: 0; background: linear-gradient(160deg, + color-mix(in srgb, var(--udt-base) 50%, transparent), color-mix(in srgb, var(--udt-base) 10%, transparent)); } +.xbox .xb-hero .xb-card { background: color-mix(in srgb, var(--udt-mantle) 50%, transparent); } .xbox .xb-pic { width: 64px; height: 64px; border-radius: 50%; background: var(--udt-surface0); } .xbox .xb-who { flex: 1; min-width: 0; } .xbox .xb-tag { font-size: 1.4rem; font-weight: 700; } -- cgit v1.2.3