feat(layout): Board-Position per Lock-Button fixieren

Neuer Pin-Button (custom SVG, kein Emoji) im Board-Header sperrt die Position eines
Boards. Bei gesperrtem Board (.board.locked):
- der Drag-Handle wird per CSS ausgeblendet (Flos Wunsch: Handle weg statt nur inaktiv),
- ein zweiter Guard in drag.js onDown verweigert zusaetzlich jeden Drag.
Schuetzt vor versehentlichem Verschieben (ergaenzt den 3px-Bewegungs-Schwellwert). locked
wird wie blurred persistiert, im Export/Import durchgereicht und mit ins Trash-Board geklont.
i18n DE/EN ergaenzt.
This commit is contained in:
2026-06-14 20:18:00 +02:00
parent 520a062049
commit d041c66dfb
7 changed files with 40 additions and 4 deletions
+4
View File
@@ -576,6 +576,10 @@ html, body {
}
.board-drag-handle:hover { color: var(--accent); }
.board-drag-handle:active { cursor: grabbing; }
/* Gesperrtes Board (Position fixiert): Drag-Handle ausblenden (kein Verschieben mehr),
Lock-Button aktiv einfaerben. Hoehere Spezifitaet als .board-drag-handle -> display:none gewinnt. */
.board.locked .board-drag-handle { display: none; }
.board.locked .btn-lock-board { color: var(--accent); }
.board-title {
font-family: var(--font-display);