From f3e306f7239057b19b80cbc36e795b38bba169db Mon Sep 17 00:00:00 2001 From: Maaxxs <61059039+MaaxxsDev@users.noreply.github.com> Date: Sun, 20 Sep 2026 02:59:27 +0200 Subject: [PATCH] Reports: fix card hover color and missing spacing before settings Hover now brightens the whole border to the same status color as the left accent (green for active, muted for archived) instead of a generic gold that clashed with it. Added margin-bottom to .report-list (and the empty-filter message) so there is breathing room before the Einstellungen panel. Co-Authored-By: Claude Sonnet 5 --- assets/css/style.css | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index a3ddaa8..59eae09 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -371,6 +371,7 @@ tr:hover td { background: var(--bg-panel-alt); } display: flex; flex-direction: column; gap: 0.85rem; + margin-bottom: 1.5rem; } .report-card { @@ -386,10 +387,10 @@ tr:hover td { background: var(--bg-panel-alt); } transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; } +/* Hover-Rahmenfarbe passt sich der Statusfarbe links an (gruen = aktiv, + gedaempft = archiviert) statt generischem Gold - siehe .report-card-archived:hover. */ .report-card:hover { - border-top-color: var(--gold); - border-right-color: var(--gold); - border-bottom-color: var(--gold); + border-color: var(--success); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4); } @@ -399,7 +400,10 @@ tr:hover td { background: var(--bg-panel-alt); } opacity: 0.7; } -.report-card-archived:hover { opacity: 0.95; } +.report-card-archived:hover { + border-color: var(--text-muted); + opacity: 0.95; +} .report-card-main { display: flex; @@ -482,6 +486,10 @@ tr:hover td { background: var(--bg-panel-alt); } font-size: 0.8rem; } +#report-filter-empty { + margin-bottom: 1.5rem; +} + .text-button { background: none; border: none;