Update client.css

This commit is contained in:
Dome
2026-04-07 18:44:47 +02:00
committed by GitHub
parent 52dbfeadda
commit 2a3f7f2dec
+37 -41
View File
@@ -1,77 +1,73 @@
.ClientListView h2 { .ClientListView h2 {
text-align: center; text-align: center;
margin: 24px 0; margin: 24px 0;
color: var(--foreground); /* Dein helles Highlight-Weiß */ font-weight: 600;
}
.ClientListView .filterOption {
display: flex;
align-items: center;
margin: 8px 0;
color: var(--sub-text);
} }
.ClientView { .ClientView {
background: var(--lightgrey); /* Nutzt das #383a59 aus der main.css */ background: var(--app-background);
border: 1px solid var(--borders); border: 1px solid var(--borders);
border-radius: 4px; /* Eckiger wie deine Room-Cards */ border-radius: 4px;
margin: 16px 0; margin: 16px 0;
padding: 20px; padding: 24px;
transition: all 0.3s ease; 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 { .ClientView:hover {
background: #2f313d; /* Leicht helleres Grau beim Drüberfahren */ background: #2f313d !important;
border-left: 4px solid #bd93f9; /* Dein lila Akzent-Strich */ border-left-color: var(--ztfr-purple) !important;
transform: translateX(5px); transform: translateX(5px);
} }
.ClientView.isPreferred { .ClientView.isPreferred {
border: 1px solid #bd93f9; /* Lila Rahmen statt blauem Standard */ border-color: var(--ztfr-purple);
box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2); background: rgba(189, 147, 249, 0.05);
} }
.ClientView .hostedBanner { .ClientView .hostedBanner {
text-align: center; text-align: center;
margin-bottom: 25px; margin-bottom: 20px;
padding: 6px 0; padding: 6px 0;
line-height: 20px;
border-radius: 4px; border-radius: 4px;
font-weight: bold; font-weight: bold;
font-size: 14px; font-size: 13px;
background-color: #bd93f9; /* Lila Banner für "Hosted" */ background-color: var(--ztfr-purple);
color: #1e1f29; /* Dunkler Text auf lila Grund */ color: var(--app-background);
text-transform: uppercase;
} }
.ClientView h3 { .ClientView .header { display: flex; align-items: flex-start; }
margin-top: 0; .ClientView .description { flex: 1; }
color: var(--foreground); .ClientView h3 { margin: 0 0 8px 0; font-size: 18px; }
font-size: 1.2rem; .ClientView .description p { margin: 0; font-size: 13px; color: var(--font); }
}
.ClientView .description {
color: var(--sub-text);
font-size: 0.95rem;
line-height: 1.5;
}
.ClientView .clientIcon { .ClientView .clientIcon {
border-radius: 4px; /* Passend zum Rest */ border-radius: 4px;
background-color: #ffffff; /* Weißer Hintergrund für App-Logos */ background-color: #ffffff;
padding: 2px; padding: 4px;
width: 60px; width: 50px;
height: 60px; height: 50px;
margin-left: 16px; margin-left: 16px;
flex-shrink: 0;
} }
/* Footer-Bereich in der ClientView (Platforms/Install) */
.ClientView .platforms { .ClientView .platforms {
color: var(--sub-text); margin-top: 12px;
font-size: 12px;
color: var(--grey);
opacity: 0.8; opacity: 0.8;
} }
.InstallClientView .instructions button.tick { .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);
} }