Add DWD precipitation color legend in top-right corner
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user