Compare commits

3 Commits
beta ... master

Author SHA1 Message Date
Scarriffle
58faf3876c fix: hartcodiertes Blau bei "heute"-Spalte & Admin-Badge entfernt
- .month-col.today nutzt jetzt --today-color statt fixem Blau
  (Spaltenhintergrund passt nun zum Tageskreis / Theme-Farbe)
- .badge-admin nutzt --primary-dim statt fixem Blau

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 22:07:20 +02:00
Scarriffle
639d7f3c9c style: Feinschliff – Event-Popup, KW-Anzeige, Termin-Formular
- Event-Popup: Kopf neu ausgerichtet (Titel umbricht sauber, Aktions-
  Icons oben rechts statt gequetscht), breiter, weicherer Rahmen
- Kalenderwoche: KW-Badge in Wochen- & Monatsansicht vertikal zentriert
- Formulare: Feld-Labels nicht mehr in Großbuchstaben (moderner),
  Modal-Kopf kräftiger, weichere Trennlinien in Modals

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 21:50:44 +02:00
Scarriffle
a60c27f66f style: UI modernisiert – weniger Tabellen-Look, mehr Tiefe
- Größere Radien (Karten 14px, Inputs 9px, Event-Chips 6px)
- Geschichtete Dark-Flächen + weiche Schatten statt harter 1px-Linien
- Primär-Buttons mit dezentem Verlauf/Glow, segmentierter View-Switcher
- Sanfte Hover-/Press-/Modal-Animationen (respektiert prefers-reduced-motion)
- Fokus-Ringe für Buttons/Inputs (A11y), feinerer System-Font-Stack
- Fix: --bg-2 / --bg-card definiert (Quartalskarten & Wiederholungs-Buttons)

Theme-Variablen (Farben/Kontrast aus den Einstellungen) bleiben unangetastet.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 21:37:54 +02:00

View File

@@ -9,38 +9,50 @@
--accent: #ea4335;
--today-color: #4285f4;
--bg-app: #0e0e14;
--bg-topbar: #18181f;
--bg-sidebar: #18181f;
--bg-surface: #22222c;
--bg-hover: #2a2a38;
--bg-active: #32324a;
/* Layered surfaces — subtly cool-tinted, slightly more depth between layers
so panels read via elevation instead of hard table-like 1px borders */
--bg-app: #0c0c13;
--bg-topbar: #14141d;
--bg-sidebar: #14141d;
--bg-surface: #1d1d2a;
--bg-2: #16161f; /* used by quarter month cards */
--bg-card: #1d1d2a; /* used by recurrence day buttons */
--bg-hover: #262636;
--bg-active: #31314f;
--text-1: #e8e8f0;
--text-2: #9090aa;
--text-3: #55556a;
--border: #2e2e40;
--border-light: #242438;
--scrollbar: #30303c;
--scrollbar: #36364a;
--topbar-h: 64px;
--sidebar-w: 256px;
--shadow: 0 2px 12px rgba(0,0,0,.45);
--shadow-lg: 0 8px 28px rgba(0,0,0,.55);
--radius: 8px;
--radius-sm: 4px;
--transition: .15s ease;
--shadow-sm: 0 1px 3px rgba(0,0,0,.30);
--shadow: 0 6px 20px rgba(0,0,0,.40);
--shadow-lg: 0 16px 44px rgba(0,0,0,.55);
--radius-lg: 20px;
--radius: 14px;
--radius-sm: 9px;
--transition: .18s cubic-bezier(.4, 0, .2, 1);
--ring: 0 0 0 3px var(--primary-dim);
}
/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body {
font-family: 'Google Sans', 'Roboto', system-ui, sans-serif;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
'Helvetica Neue', system-ui, sans-serif;
background: var(--bg-app);
color: var(--text-1);
font-size: 14px;
line-height: 1.5;
letter-spacing: .1px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
input, select, textarea, button { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
@@ -59,14 +71,21 @@ a { color: var(--primary); text-decoration: none; }
.btn {
display: inline-flex; align-items: center; gap: 6px;
padding: 8px 16px; border-radius: 20px;
font-weight: 500; transition: background var(--transition), color var(--transition);
font-weight: 500;
transition: background var(--transition), color var(--transition),
box-shadow var(--transition), transform var(--transition),
filter var(--transition);
white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-primary {
background: var(--primary);
background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 80%, #14141d));
color: #fff;
box-shadow: 0 2px 10px var(--primary-dim);
}
.btn-primary:hover { filter: brightness(1.12); }
.btn-primary:hover { filter: brightness(1.10); box-shadow: 0 5px 18px var(--primary-dim); }
.btn-secondary {
background: var(--bg-surface);
color: var(--text-1);
@@ -93,11 +112,14 @@ a { color: var(--primary); text-decoration: none; }
.icon-btn {
display: inline-flex; align-items: center; justify-content: center;
width: 40px; height: 40px; border-radius: 50%;
color: var(--text-2); transition: background var(--transition);
color: var(--text-2);
transition: background var(--transition), color var(--transition), transform var(--transition);
flex-shrink: 0;
}
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.icon-btn:hover { background: var(--bg-hover); color: var(--text-1); }
.icon-btn:active { transform: scale(.92); }
.icon-btn:focus-visible { outline: none; box-shadow: var(--ring); }
/* ── Auth Screens ───────────────────────────────────────── */
.auth-screen {
@@ -136,7 +158,7 @@ a { color: var(--primary); text-decoration: none; }
display: flex; flex-direction: column; gap: 6px;
margin-bottom: 16px;
}
.form-group label { color: var(--text-2); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.form-group label { color: var(--text-2); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.form-group input, .form-group select, .form-group textarea {
background: var(--bg-app);
border: 1px solid var(--border);
@@ -144,11 +166,12 @@ a { color: var(--primary); text-decoration: none; }
padding: 10px 12px;
color: var(--text-1);
outline: none;
transition: border-color var(--transition);
transition: border-color var(--transition), box-shadow var(--transition);
width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
border-color: var(--primary);
box-shadow: var(--ring);
}
.form-group textarea { resize: vertical; }
@@ -289,7 +312,8 @@ a { color: var(--primary); text-decoration: none; }
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
height: var(--topbar-h);
background: var(--bg-topbar);
border-bottom: 1px solid var(--border);
border-bottom: 1px solid var(--border-light);
box-shadow: var(--shadow-sm);
display: flex; align-items: center;
padding: 0 8px;
gap: 8px;
@@ -302,15 +326,16 @@ a { color: var(--primary); text-decoration: none; }
.view-title { font-size: 20px; font-weight: 400; color: var(--text-1); white-space: nowrap; padding-left: 8px; }
.topbar-right { display: flex; align-items: center; gap: 4px; }
.view-switcher { display: flex; background: var(--bg-surface); border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
.view-switcher { display: flex; gap: 2px; padding: 3px; background: var(--bg-surface); border-radius: 22px; border: 1px solid var(--border-light); }
.view-btn {
padding: 6px 14px; font-size: 13px; font-weight: 500;
color: var(--text-2);
transition: background var(--transition), color var(--transition);
border-radius: 20px;
transition: background var(--transition), color var(--transition), box-shadow var(--transition);
border-radius: 18px;
}
.view-btn:hover { background: var(--bg-hover); color: var(--text-1); }
.view-btn.active { background: var(--primary-dim); color: var(--primary); }
.view-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.view-btn.active { background: var(--primary-dim); color: var(--primary); font-weight: 600; box-shadow: inset 0 0 0 1px var(--primary-dim); }
.user-menu-wrapper { position: relative; }
.user-avatar {
@@ -353,7 +378,7 @@ a { color: var(--primary); text-decoration: none; }
.sidebar {
width: var(--sidebar-w);
background: var(--bg-sidebar);
border-right: 1px solid var(--border);
border-right: 1px solid var(--border-light);
flex-shrink: 0;
overflow-y: auto;
overflow-x: hidden;
@@ -470,8 +495,7 @@ a { color: var(--primary); text-decoration: none; }
}
.month-kw-cell {
position: absolute; left: 0; top: 0; bottom: 0; width: 38px;
display: flex; align-items: flex-start; justify-content: center;
padding-top: 6px;
display: flex; align-items: center; justify-content: center;
font-size: 13px; color: var(--text-3); font-weight: 700;
border-right: 1px solid var(--border-light);
cursor: default; user-select: none; z-index: 1;
@@ -485,7 +509,7 @@ a { color: var(--primary); text-decoration: none; }
}
.month-col:last-child { border-right: none; }
.month-col:hover { background: var(--bg-hover); }
.month-col.today { background: rgba(66,133,244,.08); }
.month-col.today { background: color-mix(in srgb, var(--today-color) 9%, transparent); }
.month-col.month-selected { background: var(--primary-dim); }
.month-col.month-selected .cell-day { border: 2px solid var(--primary); color: var(--primary); font-weight: 700; }
.month-col.month-selected .cell-day.today { background: var(--today-color); color: #fff; border: none; }
@@ -599,8 +623,7 @@ a { color: var(--primary); text-decoration: none; }
/* KW badge in week view header gutter */
.week-kw-badge {
font-size: 14px; font-weight: 700; color: var(--text-3);
display: flex; align-items: flex-end; justify-content: center;
padding-bottom: 6px;
display: flex; align-items: center; justify-content: center;
text-transform: uppercase; letter-spacing: .3px;
user-select: none;
}
@@ -640,7 +663,7 @@ a { color: var(--primary); text-decoration: none; }
position: absolute;
height: 18px; line-height: 18px;
font-size: 11px; font-weight: 500;
padding: 0 6px; border-radius: 3px;
padding: 0 6px; border-radius: 6px;
cursor: pointer; pointer-events: all;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@@ -691,7 +714,7 @@ a { color: var(--primary); text-decoration: none; }
/* Timed events */
.timed-event {
position: absolute; border-radius: 4px;
position: absolute; border-radius: 7px;
padding: 2px 4px; cursor: pointer; overflow: hidden;
font-size: 11px; font-weight: 500;
border-left: 3px solid rgba(0,0,0,.25);
@@ -723,16 +746,19 @@ a { color: var(--primary); text-decoration: none; }
flex-direction: column;
min-width: 0;
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: 8px;
border: 1px solid var(--border-light);
border-radius: var(--radius);
overflow: hidden;
box-shadow: var(--shadow-sm);
transition: box-shadow var(--transition), transform var(--transition);
}
.qtr-month:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.qtr-month-name {
font-size: 13px;
font-weight: 600;
color: var(--text-1);
padding: 10px 12px 8px;
border-bottom: 1px solid var(--border);
border-bottom: 1px solid var(--border-light);
letter-spacing: .3px;
}
.qtr-month-grid { padding: 6px 8px 8px; }
@@ -835,24 +861,34 @@ a { color: var(--primary); text-decoration: none; }
/* ── Modals ─────────────────────────────────────────────── */
.modal-overlay {
position: fixed; inset: 0; z-index: 500;
background: rgba(0,0,0,.6);
background: rgba(8,8,14,.55);
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
display: flex; align-items: center; justify-content: center;
padding: 16px;
}
.modal-card {
background: var(--bg-surface);
border: 1px solid var(--border);
border: 1px solid var(--border-light);
border-radius: var(--radius);
width: 100%;
max-height: 90vh; overflow-y: auto;
box-shadow: var(--shadow-lg);
animation: card-in .2s cubic-bezier(.4, 0, .2, 1);
}
@keyframes card-in {
from { opacity: 0; transform: translateY(8px) scale(.985); }
to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
.modal-card { animation: none; }
}
.modal-header {
display: flex; align-items: center;
padding: 16px 20px; border-bottom: 1px solid var(--border);
padding: 16px 20px; border-bottom: 1px solid var(--border-light);
gap: 8px;
}
.modal-header h3 { font-size: 18px; font-weight: 500; flex: 1; }
.modal-header h3 { font-size: 18px; font-weight: 600; flex: 1; letter-spacing: -.2px; }
.modal-close { font-size: 24px; }
.modal-body { padding: 20px; }
.modal-body p { margin: 0 0 14px; font-size: 14px; color: var(--text-1); }
@@ -861,7 +897,7 @@ a { color: var(--primary); text-decoration: none; }
.modal-body a:hover { text-decoration: underline; }
.modal-footer {
display: flex; align-items: center; gap: 8px;
padding: 12px 20px; border-top: 1px solid var(--border);
padding: 14px 20px; border-top: 1px solid var(--border-light);
}
/* ── Recurrence UI ─────────────────────────────────────── */
@@ -892,18 +928,22 @@ a { color: var(--primary); text-decoration: none; }
.event-popup {
position: fixed; z-index: 600;
background: var(--bg-surface);
border: 1px solid var(--border);
border: 1px solid var(--border-light);
border-radius: var(--radius);
width: 300px;
width: 340px;
box-shadow: var(--shadow-lg);
overflow: hidden;
animation: card-in .16s cubic-bezier(.4, 0, .2, 1);
}
@media (prefers-reduced-motion: reduce) { .event-popup { animation: none; } }
.popup-header {
display: flex; align-items: center; gap: 8px;
padding: 12px 16px; border-bottom: 1px solid var(--border);
display: flex; align-items: flex-start; gap: 10px;
padding: 14px 12px 12px 16px; border-bottom: 1px solid var(--border-light);
}
.popup-color-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.popup-header h4 { flex: 1; font-size: 15px; font-weight: 500; }
.popup-action, .popup-close { width: 32px; height: 32px; font-size: 16px; }
.popup-color-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.popup-header h4 { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; padding-top: 1px; }
.popup-action, .popup-close { width: 30px; height: 30px; font-size: 16px; flex-shrink: 0; }
.popup-close { margin-left: 2px; }
.popup-body { padding: 12px 16px; }
.popup-time, .popup-location, .popup-calendar { font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.popup-description { font-size: 13px; color: var(--text-1); margin-bottom: 6px; white-space: pre-wrap; }
@@ -1017,7 +1057,7 @@ a { color: var(--primary); text-decoration: none; }
.settings-section h4 { font-size: 14px; font-weight: 600; color: var(--text-1); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.badge-admin {
font-size: 10px; padding: 2px 6px;
background: rgba(66,133,244,.2); color: var(--primary);
background: var(--primary-dim); color: var(--primary);
border-radius: 10px; font-weight: 600;
}
.users-list-item {
@@ -1145,7 +1185,7 @@ a { color: var(--primary); text-decoration: none; }
.month-span-event {
position: absolute;
height: 18px; line-height: 18px;
border-radius: 3px; padding: 0 6px;
border-radius: 6px; padding: 0 6px;
font-size: 11px; font-weight: 500;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
cursor: pointer; color: #fff;