-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
executable file
·322 lines (267 loc) · 4.68 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
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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
body {
position: relative;
}
.container {
width: 100%;
position: relative;
}
.container .panel-module {
/*width: 50%;*/
/*float: left;*/
/*min-width: 850px;*/
}
/************************ Map start ************************/
.map-panel {
position: relative;
height: 1100px;
}
.map-container {
margin-top: 2%;
margin-left: -5%;
}
.map-container h1 {
margin-left: 12%;
}
.control-panel-module {
/*float: left;*/
/*width: 400px;*/
}
.map-section8 {
margin-top: 2%;
/*margin-left: -11%;*/
}
.map-section8 h1, .map-section8 h3, .map-section8 h4 {
color: #000;
}
.map-checkbox {
margin-top: 5%;
}
.map-section8-text {
font-size: 1rem;
color: #000;
}
.map-section8-desp {
color: #000;
margin-top: -4%;
}
.map-selection-years {
/*width: 500px;*/
margin-top: 5%;
text-align: left;
margin-left: 5%;
color: #000;
}
.map-selection-years h4 {
margin-left: 5px;
}
.map-selection-years-panel {
float: left;
margin-right: 10px;
margin-left: 5px;
}
.map-selection-years label::before, .selection-years label::after {
color: #000;
}
.map-sort-by-value {
margin-bottom: 5%;
}
.map-sort-by-obj {
width: 600px;
margin-top: 2%;
color: #000;
margin-left: 5%;
}
.map-sort-by-obj-text p {
margin-top: 2%;
font-size: 1.5rem;
float: left;
}
.map-bubble {
fill-opacity: .5;
stroke: #000;
stroke-width: .5px;
}
#legend-details-id {
width: 900px;
}
.legend-details li{
display: inline;
}
.legend-details li img{
height: 200px;
}
#map-details-id {
/*margin-left: 2%;*/
}
.map-details {
/*margin-left: 5%;*/
margin-top: 2%;
}
.map-details ul {
margin-left: -6%;
list-style-type: none;
display: flex;
justify-content: space-around;
}
.map-details h4 {
color: #000;
display: inline-block;
margin-top: 0;
}
#map-details-ct, #map-details-ng, #map-details-inc, #map-details-white, #map-details-section8 {
margin-left: 5%;
}
.my-legend {
text-align: center;
}
.my-legend .legend-title {
margin-bottom: 8px;
font-weight: bold;
font-size: 150%;
}
.my-legend .legend-title-little {
margin-bottom: 8px;
font-weight: bold;
font-size: 90%;
}
.my-legend .legend-scale ul {
margin: 0;
padding: 0;
float: left;
list-style: none;
text-align: center;
}
.my-legend .legend-scale ul li {
display: block;
float: left;
width: 50px;
margin-bottom: 6px;
font-size: 60%;
list-style: none;
text-align: center;
}
#sliderContainer {
text-align: center;
position: relative;
top: 800px;
}
.bubble {
fill-opacity: .5;
stroke: #000;
stroke-width: .5px;
}
#pureMap {
margin-left: 15%;
position: absolute;
display: block;
}
#electionMap {
margin-left: 15%;
position: absolute;
display: none;
}
#incomeMap {
margin-left: 15%;
position: absolute;
display: none;
}
#raceMap {
margin-left: 15%;
position: absolute;
display: none;
}
/************************ Map End ************************/
/************************ Map Control Panel Start ************************/
.map-control-panel {
padding-left: 5%;
width: 100%;
background-color: #dddddd;
}
/************************ Map Control Panel End ************************/
/************************ Sort map part start ************************/
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.bar {
fill: steelblue;
}
.x.axis path {
display: none;
}
.control-panel {
float: left;
margin-left: 25px;
width: 100%;
}
.phil-average {
float: right;
}
.chart-panel {
/*width: 1000px;*/
position: relative;
}
.chart-panel svg {
min-width: 800px;
/*width: 800px;*/
height: auto;
}
.chart-panel h2 {
margin-top: 5%;
}
.chart-2012 {
position: relative;
display: block;
margin: 0 auto;
top: 0;
left: 0;
}
.chart-2016 {
position: relative;
display: none;
margin: 0 auto;
top: 0;
left: 0;
}
div.tooltip {
position: absolute;
text-align: center;
width: 120px;
height: 50px;
padding-top: 10px;
font: 12px sans-serif;
background: #000;
opacity: 0.7;
border: 0px;
border-radius: 8px;
pointer-events: none;
color: #000;
}
.sort-by-obj {
width: 800px;
margin-top: 2%;
color: #000;
margin-left: 5%;
}
.sort-by-obj-text p {
margin-top: 2%;
font-size: 1.5rem;
float: left;
}
.sort-by-value {
width: 14% !important;
margin: 0 auto !important;
}
/************************ Sort map part end ************************/
.selected {
fill: red;
}
/************************ Team part end ************************/
section#team {
background-color: #5b5454;
}
section #team-heading h2.section-heading, section #team-heading h3.section-subheading {
color: #ffffff;
}