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

96 lines
1.6 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 {
display: flex;
flex-direction: column;
align-items: center;
min-width: 72px;
padding: 2px 4px;
background: rgba(18, 34, 61, 0.88);
border: 1px solid #000;
box-shadow: 1px 1px 0 #000;
color: #fff;
text-align: center;
2022-08-04 16:30:13 -05:00
}
2026-04-07 18:08:38 -04:00
.city {
font-family: 'Star4000 Small';
font-size: 11pt;
line-height: 1;
white-space: nowrap;
margin-bottom: 1px;
@include u.text-shadow();
}
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
}