diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-26 10:42:40 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-26 10:42:40 +0100 |
| commit | 6496d0660abf781ff2a76f97f9a5c03034d6cf45 (patch) | |
| tree | 36933a74a29c85eeea35d0a70f139bfc934c5527 /static/deck.css | |
| parent | 8853bafd18e7172b6d12214519db1b167143fe66 (diff) | |
| download | deck-it-6496d0660abf781ff2a76f97f9a5c03034d6cf45.tar.gz deck-it-6496d0660abf781ff2a76f97f9a5c03034d6cf45.zip | |
feat(windows): horizontal strips grouped by workspace or app
The window grid becomes horizontal strips with All, Workspace and App
filters. Grouped views get one strip per workspace or app class, headed
by its icon; the choice is kept in localStorage. A strip is not rebuilt
while touched or within a second of scrolling, and keeps its scroll.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'static/deck.css')
| -rw-r--r-- | static/deck.css | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/static/deck.css b/static/deck.css index fdb79de..1bebd1a 100644 --- a/static/deck.css +++ b/static/deck.css @@ -225,7 +225,18 @@ select { content: ""; position: absolute; left: 50%; bottom: -10px; width: 6px; height: 6px; border-radius: 3px; background: var(--udt-accent); transform: translateX(-50%); } -.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 14px; } +.whead { display: flex; align-items: center; justify-content: space-between; gap: 12px; } +.wfilter { display: flex; gap: 8px; } +.wfilter .wtile { min-height: 44px; font-size: 1rem; } +.wrows { display: flex; flex-direction: column; gap: 16px; } +.wrow { display: flex; align-items: center; gap: 12px; } +.wlabel { + flex: none; width: 56px; min-height: 56px; display: grid; place-items: center; + color: var(--udt-accent); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; +} +.wlabel img { width: 40px; height: 40px; object-fit: contain; } +.wstrip { flex: 1; min-width: 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; } +.wstrip .wcard { flex: 0 0 260px; scroll-snap-align: start; } .wcard { display: flex; flex-direction: column; gap: 6px; padding: 0; font: inherit; background: none; border: 0; color: inherit; cursor: pointer; min-width: 0; } .wbox { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; |
