From c00a4775106bc5927c821f5359ec265c318d73ec Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 9 Nov 2026 18:47:57 +0100 Subject: feat: browser-local panel move and resize --- static/deck.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'static/deck.css') diff --git a/static/deck.css b/static/deck.css index afe9379..200a651 100644 --- a/static/deck.css +++ b/static/deck.css @@ -35,6 +35,24 @@ body { min-width: 0; } +.panel { position: relative; } +.panel.wide { grid-column: span 2; } +@media (max-width: 620px) { .panel.wide { grid-column: auto; } } +.panel.dragging { opacity: .6; outline: 2px dashed var(--udt-accent); } + +.panel-head { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; } +.panel .panel-head h2 { margin: 0; flex: 1; } +.panel-head button { + font: inherit; + color: var(--udt-overlay0); + background: transparent; + border: 0; + padding: 2px 8px; + cursor: pointer; + touch-action: none; +} +.drag-handle { cursor: grab; } + .panel h2 { font-size: 13px; font-weight: 500; -- cgit v1.2.3