ws4kp-linhanced/server/styles/scss/_radar.scss

213 lines
3.3 KiB
SCSS
Raw Permalink Normal View History

2022-08-05 15:40:53 -05:00
@use 'shared/_colors'as c;
@use 'shared/_utils'as u;
#radar-html.weather-display {
background-image: var(--theme-background-4);
2022-08-05 15:40:53 -05:00
.header {
2022-09-05 10:52:30 -05:00
height: 83px;
2022-08-05 15:40:53 -05:00
.title.dual {
color: white;
font-family: 'Arial', sans-serif;
font-weight: bold;
font-size: 28pt;
2022-09-05 10:52:30 -05:00
left: 155px;
.top {
top: -4px;
}
2022-08-05 15:40:53 -05:00
.bottom {
2022-09-05 10:52:30 -05:00
top: 31px;
}
}
.right {
position: absolute;
right: 0px;
width: 360px;
margin-top: 2px;
font-family: 'Star4000';
font-size: 18pt;
font-weight: bold;
@include u.text-shadow();
text-align: center;
.scale-table {
display: flex;
justify-content: center;
2026-04-07 18:20:45 -04:00
gap: 4px;
.item {
display: flex;
flex-direction: column;
align-items: center;
width: 25px;
gap: 2px;
}
2022-09-05 10:52:30 -05:00
.box {
display: block;
border: 2.7px solid #000;
width: 90%;
height: 12px;
margin-top: 4px;
padding: 0;
2022-09-05 10:52:30 -05:00
}
.box-1 {
background-color: rgb(73, 190, 246);
2022-09-05 10:52:30 -05:00
}
.box-2 {
background-color: rgb(49, 210, 22);
2022-09-05 10:52:30 -05:00
}
.box-3 {
background-color: rgb(241, 228, 88);
2022-09-05 10:52:30 -05:00
}
.box-4 {
background-color: rgb(224, 142, 47);
2022-09-05 10:52:30 -05:00
}
.box-5 {
background-color: rgb(196, 42, 42);
2022-09-05 10:52:30 -05:00
}
.box-6 {
background-color: rgb(145, 59, 184);
2022-09-05 10:52:30 -05:00
}
.label {
font-family: 'Star4000 Small';
font-size: 10pt;
line-height: 1;
white-space: nowrap;
2022-09-05 10:52:30 -05:00
}
}
.scale {
margin-top: -2px;
2022-09-05 10:52:30 -05:00
}
.time {
position: relative;
font-weight: normal;
top: -20px;
2022-09-05 10:52:30 -05:00
font-family: 'Star4000 Small';
font-size: 18pt;
left: 132px;
2022-08-05 15:40:53 -05:00
}
}
}
}
2022-08-05 16:23:22 -05:00
.weather-display .main.radar {
overflow: hidden;
2022-09-05 10:52:30 -05:00
height: 367px;
2022-08-05 16:23:22 -05:00
.container {
position: relative;
height: 100%;
2022-08-05 16:23:22 -05:00
.scroll-area {
position: relative;
height: 100%;
}
.frame {
height: 100%;
}
.map {
height: 100%;
width: 100%;
}
.leaflet-map {
height: 100%;
width: 100%;
background: #061f3e;
}
.leaflet-container {
background: #061f3e;
font-family: inherit;
}
2026-04-07 16:12:43 -04:00
.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);
2026-04-07 16:12:43 -04:00
}
.leaflet-control-container,
.leaflet-control-attribution,
.leaflet-control-zoom {
display: none;
}
.location-marker {
background: #ff0;
border: 2px solid #000;
border-radius: 50%;
2022-08-05 16:23:22 -05:00
}
2026-04-07 18:08:38 -04:00
.nearby-weather-marker {
display: none;
2026-04-07 18:08:38 -04:00
background: transparent;
border: 0;
.nearby-weather-marker-inner {
2026-04-11 12:35:42 -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:35:42 -04:00
background: rgb(18 34 61 / 0%);
2026-04-07 18:08:38 -04:00
color: #fff;
text-align: center;
opacity: 0.35;
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;
text-shadow: 1px 1px 0 #000;
2026-04-11 12:35:42 -04:00
display: none;
2026-04-07 18:08:38 -04:00
}
.details {
display: flex;
align-items: center;
gap: 2px;
}
.temp {
font-family: 'Star4000';
font-size: 18pt;
line-height: 1;
color: #ff0;
text-shadow: 1px 1px 0 #000;
}
img {
width: auto;
height: 20px;
}
}
2022-08-05 16:23:22 -05:00
}
}
.wide.radar #container {
2025-05-14 14:50:02 -05:00
background: url(../images/backgrounds/4-wide.png);
}