- Router: Routen home, gestalten, cards, community/<id>, reset; Umleitung /?karte=<id> nach /gestalten?karte=<id>; Titel je Route (titleFor); Hash-Ziele (/#community) scrollen den Anker ins Bild, nur-Hash-Wechsel bauen die Seite nicht neu auf. - Kopfzeile: Navigation, Suche (Enter -> /?q=...#community), Spenden-Knopf, Hell/Dunkel-Schalter, Menue unter 900 px, Konto als Avatar-Kreis mit Menue. - Theme: data-theme auf <html> (Skript im <head> gegen Aufblitzen), helle Tokens, danger-/warn-/ok-text-Tokens statt fester Farben. - Spenden-Banner (schliessbar); ohne DONATE_URL bleiben Banner und Knopf weg. - User.labels und isAdmin; Platzhalter fuer Startseite und Detailseite. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
43 lines
774 B
CSS
43 lines
774 B
CSS
/* Bestätigungsdialog (Löschen, Verwerfen). Knöpfe kommen aus account.css (.auth-btn). */
|
|
|
|
.confirm-dialog {
|
|
width: min(400px, calc(100vw - 32px));
|
|
padding: 0;
|
|
border: 1px solid var(--line-strong);
|
|
border-radius: 20px;
|
|
background: var(--panel);
|
|
color: var(--text);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.confirm-dialog::backdrop {
|
|
background: var(--backdrop);
|
|
}
|
|
|
|
.confirm-card {
|
|
padding: 24px;
|
|
}
|
|
|
|
.confirm-title {
|
|
margin: 0 0 8px;
|
|
font-size: 1.25rem;
|
|
line-height: 1.25;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.confirm-text {
|
|
margin: 0 0 20px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.confirm-title + .confirm-actions {
|
|
margin-top: 12px; /* ohne Text unter dem Titel */
|
|
}
|
|
|
|
.confirm-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
}
|