From 248a46f829bb0e6d6409954b6bc3195502071916 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 25 Aug 2026 19:50:57 +0200 Subject: [PATCH] Tourismus-Icons: Reduzierte-Animation als Funkeln (durchgestrichen wenn aktiv), Tal-Log-Glocke, Tal-Meldungsmodus Sprechblase/ABC - Komponente: generisches Zwei-Zustands-Icon (.ic-state-on/.ic-state-off via .active) -> reduzierte Animation zeigt durchgestrichenes Funkeln. - Region: Schildkroete -> Funkeln (mit Aus-Zustand). - Tal: btnLog -> Glocken-SVG; _syncInfoModeBtn -> Sprechblase (Audio) / ABC (Lese-Modus) statt Emoji (Buch war fuers Glossar vergeben). Co-Authored-By: Claude Opus 4.8 --- App/assets/css/ggs-header.css | 5 +++++ App/sims/tourismusregion/game.html | 2 +- App/sims/tourismustal/game.html | 2 +- App/sims/tourismustal/js/ui.js | 5 ++++- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/App/assets/css/ggs-header.css b/App/assets/css/ggs-header.css index 782ac33..484b964 100644 --- a/App/assets/css/ggs-header.css +++ b/App/assets/css/ggs-header.css @@ -182,6 +182,11 @@ width: 20px; height: 20px; } +/* Zwei-Zustands-Icon: .ic-state-on normal, .ic-state-off wenn Button .active. + (z. B. Animationen an โ†’ reduziert = durchgestrichen) */ +.ggs-header--float button .ic-state-off { display: none; } +.ggs-header--float button.active .ic-state-on { display: none; } +.ggs-header--float button.active .ic-state-off { display: inline-block; } /* --- Tempo-Zustandsbutton (zeigt IMMER den aktuellen Speed) --- */ .ggs-header--float .ggs-tempo { position: relative; display: inline-flex; } diff --git a/App/sims/tourismusregion/game.html b/App/sims/tourismusregion/game.html index 7f1cd68..ca36cc6 100644 --- a/App/sims/tourismusregion/game.html +++ b/App/sims/tourismusregion/game.html @@ -31,7 +31,7 @@ - + diff --git a/App/sims/tourismustal/game.html b/App/sims/tourismustal/game.html index 24af744..b25c221 100644 --- a/App/sims/tourismustal/game.html +++ b/App/sims/tourismustal/game.html @@ -27,7 +27,7 @@ - + diff --git a/App/sims/tourismustal/js/ui.js b/App/sims/tourismustal/js/ui.js index ed78345..4fd726d 100644 --- a/App/sims/tourismustal/js/ui.js +++ b/App/sims/tourismustal/js/ui.js @@ -232,7 +232,10 @@ export class UI { _syncInfoModeBtn(btn) { if (!btn) return; - btn.textContent = this.infoMode === 'audio' ? '๐Ÿ”Š' : '๐Ÿ“–'; + // Audio-Modus = Sprechblase (vorgelesen) ยท Lese-Modus = โ€žABC" (Text) + const speech = ''; + const abc = 'ABC'; + btn.innerHTML = this.infoMode === 'audio' ? speech : abc; btn.title = this.infoMode === 'audio' ? 'Audio-Modus: Meldungen werden vorgelesen (umschalten auf Lese-Modus)' : 'Lese-Modus: Meldungen pausieren das Spiel (umschalten auf Audio-Modus)';