-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
234 lines (215 loc) · 4.41 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
.legend {
background-color: #fff;
border-radius: 3px;
/*bottom: 30px;*/
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
padding: 10px;
/*position: absolute;
right: 10px;*/
z-index: 1;
}
.legend h4 {
margin: 0 0 10px;
}
.mapboxgl-ctrl-attrib.mapboxgl-compact, .maplibregl-ctrl-attrib.maplibregl-compact{
max-width: 70vw;
}
.legend div span {
border-radius: 50%;
display: inline-block;
height: 10px;
margin-right: 5px;
width: 10px;
}
.add-button > button{
width: 30px;
height: 30px;
line-height: 30px;
font-size: 18px;
text-align: center;
text-decoration: none;
color: green;
}
.add-control {
padding: 5px;
background-color: #ebebeb;
}
.share-control {
width: 30px;
padding: 3px;
padding-top: 6px;
background-color: rgb(56, 42, 191);
text-align: center;
}
.share-control > i{
cursor: pointer;
margin-left: auto;
margin-right: auto;
}
.share-control> span > a:hover {
background-color: rgba(56, 42, 191, 0.75);
}
.share-control > button{
line-height: 12px;
text-align: center;
text-decoration: none;
}
.share-control > span {
padding-top: 10px;
margin-top: 10px;
cursor: default;
}
.share-control > span > a {
margin-left: auto;
margin-right: auto;
margin-top: 10px;
cursor: pointer;
}
.share-control > span > a > img {
width: 20px;
height: 20px;
cursor: pointer;
}
.share-control > span > i {
margin-left: auto;
margin-right: auto;
cursor: pointer;
}
.share-control > span > i > img {
width: 20px;
height: 20px;
cursor: pointer;
}
.form-span{
margin: 3px;
line-height: 1em;
}
.maplibregl-popup-content > h2{
margin-top: 5px;
}
.maplibregl-popup-content {
background-color: #ebebeb;
}
.open-edit-button{
border: 0;
/*background-color: #fff;*/
cursor: pointer;
}
.open-edit-button:hover{
background-color: #E1E1E1;
}
i {
color: #666;
}
.open-edit-button:hover i{
color: #800;
}
.imgPreview{
position: relative;
width: 95%;
height: 0px;
max-height: 100px;
margin-top: 10px;
margin-bottom: 10px;
}
.imgPreview img {
object-fit: contain;
/*background-color: #ccc;*/
background-size: contain;
background-position: center;
background-repeat: no-repeat;
width: 95%;
height: inherit;
float: left;
position: absolute;
top: 0;
left: 0;
}
.form-span:last-of-type{
margin-top: 10px;
margin-left: auto;
margin-right: auto;
display: block;
}
.logo-image {
width: 95%;
/*background-color: #eee;*/
margin-left: auto;
margin-right: auto;
display: block;
}
form{
background-color: #ebebeb;
max-height: 80vh;
overflow-x: auto;
width: 22vw;
overflow-y: scroll;
scrollbar-color: aliceblue lightgray;
scrollbar-width: thin;
}
.form-span input{
width: 90%;
}
.toggle-filter-button {
padding: 6px;
background: white;
}
.toggle-filter-button img{
display: block;
margin:auto;
height: 18px;
width: 18px;
}
.filter-control {
padding: 10px;
background: white;
}
/* add CSS styles for the input elements */
.filter-control input {
display: block;
margin: 5px 0;
}
/* add CSS styles for the category select element */
.filter-control select {
height: auto;
overflow: auto;
scrollbar-width: none;
}
/* add CSS styles to hide the scrollbar for the category select element */
.filter-control select::-webkit-scrollbar {
display: none;
}
/* add CSS styles for the clear button */
.filter-control button:last-of-type {
margin-top: 10px;
width: auto;
padding-left: 10px;
padding-right: 10px;
border-radius: 15px !important;
display: block;
margin-left: auto;
margin-right: auto;
background-color: #D3D3D3;
color: black;
border: 2px solid #808080;
}
/* add CSS styles for the clear button hover effect */
.filter-control button:last-of-type:hover {
border-radius: 15px;
background-color: #A9A9A9;
border-color: #696969;
cursor: pointer;
}
@media screen and (max-width: 420px) {
form{
max-height: 70vh;
overflow-x: auto;
width: 80vw;
overflow-y: scroll;
scrollbar-width: thin;
}
.form-span input[type="text"]{
width: 90%;
}
}