diff --git a/patch_templates.py b/patch_templates.py index 549a888..1e6181d 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.1" +ASSET_VERSION = "1.8.2" control_files = [ '/pretix/src/pretix/control/templates/pretixcontrol/base.html', diff --git a/pretix_whitelabel/__init__.py b/pretix_whitelabel/__init__.py index 920de42..42b8558 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.1" + version = "1.8.2" category = "CUSTOMIZATION" diff --git a/pretix_whitelabel/signals.py b/pretix_whitelabel/signals.py index cbce7ac..017b60b 100644 --- a/pretix_whitelabel/signals.py +++ b/pretix_whitelabel/signals.py @@ -1,5 +1,5 @@ """ -Pretix signal receivers for pretix-falkenthal-theme (v1.8.1). +Pretix signal receivers for pretix-falkenthal-theme (v1.8.2). 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 ad63c49..8d0c9e7 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.1) + FALKENTHAL ADMIN BACKEND & LOGIN THEME (control.css - v1.8.2) ========================================================================== */ :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.1') !important; + background-image: url('/static/whitelabel/logo.svg?v=1.8.2') !important; background-repeat: no-repeat !important; background-position: 14px center !important; background-size: auto 34px !important; @@ -168,7 +168,7 @@ a.navbar-brand { } .sidebar .context-selector .context-name, -.sidebar .context-selector span:not(.fa-stack):not(.caret) { +.sidebar .context-selector .context-indicator span:not(.fa-stack):not(.caret) { color: #f8fafc !important; font-weight: 600 !important; display: block !important; @@ -188,12 +188,17 @@ a.navbar-brand { white-space: nowrap !important; } -/* Kleines Dreieck (Caret) rechts sauber ausrichten */ +/* Kleines Dreieck (Caret) rechts sauber als echtes Dreieck ausrichten (verhindert "admin@falkenthal.me-" Strich) */ .sidebar .context-selector .caret { flex-shrink: 0 !important; - color: #94a3b8 !important; - border-top-color: #94a3b8 !important; - margin-left: 4px !important; + display: inline-block !important; + width: 0 !important; + height: 0 !important; + vertical-align: middle !important; + border-top: 4px dashed #94a3b8 !important; + border-right: 4px solid transparent !important; + border-left: 4px solid transparent !important; + margin-left: 6px !important; } /* Aufklappendes Dropdown-Menü der Nutzerauswahl */ @@ -457,7 +462,7 @@ fieldset legend { border-bottom: 2px solid var(--fk-indigo) !important; } -/* --- DASHBOARD-KACHELN (Doppelte graue Außenkästen komplett entfernen & gleiche Kachelhöhen) --- */ +/* --- DASHBOARD-KACHELN & VERANSTALTUNGS-ÜBERSICHT (Saubere Cards ohne Box-in-Box-Fehler) --- */ /* 1. Äußeren .widget-container restlos neutralisieren (behebt die grauen Ecken/Artefakte links!) */ .dashboard, @@ -486,7 +491,7 @@ fieldset legend { content: none !important; } -/* 2. Innere .widget-Box als einzige saubere weiße Card definieren (mit einheitlicher Höhe) */ +/* 2. Innere .widget-Box als einzige saubere weiße Card definieren (mit 100% Breite für Kinder!) */ .dashboard .widget-container .widget, .event-dashboard .widget-container .widget, .widget-container > .widget { @@ -501,8 +506,9 @@ fieldset legend { display: flex !important; flex-direction: column !important; justify-content: center !important; - align-items: center !important; + align-items: stretch !important; text-align: center !important; + overflow: hidden !important; transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease !important; text-decoration: none !important; } @@ -559,36 +565,98 @@ fieldset legend { display: block !important; } -/* Event-Kacheln auf der globalen Start-Übersicht */ -.dashboard .event { +/* 5. Veranstaltungs-Kacheln auf der globalen Start-Übersicht ("Ihre nächsten Veranstaltungen"): + Volle Breite ausfüllen, kein doppelter innerer Kasten, Statusleiste bündig unten! */ +.dashboard .widget-container .widget:has(.event), +.dashboard .widget-container .widget.event { + padding: 0 !important; + justify-content: space-between !important; +} + +.dashboard .widget .event { + background: transparent !important; + border: none !important; + border-radius: 0 !important; + box-shadow: none !important; + margin: 0 !important; + padding: 0 !important; + width: 100% !important; + height: 100% !important; + display: flex !important; + flex-direction: column !important; + justify-content: space-between !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; } .dashboard .event .toprow, -.dashboard .event > a { +.dashboard .event > a:first-child { border: none !important; background: transparent !important; -} - -.dashboard .event:hover { - transform: translateY(-1px) !important; - box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.12) !important; - border-color: #93c5fd !important; + box-shadow: none !important; + width: 100% !important; + padding: 18px 16px 14px 16px !important; + margin: 0 !important; + flex: 1 1 auto !important; + display: flex !important; + flex-direction: column !important; + justify-content: center !important; + align-items: center !important; + text-align: center !important; + text-decoration: none !important; } .dashboard .event .name { color: var(--fk-text-main) !important; + font-weight: 700 !important; + font-size: 16px !important; + margin-bottom: 4px !important; + display: block !important; +} + +.dashboard .event .bottomrow { + width: 100% !important; + margin: 0 !important; + display: flex !important; + align-items: stretch !important; + border-top: 1px solid var(--fk-border) !important; +} + +.dashboard .event .bottomrow > a, +.dashboard .event .bottomrow > div, +.dashboard .event .bottomrow > span { + flex: 1 1 0% !important; + display: flex !important; + align-items: center !important; + justify-content: center !important; + text-align: center !important; + padding: 8px 10px !important; + font-size: 12.5px !important; font-weight: 600 !important; + border-radius: 0 !important; + margin: 0 !important; } .dashboard .event .bottomrow .orders, .dashboard .event .bottomrow > div:first-child, -.dashboard .event .bottomrow > span:first-child { +.dashboard .event .bottomrow > span:first-child, +.dashboard .event .bottomrow > a:first-child { background-color: #1e293b !important; color: #f8fafc !important; } @@ -764,7 +832,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.1') !important; + content: url('/static/whitelabel/login-logo.svg?v=1.8.2') !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 c1743f8..c12aec1 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.1) + FALKENTHAL MODERN SHOP UI/UX UPGRADE (presale.css - v1.8.2) Farb-, Geometrie- & Kontrastneutral: Respektiert 100 % der Veranstalter-Farben, Logos, Bootstrap-Input-Groups sowie helle UND dunkle Veranstalter-Hintergründe! ========================================================================== */ @@ -10,67 +10,48 @@ body { line-height: 1.6; } -/* 1. MODERNE CARDS & PANELS IM TICKETSHOP */ +/* 1. MODERNE CARDS & PANELS IM TICKETSHOP (Native Pretix-Rahmenfarben bleiben erhalten!) */ .panel { - border-radius: 10px; - border: 1px solid rgba(128, 128, 128, 0.16); - border-color: color-mix(in srgb, currentColor 12%, transparent); - box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.05); + border-radius: 8px; + box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.04); overflow: hidden; - transition: box-shadow 0.2s ease; } .panel-heading { - padding: 14px 18px; + padding: 13px 18px; font-weight: 600; - letter-spacing: -0.01em; } -/* 2. PRODUKT- & TICKETZEILEN (SAUBERE LINIEN & RUHIGER HOVER FÜR LIGHT & DARK THEMES) */ -.product-row, -.variation-row { - transition: background-color 0.15s ease; -} - -.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 & MENGENAUSWAHL (INPUT-GROUP-SICHER OHNE SPRINGEN) */ +/* 2. BUTTONS, EINGABEFELDER & MENGENAUSWAHL (SICHERE RAHMEN & HOVER OHNE TRANSPARENZ) */ .btn { border-radius: 6px; font-weight: 600; - transition: box-shadow 0.18s ease, background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease; + transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; } -/* 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); +/* Sekundäre Buttons & Mengenauswahl-Buttons ([-][+]) behalten beim Hover IMMER einen klaren Rahmen! */ +.btn-default { + border: 1px solid #ccc; } -/* Standalone-Eingabefelder (außerhalb von .input-group) dezent abrunden, - aber Pretix/Bootstrap-Höhen für perfekte Ausrichtung mit + / - Buttons bewahren */ +.btn-default:hover, +.btn-default:focus, +.btn-default:active { + border-color: #adadad !important; + background-color: rgba(128, 128, 128, 0.08); +} + +/* Standalone-Eingabefelder (außerhalb von .input-group) dezent abrunden */ .form-control:not(.input-group .form-control) { border-radius: 6px; } .form-control { - 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.16); - box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 15%, transparent); - outline: none; + transition: border-color 0.15s ease, box-shadow 0.15s ease; } /* Mengenauswahl ([-][ 0 ][+]) und andere Bootstrap .input-group Elemente - exakt bündig auf einer Linie halten */ + exakt bündig auf einer Linie und mit durchgehend sichtbaren Rahmen halten */ .input-group .form-control { border-radius: 0; } @@ -95,25 +76,23 @@ body { border-bottom-left-radius: 0; } -/* 4. KALENDER & EVENT-KACHELN IN REIHEN */ +/* 3. KALENDER & EVENT-KACHELN IN REIHEN */ .event-calendar td.has-events { border-radius: 6px; } .subevent-list .subevent-row { border-radius: 8px; - transition: background-color 0.15s ease, box-shadow 0.18s ease; } -/* 5. WARENKORB & HINWEISBOXEN (INKL. TESTMODUS-BANNER MIT LINKEM ICON-BALKEN) */ +/* 4. WARENKORB & HINWEISBOXEN (INKL. TESTMODUS-BANNER MIT LINKEM ICON-BALKEN) */ .cart-row { padding: 12px 8px; } .alert { - border-radius: 8px; + border-radius: 6px; overflow: hidden; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } /* ========================================================================== diff --git a/setup.py b/setup.py index ad7af55..e06b4b4 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.1", + version="1.8.2", description="Modern Slate & Blue-Violet White-Label Theme Plugin for pretix", long_description=long_description, long_description_content_type="text/markdown",