From d32e0e6791a5c8a9c0071a771c33a512f0ad1ba1 Mon Sep 17 00:00:00 2001 From: tino Date: Sun, 8 Nov 2026 16:33:40 +0100 Subject: [PATCH] Update auf Version 1.8.1 --- patch_templates.py | 2 +- pretix_whitelabel/__init__.py | 2 +- pretix_whitelabel/signals.py | 2 +- .../static/whitelabel/control.css | 171 +++++++++++++----- .../static/whitelabel/presale.css | 102 ++++++----- setup.py | 2 +- 6 files changed, 189 insertions(+), 92 deletions(-) diff --git a/patch_templates.py b/patch_templates.py index 5badcfc..549a888 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.0" +ASSET_VERSION = "1.8.1" control_files = [ '/pretix/src/pretix/control/templates/pretixcontrol/base.html', diff --git a/pretix_whitelabel/__init__.py b/pretix_whitelabel/__init__.py index 61d834a..920de42 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.0" + version = "1.8.1" category = "CUSTOMIZATION" diff --git a/pretix_whitelabel/signals.py b/pretix_whitelabel/signals.py index 14ec718..cbce7ac 100644 --- a/pretix_whitelabel/signals.py +++ b/pretix_whitelabel/signals.py @@ -1,5 +1,5 @@ """ -Pretix signal receivers for pretix-falkenthal-theme (v1.8.0). +Pretix signal receivers for pretix-falkenthal-theme (v1.8.1). 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 878199f..ad63c49 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.0) + FALKENTHAL ADMIN BACKEND & LOGIN THEME (control.css - v1.8.1) ========================================================================== */ :root { @@ -11,13 +11,14 @@ --fk-text-main: #0f172a; --fk-text-secondary: #334155; --fk-text-muted: #64748b; - --fk-cyan: #00e5ff; + --fk-cyan: #38bdf8; --fk-blue: #2563eb; --fk-indigo: #4f46e5; - --fk-purple: #7c3aed; + --fk-indigo-light: #818cf8; + --fk-purple: #6366f1; --fk-border: #e2e8f0; - --fk-gradient-primary: linear-gradient(135deg, #2563eb 0%, #4f46e5 55%, #7c3aed 100%); - --fk-gradient-hover: linear-gradient(135deg, #1d4ed8 0%, #4338ca 55%, #6d28d9 100%); + --fk-gradient-primary: linear-gradient(135deg, #2563eb 0%, #4f46e5 65%, #6366f1 100%); + --fk-gradient-hover: linear-gradient(135deg, #1d4ed8 0%, #4338ca 65%, #4f46e5 100%); } body { @@ -62,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.0') !important; + background-image: url('/static/whitelabel/logo.svg?v=1.8.1') !important; background-repeat: no-repeat !important; background-position: 14px center !important; background-size: auto 34px !important; @@ -261,7 +262,7 @@ a.navbar-brand { transform: translateY(-1px); } -/* --- C) HAUPTMENÜPUNKTE (Flache Spezifität für garantierte Aktiv-Kontraste) --- */ +/* --- C) HAUPTMENÜPUNKTE (Flache Spezifität & harmonische Indigo-Slate-Farbabstimmung) --- */ #side-menu > li > a { color: #cbd5e1 !important; font-weight: 500 !important; @@ -274,7 +275,7 @@ a.navbar-brand { #side-menu > li > a i.fa, #side-menu > li > a span.fa:not(.arrow) { - color: #60a5fa !important; + color: #94a3b8 !important; width: 20px !important; text-align: center !important; margin-right: 8px !important; @@ -284,13 +285,13 @@ a.navbar-brand { /* Hover auf inaktiven Menüpunkten */ #side-menu > li > a:hover, #side-menu > li > a:focus { - background-color: rgba(255, 255, 255, 0.08) !important; + background-color: rgba(255, 255, 255, 0.07) !important; color: #ffffff !important; } #side-menu > li > a:hover i.fa, #side-menu > li > a:hover span.fa:not(.arrow) { - color: var(--fk-cyan) !important; + color: #818cf8 !important; } /* Geöffneter Eltern-Menüpunkt (z.B. "Einstellungen", wenn Unterpunkt aktiv ist) */ @@ -302,7 +303,7 @@ a.navbar-brand { #side-menu > li.active > a i.fa, #side-menu > li.active > a span.fa:not(.arrow) { - color: var(--fk-cyan) !important; + color: #818cf8 !important; } /* AKTIVER HAUPTMENÜPUNKT (z.B. "Übersicht") -> Garantiert weiße Schrift & weißes Icon! */ @@ -311,7 +312,7 @@ a.navbar-brand { background: var(--fk-gradient-primary) !important; color: #ffffff !important; font-weight: 600 !important; - box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4) !important; + box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35) !important; } #side-menu > li > a.active i.fa, @@ -456,50 +457,94 @@ fieldset legend { border-bottom: 2px solid var(--fk-indigo) !important; } -/* --- DASHBOARD-KACHELN (Doppelte graue Außenkästen entfernen & lesbare Typografie) --- */ +/* --- DASHBOARD-KACHELN (Doppelte graue Außenkästen komplett entfernen & gleiche Kachelhöhen) --- */ -/* 1. Äußere Widget-Box als einzige saubere weiße Card definieren */ +/* 1. Äußeren .widget-container restlos neutralisieren (behebt die grauen Ecken/Artefakte links!) */ +.dashboard, +.event-dashboard { + display: flex; + flex-wrap: wrap; + align-items: stretch; +} + +.dashboard .widget-container, +.event-dashboard .widget-container, +.widget-container { + background: transparent !important; + background-color: transparent !important; + border: none !important; + box-shadow: none !important; +} + +.dashboard .widget-container::before, +.dashboard .widget-container::after, +.event-dashboard .widget-container::before, +.event-dashboard .widget-container::after, +.widget-container::before, +.widget-container::after { + display: none !important; + content: none !important; +} + +/* 2. Innere .widget-Box als einzige saubere weiße Card definieren (mit einheitlicher Höhe) */ .dashboard .widget-container .widget, -.event-dashboard .widget-container .widget { +.event-dashboard .widget-container .widget, +.widget-container > .widget { + background: var(--fk-card-bg) !important; background-color: var(--fk-card-bg) !important; border: 1px solid var(--fk-border) !important; - border-radius: 12px !important; - box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important; + border-radius: 10px !important; + box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important; padding: 20px 16px !important; - transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important; + min-height: 122px !important; + height: calc(100% - 15px) !important; + display: flex !important; + flex-direction: column !important; + justify-content: center !important; + align-items: center !important; + text-align: center !important; + transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease !important; text-decoration: none !important; } .dashboard .widget-container .widget::before, -.dashboard .widget-container .widget::after { +.dashboard .widget-container .widget::after, +.event-dashboard .widget-container .widget::before, +.event-dashboard .widget-container .widget::after { display: none !important; + content: none !important; } +.dashboard .widget-container a.widget:hover, +.event-dashboard .widget-container a.widget:hover, .dashboard .widget-container .widget:hover { - transform: translateY(-2px) !important; - box-shadow: 0 10px 22px -5px rgba(37, 99, 235, 0.12) !important; + transform: translateY(-1px) !important; + box-shadow: 0 8px 18px -4px rgba(37, 99, 235, 0.10) !important; border-color: #93c5fd !important; } -/* 2. Innere .numwidget-Box komplett neutralisieren (verhindert Box-in-Box-Effekt) */ +/* 3. Innere .numwidget-Box komplett neutralisieren (verhindert Box-in-Box-Effekt) */ .dashboard .widget .numwidget, +.event-dashboard .widget .numwidget, .numwidget { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; + width: 100% !important; } -/* 3. Zahlen dunkel & kontraststark, Labels dezent grau statt alles blau */ +/* 4. Zahlen dunkel & kontraststark, Labels dezent grau statt alles blau */ .dashboard .widget .numwidget .num, .numwidget .num { color: var(--fk-text-main) !important; font-weight: 700 !important; - font-size: 32px !important; + font-size: 30px !important; line-height: 1.2 !important; display: block !important; margin-bottom: 6px !important; + transition: color 0.15s ease !important; } .dashboard .widget:hover .numwidget .num { @@ -510,7 +555,7 @@ fieldset legend { .numwidget .text { color: var(--fk-text-muted) !important; font-weight: 500 !important; - font-size: 13.5px !important; + font-size: 13px !important; display: block !important; } @@ -518,8 +563,8 @@ fieldset legend { .dashboard .event { background-color: var(--fk-card-bg) !important; border: 1px solid var(--fk-border) !important; - border-radius: 12px !important; - box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important; + border-radius: 10px !important; + box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important; overflow: hidden !important; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important; } @@ -531,9 +576,9 @@ fieldset legend { } .dashboard .event:hover { - transform: translateY(-2px) !important; - box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.14) !important; - border-color: #60a5fa !important; + transform: translateY(-1px) !important; + box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.12) !important; + border-color: #93c5fd !important; } .dashboard .event .name { @@ -553,8 +598,8 @@ fieldset legend { .jumbotron { background-color: var(--fk-card-bg) !important; border: 1px solid var(--fk-border) !important; - border-radius: 12px !important; - box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important; + border-radius: 10px !important; + box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03) !important; } .panel-default > .panel-heading, @@ -563,19 +608,29 @@ fieldset legend { color: var(--fk-text-main) !important; border-bottom: 1px solid var(--fk-border) !important; font-weight: 600 !important; - padding: 14px 18px !important; - border-top-left-radius: 12px !important; - border-top-right-radius: 12px !important; + padding: 13px 18px !important; + border-top-left-radius: 10px !important; + border-top-right-radius: 10px !important; } -/* --- BUTTONS, UMSCHALTER ("Alle | aktiv") & BADGES --- */ +/* --- BUTTONS, INPUT-GROUPS, UMSCHALTER ("Alle | aktiv") & BADGES --- */ .btn { - border-radius: 8px !important; + border-radius: 7px !important; font-weight: 500 !important; - transition: all 0.18s ease !important; + transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease !important; } -/* Sekundäre Buttons ("Deaktivieren", "Gehe zu") mit sanftem Rahmen statt Schwarz */ +.btn-xs, +.btn-group-xs > .btn { + border-radius: 5px !important; +} + +.btn-sm, +.btn-group-sm > .btn { + border-radius: 6px !important; +} + +/* Sekundäre Buttons ("Deaktivieren", "Gehe zu", Kopieren/QR) mit sanftem Rahmen */ .btn-default { background-color: #ffffff !important; border: 1px solid #cbd5e1 !important; @@ -598,22 +653,21 @@ fieldset legend { background: var(--fk-gradient-primary) !important; border-color: var(--fk-indigo) !important; color: #ffffff !important; - box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25) !important; + box-shadow: 0 2px 6px rgba(79, 70, 229, 0.22) !important; } .btn-primary { background: var(--fk-gradient-primary) !important; - border: none !important; + border: 1px solid transparent !important; color: #ffffff !important; font-weight: 600 !important; - box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25) !important; + box-shadow: 0 2px 6px rgba(79, 70, 229, 0.22) !important; } .btn-primary:hover, .btn-primary:focus { background: var(--fk-gradient-hover) !important; - box-shadow: 0 4px 14px rgba(79, 70, 229, 0.38) !important; - transform: translateY(-1px); + box-shadow: 0 4px 12px rgba(79, 70, 229, 0.32) !important; } /* "aktiv"-Badge in Smaragdgrün */ @@ -627,15 +681,38 @@ fieldset legend { } .form-control { - border-radius: 8px !important; + border-radius: 7px !important; border: 1px solid #cbd5e1 !important; background-color: #ffffff !important; color: var(--fk-text-main) !important; } +/* Input-Groups & Button-Groups im Backend sauber bündig halten */ +.input-group .form-control:not(:first-child):not(:last-child), +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0 !important; +} + +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0 !important; + border-bottom-right-radius: 0 !important; +} + +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-top-left-radius: 0 !important; + border-bottom-left-radius: 0 !important; +} + .form-control:focus { border-color: var(--fk-indigo) !important; - box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important; + box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14) !important; outline: none !important; } @@ -687,7 +764,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.0') !important; + content: url('/static/whitelabel/login-logo.svg?v=1.8.1') !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 26011b9..c1743f8 100644 --- a/pretix_whitelabel/static/whitelabel/presale.css +++ b/pretix_whitelabel/static/whitelabel/presale.css @@ -1,7 +1,7 @@ /* ========================================================================== - FALKENTHAL MODERN SHOP UI/UX UPGRADE (presale.css - v1.8.0) - Farb- & Kontrastneutral: Respektiert 100 % der Veranstalter-Farben, - Logos sowie helle UND dunkle Veranstalter-Hintergründe (Dark Themes)! + FALKENTHAL MODERN SHOP UI/UX UPGRADE (presale.css - v1.8.1) + Farb-, Geometrie- & Kontrastneutral: Respektiert 100 % der Veranstalter-Farben, + Logos, Bootstrap-Input-Groups sowie helle UND dunkle Veranstalter-Hintergründe! ========================================================================== */ body { @@ -12,89 +12,108 @@ body { /* 1. MODERNE CARDS & PANELS IM TICKETSHOP */ .panel { - border-radius: 12px; + border-radius: 10px; border: 1px solid rgba(128, 128, 128, 0.16); border-color: color-mix(in srgb, currentColor 12%, transparent); - box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06); + box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.05); overflow: hidden; transition: box-shadow 0.2s ease; } .panel-heading { - padding: 15px 20px; + padding: 14px 18px; font-weight: 600; letter-spacing: -0.01em; } -/* 2. PRODUKT- & TICKETZEILEN (MICRO-INTERACTIONS FÜR LIGHT & DARK THEMES) */ +/* 2. PRODUKT- & TICKETZEILEN (SAUBERE LINIEN & RUHIGER HOVER FÜR LIGHT & DARK THEMES) */ .product-row, .variation-row { - border-radius: 8px; - padding: 12px 10px; - transition: background-color 0.18s ease; + transition: background-color 0.15s ease; } -.product-row:hover { - background-color: rgba(128, 128, 128, 0.05); - background-color: color-mix(in srgb, currentColor 4%, transparent); +.product-row:hover, +.variation-row:hover { + background-color: rgba(128, 128, 128, 0.045); + background-color: color-mix(in srgb, currentColor 3.5%, transparent); } -/* 3. BUTTONS & EINGABEFELDER (MODERNE GEOMETRIE OHNE FARB-ZWANG) */ +/* 3. BUTTONS, EINGABEFELDER & MENGENAUSWAHL (INPUT-GROUP-SICHER OHNE SPRINGEN) */ .btn { - border-radius: 8px; + border-radius: 6px; font-weight: 600; - padding: 9px 18px; - transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.18s ease; + transition: box-shadow 0.18s ease, background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease; } -.btn:hover, -.btn:focus { - transform: translateY(-1px); - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14); +/* Sanfter Tiefenschatten beim Hover auf alleinstehenden Buttons (kein translateY-Springen!) */ +.btn:not(.input-group .btn):hover, +.btn:not(.input-group .btn):focus { + box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12); } -.btn:active { - transform: translateY(0); +/* Standalone-Eingabefelder (außerhalb von .input-group) dezent abrunden, + aber Pretix/Bootstrap-Höhen für perfekte Ausrichtung mit + / - Buttons bewahren */ +.form-control:not(.input-group .form-control) { + border-radius: 6px; } .form-control { - border-radius: 8px; - height: 40px; - border: 1px solid rgba(128, 128, 128, 0.28); - border-color: color-mix(in srgb, currentColor 22%, transparent); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02); - transition: border-color 0.2s ease, box-shadow 0.2s ease; + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03); + transition: border-color 0.18s ease, box-shadow 0.18s ease; } /* Fokusring übernimmt automatisch die vom Veranstalter gesetzte Rahmen-/Primärfarbe */ .form-control:focus { - box-shadow: 0 0 0 3px rgba(128, 128, 128, 0.18); - box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 16%, transparent); + box-shadow: 0 0 0 3px rgba(128, 128, 128, 0.16); + box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 15%, transparent); outline: none; } +/* Mengenauswahl ([-][ 0 ][+]) und andere Bootstrap .input-group Elemente + exakt bündig auf einer Linie halten */ +.input-group .form-control { + border-radius: 0; +} + +.input-group > .form-control:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group > .btn, +.input-group-addon:first-child { + border-top-left-radius: 6px; + border-bottom-left-radius: 6px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .form-control:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group > .btn, +.input-group-addon:last-child { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + /* 4. KALENDER & EVENT-KACHELN IN REIHEN */ .event-calendar td.has-events { - border-radius: 8px; - transition: transform 0.15s ease; + border-radius: 6px; } .subevent-list .subevent-row { - border-radius: 10px; - padding: 12px 16px; - margin-bottom: 8px; - transition: box-shadow 0.2s ease, transform 0.15s ease; + border-radius: 8px; + transition: background-color 0.15s ease, box-shadow 0.18s ease; } -/* 5. WARENKORB & CHECKOUT-FORTSCHRITT */ +/* 5. WARENKORB & HINWEISBOXEN (INKL. TESTMODUS-BANNER MIT LINKEM ICON-BALKEN) */ .cart-row { padding: 12px 8px; } .alert { - border-radius: 10px; - border: none; - box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); + border-radius: 8px; + overflow: hidden; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } /* ========================================================================== @@ -188,3 +207,4 @@ body.iframe footer { } + diff --git a/setup.py b/setup.py index 97ece03..ad7af55 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.0", + version="1.8.1", description="Modern Slate & Blue-Violet White-Label Theme Plugin for pretix", long_description=long_description, long_description_content_type="text/markdown",