-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
119 lines (104 loc) · 2.46 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
body { margin: 0; padding: 0; }
#map { position: absolute; top: 0; bottom: 0; width: 100%; }
.map-overlay.bottom-left {
font:
12px/20px 'Helvetica Neue',
Arial,
Helvetica,
sans-serif;
position: absolute;
width: 20%;
bottom: 3%;
left: 2%;
padding: 10px;
}
.map-overlay.top-right {
font:
12px/20px 'Helvetica Neue',
Arial,
Helvetica,
sans-serif;
position: absolute;
width: 20%;
top: 3%;
right: 2%;
padding: 10px;
}
.map-overlay .map-overlay-inner {
background-color: #ffffff93;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
text-align: center;
}
.map-overlay h2 {
line-height: 24px;
display: block;
margin: 10px 10px 10px;
}
.map-overlay.legend {
font:
12px/20px 'Helvetica Neue',
Arial,
Helvetica,
sans-serif;
position: absolute;
width: 10%;
top: 8%;
right: 5%;
padding: 10px;
}
.map-overlay-transparent {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center
}
.map-overlay .map-overlay-transparent .legend {
display: grid;
grid-template-columns: auto auto;
gap: 10px;
text-align: center;
}
.color-box {
width: 40px;
height: 40px;
margin: 20px;
margin-left: 10px;
margin-right: 10px;
border-radius: 10px;
background-size: auto;
}
.color-circle {
width: 40px;
height: 40px;
margin: 20px;
margin-left: 10px;
margin-right: 10px;
border-radius: 50%;
}
.color-group {
margin: 0px;
}
.map-overlay input {
background-color: transparent;
display: inline-block;
width: 100%;
position: relative;
margin: 0;
cursor: ew-resize;
}
.mapboxgl-popup {
width: 20%;
}
.mapboxgl-popup .mapboxgl-popup-content {
background-color: #333;
color: #fff;
padding: 5px;
text-align: center;
border-radius: 10px;
}
.mapboxgl-popup .mapboxgl-popup-tip {
border-top-color: #333;
}