diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-11 09:53:37 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-11 09:53:37 +0100 |
| commit | 978ec811803cdbeb10dc2e6924ab33aa2b84bec6 (patch) | |
| tree | a9c217da32594492f43be941fca139d7950d7cbd /static/deck.css | |
| parent | 085eaa7d3876fa0c9f5d5390bfe2395b85e46b62 (diff) | |
| download | deck-it-978ec811803cdbeb10dc2e6924ab33aa2b84bec6.tar.gz deck-it-978ec811803cdbeb10dc2e6924ab33aa2b84bec6.zip | |
feat(dashboard): pending updates in the system row, icons, opencode logo
The system row now ends with "N updates available", keystone's "to
install" count from updatesctl ([dashboard] updates; empty hides it).
stats re-reads it in a thread every 5 minutes, so the NFS reads behind it
never stall the 1 s poll.
The codename reads "-current" next to the OS name, so it no longer looks
like part of the kernel. Kernel and uptime get tux and clock icons, the
row is tighter, and its separators are a "|" in the first Hyprland border
colour instead of an unreadable dot.
The opencode spending card shows the opencode logo by its title.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'static/deck.css')
| -rw-r--r-- | static/deck.css | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/static/deck.css b/static/deck.css index 1d02a85..35c6335 100644 --- a/static/deck.css +++ b/static/deck.css @@ -646,10 +646,11 @@ select { .dash-defs { position: absolute; } .dash-top { display: grid; grid-template-rows: auto 1fr 1fr; gap: 8px; min-height: 0; } -.dash-id { display: flex; align-items: center; gap: 14px; font-size: 0.857rem; color: var(--udt-subtext0); white-space: nowrap; overflow: hidden; } -.dash-id .logo { font-size: 1.15rem; color: var(--udt-accent); } +.dash-id { display: flex; align-items: center; gap: 8px; font-size: 0.857rem; color: var(--udt-subtext0); white-space: nowrap; overflow: hidden; } +.dash-id .logo { font-size: 1.15rem; color: var(--udt-accent); margin-right: 4px; } +.dash-id .nf:not(.logo) { margin-right: 10px; } /* the glyphs draw past their advance */ .dash-id b { color: var(--udt-text); font-weight: 600; } -.dash-id .sep { color: var(--udt-surface2); } +.dash-id .sep { color: var(--udt-border-1); font-weight: 600; } .dash .chips { display: grid; gap: 8px; min-height: 0; } .dash .chips.sys { grid-template-columns: 1fr 1fr 1fr 1.3fr; } .dash .chips.aux { grid-template-columns: 1fr 1fr 1fr 1fr 1.3fr; } @@ -687,7 +688,7 @@ select { .dash .prog { display: flex; flex-direction: column; gap: 6px; } .dash .prog header { display: flex; align-items: baseline; gap: 10px; } -.dash .prog h3 { margin: 0; font-size: 0.857rem; text-transform: uppercase; letter-spacing: .08em; color: var(--udt-subtext0); } +.dash .prog h3 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 0.857rem; text-transform: uppercase; letter-spacing: .08em; color: var(--udt-subtext0); } .dash .prog .model { margin-left: auto; font-size: 0.786rem; color: var(--udt-overlay0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dash .prog .nums { display: flex; gap: 22px; align-items: baseline; } .dash .prog .big { font-size: 1.25rem; font-weight: 600; } |
