235 lines
5.3 KiB
CSS
235 lines
5.3 KiB
CSS
/*
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
Modified 2026 for Zeitfresser Matrix Community Look & Mobile Fixes
|
|
*/
|
|
|
|
@import url('spinner.css');
|
|
@import url('client.css');
|
|
@import url('preview.css');
|
|
@import url('create.css');
|
|
@import url('open.css');
|
|
|
|
/* Globaler Fix für Box-Berechnungen */
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--app-background: #1e1f29; /* Tief-Anthrazit */
|
|
--background: #282a36; /* Card Hintergrund */
|
|
--foreground: #f7f7fa; /* Weiß */
|
|
--font: #bdc3c7; /* Grau */
|
|
--grey: #64748b; /* Dunkles Grau */
|
|
--accent: #0dbd8b; /* Matrix-Green */
|
|
--ztfr-purple: #bd93f9; /* Zeitfresser-Lila */
|
|
--error: #ff5555;
|
|
--link: #f7f7fa;
|
|
--borders: #2f313d;
|
|
--lightgrey: #383a59;
|
|
--spinner-stroke-size: 2px;
|
|
--sub-text: #bdc3c7;
|
|
}
|
|
|
|
html {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--app-background);
|
|
background-image: none !important;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
color: var(--font);
|
|
padding: 80px 20px 0 20px;
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
color: var(--foreground);
|
|
letter-spacing: -0.5px;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
p {
|
|
line-height: 1.7;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
a { text-decoration: none; color: var(--link); }
|
|
|
|
body, button, input, textarea {
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
}
|
|
|
|
button, input[type=submit] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Die zentrale Kachel */
|
|
.card {
|
|
background-color: var(--background);
|
|
border-radius: 4px;
|
|
border-left: 4px solid var(--ztfr-purple);
|
|
box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.3);
|
|
padding: 2.5rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.RootView {
|
|
margin: 0 auto;
|
|
max-width: 480px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* --- GROSSE BUTTONS (z.B. Download, Continue) --- */
|
|
.primary, .secondary {
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
padding: 14px 20px;
|
|
margin: 4px 0 !important;
|
|
display: block;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
width: 100%;
|
|
|
|
/* Simplifizierung: Nur Farbe, keine Bewegung */
|
|
transition: background-color 0.2s ease, filter 0.2s ease;
|
|
transform: none !important;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.primary {
|
|
background: var(--foreground);
|
|
color: var(--app-background) !important;
|
|
border-radius: 4px;
|
|
border: none;
|
|
}
|
|
|
|
.primary:hover {
|
|
filter: brightness(0.9);
|
|
}
|
|
|
|
.secondary {
|
|
background: transparent;
|
|
color: var(--foreground);
|
|
border: 1px solid var(--foreground);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.secondary:hover {
|
|
background: rgba(255,255,255,0.05);
|
|
}
|
|
|
|
/* --- DEZENTE BUTTONS (Change, Custom Instance, Footer-Style) --- */
|
|
.ClientListView button.change,
|
|
.PreviewView button.change,
|
|
.ClientView button.custom,
|
|
.ClientView .footer button,
|
|
.CustomInstanceView .actions button.secondary,
|
|
.footer button,
|
|
.footer a {
|
|
background: none !important;
|
|
border: none !important;
|
|
color: var(--grey) !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
font-family: inherit !important;
|
|
font-size: inherit !important;
|
|
font-weight: normal !important;
|
|
text-transform: none !important;
|
|
letter-spacing: normal !important;
|
|
cursor: pointer !important;
|
|
display: inline !important;
|
|
width: auto !important;
|
|
border-bottom: 1px solid rgba(189, 195, 199, 0.3) !important;
|
|
transition: all 0.3s ease !important;
|
|
}
|
|
|
|
.ClientListView button.change:hover,
|
|
.PreviewView button.change:hover,
|
|
.ClientView button.custom:hover,
|
|
.ClientView .footer button:hover,
|
|
.CustomInstanceView .actions button.secondary:hover,
|
|
.footer button:hover,
|
|
.footer a:hover {
|
|
color: var(--foreground) !important;
|
|
border-bottom-color: var(--ztfr-purple) !important;
|
|
}
|
|
|
|
/* Fix für Button-Container */
|
|
.actions,
|
|
.ClientView .actions,
|
|
.ClientListView .actions,
|
|
.CustomInstanceView .actions {
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: 0px !important;
|
|
}
|
|
|
|
.actions > *:last-child {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
/* Input Felder */
|
|
input[type='text'].large {
|
|
width: 100%;
|
|
padding: 14px;
|
|
background: #1a1a1a !important;
|
|
border: 1px solid var(--borders);
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
color: var(--foreground);
|
|
box-sizing: border-box;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.footer {
|
|
margin-top: 60px;
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
font-size: 0.85rem;
|
|
color: var(--sub-text);
|
|
opacity: 0.7;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
width: 100%;
|
|
}
|
|
|
|
.footer ul { list-style: none; padding: 0; margin: 0; }
|
|
.footer li { display: inline; margin: 0; }
|
|
|
|
@media screen and (max-width: 480px) {
|
|
body { padding: 40px 10px 0 10px; }
|
|
.card { padding: 1.5rem; border-radius: 2px; }
|
|
h1 { font-size: 1.5rem; }
|
|
}
|
|
|
|
/* --- FIX FÜR NUTZERPROFILE (null-Werte verstecken) --- */
|
|
|
|
.PreviewView .members[data-count="null"],
|
|
.PreviewView .members:empty {
|
|
display: none !important;
|
|
}
|
|
|
|
.PreviewView .topic:empty,
|
|
.PreviewView .topic:contains("null") {
|
|
display: none !important;
|
|
}
|
|
|
|
.PreviewView p:empty,
|
|
.PreviewView span:empty {
|
|
display: none !important;
|
|
}
|
|
|
|
.PreviewView h2 + p {
|
|
margin-bottom: 0 !important;
|
|
}
|