add hazards
This commit is contained in:
parent
806ef91000
commit
111f077e20
23 changed files with 221 additions and 24 deletions
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';
|
||||
Loading…
Add table
Add a link
Reference in a new issue