From 458f661c433a3ee8a728cc788c764849a71fa281 Mon Sep 17 00:00:00 2001 From: tino Date: Sun, 8 Nov 2026 17:07:01 +0100 Subject: [PATCH] Update auf Version 1.8.3 --- patch_templates.py | 2 +- pretix_whitelabel/__init__.py | 2 +- pretix_whitelabel/signals.py | 2 +- .../static/whitelabel/control.css | 98 +++++++++++++------ .../static/whitelabel/presale.css | 2 +- setup.py | 2 +- 6 files changed, 72 insertions(+), 36 deletions(-) diff --git a/patch_templates.py b/patch_templates.py index 1e6181d..32c998d 100644 --- a/patch_templates.py +++ b/patch_templates.py @@ -5,7 +5,7 @@ import sys THEME_REPO_URL = "https://git.falkenthal.me/falkenthal/pretix-falkenthal-theme" PLATFORM_IMPRINT_URL = "https://tickets.falkenthal.me/impressum" PLATFORM_PRIVACY_URL = "https://tickets.falkenthal.me/datenschutz" -ASSET_VERSION = "1.8.2" +ASSET_VERSION = "1.8.3" control_files = [ '/pretix/src/pretix/control/templates/pretixcontrol/base.html', diff --git a/pretix_whitelabel/__init__.py b/pretix_whitelabel/__init__.py index 42b8558..ac01530 100644 --- a/pretix_whitelabel/__init__.py +++ b/pretix_whitelabel/__init__.py @@ -13,7 +13,7 @@ class WhiteLabelApp(AppConfig): "Custom Slate & Blue-Violet theme plugin for pretix control and presale UI." ) visible = False - version = "1.8.2" + version = "1.8.3" category = "CUSTOMIZATION" diff --git a/pretix_whitelabel/signals.py b/pretix_whitelabel/signals.py index 017b60b..0f05113 100644 --- a/pretix_whitelabel/signals.py +++ b/pretix_whitelabel/signals.py @@ -1,5 +1,5 @@ """ -Pretix signal receivers for pretix-falkenthal-theme (v1.8.2). +Pretix signal receivers for pretix-falkenthal-theme (v1.8.3). Hinweis zur Architektur: Die Plattform-Pflichtangaben (Plattform-Impressum, Plattform-Datenschutz sowie diff --git a/pretix_whitelabel/static/whitelabel/control.css b/pretix_whitelabel/static/whitelabel/control.css index 8d0c9e7..cb1f7b9 100644 --- a/pretix_whitelabel/static/whitelabel/control.css +++ b/pretix_whitelabel/static/whitelabel/control.css @@ -1,5 +1,5 @@ /* ========================================================================== - FALKENTHAL ADMIN BACKEND & LOGIN THEME (control.css - v1.8.2) + FALKENTHAL ADMIN BACKEND & LOGIN THEME (control.css - v1.8.3) ========================================================================== */ :root { @@ -63,7 +63,7 @@ nav.navbar-inverse { a.navbar-brand { font-size: 0 !important; color: transparent !important; - background-image: url('/static/whitelabel/logo.svg?v=1.8.2') !important; + background-image: url('/static/whitelabel/logo.svg?v=1.8.3') !important; background-repeat: no-repeat !important; background-position: 14px center !important; background-size: auto 34px !important; @@ -189,16 +189,20 @@ a.navbar-brand { } /* Kleines Dreieck (Caret) rechts sauber als echtes Dreieck ausrichten (verhindert "admin@falkenthal.me-" Strich) */ +.sidebar .context-selector span.caret, .sidebar .context-selector .caret { flex-shrink: 0 !important; display: inline-block !important; width: 0 !important; height: 0 !important; + overflow: visible !important; vertical-align: middle !important; - border-top: 4px dashed #94a3b8 !important; + border-top: 5px solid #94a3b8 !important; border-right: 4px solid transparent !important; border-left: 4px solid transparent !important; + border-bottom: 0 !important; margin-left: 6px !important; + background: transparent !important; } /* Aufklappendes Dropdown-Menü der Nutzerauswahl */ @@ -566,11 +570,19 @@ fieldset legend { } /* 5. Veranstaltungs-Kacheln auf der globalen Start-Übersicht ("Ihre nächsten Veranstaltungen"): - Volle Breite ausfüllen, kein doppelter innerer Kasten, Statusleiste bündig unten! */ + Kompakte Typografie in der oberen Hälfte, Statusleiste bündig unten & identische Kachelhöhe! */ +.dashboard .widget-container .widget:has(.bottomrow), .dashboard .widget-container .widget:has(.event), -.dashboard .widget-container .widget.event { +.dashboard .widget-container .widget.event, +.dashboard > .event, +.dashboard .widget-container > .event { padding: 0 !important; - justify-content: space-between !important; + display: flex !important; + flex-direction: column !important; + justify-content: flex-start !important; + align-items: stretch !important; + text-align: center !important; + overflow: hidden !important; } .dashboard .widget .event { @@ -584,60 +596,78 @@ fieldset legend { height: 100% !important; display: flex !important; flex-direction: column !important; - justify-content: space-between !important; + justify-content: flex-start !important; flex: 1 1 auto !important; } -/* Falls .event direkt ohne .widget im .dashboard liegt */ -.dashboard > .event, -.dashboard .widget-container > .event { - background-color: var(--fk-card-bg) !important; - border: 1px solid var(--fk-border) !important; - border-radius: 10px !important; - box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important; - padding: 0 !important; - min-height: 122px !important; - height: calc(100% - 15px) !important; - display: flex !important; - flex-direction: column !important; - justify-content: space-between !important; - overflow: hidden !important; - transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important; -} - +/* Oberer Textbereich der Event-Kachel (Name, Datum, Uhrzeit kompakt zusammenhalten statt auseinanderzureißen) */ .dashboard .event .toprow, -.dashboard .event > a:first-child { +.dashboard .widget:has(.bottomrow) > a:first-child { border: none !important; background: transparent !important; box-shadow: none !important; width: 100% !important; - padding: 18px 16px 14px 16px !important; + padding: 20px 18px 14px 18px !important; margin: 0 !important; flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; + gap: 4px !important; text-align: center !important; text-decoration: none !important; } +/* Falls Name, Datum und Uhrzeit direkte Kinder von a.widget oder .event sind (ohne .toprow Wrapper) */ +.dashboard .widget .name, .dashboard .event .name { color: var(--fk-text-main) !important; font-weight: 700 !important; - font-size: 16px !important; - margin-bottom: 4px !important; + font-size: 16.5px !important; + line-height: 1.3 !important; + margin: 18px 16px 4px 16px !important; display: block !important; } +.dashboard .event .toprow .name { + margin: 0 0 4px 0 !important; +} + +.dashboard .widget .daterange, +.dashboard .event .daterange { + color: var(--fk-text-secondary) !important; + font-weight: 500 !important; + font-size: 14px !important; + line-height: 1.35 !important; + margin: 0 16px 2px 16px !important; + display: block !important; +} + +.dashboard .widget .times, +.dashboard .event .times { + color: var(--fk-text-muted) !important; + font-weight: 400 !important; + font-size: 13px !important; + line-height: 1.3 !important; + margin: 0 16px 14px 16px !important; + display: block !important; +} + +/* Untere Statusleiste ("0 Bestellungen" | "Shop deaktiviert") immer mit margin-top: auto an den unteren Rand drücken */ +.dashboard .widget .bottomrow, .dashboard .event .bottomrow { width: 100% !important; - margin: 0 !important; + margin: auto 0 0 0 !important; display: flex !important; align-items: stretch !important; border-top: 1px solid var(--fk-border) !important; + min-height: 38px !important; } +.dashboard .widget .bottomrow > a, +.dashboard .widget .bottomrow > div, +.dashboard .widget .bottomrow > span, .dashboard .event .bottomrow > a, .dashboard .event .bottomrow > div, .dashboard .event .bottomrow > span { @@ -646,13 +676,19 @@ fieldset legend { align-items: center !important; justify-content: center !important; text-align: center !important; - padding: 8px 10px !important; + padding: 8px 12px !important; font-size: 12.5px !important; font-weight: 600 !important; border-radius: 0 !important; margin: 0 !important; + text-decoration: none !important; } +/* Linkes Feld ("0 Bestellungen") in edlem Slate-Dunkelblau statt grellem Royalblau */ +.dashboard .widget .bottomrow .orders, +.dashboard .widget .bottomrow > div:first-child, +.dashboard .widget .bottomrow > span:first-child, +.dashboard .widget .bottomrow > a:first-child, .dashboard .event .bottomrow .orders, .dashboard .event .bottomrow > div:first-child, .dashboard .event .bottomrow > span:first-child, @@ -832,7 +868,7 @@ body:not(:has(#wrapper)):has(img.logo) > .container [class*="col-"] { body.falkenthal-auth-body .container img.logo, body:not(:has(#wrapper)):has(img.logo) .container img.logo, .form-signin img.logo { - content: url('/static/whitelabel/login-logo.svg?v=1.8.2') !important; + content: url('/static/whitelabel/login-logo.svg?v=1.8.3') !important; height: 115px !important; max-height: 115px !important; width: auto !important; diff --git a/pretix_whitelabel/static/whitelabel/presale.css b/pretix_whitelabel/static/whitelabel/presale.css index c12aec1..638e02b 100644 --- a/pretix_whitelabel/static/whitelabel/presale.css +++ b/pretix_whitelabel/static/whitelabel/presale.css @@ -1,5 +1,5 @@ /* ========================================================================== - FALKENTHAL MODERN SHOP UI/UX UPGRADE (presale.css - v1.8.2) + FALKENTHAL MODERN SHOP UI/UX UPGRADE (presale.css - v1.8.3) Farb-, Geometrie- & Kontrastneutral: Respektiert 100 % der Veranstalter-Farben, Logos, Bootstrap-Input-Groups sowie helle UND dunkle Veranstalter-Hintergründe! ========================================================================== */ diff --git a/setup.py b/setup.py index e06b4b4..cf2b277 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open("README.md", encoding="utf-8") as f: setup( name="pretix-falkenthal-theme", - version="1.8.2", + version="1.8.3", description="Modern Slate & Blue-Violet White-Label Theme Plugin for pretix", long_description=long_description, long_description_content_type="text/markdown",