6 Commits

Author SHA1 Message Date
Dome b86b69d171 Hide null values in user profiles in CSS 2026-04-08 00:28:09 +02:00
Dome e009496885 Update docker-image.yml 2026-04-08 00:09:14 +02:00
Dome 690692b494 Fix media query formatting in main.css 2026-04-07 23:49:04 +02:00
Dome 5df8bdf932 Update client.css 2026-04-07 23:48:49 +02:00
Dome 030966c506 Update main.css 2026-04-07 23:37:59 +02:00
Dome 5a633a0ebb Update client.css 2026-04-07 23:37:46 +02:00
3 changed files with 108 additions and 74 deletions
+3 -3
View File
@@ -1,9 +1,7 @@
name: Build and Push Matrix-to Docker Image name: Build and Push Matrix-to Docker Image
on: on:
push: workflow_dispatch: # Erlaubt den manuellen Start über das GitHub UI
branches:
- main
jobs: jobs:
build: build:
@@ -25,5 +23,7 @@ jobs:
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: .
push: true push: true
tags: domoel/matrix-to:latest tags: domoel/matrix-to:latest
no-cache: true
+29 -6
View File
@@ -80,31 +80,54 @@
} }
.ClientView .actions a.badge { .ClientView .actions a.badge {
height: auto !important; /* Erlaubt dem Bild, zu skalieren */ height: auto !important;
max-width: 100%; /* Verhindert das Rausragen */ max-width: 100%;
display: block; display: block;
} }
.ClientView .actions img { .ClientView .actions img {
max-width: 160px; /* Begrenzt die Breite der Store-Buttons (Google Play / F-Droid) */ max-width: 160px;
height: auto; height: auto;
display: block; display: block;
margin: 5px auto; margin: 5px auto;
} }
/* --- ANPASSUNG FÜR DEN DEZENTEN LOOK --- */
.ClientView .actions .footer {
display: block !important; /* Kein Flex mehr, damit Links wie Text fließen */
text-align: center !important;
margin-top: 20px !important;
width: 100%;
line-height: 1.8 !important; /* Gibt den Zeilen etwas Platz */
color: var(--sub-text);
}
/* Der "Use Custom Web Instance" Bereich bekommt eine eigene Zeile */
.ClientView .actions .footer .custom {
display: block !important;
margin-top: 6px !important;
}
/* Sicherstellen, dass der "Change" Button im Textfluss bleibt */
.ClientView .actions .footer button.change {
display: inline !important;
margin: 0 4px !important;
}
@media screen and (max-width: 480px) { @media screen and (max-width: 480px) {
.ClientView { .ClientView {
padding: 15px; /* Weniger Padding mobil */ padding: 15px;
margin: 8px 0; margin: 8px 0;
} }
.ClientView .header { .ClientView .header {
flex-direction: column; /* Stapelt Icon und Text mobil untereinander */ flex-direction: column;
align-items: center; align-items: center;
text-align: center; text-align: center;
} }
.ClientView .clientIcon { .ClientView .clientIcon {
margin: 0 0 15px 0; /* Icon zentrieren */ margin: 0 0 15px 0;
} }
} }
+76 -65
View File
@@ -15,13 +15,13 @@ Modified 2026 for Zeitfresser Matrix Community Look & Mobile Fixes
} }
:root { :root {
--app-background: #1e1f29; /* Tief-Anthrazit der Webseite */ --app-background: #1e1f29; /* Tief-Anthrazit */
--background: #282a36; /* Hintergrund der Card */ --background: #282a36; /* Card Hintergrund */
--foreground: #f7f7fa; /* Reines Highlight-Weiß */ --foreground: #f7f7fa; /* Weiß */
--font: #bdc3c7; /* Fließtext-Grau */ --font: #bdc3c7; /* Grau */
--grey: #64748b; /* Dunkles Grau für Identifier */ --grey: #64748b; /* Dunkles Grau */
--accent: #0dbd8b; /* Matrix-Green */ --accent: #0dbd8b; /* Matrix-Green */
--ztfr-purple: #bd93f9; /* Das Zeitfresser-Lila Akzent */ --ztfr-purple: #bd93f9; /* Zeitfresser-Lila */
--error: #ff5555; --error: #ff5555;
--link: #f7f7fa; --link: #f7f7fa;
--borders: #2f313d; --borders: #2f313d;
@@ -89,7 +89,7 @@ button, input[type=submit] {
width: 100%; width: 100%;
} }
/* Buttons: Eckig & Kontrastreich */ /* --- GROSSE BUTTONS (z.B. Download, Continue) --- */
.primary, .secondary { .primary, .secondary {
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
@@ -99,8 +99,12 @@ button, input[type=submit] {
display: block; display: block;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 1px; letter-spacing: 1px;
transition: all 0.2s ease;
width: 100%; 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 { .primary {
@@ -125,7 +129,43 @@ button, input[type=submit] {
background: rgba(255,255,255,0.05); background: rgba(255,255,255,0.05);
} }
/* Fix für Button-Container (entfernt versteckte Gaps) */ /* --- 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, .actions,
.ClientView .actions, .ClientView .actions,
.ClientListView .actions, .ClientListView .actions,
@@ -135,12 +175,11 @@ button, input[type=submit] {
gap: 0px !important; gap: 0px !important;
} }
/* Entfernt den Abstand beim letzten Button in einer Gruppe für saubere Optik */
.actions > *:last-child { .actions > *:last-child {
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
/* Input Felder: Dunkel statt Weiß */ /* Input Felder */
input[type='text'].large { input[type='text'].large {
width: 100%; width: 100%;
padding: 14px; padding: 14px;
@@ -164,60 +203,32 @@ input[type='text'].large {
width: 100%; width: 100%;
} }
.footer ul { .footer ul { list-style: none; padding: 0; margin: 0; }
list-style: none; .footer li { display: inline; margin: 0; }
padding: 0;
margin: 0;
}
.footer li {
display: inline;
margin: 0;
}
.footer a {
color: inherit;
text-decoration: none;
border-bottom: 1px solid rgba(189, 195, 199, 0.3);
transition: all 0.3s ease;
}
.footer a:hover {
color: var(--foreground) !important;
border-bottom-color: var(--ztfr-purple) !important;
}
.footer button,
.footer input[type="submit"],
.ClientListView button.change,
.PreviewView button.change {
background: none !important;
border: none !important;
color: var(--grey) !important;
padding: 0 !important;
font-family: inherit !important;
font-size: inherit !important;
cursor: pointer !important;
border-bottom: 1px solid rgba(189, 195, 199, 0.3) !important;
}
.footer button:hover {
color: var(--foreground) !important;
border-bottom-color: var(--ztfr-purple) !important;
}
/* SPEZIELLE MOBILE ANPASSUNGEN */
@media screen and (max-width: 480px) { @media screen and (max-width: 480px) {
body { body { padding: 40px 10px 0 10px; }
padding: 40px 10px 0 10px; .card { padding: 1.5rem; border-radius: 2px; }
} h1 { font-size: 1.5rem; }
}
.card {
padding: 1.5rem; /* --- FIX FÜR NUTZERPROFILE (null-Werte verstecken) --- */
border-radius: 2px;
} .PreviewView .members[data-count="null"],
.PreviewView .members:empty {
h1 { display: none !important;
font-size: 1.5rem; }
}
.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;
} }