diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-30 11:01:09 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-30 11:01:09 +0100 |
| commit | 88f120cb544296f4c760546a204f1e2268a2e5dd (patch) | |
| tree | be14896616b3733556f3bc10a1406fc3c84d6044 /static/deck.css | |
| parent | 96355cff09db091f5251ae851c46b8d1dd67f7a0 (diff) | |
| download | deck-it-88f120cb544296f4c760546a204f1e2268a2e5dd.tar.gz deck-it-88f120cb544296f4c760546a204f1e2268a2e5dd.zip | |
feat(dashboard): drop the action icons row
The screenshot and lock buttons went unused; the keyboard is faster.
The actions module keeps only the hyprlock watcher that sleeps and wakes
the tablet, under the same name since keystone's module toggle uses it.
[dashboard] actions is gone from the config and its validation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'static/deck.css')
| -rw-r--r-- | static/deck.css | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/static/deck.css b/static/deck.css index d080d4d..a11583a 100644 --- a/static/deck.css +++ b/static/deck.css @@ -87,16 +87,6 @@ body { .tab-panel[hidden] { display: none; } .tab-content { min-height: 100%; } -@property --border-angle { - syntax: "<angle>"; - initial-value: 0deg; - inherits: false; -} - -@keyframes border-rotate { - to { --border-angle: 360deg; } -} - .section-label { font-size: 0.786rem; text-transform: uppercase; @@ -666,7 +656,7 @@ select { /* The Dashboard: one fixed screen (static/dashboard.js). */ .tab-panel[data-tab="Dashboard"] { height: 100%; box-sizing: border-box; padding-top: 18px; } -.dash { height: 100%; display: grid; grid-template-rows: 25% 1fr 10%; grid-template-columns: minmax(0, 1fr); gap: 10px; } +.dash { height: 100%; display: grid; grid-template-rows: 25% 1fr; grid-template-columns: minmax(0, 1fr); gap: 10px; } .dash [hidden] { display: none !important; } .dash-defs { position: absolute; } @@ -815,33 +805,6 @@ select { .dash .slot:has(.sthumb:not([hidden])) .sic { display: none; } } -/* Action icons, each in Hyprland's rotating border. */ -.dash-acts { display: flex; justify-content: center; align-items: center; gap: 28px; min-height: 0; } -.dash-acts button { position: relative; display: grid; place-items: center; padding: 0; height: 100%; max-height: 64px; aspect-ratio: 1; border-radius: 16px; font-size: 1.7rem; line-height: 1; - background: var(--udt-surface0); border: 0; color: var(--udt-text); } -.dash-acts button.fail { color: var(--udt-red); } -/* The Nerd Font glyphs draw past their advance: dashboard.js shifts each by - the gap between its ink and its advance (inkShift). */ -.dash-acts button i { display: block; line-height: 1; font-style: normal; } -/* The same rotating three-hue gradient Hyprland draws on window borders, - read from ~/.cache/udt/udt-border.lua via /theme.css. */ -.dash-acts button::before { - content: ""; - position: absolute; - inset: 0; - border-radius: inherit; - padding: 2px; - background: linear-gradient(var(--border-angle), - var(--udt-border-1), var(--udt-border-2), var(--udt-border-3), var(--udt-border-1)); - -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); - -webkit-mask-composite: xor; - mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); - mask-composite: exclude; - pointer-events: none; - /* Hyprland: speed 30 * 100 ms, flatlinetwo = linear, style = loop */ - animation: border-rotate 3s linear infinite; -} - /* VMs tab: one column. A running VM is a tile as tall as the tab, its screen filling what the rest leaves; with one running it drops the card look and is the whole tab, with more they stack as cards and the tab |
