-
Notifications
You must be signed in to change notification settings - Fork 0
/
mort_map.css
110 lines (107 loc) · 1.61 KB
/
mort_map.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
body {
margin: 25px;
}
path {
stroke: #000;
stroke-width: 0.3px;
}
table {
margin-bottom: 0;
}
td, th {
padding: 6px 9px;
}
td {
text-align: right;
}
h3 {
margin-bottom: 0.1rem;
}
g.features {
stroke: #d8d8d8;
stroke-width: 0.5;
}
g.features path:hover {
opacity: 0.5;
}
.line {
fill: none;
stroke: black;
stroke-width: 1;
}
#legend {
border: 1px solid silver;
border-top: 0;
}
.legend-key path {
display: none;
}
.legend-key text {
font-size: 1rem;
}
.legend-key line {
stroke: #000;
shape-rendering: crispEdges;
}
.chart-legend {
shape-rendering:
}
.tooltip {
font-weight: bold;
font-size: 1.5rem;
padding: 1rem;
border: 2px #C0C0C0;
color: #090909;
background: #fff;
border-radius: 4px;
box-shadow: 0px 0px 3px 0px #a6a6a6;
opacity: 0.9;
position: absolute;
}
.hidden {
display: none;
}
.container {
width: 100%;
}
#details, #initial {
margin-top: 2rem;
}
#data_table {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
font-size: 1.1rem;
}
#choropleth {
font-size: 0; /* to prevent margin at bottom of map container */
border: 1px solid silver;
background: #E6E6E6;
background-color: #a7cdf2;
}
.feature.active {
border: 3px black;
}
.slider:hover {
opacity: 0.9;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 15px;
height: 38px;
background: #4CAF50;
cursor: pointer;
}
.slider {
-webkit-appearance: none;
width: 100%;
height: 20px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
#year_slct {
transform: translateY(0.7rem);
}