aboutsummaryrefslogtreecommitdiffstats
path: root/static/deck.css
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-09 18:47:57 +0100
committerDanilo M. <danix@danix.xyz>2026-11-09 18:47:57 +0100
commitc00a4775106bc5927c821f5359ec265c318d73ec (patch)
tree81f3ca5025b1db812bf469bf8db4c51434cd80f9 /static/deck.css
parent47421647d7d08919d28660a2b2201e0d1d704c18 (diff)
downloaddeck-it-c00a4775106bc5927c821f5359ec265c318d73ec.tar.gz
deck-it-c00a4775106bc5927c821f5359ec265c318d73ec.zip
feat: browser-local panel move and resize
Diffstat (limited to 'static/deck.css')
-rw-r--r--static/deck.css18
1 files changed, 18 insertions, 0 deletions
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;