From c18a29c748694b99b5edb1b57ac538a69d00c865 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 5 Oct 2026 08:10:53 +0000 Subject: [PATCH] Design: Bausteine aus dem Prototyp, gleichnamige Altregeln ersetzt Co-Authored-By: Claude Sonnet 5.5 --- src/styles/global.css | 532 ++++++++++++++++++++++++++++++++---------- 1 file changed, 411 insertions(+), 121 deletions(-) diff --git a/src/styles/global.css b/src/styles/global.css index 94f3158..5149b1e 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -77,6 +77,409 @@ input, select, textarea { font: inherit; color: inherit; } .link-danger { color: var(--danger); font-weight: 500; } .link-danger:hover { text-decoration: underline; text-underline-offset: 3px; } +/* ============================================================= */ +/* =================== BAUSTEINE (weisses Design) ============ */ +/* Werte aus quelle/styles.css (Prototyp). Steht vor dem Altbestand, */ +/* damit gleichnamige Altregeln (Task 3) nicht mehr dazwischenfunken. */ +/* ============================================================= */ + +/* ---------- Grundgeruest ---------- */ + +.shell { display: flex; min-height: 100vh; } + +.sidebar { + position: fixed; + inset: 0 auto 0 0; + width: var(--sidebar-w); + border-right: 1px solid var(--line); + display: flex; + flex-direction: column; + padding: 20px 12px 16px; + background: var(--bg); + z-index: 20; +} + +.brand { + display: flex; + align-items: center; + gap: 10px; + padding: 0 10px 22px; + font-weight: 600; + font-size: 15px; + letter-spacing: -0.01em; +} +.brand svg { width: 24px; height: 24px; flex: none; } + +.nav { display: flex; flex-direction: column; gap: 1px; overflow-y: auto; } + +.nav-item { + display: flex; + align-items: center; + justify-content: space-between; + gap: 8px; + padding: 6px 10px; + border-radius: var(--radius); + color: var(--text-2); + font-weight: 500; +} +.nav-item:hover { background: var(--bg-hover); color: var(--text); } +.nav-item.active { color: var(--accent-ink); background: var(--accent-soft); font-weight: 600; } +.nav-item.sub { padding-left: 22px; font-size: 13px; font-weight: 400; } +.nav-item.sub.active { font-weight: 600; } +.nav-item.paused { color: var(--text-3); cursor: default; } +.nav-item.paused:hover { background: none; color: var(--text-3); } +.nav-count { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; } +.nav-count.hot { color: var(--accent-ink); font-weight: 600; } +.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--nav-dot); } +.nav-dot.critical { background: var(--danger); } + +.sidebar-foot { + margin-top: auto; + padding: 14px 10px 0; + border-top: 1px solid var(--line); + display: flex; + flex-direction: column; + gap: 2px; +} +.sidebar-foot .who { font-weight: 500; } + +.main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; } + +.page { max-width: 1160px; margin: 0 auto; padding: 36px 48px 80px; } +.page section + section { margin-top: 36px; } + +.mobile-bar { display: none; } + +/* ---------- Seitenkopf ---------- */ + +.crumb { font-size: 13px; color: var(--text-2); margin-bottom: 10px; display: flex; gap: 6px; } +.crumb a:hover { color: var(--text); } + +.page-head { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 24px; + margin-bottom: 24px; +} +.page-head h1 { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.02em; } +.page-head .sub { color: var(--text-2); margin-top: 4px; } +.page-head .eyebrow { font-size: 13px; color: var(--text-2); margin-bottom: 4px; } +.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; } + +h2.section { + font-size: 16px; + line-height: 24px; + font-weight: 600; + margin: 36px 0 12px; + display: flex; + align-items: baseline; + justify-content: space-between; + gap: 12px; +} +h2.section:first-child { margin-top: 8px; } +h2.section .link { font-size: 14px; font-weight: 500; } + +/* ---------- Knoepfe ---------- */ + +.btn { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 6px; + height: 32px; + padding: 0 12px; + border-radius: var(--radius); + font-weight: 500; + white-space: nowrap; + background: var(--bg); + box-shadow: var(--ring); + transition: background-color 0.12s, box-shadow 0.12s; +} +.btn:hover { background: var(--bg-hover); } +.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-btn); } +.btn-primary:hover { background: var(--accent-hover); } +.btn-quiet { box-shadow: none; color: var(--text-2); padding: 0 8px; } +.btn-quiet:hover { color: var(--text); } +.btn-block { width: 100%; height: 36px; } + +/* ---------- Status-Marken ---------- */ + +.badge { + display: inline-flex; + align-items: center; + height: 20px; + padding: 0 6px; + border-radius: 4px; + font-size: 12px; + font-weight: 500; + white-space: nowrap; + background: var(--grey-bg); + color: var(--grey-fg); +} +.badge.blue { background: var(--blue-bg); color: var(--blue-fg); } +.badge.orange { background: var(--orange-bg); color: var(--orange-fg); } +.badge.violet { background: var(--violet-bg); color: var(--violet-fg); } +.badge.green { background: var(--green-bg); color: var(--green-fg); } +.badge.red { background: var(--red-bg); color: var(--red-fg); } +.badge.plain { background: none; color: var(--text-2); padding: 0; } + +/* ---------- Reiter ---------- */ + +.tabs { + display: flex; + gap: 24px; + border-bottom: 1px solid var(--line); + margin-bottom: 16px; + overflow-x: auto; + scrollbar-width: none; +} +.tab { + padding: 8px 0 10px; + color: var(--text-2); + font-weight: 500; + white-space: nowrap; + border-bottom: 2px solid transparent; + margin-bottom: -1px; +} +.tab:hover { color: var(--text); } +.tab.active, .tab[aria-selected="true"] { color: var(--accent-ink); border-bottom-color: var(--accent); font-weight: 600; } +.tab .count { color: var(--text-3); font-weight: 400; margin-left: 4px; font-variant-numeric: tabular-nums; } + +/* ---------- Filterzeile ---------- */ + +.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; } +.toolbar .grow { flex: 1; } + +.input, .select, .textarea { + height: 32px; + padding: 0 10px; + border: 0; + border-radius: var(--radius); + background: var(--bg); + box-shadow: var(--ring); + outline: none; + transition: box-shadow 0.12s; + min-width: 0; +} +.textarea { height: auto; min-height: 96px; padding: 8px 10px; resize: vertical; line-height: 20px; } +.select { padding-right: 28px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 14px) 14px, calc(100% - 10px) 14px; background-size: 4px 4px; background-repeat: no-repeat; } +.input:focus, .select:focus, .textarea:focus { box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px var(--accent-ring); } +.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"], .form-control[aria-invalid="true"], +.input.is-invalid, .select.is-invalid, .textarea.is-invalid, .form-control.is-invalid { box-shadow: 0 0 0 1px var(--danger), 0 0 0 4px var(--danger-ring); } +.input::placeholder, .textarea::placeholder { color: var(--text-3); } +.search { width: 300px; } + +.select-quiet { box-shadow: none; padding-left: 0; color: var(--text-2); font-weight: 500; background-color: transparent; } +.select-quiet:hover { color: var(--text); } + +.check { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); cursor: pointer; user-select: none; } +.check input { accent-color: var(--accent); width: 15px; height: 15px; } + +/* ---------- Tabellen ---------- */ + +.table { width: 100%; border-collapse: collapse; } +.table th { + text-align: left; + font-size: 12px; + font-weight: 500; + color: var(--text-2); + padding: 8px 12px 8px 0; + border-bottom: 1px solid var(--line); + white-space: nowrap; +} +.table td { + padding: 12px 12px 12px 0; + border-bottom: 1px solid var(--line); + vertical-align: top; +} +.table th:last-child, .table td:last-child { padding-right: 0; } +.table tr.row { cursor: pointer; } +.table tr.row:hover td { background: var(--bg-subtle); } +.table tr.row td:first-child { box-shadow: -12px 0 0 transparent; } +.table tr.row:hover td:first-child { box-shadow: -12px 0 0 var(--bg-subtle); } +.table tr.row:hover td:last-child { box-shadow: 12px 0 0 var(--bg-subtle); } +.table .right { text-align: right; } +.cell-title { font-weight: 500; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } +.cell-sub { font-size: 13px; color: var(--text-2); margin-top: 2px; } +.id { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; } + +.table-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; color: var(--text-2); font-size: 13px; } + +.empty { padding: 56px 0; text-align: center; color: var(--text-2); } +.empty strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; } + +.loading { padding: 56px 0; text-align: center; color: var(--text-2); } + +.msg { font-size: 13px; } +.msg.err { color: var(--red-fg); } +.msg.ok { color: var(--green-fg); } +.msg.warn { color: var(--orange-fg); } + +/* ---------- Kennzahlen / Schluesselwerte ---------- */ + +.facts { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); + gap: 0; + margin: 4px 0 28px; +} +.fact { padding: 0 20px; border-left: 1px solid var(--line); min-width: 0; } +.fact:first-child { padding-left: 0; border-left: 0; } +.fact .k { font-size: 13px; color: var(--text-2); margin-bottom: 2px; white-space: nowrap; } +.fact .v { font-weight: 500; overflow-wrap: anywhere; } +.fact .v .select-quiet { color: var(--text); font-weight: 500; height: 20px; } + +.stats { display: flex; gap: 48px; margin: 4px 0 20px; flex-wrap: wrap; } +.stat .k { font-size: 13px; color: var(--text-2); } +.stat .v { font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; } +.stat .v.warn { color: var(--orange-fg); } +.v.neg { color: var(--red-fg); } +.stat .sub { font-size: 12px; line-height: 16px; color: var(--text-2); } + +.kv { display: grid; grid-template-columns: 180px 1fr; row-gap: 10px; column-gap: 24px; } +.kv dt { color: var(--text-2); } +.kv dd { min-width: 0; overflow-wrap: anywhere; } +.kv .input { width: 100%; max-width: 360px; } + +.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; } + +.prose { color: var(--text); line-height: 22px; white-space: pre-wrap; max-width: 680px; } + +/* ---------- Ticket-Kopf ---------- */ + +.urgent-toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 500; cursor: pointer; user-select: none; height: 32px; padding: 0 4px; } +.urgent-toggle .sw { width: 28px; height: 16px; border-radius: 99px; background: var(--line-strong); position: relative; transition: background 0.15s; } +.urgent-toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform 0.15s; } +.urgent-toggle.on { color: var(--red-fg); } +.urgent-toggle.on .sw { background: var(--danger); } +.urgent-toggle.on .sw::after { transform: translateX(12px); } + +/* ---------- Listen (einfach) ---------- */ + +.list-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); } +.list-row:first-child { border-top: 1px solid var(--line); } +a.list-row:hover .cell-title { color: var(--accent-ink); } + +/* ---------- Dialog ---------- */ + +.overlay { + position: fixed; + inset: 0; + background: var(--overlay); + display: flex; + align-items: flex-start; + justify-content: center; + padding: 10vh 16px 16px; + z-index: 50; + animation: fade 0.12s ease-out; +} +.dialog { + width: 100%; + max-width: 520px; + background: var(--bg); + border-radius: var(--radius-lg); + box-shadow: var(--shadow-pop); + max-height: 84vh; + display: flex; + flex-direction: column; + animation: pop 0.14s ease-out; +} +.dialog-wide { max-width: 760px; } +.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 4px; } +.dialog-head h3 { font-size: 18px; line-height: 26px; font-weight: 600; } +.dialog-close { width: 28px; height: 28px; border-radius: var(--radius); color: var(--text-2); font-size: 20px; line-height: 1; } +.dialog-close:hover { background: var(--bg-hover); color: var(--text); } +.dialog-body { padding: 16px 24px 8px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; } +.dialog-foot { display: flex; align-items: center; gap: 8px; padding: 16px 24px 20px; } +.dialog-foot .grow { flex: 1; } + +.field { display: flex; flex-direction: column; gap: 6px; } +.field > label { font-weight: 500; } +.field .hint { font-size: 13px; color: var(--text-2); } +.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } +.field-row-3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; } + +.seg { display: inline-flex; padding: 2px; border-radius: var(--radius); background: var(--bg-hover); gap: 2px; } +.seg button { height: 28px; padding: 0 12px; border-radius: 5px; color: var(--text-2); font-weight: 500; } +.seg button.on, .seg button[aria-pressed="true"] { background: var(--bg); color: var(--text); box-shadow: 0 1px 2px rgba(26,31,54,.12), 0 0 0 1px rgba(26,31,54,.04); } + +.toast { + position: fixed; + left: 50%; + bottom: 28px; + transform: translateX(-50%); + background: var(--text); + color: #fff; + padding: 10px 16px; + border-radius: 8px; + font-weight: 500; + box-shadow: var(--shadow-pop); + z-index: 60; + animation: rise 0.18s ease-out; +} + +@keyframes fade { from { opacity: 0; } } +@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(0.99); } } +@keyframes rise { from { opacity: 0; transform: translate(-50%, 8px); } } + +/* ---------- Anmeldung ---------- */ + +.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px 96px; } +.login-box { width: 100%; max-width: 360px; } +.login-box svg { width: 40px; height: 40px; margin-bottom: 28px; } +.login-box h1 { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.02em; } +.login-box .sub { color: var(--text-2); margin: 4px 0 28px; } +.login-box form { display: flex; flex-direction: column; gap: 16px; } +.login-box .input { height: 36px; } +.code-input { letter-spacing: 0.5em; font-size: 18px; font-variant-numeric: tabular-nums; text-align: center; } +.login-links { display: flex; gap: 16px; justify-content: center; margin-top: 20px; font-size: 13px; } +.login-foot { position: fixed; bottom: 24px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--text-3); } + +/* ---------- Schmale Bildschirme ---------- */ + +@media (max-width: 1100px) { + .page { padding: 32px 28px 80px; } + .hide-md { display: none; } +} + +@media (max-width: 860px) { + .sidebar { transform: translateX(-100%); transition: transform 0.18s ease-out; width: min(300px, 86vw); box-shadow: none; } + .shell.menu-open .sidebar { transform: none; box-shadow: var(--shadow-pop); } + .shell.menu-open .scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 15; } + .main { margin-left: 0; } + .mobile-bar { + display: flex; + align-items: center; + justify-content: space-between; + height: 52px; + padding: 0 16px; + border-bottom: 1px solid var(--line); + position: sticky; + top: 0; + background: var(--bg); + z-index: 10; + } + .mobile-bar .brand { padding: 0; } + .page { padding: 20px 16px 120px; } + .page-head { flex-direction: column; gap: 14px; margin-bottom: 18px; } + .page-head h1 { font-size: 24px; line-height: 30px; } + .actions { justify-content: flex-start; } + .hide-sm { display: none; } + .search { width: 100%; } + .toolbar .grow { display: none; } + .facts { grid-template-columns: 1fr 1fr; row-gap: 16px; } + .fact { border-left: 0; padding: 0; } + .two-col { grid-template-columns: 1fr; } + .kv { grid-template-columns: 1fr; row-gap: 2px; } + .kv dd { margin-bottom: 10px; } + .stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px; } + .stat .v { font-size: 18px; } + .field-row, .field-row-3 { grid-template-columns: 1fr; } + .overlay { padding: 16px; align-items: flex-end; } + .dialog { max-height: 92vh; } +} + /* Color Classes */ .bg-dark-grey { background-color: #616161 !important; } .bg-light-grey { background-color: #f1f1f1 !important; } @@ -157,17 +560,6 @@ input, select, textarea { font: inherit; color: inherit; } } /* Buttons */ -.btn { - padding: 10px 20px; - border: none; - cursor: pointer; - font-size: 14px; - border-radius: 8px; - font-weight: 600; - transition: all 0.2s ease; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); -} - .btn-dark { background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%); color: #fff; @@ -204,41 +596,7 @@ input, select, textarea { font: inherit; color: inherit; } border: none !important; } -/* Table */ -.table { - width: 100%; - border-collapse: separate; - border-spacing: 0; - color: var(--dark-text) !important; - background: transparent !important; -} - -.table th, -.table td { - padding: 8px 12px; - text-align: left; - border: 1px solid rgba(16, 185, 129, 0.2); - background: transparent; -} - -/* Remove borders between rowspan cells */ -.table td[rowspan] { - border-top: 1px solid rgba(16, 185, 129, 0.2); - border-bottom: 1px solid rgba(16, 185, 129, 0.2); - border-left: 1px solid rgba(16, 185, 129, 0.2); - border-right: 1px solid rgba(16, 185, 129, 0.2); -} - -.table th { - background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%); - color: var(--dark-text); - font-weight: bold; -} - -.table tbody { - background: transparent; -} - +/* Table-Hover (Altlast, Task 4) */ .table-hover tbody tr { background: transparent; } @@ -532,33 +890,6 @@ textarea.form-control { } /* Modal/Overlay */ -.overlay { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: rgba(0,0,0,0.95); - z-index: 200; - overflow-y: auto; - padding: 60px 20px; -} - -.overlay-close { - position: absolute; - top: 20px; - right: 45px; - font-size: 48px; - color: #fff; - cursor: pointer; - transition: all 0.2s ease; -} - -.overlay-close:hover { - color: var(--green-primary); - transform: rotate(90deg); -} - .overlay-content { max-width: 1000px; margin: 0 auto; @@ -836,7 +1167,6 @@ textarea.form-control { .side-toggle:hover { background: var(--surface-2); color: var(--text); } /* --- Page header + container --- */ -.page { padding: var(--sp-5); max-width: 1320px; margin: 0 auto; width: 100%; } .page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-5); flex-wrap: wrap; @@ -878,13 +1208,6 @@ textarea.form-control { .ui-btn:disabled { opacity: 0.55; cursor: not-allowed; } /* --- Badges / Pills --- */ -.badge { - display: inline-flex; align-items: center; gap: 6px; - padding: 3px 10px; border-radius: var(--r-pill); - font-size: 12px; font-weight: 600; line-height: 1.4; - background: var(--surface-2); color: var(--text-muted); -} -.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; } .badge-info { background: rgba(59,130,246,0.16); color: #93c5fd; } .badge-ok { background: rgba(16,185,129,0.16); color: #34d399; } .badge-warn { background: rgba(245,158,11,0.18); color: #fbbf24; } @@ -938,15 +1261,6 @@ textarea.form-control { .tcard-topic { color: var(--text-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tcard-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; } -/* Schalter "Dringend" in der Ticketkarte */ -/* Aus: dezent gestrichelt, damit nicht jedes Ticket "dringend" wirkt */ -.urgent-toggle { - background: transparent; border: 1px dashed var(--border-strong); color: var(--text-faint); - border-radius: var(--r-pill); padding: 3px 12px; font-size: 12px; font-weight: 700; cursor: pointer; -} -.urgent-toggle:hover { color: var(--text-muted); border-color: rgba(239,68,68,0.5); } -.urgent-toggle.on { background: rgba(239,68,68,0.18); border: 1px solid rgba(239,68,68,0.5); color: #f87171; } - /* Eine Zeile ueber der Arbeitsblatt-Liste */ .worksheet-summary { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; @@ -966,15 +1280,6 @@ textarea.form-control { /* --- Generic data list rows (Kunden/Finanzen/Dokumente) --- */ .list { display: flex; flex-direction: column; } -.list-row { - display: flex; align-items: center; gap: var(--sp-3); - padding: 12px var(--sp-4); border-bottom: 1px solid var(--border); - transition: background 0.12s ease; text-decoration: none; color: var(--text); -} -.list-row:last-child { border-bottom: none; } -.list-row:hover { background: var(--surface-2); } -.list-row .grow { flex: 1; min-width: 0; } -.list-row .muted { color: var(--text-muted); font-size: 13px; } /* --- Clean table (ohne rowSpan-Tricks) --- */ .ui-table { width: 100%; border-collapse: collapse; } @@ -986,24 +1291,9 @@ textarea.form-control { .ui-table td { padding: 11px var(--sp-3); border-bottom: 1px solid var(--border); font-size: 14px; } .ui-table tbody tr:hover td { background: var(--surface-2); } -/* --- Segmented control / toolbar --- */ -.toolbar { display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; margin-bottom: var(--sp-4); } -.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 3px; gap: 2px; } -.seg button { - border: none; background: transparent; color: var(--text-muted); - padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; -} -.seg button.active { background: var(--accent-soft); color: var(--accent); } +/* --- Suchfeld --- */ .search-input { flex: 1; min-width: 200px; } -/* --- Empty state --- */ -.empty { text-align: center; color: var(--text-muted); padding: var(--sp-6) var(--sp-4); } -.empty .empty-icon { font-size: 32px; opacity: 0.5; margin-bottom: var(--sp-3); } - -/* --- Field --- */ -.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sp-3); } -.field label { font-size: 13px; font-weight: 600; color: var(--text-muted); } - /* --- Tab restyle (ruhiger) --- */ .ticket-tabs { border-bottom-color: var(--border); } .ticket-tab { background: var(--surface-2); border-color: var(--border); color: var(--text-muted); } @@ -1049,9 +1339,9 @@ textarea.form-control { line-height: 1.45; } -/* Neues Ticket: Datum + Uhrzeit nebeneinander; dunkle Kalender statt weisser */ +/* Neues Ticket: Datum + Uhrzeit nebeneinander (heller Kalender, kein color-scheme: dark) */ .datetime-pair { display: flex; gap: 8px; } -.datetime-pair .form-control { flex: 1; min-width: 0; color-scheme: dark; } +.datetime-pair .form-control, .datetime-pair .input { flex: 1; min-width: 0; } .datetime-pair input[type="date"] { cursor: pointer; } /* Autovervollstaendigung (Requested by / Requested for) */ @@ -1067,10 +1357,10 @@ textarea.form-control { list-style: none; max-height: 280px; overflow-y: auto; - background: var(--surface-3); + background: var(--bg); border: 1px solid var(--border-strong); - border-radius: var(--r-sm); - box-shadow: var(--shadow-3); + border-radius: 8px; + box-shadow: var(--shadow-pop); } .autocomplete-item { display: flex; @@ -1083,7 +1373,7 @@ textarea.form-control { font-size: 14px; cursor: pointer; } -.autocomplete-item.active { background: var(--accent-soft); } +.autocomplete-item.active, .autocomplete-item:hover { background: var(--bg-hover); } .autocomplete-item.active .autocomplete-value { color: var(--accent); } .autocomplete-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .autocomplete-hint {