aboutsummaryrefslogtreecommitdiffstats
path: root/static/deck.css
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-16 18:09:30 +0100
committerDanilo M. <danix@danix.xyz>2026-11-16 18:09:30 +0100
commit573ad65a8eee9173256c860f46204e584169c749 (patch)
tree47ac8e31a5319332b8142f9ee0337b9d9fa7fe7f /static/deck.css
parent72f0f05096cea0695a6b65c8c911c43b89b791c0 (diff)
downloaddeck-it-573ad65a8eee9173256c860f46204e584169c749.tar.gz
deck-it-573ad65a8eee9173256c860f46204e584169c749.zip
fix(ui): centre the off cards, bigger logos, VM power glyph, Applications
The OBS off card sat left because .deck-transport is a flex row; it now fills the row. Off-card logos are 96px instead of 48px. The VM power glyph's ink overflows its advance in the non-Mono Nerd Font, so a right padding centres it. The Windows tab's Launches block is now Applications with its icons centred. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'static/deck.css')
-rw-r--r--static/deck.css12
1 files changed, 8 insertions, 4 deletions
diff --git a/static/deck.css b/static/deck.css
index 778fe72..5ddf0f7 100644
--- a/static/deck.css
+++ b/static/deck.css
@@ -242,7 +242,7 @@ select {
.wbox .wicon { left: 8px; bottom: 8px; width: 40px; height: 40px; padding: 5px; border-radius: 10px; box-sizing: border-box; }
.wtitle { font-size: 0.929rem; color: var(--udt-subtext0); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcard.cur .wtitle { color: var(--udt-text); }
-.windows .launches { display: flex; flex-wrap: wrap; gap: 8px; }
+.windows .launches { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.wpop {
position: fixed;
@@ -288,6 +288,7 @@ select {
/* OBS stream-deck tab */
.deck { display: flex; flex-direction: column; gap: 14px; }
.deck-transport { display: flex; gap: 12px; }
+.deck-transport > .offline { flex: 1; }
.deck-btn {
flex: 1;
@@ -392,8 +393,8 @@ select {
text-align: center;
}
.off-icon {
- width: 48px;
- height: 48px;
+ width: 96px;
+ height: 96px;
margin-bottom: 6px;
filter: grayscale(1);
opacity: .45;
@@ -852,7 +853,10 @@ select {
.vm-bar { display: flex; align-items: center; gap: 12px; }
.vm .ib, .vm-sheet .ib { min-width: 56px; min-height: 56px; font-size: 1.5rem; border-radius: 14px; padding: 0 12px; }
.vm-more { margin-left: auto; }
-.vm-power { width: 72px; height: 72px; border-radius: 50%; font-size: 2rem; padding: 0; }
+/* The power glyph's ink is 865 units wide on a 500 advance (Nerd Font, not
+ Mono), so centring the advance leaves it 0.18em right; a right padding of
+ twice that centres the ink. */
+.vm-power { width: 72px; height: 72px; border-radius: 50%; font-size: 2rem; padding: 0 .36em 0 0; }
.vm-power.go { background: color-mix(in srgb, var(--udt-green) 30%, transparent); border-color: var(--udt-green); }
.vm-sshb.ready { border-color: var(--udt-accent); color: var(--udt-accent); }
.vm .hold, .vm-sheet .hold { position: relative; overflow: hidden; isolation: isolate; touch-action: none; }