Voter dialogs focus their title, no focus ring on Annuler

This commit is contained in:
2026-11-16 17:28:50 +01:00
parent d07667efee
commit 766426b328
3 changed files with 5 additions and 2 deletions
+2
View File
@@ -43,6 +43,8 @@ button.link { display: block; margin: 12px auto 0; border: none; background: non
.waiting { text-align: center; padding: 36px 0; color: var(--ink-3); }
dialog { border: none; border-radius: 24px; padding: 24px; width: min(92vw, 400px); background: var(--surface); color: var(--ink); }
/* dialogs focus their title on open, no ring on a button nobody chose */
dialog h2:focus { outline: none; }
dialog::backdrop { background: rgba(28, 32, 54, .45); backdrop-filter: blur(2px); }
dialog[open] { animation: rise .2s ease-out; }
#confirm-choices { list-style: none; padding: 0; margin: 0 0 8px; }