-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
205 lines (202 loc) · 3.8 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
body {
font-family: "Verdana", sans-serif;
background: rgb(38,48,66);
margin: 0px;
}
article { /* Main body content, sans footer */
background: rgb(250,247,241);
}
header {
text-align: center;
font-size: 1.2em;
margin: 0px auto 0px auto;
color: rgb(241, 240, 234);
}
header section { /* Pad all header sections */
font-variant: small-caps;
padding: 20px;
}
header section footer { /* Motto text container */
font-size: medium;
color: #ccc;
}
header section:first-child { /* First header section */
background: rgb(38,48,66);
font-size: 1.5em;
padding: 20px;
/*border-top: 5px solid #BE4A52;*/
border-bottom: 5px solid #BE4A52;
}
header section nav { /* Links */
text-align: left;
font-size: smaller;
margin-bottom: -2em;
}
header section nav a { /* A single link */
background: #CCB19A;
color: #333333;
padding: 1ex 4em;
display: inline-block;
min-width: 4em;
font-weight: bold;
text-decoration: none;
}
header section nav a:not(#emergencies) {
display: none;
}
#emergencies {
padding: 1ex 1em;
color: rgb(241, 240, 234);
background: none;
}
#emergencies.active > .open { display: inline }
#emergencies > .open, #emergencies.active > .closed {
display: none;
}
header section nav a.current { /* Current page */
background: #263042;
color: #fff;
}
#chartdiv { /* Map container */
width: 100%;
height: 700px;
margin: auto;
text-align: center;
margin-bottom: 18px;
border-bottom: 1px solid #333;
float: right;
}
#chartshadow { /* Map shadow for notifications */
width: 100%;
margin: auto;
text-align: center;
position: relative;
top: -300px;
background: rgba(100,100,100,0.6);
display: none;
font-size: 1.3em;
}
#chartshadow div {
padding: 2em;
color: #000;
}
#chartshadow.completed {
background: rgba(100,100,100,0.0);
transition: all 2s ease;
}
#chartshadow.completed div {
color: rgba(0,0,0,0.0);
transition: all 2s ease;
}
#alerts {
width: 20%;
height: 700px;
background: rgb(241, 240, 234);
position: relative;
margin-left: -25%;
display: inline-block;
transition: margin 1s;
overflow: scroll;
}
#alerts header {
font-size: larger;
padding-top: 1em;
color: #BE4A52;
padding-bottom: 1ex;
width: 90%;
border-bottom: 1px solid #BE4A52;
}
#alerts.active {
margin-left: 0;
}
#alerts.active + #chartdiv {
width: 80%;
float: right;
}
#alerts #listdiv {
width: 90%;
word-break: break-word;
font-variant: none;
}
#listdiv ul {
list-style-type: none;
padding: 1em;
}
#listdiv .sub-list {
margin: 1em auto 1em;
}
.sub-list li {
margin: 1ex auto;
}
.sub-list {
border-bottom: 1px solid rgba(200,200,200,0.5);
}
#city, #output, #search, h1 { /* Form controls */
margin: auto;
display: block;
}
h1 { text-align: center; font-family: "Georgia", serif }
#city {
padding: 8px;
font-size: 1.2em;
margin-bottom: 18px;
width: 33%;
}
#search {
font-size: 1.1em;
margin-bottom: 18px;
}
#output {
display: none;
font-size: 1.4em;
width: 50%;
text-align: center
}
.message {
display: inline-block;
font-size: 2em;
}
article + footer { /* The main page footer */
text-align: center;
font-size: 1.2em;
margin: 0px auto 20px auto;
color: rgb(241, 240, 234);
background: rgb(38,48,66);
padding: 1em;
}
.esri-popup__header-title {
font-size: 14px;
padding: 12px 15px;
margin: 0 auto 0 0;
display: block;
white-space: pre-wrap;
word-break: break-all;
word-wrap: break-word;
box-sizing: inherit;
color: #323232;
}
.esri-feature__content-element {
padding: 0 7px 24px;
box-sizing: border-box;
color: #323232;
font-size: 14px;
font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
line-height: 1.3em;
background-color: #fff;
}
header aside {
margin-bottom: -2em;
padding: 1ex 1em;
text-align: right;
position: relative;
top: -2em;
float: right
}
header aside input, header aside button {
padding: 1ex 1em;
}
header aside input {
width: 50ex;
}
header aside button {
}