-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
264 lines (220 loc) · 4.54 KB
/
style.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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
body {
height: 100%;
margin: 0;
font: 14px sans-serif;
}
#credits {
font: 12px sans-serif;
padding-bottom: 1%;
}
.instructions {
color: red;
}
.optional {
color: darkgreen;
}
.maplegend{
margin-left: 70%;
}
/* Style tab links */
.tablink {
background-color: #555;
color: white;
float: left;
margin: 0.5px;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
font-size: 17px;
width: 33%;
}
.tablink:hover {
background-color: #777;
}
/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
color: black;
display: none;
padding: 100px 20px;
height: 100%;
}
.filter{
background-color: #fff;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.24);
padding: 20px;
transition: box-shadow 0.3s ease-in-out;
}
.linechartlegend{
font-weight: bold;
}
#chart1{
background-color: #fff;
padding-top: 1rem;
padding-bottom: 1rem;
border-radius: 4px;
width: 95%;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.24);
transition: box-shadow 0.3s ease-in-out;
}
#chart4{
background-color: #fff;
padding-top: 1rem;
padding-bottom: 1rem;
border-radius: 4px;
width: 95%;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.24);
transition: box-shadow 0.3s ease-in-out;
}
#chart2, #chart3{
background-color: #fff;
border-radius: 4px;
padding: 1rem;
height: 350px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.24);
transition: box-shadow 0.3s ease-in-out;
}
.data-table {
width: 80%;
border-collapse: collapse;
border: 2px black solid;
}
.bar {
fill: orange;
}
/* styles.css */
body {
font-family: Arial, sans-serif;
}
.control-panel {
display: flex;
align-items: center;
margin: 20px;
}
#play-button {
background-color: white;
border: 1px solid #ccc;
border-radius: 5px;
padding: 5px;
cursor: pointer;
}
#year-slider {
margin: 0 15px;
flex: 1;
}
#yearFilter{
width: 100px;
/* appearance: none; */
background-color: transparent;
border: none;
font-size: 16px;
border-radius: 4px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1)
}
#current-year {
font-size: 16px;
width: 50px;
text-align: center;
}
#map-container {
width: 100%;
height: 500px;
}
.bar:hover {
fill: steelblue;
}
.axis-label {
font-size: 12px;
}
.data-table th, .data-table td {
border: 1px solid black;
padding: 5px;
}
.data-table tr:nth-child(even) {
background-color: #f2f2f2;
}
.data-table th {
border: 2px solid black;
padding: 5px;
background-color: lightgray;
font-weight: bold;
text-transform: uppercase;
}
.selected {
background-color: #418bab;
}
svg {
font: 10px sans-serif;
}
.container {
display: table-cell;
vertical-align: top;
height: 100%;
padding: 10px;
border: 0px solid black;
}
.dashboardGrid {
display: grid;
grid-template-columns: auto auto;
grid-gap: 10px;
}
.axis line,
.axis path {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.axis text {
fill: black;
}
fieldset {
border-width: 0;
}
.legend-item span {
margin-right: 10px;
vertical-align: middle;
}
.legend-item .close {
display: inline-block;
padding: 1px 5px;
margin-left: 4px;
border: 1px solid black;
color: #000;
background: #fff;
font-weight: bold;
cursor: pointer;
user-select: none;
}
#legend {
border: 1px solid black;
padding: 10px;
}
.close:hover {
background: #ddd;
cursor: pointer;
}
/* the style for the circle in the legend */
.color-circle {
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
}
/* the style for dots in the scatterplot */
.dot {
cursor: pointer;
}
/* tooltip for the scatterplot */
div.tooltip {
position: absolute;
text-align: left;
padding: .2rem;
margin: 1rem;
background: #313639;
color: #f9f9f9;
border: 0px;
border-radius: 8px;
pointer-events: none;
font-size: .7rem;
}