From 6135dd26487f95150707282eecbba9ef62fbc97f Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 25 Aug 2026 16:23:12 +0200 Subject: [PATCH] Busfahrt: Vollbreite-Header (Logo/Haus links, Rest rechts), Karten nach unten, eigenes Kartennamen-Icon - Header wieder Vollbreite: Pille+Home links, Steuerung rechts. - Auftrags-Card (.bf-order) + Info-Card (.bf-info) top 8 -> 64 (unter den rechten Buttons, keine Ueberlappung). - Beschriftung-ein/aus (black-map-toggle): eigenes Tag-SVG statt Emoji (an = Tag, aus = Tag durchgestrichen), auch in applyTileVariant. Co-Authored-By: Claude Opus 4.8 --- App/sims/busfahrt/game.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/App/sims/busfahrt/game.html b/App/sims/busfahrt/game.html index 24d980d..e8467d1 100644 --- a/App/sims/busfahrt/game.html +++ b/App/sims/busfahrt/game.html @@ -37,10 +37,9 @@ /* ===== Topbar ===== */ .ggs-topbar { - position: absolute; top: 8px; left: 8px; z-index: 1001; + position: absolute; top: 8px; left: 8px; right: 8px; z-index: 1001; display: flex; gap: 8px; align-items: center; font-size: 13px; flex-wrap: wrap; - max-width: calc(100vw - 16px); pointer-events: none; /* leere Bereiche zur Karte durchlassen */ } /* Auftrag-Nr im Stats-Panel (links, bei den Graphen) */ @@ -116,7 +115,7 @@ /* ===== Auftrags-Card (oben rechts) ===== */ .bf-order { - position: absolute; top: 8px; right: 8px; z-index: 1000; + position: absolute; top: 64px; right: 8px; z-index: 1000; background: #fff; border-radius: 12px; box-shadow: var(--bf-shadow); padding: 12px 14px; @@ -347,7 +346,7 @@ /* ===== InfoCard mit Marge-Erklärung ===== */ .bf-info { - position: absolute; top: 8px; right: 8px; z-index: 1000; + position: absolute; top: 64px; right: 8px; z-index: 1000; background: #fff; border-radius: 12px; box-shadow: 0 4px 18px rgba(0,0,0,0.22); padding: 14px 14px 12px; @@ -614,6 +613,7 @@

Busfahrt

🌙 Nachtfahrt +
🏠
@@ -625,7 +625,7 @@
- +
@@ -896,7 +896,9 @@ function applyTileVariant() { }).addTo(map); const btn = document.getElementById('black-map-toggle'); if (btn) { - btn.textContent = useBlank ? '🚫🏷️' : '🏷️'; + const tag = ''; + const slash = useBlank ? '' : ''; + btn.innerHTML = '' + tag + slash + ''; btn.classList.toggle('active', useBlank); btn.title = useBlank ? 'Beschriftung wieder einblenden' : 'Beschriftung ausblenden'; }