diff --git a/public/css/style.css b/public/css/style.css index 55a4e05..ecfd7c0 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -688,6 +688,44 @@ table input[type="text"] { width: 100%; } +/* Admin: Collapsible Sections (Darkmode-sicher, keine Inline-Farben) */ +.collapsible-header { + cursor: pointer; + padding: 15px; + background-color: var(--bg-soft); + border: 1px solid var(--border-color); + border-radius: 4px; + display: flex; + justify-content: space-between; + align-items: center; +} + +.collapsible-content { + display: none; + padding: 20px; + border: 1px solid var(--border-color); + border-top: none; + border-radius: 0 0 4px 4px; + background-color: var(--bg-surface); +} + +.collapsible-content-scroll { + overflow-x: auto; + max-width: 100%; +} + +.collapsible-section { + margin-top: 15px; + margin-bottom: 10px; + padding-bottom: 10px; + border-bottom: 1px solid var(--border-soft); +} + +.collapsible-title { + font-weight: 600; + color: var(--text-strong); +} + /* Admin Container - volle Breite */ .admin-container .container { max-width: 100%; @@ -941,6 +979,23 @@ table input[type="text"] { background-color: var(--table-hover); } +/* Projektauswertung: Detail-Zeile (Mitarbeiter-Aufschlüsselung) */ +.employee-details-row { + background-color: var(--bg-soft); +} + +.employee-details-row td { + background-color: var(--bg-soft); +} + +.employee-summary-row { + cursor: default; +} + +.employee-summary-row .toggle-details-btn { + white-space: nowrap; +} + /* PDF Preview */ .pdf-preview-row { background-color: var(--bg-soft); @@ -1454,6 +1509,21 @@ table input.break-below-legal, z-index: 10000; } +[data-theme="dark"] .app-modal-card { + background: var(--bg-surface); + border-color: var(--border-color); +} + +.app-modal-card { + background: var(--bg-surface); + border: 1px solid var(--border-color); + border-radius: 8px; + width: 90%; + max-width: 520px; + box-shadow: var(--shadow-lg); + padding: 18px 18px 14px 18px; +} + [data-theme="dark"] .theme-toggle-btn { border-color: rgba(226, 232, 240, 0.45); background: rgba(15, 23, 42, 0.25); diff --git a/views/admin.ejs b/views/admin.ejs index e2e726c..fdf80e9 100644 --- a/views/admin.ejs +++ b/views/admin.ejs @@ -37,12 +37,12 @@
-
+

Neuen Benutzer anlegen

-