116 lines
2.7 KiB
CSS
116 lines
2.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;
|
|
}
|
|
|
|
/* Inverted basemap for dark mode - enhanced for label visibility */
|
|
.mmm-combinedmap-wrapper .inverted-tiles {
|
|
filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(1.1);
|
|
}
|
|
|
|
/* Smooth radar tile edges */
|
|
.mmm-combinedmap-wrapper .leaflet-layer img {
|
|
image-rendering: auto;
|
|
}
|
|
|
|
/* Radar smoothing applied in individual color scheme rules above */
|
|
|
|
/* Vibrant radar colors - enhance visibility + smooth edges */
|
|
.mmm-combinedmap-wrapper .radar-vibrant {
|
|
filter: saturate(1.5) brightness(1.2) blur(0.5px);
|
|
image-rendering: smooth;
|
|
}
|
|
|
|
/* Bright radar for maximum visibility */
|
|
.mmm-combinedmap-wrapper .radar-bright {
|
|
filter: saturate(2) brightness(1.4) contrast(1.1) blur(0.5px);
|
|
image-rendering: smooth;
|
|
}
|
|
|
|
/* Default radar smoothing (no color boost) */
|
|
.mmm-combinedmap-wrapper .leaflet-tile-pane .leaflet-layer:not(:first-child) img {
|
|
image-rendering: smooth;
|
|
}
|
|
|
|
/* 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);
|
|
}
|
|
|
|
/* Forecast indicator - subtle arrow */
|
|
.radar-timestamp.forecast::before {
|
|
content: "▶ ";
|
|
font-size: 8px;
|
|
opacity: 0.8;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* 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; }
|