ws4kp-linhanced/server/styles/scss/_regional-forecast.scss

89 lines
1.5 KiB
SCSS
Raw Normal View History

2022-08-05 14:03:14 -05:00
@use 'shared/_colors'as c;
@use 'shared/_utils'as u;
2022-08-04 16:30:13 -05:00
#regional-forecast-html.weather-display {
background-image: var(--theme-background-5);
2022-08-04 16:30:13 -05:00
}
.weather-display .main.regional-forecast {
position: relative;
2026-04-07 18:08:38 -04:00
overflow: hidden;
z-index: 0;
2022-08-04 16:30:13 -05:00
.map {
position: absolute;
2026-04-07 18:08:38 -04:00
inset: 0;
2022-08-04 16:30:13 -05:00
}
2026-04-07 18:08:38 -04:00
.leaflet-map {
height: 100%;
width: 100%;
background: #061f3e;
}
2022-08-04 16:30:13 -05:00
2026-04-07 18:08:38 -04:00
.leaflet-container {
background: #061f3e;
font-family: inherit;
}
.radar-base-layer,
.radar-base-layer .leaflet-tile {
filter: grayscale(0.35) brightness(0.58) contrast(1.1) saturate(0.2);
}
.radar-boundary-layer,
.radar-boundary-layer .leaflet-tile {
filter: grayscale(0.8) brightness(0.7) contrast(1.3) saturate(0.1);
}
.leaflet-control-container,
.leaflet-control-attribution,
.leaflet-control-zoom {
display: none;
}
.location-marker {
background: #ff0;
border: 2px solid #000;
border-radius: 50%;
}
.nearby-weather-marker {
background: transparent;
border: 0;
.nearby-weather-marker-inner {
2026-04-11 12:13:39 -04:00
display: inline-flex;
2026-04-07 18:08:38 -04:00
flex-direction: column;
align-items: center;
min-width: 72px;
padding: 2px 4px;
2026-04-11 12:13:39 -04:00
background: rgb(255 255 255 / 0%);
2026-04-07 18:08:38 -04:00
color: #fff;
text-align: center;
2022-08-04 16:30:13 -05:00
}
2026-04-07 18:08:38 -04:00
.city {
2026-04-11 12:13:39 -04:00
display: none;
2026-04-07 18:08:38 -04:00
}
2022-08-04 16:30:13 -05:00
2026-04-07 18:08:38 -04:00
.details {
display: flex;
align-items: center;
gap: 2px;
2022-08-04 16:30:13 -05:00
}
.temp {
2026-04-07 18:08:38 -04:00
font-family: 'Star4000';
font-size: 18pt;
line-height: 1;
2022-08-04 16:30:13 -05:00
color: c.$title-color;
2026-04-07 18:08:38 -04:00
@include u.text-shadow();
2022-08-04 16:30:13 -05:00
}
2026-04-07 18:08:38 -04:00
img {
width: auto;
height: 20px;
2022-08-04 16:30:13 -05:00
}
}
2026-04-07 18:08:38 -04:00
}