84 lines
1.7 KiB
CSS
84 lines
1.7 KiB
CSS
.mmm-combinedmap-wrapper {
|
|
position: relative;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.mmm-combinedmap-wrapper .leaflet-container {
|
|
background: #1a1a1a;
|
|
}
|
|
|
|
/* Hide Leaflet attribution */
|
|
.mmm-combinedmap-wrapper .leaflet-control-attribution {
|
|
display: none;
|
|
}
|
|
|
|
/* Marker styling */
|
|
.mmm-combinedmap-marker {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
}
|
|
|
|
/* Radar timestamp display */
|
|
.radar-timestamp {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
left: 8px;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
color: #fff;
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-family: "Roboto Condensed", sans-serif;
|
|
z-index: 1000;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.radar-timestamp.forecast {
|
|
background: rgba(0, 100, 180, 0.8);
|
|
}
|
|
|
|
.radar-timestamp.forecast::after {
|
|
content: " ⟩";
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Legend (optional, can be enabled) */
|
|
.mmm-combinedmap-legend {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
right: 8px;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
padding: 6px 10px;
|
|
border-radius: 4px;
|
|
font-size: 10px;
|
|
color: #ccc;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.mmm-combinedmap-legend .legend-item {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 2px 0;
|
|
}
|
|
|
|
.mmm-combinedmap-legend .legend-color {
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-right: 6px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* Traffic colors */
|
|
.legend-traffic-free { background: #00b300; }
|
|
.legend-traffic-moderate { background: #ffcc00; }
|
|
.legend-traffic-heavy { background: #ff6600; }
|
|
.legend-traffic-blocked { background: #cc0000; }
|
|
|
|
/* Rain intensity gradient hint */
|
|
.legend-rain-light { background: #a0d0ff; }
|
|
.legend-rain-moderate { background: #4080ff; }
|
|
.legend-rain-heavy { background: #0040cc; }
|
|
.legend-rain-extreme { background: #ff00ff; }
|