fix(ui): make outside board clickable to exit

This commit is contained in:
Henri Bourcereau 2026-05-01 18:18:45 +02:00
parent bceec1f8fe
commit 7a990eb7e9
2 changed files with 94 additions and 0 deletions

View file

@ -1401,6 +1401,26 @@ a:hover { text-decoration: underline; }
animation: exit-glow 2s ease-in-out infinite;
}
/* ── Exit sign (§8c) — circle+arrow outside the board ──────────────── */
.exit-btn {
pointer-events: none;
opacity: 0.3;
transition: opacity 0.2s, transform 0.15s;
}
.exit-btn.exit-active {
pointer-events: auto;
cursor: pointer;
opacity: 1;
animation: exit-btn-pulse 1.4s ease-in-out infinite;
}
.exit-btn.exit-active:hover {
transform: scale(1.1);
}
@keyframes exit-btn-pulse {
0%, 100% { filter: drop-shadow(0 0 3px rgba(200,160,20,0.3)); }
50% { filter: drop-shadow(0 0 9px rgba(200,160,20,0.85)); }
}
.field.jan-hovered {
--fc: rgba(190, 140, 35, 0.8) !important;
}