Feature: Abmelden-Button im Header hinzugefuegt

Der vorhandene signOut-Button lag in der Auth-Karte, die bei
angemeldetem Zustand komplett versteckt wird. Neuer User-Bereich
im Header zeigt den angemeldeten Nutzer an und ermoeglicht das
Abmelden (z. B. an einem fremden Rechner).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Alf
2026-11-23 11:21:27 +01:00
parent e0cc7c4491
commit 7c49bd61b3
3 changed files with 54 additions and 3 deletions

View File

@ -38,12 +38,32 @@ body {
/* Header */
.header {
position: relative;
text-align: center;
padding: 20px 0;
margin-bottom: 30px;
color: var(--text-primary);
}
/* User-Bereich im Header (nur sichtbar, wenn angemeldet) */
.user-area {
position: absolute;
top: 20px;
right: 0;
display: flex;
align-items: center;
gap: 12px;
}
.user-name {
color: var(--text-secondary);
font-size: 0.95rem;
max-width: 220px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.header h1 {
font-size: 2.5rem;
margin-bottom: 10px;
@ -356,6 +376,11 @@ section h2 {
border-color: var(--primary-color);
}
.btn-small {
padding: 6px 14px;
font-size: 0.85rem;
}
.btn-danger {
background-color: var(--error-color);
color: white;
@ -550,6 +575,12 @@ section h2 {
font-size: 2rem;
}
.user-area {
position: static;
justify-content: center;
margin-bottom: 10px;
}
.stat-value {
font-size: 2rem;
}