aboutsummaryrefslogtreecommitdiffstats
path: root/static/deck.css
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-28 09:04:21 +0100
committerDanilo M. <danix@danix.xyz>2026-11-28 09:04:21 +0100
commit4b9d9661751379ea62ebdc2587dff20544c4ada4 (patch)
tree2b118fb50a98c8e84e11cec39157bb244b0bca04 /static/deck.css
parent8397638ec70b23e05ef490e15f5d7c5c05e52d1f (diff)
downloaddeck-it-4b9d9661751379ea62ebdc2587dff20544c4ada4.tar.gz
deck-it-4b9d9661751379ea62ebdc2587dff20544c4ada4.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'static/deck.css')
-rw-r--r--static/deck.css5
1 files changed, 3 insertions, 2 deletions
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; }