From 2a3f7f2decd90ab06e1a6fa2198576be647b1dd4 Mon Sep 17 00:00:00 2001 From: Dome Date: Tue, 7 Apr 2026 18:44:47 +0200 Subject: [PATCH] Update client.css --- css/client.css | 78 ++++++++++++++++++++++++-------------------------- 1 file changed, 37 insertions(+), 41 deletions(-) diff --git a/css/client.css b/css/client.css index 1c7967a..b52e28a 100644 --- a/css/client.css +++ b/css/client.css @@ -1,77 +1,73 @@ .ClientListView h2 { text-align: center; margin: 24px 0; - color: var(--foreground); /* Dein helles Highlight-Weiß */ -} - -.ClientListView .filterOption { - display: flex; - align-items: center; - margin: 8px 0; - color: var(--sub-text); + font-weight: 600; } .ClientView { - background: var(--lightgrey); /* Nutzt das #383a59 aus der main.css */ + background: var(--app-background); border: 1px solid var(--borders); - border-radius: 4px; /* Eckiger wie deine Room-Cards */ + border-radius: 4px; margin: 16px 0; - padding: 20px; + padding: 24px; transition: all 0.3s ease; - border-left: 4px solid transparent; /* Platzhalter für den Hover-Effekt */ + border-left: 4px solid transparent; + display: block; + text-align: left; } -/* Der Hover-Effekt wie in deinem Entwurf */ .ClientView:hover { - background: #2f313d; /* Leicht helleres Grau beim Drüberfahren */ - border-left: 4px solid #bd93f9; /* Dein lila Akzent-Strich */ + background: #2f313d !important; + border-left-color: var(--ztfr-purple) !important; transform: translateX(5px); } .ClientView.isPreferred { - border: 1px solid #bd93f9; /* Lila Rahmen statt blauem Standard */ - box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2); + border-color: var(--ztfr-purple); + background: rgba(189, 147, 249, 0.05); } .ClientView .hostedBanner { text-align: center; - margin-bottom: 25px; + margin-bottom: 20px; padding: 6px 0; - line-height: 20px; border-radius: 4px; font-weight: bold; - font-size: 14px; - background-color: #bd93f9; /* Lila Banner für "Hosted" */ - color: #1e1f29; /* Dunkler Text auf lila Grund */ + font-size: 13px; + background-color: var(--ztfr-purple); + color: var(--app-background); + text-transform: uppercase; } -.ClientView h3 { - margin-top: 0; - color: var(--foreground); - font-size: 1.2rem; -} - -.ClientView .description { - color: var(--sub-text); - font-size: 0.95rem; - line-height: 1.5; -} +.ClientView .header { display: flex; align-items: flex-start; } +.ClientView .description { flex: 1; } +.ClientView h3 { margin: 0 0 8px 0; font-size: 18px; } +.ClientView .description p { margin: 0; font-size: 13px; color: var(--font); } .ClientView .clientIcon { - border-radius: 4px; /* Passend zum Rest */ - background-color: #ffffff; /* Weißer Hintergrund für App-Logos */ - padding: 2px; - width: 60px; - height: 60px; + border-radius: 4px; + background-color: #ffffff; + padding: 4px; + width: 50px; + height: 50px; margin-left: 16px; + flex-shrink: 0; } -/* Footer-Bereich in der ClientView (Platforms/Install) */ .ClientView .platforms { - color: var(--sub-text); + margin-top: 12px; + font-size: 12px; + color: var(--grey); opacity: 0.8; } .InstallClientView .instructions button.tick { - filter: invert(1); /* Macht das dunkle Häkchen-Icon weiß für den Dark-Mode */ + filter: invert(1); /* Macht schwarze Icons weiß */ +} + +.ClientView .back { + display: block; + margin-top: 20px; + font-size: 12px; + color: var(--grey); }