From a505d38c96893301501d2c6829208a40e0fdab4d Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 6 Oct 2026 12:13:03 +0000 Subject: [PATCH] Design P6: admin-areas.css geloescht, KOMPAT-Reste entfernt Co-Authored-By: Claude Sonnet 5.5 --- src/styles/admin-areas.css | 49 -------------------------------------- src/styles/global.css | 4 ++-- 2 files changed, 2 insertions(+), 51 deletions(-) delete mode 100644 src/styles/admin-areas.css diff --git a/src/styles/admin-areas.css b/src/styles/admin-areas.css deleted file mode 100644 index c364184..0000000 --- a/src/styles/admin-areas.css +++ /dev/null @@ -1,49 +0,0 @@ -/* Bereiche aus dem frueheren Admin-Panel (Gutschriften, Abo-Angebote, E-Mail-Speicher). - Zeilen als Raster mit Haarlinien; unter 860 px untereinander, damit nichts waagerecht scrollt. P6 ersetzt sie durch Tabellen. */ -.area-rows { display: flex; flex-direction: column; container-type: inline-size; } -.area-row { - display: grid; gap: var(--sp-3); align-items: start; padding: 12px 0; - border-bottom: 1px solid var(--line); overflow-wrap: anywhere; -} -.area-row:last-child { border-bottom: none; } -.area-row.head { color: var(--text-2); font-size: 12px; font-weight: 500; } -.area-row.active { background: var(--bg-subtle); } -.area-muted { color: var(--text-2); font-size: 13px; } -.area-danger { color: var(--red-fg); font-size: 13px; } -.area-warn { color: var(--orange-fg); font-size: 13px; } -.area-summary { margin-bottom: 12px; } -.area-summary.warn { color: var(--orange-fg); } -.area-message, .area-error { font-size: 13px; margin: 8px 0; } -.area-message { color: var(--green-fg); } -.area-error { color: var(--red-fg); } -.area-kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; } -.area-kv dt { color: var(--text-2); } -.area-kv dd { margin: 0; overflow-wrap: anywhere; } -.area-filter { display: inline-flex; gap: 4px; margin-bottom: var(--sp-3); } -.area-inline { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; } -.storage-row { grid-template-columns: 150px 220px minmax(0, 1fr) 150px 110px; } -.credit-row { grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr) 110px 100px 150px 100px; } -.credit-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-5); } -.credit-cols h4 { margin: var(--sp-4) 0 var(--sp-2); font-size: 14px; } -.credit-files, .credit-checks { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; } -.credit-checks { list-style: none; padding-left: 0; } -.credit-history { margin-bottom: 8px; } -.credit-manual { display: flex; flex-direction: column; gap: 6px; } -.credit-calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2) var(--sp-3); margin-bottom: var(--sp-2); } -.credit-calc label, .credit-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-2); margin-bottom: var(--sp-2); } -.offer-row { grid-template-columns: 130px 200px minmax(0, 1fr) 110px 210px; } -@media (max-width: 900px) { .credit-cols { grid-template-columns: minmax(0, 1fr); } } -@media (max-width: 720px) { .credit-calc { grid-template-columns: minmax(0, 1fr); } } -/* Responsive: hinter allen Spaltenregeln, damit bei gleicher Spezifitaet die spaetere Regel gewinnt (ohne Vorrangmarker) */ -@media (max-width: 860px) { - .area-rows .area-row { grid-template-columns: minmax(0, 1fr); } - .area-row.head { display: none; } - .area-kv { grid-template-columns: minmax(0, 1fr); } - .area-kv dt { margin-top: 6px; } -} -/* Nach verfuegbarer Breite stapeln (nicht nach Fensterbreite): mit ausgeklappter Sidebar sind Tablet quer oder ein - halbes Laptop-Fenster sonst zu schmal fuer die Spalten */ -@container (max-width: 960px) { - .area-rows .area-row { grid-template-columns: minmax(0, 1fr); gap: 4px; } - .area-row.head { display: none; } -} diff --git a/src/styles/global.css b/src/styles/global.css index 503b6bc..8e55d34 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1322,10 +1322,10 @@ div.row { display: flex; flex-wrap: wrap; margin: 0 -8px; } .page .page { margin: 0; padding: 0; max-width: none; } /* Links in Bestandsklassen, die bisher --accent als Farbe nutzten: feiner Unterstrich */ -.fin-link, .legal-files a, .credit-cols a, .area-rows a { +.fin-link, .legal-files a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; text-decoration-thickness: 1px; } -.fin-link:hover, .legal-files a:hover, .credit-cols a:hover, .area-rows a:hover { text-decoration-color: currentColor; } +.fin-link:hover, .legal-files a:hover { text-decoration-color: currentColor; } /* Abschnitte (Card =
) als Spalten nebeneinander: der Abstand .page section + section gilt nur fuer untereinander stehende Abschnitte */ .legal-grid > section + section, .fin-cols > section + section,