From 4f99593d34841a6b0f0d0c2e59bc9074e9c6ab31 Mon Sep 17 00:00:00 2001 From: AliceDarkest Date: Sun, 12 Jul 2026 22:12:45 +0200 Subject: [PATCH] FluxTimer-Icon als Uhr mit Blitz gestalten --- CHANGELOG.md | 2 +- src/main/resources/static/css/fluxtimer.css | 2 +- src/main/resources/static/js/theme.js | 2 +- src/main/resources/templates/dashboard.html | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2eeeb3..c0fd3ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -95,7 +95,7 @@ Docker/CI-Härtung und erste Tests. Countdown und Overlay laufen über Navigationen weiter; ein eigener Topbar-Button öffnet den Schnellzugriff und die Einstellungen enthalten die vollständige Konfiguration. - **Dashboard-Topbar aufgeräumt:** generische Winkehand und dekorative Pulsline entfernt. - FluxTimer besitzt statt der Glocke jetzt ein eigenes digitales „88"-Zeitschaltkreis-Icon; + FluxTimer besitzt statt der Glocke jetzt ein eigenes Uhr-mit-Blitz-Icon im Zeitreise-Look; die Glocke bleibt frei für spätere echte Benachrichtigungen. - Datenschutzerklärung um lokale Speicherung und Browser-Benachrichtigung ergänzt. diff --git a/src/main/resources/static/css/fluxtimer.css b/src/main/resources/static/css/fluxtimer.css index 3bf015a..75f74dc 100644 --- a/src/main/resources/static/css/fluxtimer.css +++ b/src/main/resources/static/css/fluxtimer.css @@ -1,7 +1,7 @@ /* FluxTimer – Zeitschaltkreis-Optik, rein clientseitig. */ .ft-trigger { position:relative; color:var(--fluxtimer-secondary); } .ft-trigger-icon { width:22px!important; height:22px!important; fill:none; stroke:currentColor; stroke-width:1.35; } -.ft-trigger-icon text { fill:currentColor; stroke:none; font:800 8.5px/1 "Courier New",monospace; letter-spacing:-.5px; } +.ft-trigger-bolt { fill:color-mix(in srgb,currentColor 24%,transparent); stroke-width:1.5; stroke-linejoin:round; } .ft-trigger-dot { position:absolute; right:4px; top:4px; width:6px; height:6px; border-radius:50%; background:var(--muted); border:1px solid var(--surface); opacity:.5; } .ft-trigger.ft-active { color:var(--fluxtimer-primary); border-color:color-mix(in srgb,var(--fluxtimer-primary) 65%,var(--border)); box-shadow:0 0 14px color-mix(in srgb,var(--fluxtimer-primary) 35%,transparent); } .ft-trigger.ft-active .ft-trigger-dot { background:var(--fluxtimer-primary); box-shadow:0 0 8px var(--fluxtimer-primary); opacity:1; } diff --git a/src/main/resources/static/js/theme.js b/src/main/resources/static/js/theme.js index 113b297..5717777 100644 --- a/src/main/resources/static/js/theme.js +++ b/src/main/resources/static/js/theme.js @@ -13,7 +13,7 @@ if (!document.querySelector('link[data-fluxtimer]')) { var timerCss = document.createElement('link'); timerCss.rel = 'stylesheet'; - timerCss.href = '/css/fluxtimer.css?v=2'; + timerCss.href = '/css/fluxtimer.css?v=3'; timerCss.setAttribute('data-fluxtimer', ''); document.head.appendChild(timerCss); } diff --git a/src/main/resources/templates/dashboard.html b/src/main/resources/templates/dashboard.html index 8251263..38e965c 100644 --- a/src/main/resources/templates/dashboard.html +++ b/src/main/resources/templates/dashboard.html @@ -47,9 +47,9 @@