mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-21 11:09:30 -07:00
Format and populate personal weather data
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
@use 'shared/_colors' as c;
|
||||
@use 'shared/_utils' as u;
|
||||
@use 'shared/_colors'as c;
|
||||
@use 'shared/_utils'as u;
|
||||
|
||||
// also shared with personal weather
|
||||
.weather-display .main.current-weather,
|
||||
.weather-display .main.personal-weather {
|
||||
.weather-display .main.current-weather {
|
||||
&.main {
|
||||
|
||||
.col {
|
||||
@@ -94,4 +93,4 @@
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
57
server/styles/scss/_personal-weather.scss
Normal file
57
server/styles/scss/_personal-weather.scss
Normal file
@@ -0,0 +1,57 @@
|
||||
@use 'shared/_colors'as c;
|
||||
@use 'shared/_utils'as u;
|
||||
|
||||
// also shared with personal weather
|
||||
.weather-display .main.personal-weather {
|
||||
&.main {
|
||||
|
||||
@include u.text-shadow();
|
||||
|
||||
font-family: "Star4000 Large";
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
line-height: 24px;
|
||||
top: 20px;
|
||||
|
||||
.row {
|
||||
margin-bottom: 12px;
|
||||
|
||||
.label,
|
||||
.value {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.label {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.value {
|
||||
float: right;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.temp {
|
||||
font-family: 'Star4000 Large';
|
||||
font-size: 24pt;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
.deviceName,
|
||||
.deviceLocation {
|
||||
color: c.$title-color;
|
||||
max-height: 32px;
|
||||
margin-bottom: 10px;
|
||||
padding-top: 4px;
|
||||
overflow: hidden;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
@use 'page';
|
||||
@use 'weather-display';
|
||||
@use 'current-weather';
|
||||
@use 'personal-weather';
|
||||
@use 'extended-forecast';
|
||||
@use 'hourly';
|
||||
@use 'hourly-graph';
|
||||
|
||||
Reference in New Issue
Block a user