style: enforced darkest color, smaller attribution, legend update
Some checks failed
Deploy Internet for Kids / Build & Push (push) Successful in 14s
Deploy Internet for Kids / Deploy (push) Successful in 6s
Deploy Internet for Kids / Health Check (push) Successful in 1s
Deploy Internet for Kids / Smoke Tests (push) Successful in 3s
Deploy Internet for Kids / Promote to Latest (push) Has been cancelled
Deploy Internet for Kids / Rollback (push) Has been cancelled
Deploy Internet for Kids / Audit (push) Has been cancelled
Deploy Internet for Kids / IndexNow Ping (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-04-04 18:04:17 +03:00
parent ccca7ae482
commit f4e45cf83f
2 changed files with 7 additions and 5 deletions

View File

@@ -7,6 +7,8 @@
<style>
body { margin: 0; overflow: hidden; }
#map { width: 100%; height: 100vh; }
.maplibregl-ctrl-attrib { font-size: 9px !important; opacity: 0.6; }
.maplibregl-ctrl-attrib-button { display: none !important; }
.maplibregl-popup-content { font-size: 0.85rem; max-width: 260px; line-height: 1.4; }
.ifk-popup-status { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px; font-weight: 600; font-size: 0.8rem; color: white; margin: 0.3rem 0; }
.ifk-popup-age { display: flex; align-items: center; gap: 0.35rem; margin: 0.3rem 0; font-size: 0.8rem; color: #555; }
@@ -24,8 +26,8 @@ body { margin: 0; overflow: hidden; }
var LANG = 'en';
try { var m = parent.location.pathname.match(/^\/(de|fr|en)\//); if (m) LANG = m[1]; } catch(e) {}
// Pre-blended with base map — fully opaque to prevent tile seam artifacts from transparency
var STATUS_COLORS = { enforced: '#9cabf1', passed: '#a68ac3', progress: '#c5cefd', guidelines: '#ebefff' };
// Enforced = darkest, Guidelines = lightest
var STATUS_COLORS = { enforced: '#4a5ec7', passed: '#764ba2', progress: '#8b9cf0', guidelines: '#c5cefd' };
var STATUS_LABELS = {
en: { enforced: 'Enforced', passed: 'Passed', progress: 'In Progress', guidelines: 'Guidelines' },
de: { enforced: 'In Kraft', passed: 'Verabschiedet', progress: 'In Bearbeitung', guidelines: 'Richtlinien' },