aboutsummaryrefslogtreecommitdiffstats
path: root/static/deck.css
diff options
context:
space:
mode:
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;