Admin: tabs, question composer dialog, settings autosave

Default answers Pour/Contre/Abstention/NPPPAV, svg icons instead of status
dots, no live/open status labels, inclusive wording across the UI and docs.
This commit is contained in:
2026-11-16 13:26:46 +01:00
parent 74c9b34ec1
commit e328a0983f
16 changed files with 351 additions and 226 deletions
+2 -4
View File
@@ -88,10 +88,7 @@ button:disabled { opacity: .35; cursor: not-allowed; transform: none; }
padding: 3px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-2);
}
.badge.open { background: var(--ok-soft); color: var(--ok); }
.badge.open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
.badge.public { background: var(--mark-soft); color: #7a5c00; }
@keyframes pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .badge.open::before { animation: none; } }
.notice { border-radius: var(--r-field); padding: 10px 14px; font-size: .9rem; margin: 10px 0; background: var(--bg); }
.notice.warn { background: var(--mark-soft); color: #5c4500; }
@@ -109,7 +106,8 @@ button:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.q-text { font: 700 1.15rem/1.3 var(--round); margin: 10px 0; }
.q-opts { margin: 0 0 8px; padding-left: 20px; color: var(--ink-2); }
.q-meta { font-size: .82rem; color: var(--ink-3); margin: 4px 0; }
.focus-mark { font-size: .78rem; font-weight: 600; color: var(--ink); background: var(--mark); padding: 3px 10px; border-radius: 999px; }
.focus-mark { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: var(--ink); background: var(--mark); padding: 3px 10px; border-radius: 999px; }
.icon { flex: none; display: block; }
.templates { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }