Add DWD precipitation color legend in top-right corner

This commit is contained in:
Clawd
2026-02-11 15:07:53 +00:00
parent 319ae80d8e
commit de4e9c4a27
2 changed files with 40 additions and 0 deletions

View File

@@ -156,6 +156,24 @@
right: 0;
}
/* Radar precipitation legend */
.radar-legend {
position: absolute;
top: 8px;
right: 8px;
background: rgba(0, 0, 0, 0.6);
border-radius: 4px;
padding: 4px;
z-index: 1000;
}
.radar-legend img {
display: block;
max-height: 120px;
width: auto;
opacity: 0.9;
}
/* Legend (optional, can be enabled) */
.mmm-combinedmap-legend {
position: absolute;