mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-18 17:49:31 -07:00
add hazards
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
27
server/styles/scss/_hazards.scss
Normal file
27
server/styles/scss/_hazards.scss
Normal file
@@ -0,0 +1,27 @@
|
||||
@use 'shared/_colors'as c;
|
||||
@use 'shared/_utils'as u;
|
||||
|
||||
.weather-display .main.hazards {
|
||||
&.main {
|
||||
overflow-y: hidden;
|
||||
|
||||
.hazard-lines {
|
||||
min-height: 400px;
|
||||
padding-top: 10px;
|
||||
|
||||
background-color: rgb(112, 35, 35);
|
||||
|
||||
.hazard {
|
||||
font-family: 'Star4000';
|
||||
font-size: 24pt;
|
||||
color: white;
|
||||
@include u.text-shadow(0px);
|
||||
position: relative;
|
||||
text-transform: uppercase;
|
||||
margin-top: 110px;
|
||||
margin-left: 80px;
|
||||
margin-right: 80px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -326,6 +326,14 @@ button {
|
||||
display: block;
|
||||
max-width: 300px;
|
||||
|
||||
.alert {
|
||||
display: none;
|
||||
|
||||
&.show {
|
||||
display: inline;
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -96,6 +96,10 @@
|
||||
width: 640px;
|
||||
height: 310px;
|
||||
overflow: hidden;
|
||||
|
||||
&.no-header {
|
||||
height: 400px;
|
||||
}
|
||||
}
|
||||
|
||||
&.has-box {
|
||||
|
||||
@@ -10,4 +10,5 @@
|
||||
@import 'progress';
|
||||
@import 'radar';
|
||||
@import 'regional-forecast';
|
||||
@import 'almanac';
|
||||
@import 'almanac';
|
||||
@import 'hazards';
|
||||
Reference in New Issue
Block a user