diff options
| -rw-r--r-- | static/deck.css | 12 | ||||
| -rw-r--r-- | static/modules/windows.js | 2 |
2 files changed, 9 insertions, 5 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; } diff --git a/static/modules/windows.js b/static/modules/windows.js index 639137e..fdd9ec8 100644 --- a/static/modules/windows.js +++ b/static/modules/windows.js @@ -162,7 +162,7 @@ export default { mount(el) { el.innerHTML = `<div class="windows"> <section class="deck-block"><h3>Workspaces</h3><div class="ws"></div></section> - <section class="deck-block"><h3>Launches</h3><div class="launches"></div></section> + <section class="deck-block"><h3>Applications</h3><div class="launches"></div></section> <section class="deck-block"><h3>Windows</h3><div class="wgrid"></div></section> </div>`; }, |
