ws4kp/server/styles/scss/_hourly.scss

95 lines
1.4 KiB
SCSS
Raw Normal View History

2022-07-29 21:12:42 +00:00
@use 'colors'as c;
@use 'utils'as u;
2022-08-04 16:25:17 +00:00
.weather-display .main.hourly {
&.main {
2022-07-29 21:12:42 +00:00
overflow-y: hidden;
.column-headers {
background-color: c.$column-header;
height: 20px;
position: absolute;
width: 100%;
}
.column-headers {
position: sticky;
top: 0px;
z-index: 5;
div {
display: inline-block;
font-family: 'Star4000 Small';
font-size: 24pt;
color: c.$column-header-text;
position: absolute;
top: -14px;
z-index: 5;
@include u.text-shadow();
}
.temp {
2022-08-04 18:02:25 +00:00
left: 345px;
2022-07-29 21:12:42 +00:00
}
.like {
2022-08-04 18:02:25 +00:00
left: 425px;
2022-07-29 21:12:42 +00:00
}
.wind {
2022-08-04 18:02:25 +00:00
left: 535px;
2022-07-29 21:12:42 +00:00
}
}
.hourly-lines {
min-height: 338px;
padding-top: 10px;
background: repeating-linear-gradient(0deg, c.$gradient-main-background-2 0px,
c.$gradient-main-background-1 136px,
c.$gradient-main-background-1 202px,
c.$gradient-main-background-2 338px,
);
.hourly-row {
font-family: 'Star4000 Large';
font-size: 24pt;
height: 72px;
color: c.$title-color;
@include u.text-shadow();
position: relative;
>div {
position: absolute;
white-space: pre;
top: 8px;
}
.hour {
2022-08-04 18:02:25 +00:00
left: 25px;
2022-07-29 21:12:42 +00:00
}
.icon {
2022-08-04 18:02:25 +00:00
left: 255px;
2022-07-29 21:12:42 +00:00
width: 70px;
text-align: center;
top: unset;
}
.temp {
2022-08-04 18:02:25 +00:00
left: 355px;
2022-07-29 21:12:42 +00:00
}
.like {
2022-08-04 18:02:25 +00:00
left: 425px;
2022-07-29 21:12:42 +00:00
}
.wind {
2022-08-04 18:02:25 +00:00
left: 505px;
2022-07-29 21:12:42 +00:00
width: 100px;
text-align: right;
}
}
}
}
}