From 4b9d9661751379ea62ebdc2587dff20544c4ada4 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 28 Nov 2026 09:04:21 +0100 Subject: feat(xbox): mark captures saved on the PC, icon save button A capture whose file is already in Pictures/Xbox or Videos/Xbox carries `saved` and gets a check on its tile. The viewer keeps one icon button, save to PC; the download to the tablet is gone. Deleting from Xbox Live was tried and dropped: mediahub's DELETE answers 403 (errorCode 10401) to a token from our own Azure app. Co-Authored-By: Claude Opus 5.5 --- static/deck.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'static/deck.css') diff --git a/static/deck.css b/static/deck.css index 6e46154..d080d4d 100644 --- a/static/deck.css +++ b/static/deck.css @@ -972,8 +972,9 @@ dialog.vm-sheet::backdrop { background: color-mix(in srgb, var(--udt-crust) 55%, .xbox dialog.xb-view::backdrop { background: color-mix(in srgb, var(--udt-crust) 70%, transparent); } .xbox .xb-vmedia { width: 100%; max-height: 75vh; object-fit: contain; border-radius: 12px; background: var(--udt-crust); } .xbox .xb-vfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; } -.xbox .xb-vbtns { display: flex; gap: 8px; flex: none; } -.xbox .xb-vdl { display: inline-flex; align-items: center; padding: 0 18px; font-size: 1rem; font-weight: 600; text-decoration: none; } +.xbox .xb-vdl { display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; font-size: 1.4rem; } +.xbox .xb-saved { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; + border-radius: 999px; background: var(--udt-green); color: var(--udt-base); font-size: 1rem; } .xbox .xb-gname {font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .xbox .xb-gmeta { color: var(--udt-subtext0); font-size: 0.857rem; } .xbox .xb-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; } -- cgit v1.2.3