@antv/l7-component 2.22.5 → 2.22.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/css/button.less +8 -1
- package/es/css/control.less +9 -2
- package/es/css/index.css +150 -41
- package/es/css/index.less +13 -13
- package/es/css/l7.less +7 -4
- package/es/css/layerPopup.less +2 -1
- package/es/css/logo.less +4 -1
- package/es/css/mouseLocation.less +1 -1
- package/es/css/popper.less +15 -5
- package/es/css/popup.less +6 -15
- package/es/css/scale.less +4 -1
- package/es/css/select.less +14 -3
- package/es/css/swipe.less +13 -13
- package/es/css/zoom.less +6 -1
- package/es/index.js +150 -28
- package/lib/css/button.less +8 -1
- package/lib/css/control.less +9 -2
- package/lib/css/index.css +150 -41
- package/lib/css/index.less +13 -13
- package/lib/css/l7.less +7 -4
- package/lib/css/layerPopup.less +2 -1
- package/lib/css/logo.less +4 -1
- package/lib/css/mouseLocation.less +1 -1
- package/lib/css/popper.less +15 -5
- package/lib/css/popup.less +6 -15
- package/lib/css/scale.less +4 -1
- package/lib/css/select.less +14 -3
- package/lib/css/swipe.less +13 -13
- package/lib/css/zoom.less +6 -1
- package/lib/index.js +150 -28
- package/package.json +5 -5
package/es/css/index.css
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
height: 100%;
|
|
5
5
|
overflow: hidden;
|
|
6
6
|
}
|
|
7
|
+
|
|
7
8
|
.l7-marker {
|
|
8
9
|
position: absolute !important;
|
|
9
10
|
top: 0;
|
|
@@ -11,13 +12,15 @@
|
|
|
11
12
|
z-index: 5;
|
|
12
13
|
cursor: pointer;
|
|
13
14
|
}
|
|
15
|
+
|
|
14
16
|
.l7-marker-cluster {
|
|
15
17
|
width: 40px;
|
|
16
18
|
height: 40px;
|
|
17
|
-
background-color:
|
|
19
|
+
background-color: rgb(181 226 140 / 60%);
|
|
18
20
|
background-clip: padding-box;
|
|
19
21
|
border-radius: 20px;
|
|
20
22
|
}
|
|
23
|
+
|
|
21
24
|
.l7-marker-cluster div {
|
|
22
25
|
width: 30px;
|
|
23
26
|
height: 30px;
|
|
@@ -29,26 +32,31 @@
|
|
|
29
32
|
Helvetica,
|
|
30
33
|
sans-serif;
|
|
31
34
|
text-align: center;
|
|
32
|
-
background-color:
|
|
35
|
+
background-color: rgb(110 204 57 / 60%);
|
|
33
36
|
border-radius: 15px;
|
|
34
37
|
}
|
|
38
|
+
|
|
35
39
|
.l7-marker-cluster span {
|
|
36
40
|
line-height: 30px;
|
|
37
41
|
}
|
|
42
|
+
|
|
38
43
|
.l7-touch .l7-control-attribution,
|
|
39
44
|
.l7-touch .l7-control-layers,
|
|
40
45
|
.l7-touch .l7-bar {
|
|
41
46
|
box-shadow: none;
|
|
42
47
|
}
|
|
48
|
+
|
|
43
49
|
.l7-touch .l7-control-layers,
|
|
44
50
|
.l7-touch .l7-bar {
|
|
45
51
|
background-clip: padding-box;
|
|
46
|
-
border: 2px solid
|
|
52
|
+
border: 2px solid rgb(0 0 0 / 20%);
|
|
47
53
|
}
|
|
54
|
+
|
|
48
55
|
.mapboxgl-ctrl-logo,
|
|
49
56
|
.amap-logo {
|
|
50
57
|
display: none !important;
|
|
51
58
|
}
|
|
59
|
+
|
|
52
60
|
.l7-select-box {
|
|
53
61
|
border: 3px dashed gray;
|
|
54
62
|
border-radius: 2px;
|
|
@@ -56,6 +64,7 @@
|
|
|
56
64
|
z-index: 999;
|
|
57
65
|
box-sizing: border-box;
|
|
58
66
|
}
|
|
67
|
+
|
|
59
68
|
.l7-control-container {
|
|
60
69
|
font:
|
|
61
70
|
12px/1.5 'Helvetica Neue',
|
|
@@ -63,6 +72,7 @@
|
|
|
63
72
|
Helvetica,
|
|
64
73
|
sans-serif;
|
|
65
74
|
}
|
|
75
|
+
|
|
66
76
|
.l7-control-container .l7-control {
|
|
67
77
|
position: relative;
|
|
68
78
|
z-index: 999;
|
|
@@ -70,13 +80,16 @@
|
|
|
70
80
|
clear: both;
|
|
71
81
|
color: #595959;
|
|
72
82
|
font-size: 12px;
|
|
73
|
-
pointer-events:
|
|
83
|
+
pointer-events: visiblepainted;
|
|
84
|
+
|
|
74
85
|
/* IE 9-10 doesn't have auto */
|
|
75
86
|
pointer-events: auto;
|
|
76
87
|
}
|
|
88
|
+
|
|
77
89
|
.l7-control-container .l7-control.l7-control--hide {
|
|
78
90
|
display: none;
|
|
79
91
|
}
|
|
92
|
+
|
|
80
93
|
.l7-control-container .l7-top {
|
|
81
94
|
top: 0;
|
|
82
95
|
display: flex;
|
|
@@ -84,9 +97,11 @@
|
|
|
84
97
|
z-index: 999;
|
|
85
98
|
pointer-events: none;
|
|
86
99
|
}
|
|
100
|
+
|
|
87
101
|
.l7-control-container .l7-top .l7-control:not(.l7-control--hide) {
|
|
88
102
|
margin-top: 8px;
|
|
89
103
|
}
|
|
104
|
+
|
|
90
105
|
.l7-control-container .l7-right {
|
|
91
106
|
right: 0;
|
|
92
107
|
display: flex;
|
|
@@ -94,9 +109,11 @@
|
|
|
94
109
|
z-index: 999;
|
|
95
110
|
pointer-events: none;
|
|
96
111
|
}
|
|
112
|
+
|
|
97
113
|
.l7-control-container .l7-right .l7-control:not(.l7-control--hide) {
|
|
98
114
|
margin-right: 8px;
|
|
99
115
|
}
|
|
116
|
+
|
|
100
117
|
.l7-control-container .l7-bottom {
|
|
101
118
|
bottom: 0;
|
|
102
119
|
display: flex;
|
|
@@ -104,9 +121,11 @@
|
|
|
104
121
|
z-index: 999;
|
|
105
122
|
pointer-events: none;
|
|
106
123
|
}
|
|
124
|
+
|
|
107
125
|
.l7-control-container .l7-bottom .l7-control:not(.l7-control--hide) {
|
|
108
126
|
margin-bottom: 8px;
|
|
109
127
|
}
|
|
128
|
+
|
|
110
129
|
.l7-control-container .l7-left {
|
|
111
130
|
left: 0;
|
|
112
131
|
display: flex;
|
|
@@ -114,44 +133,56 @@
|
|
|
114
133
|
z-index: 999;
|
|
115
134
|
pointer-events: none;
|
|
116
135
|
}
|
|
136
|
+
|
|
117
137
|
.l7-control-container .l7-left .l7-control:not(.l7-control--hide) {
|
|
118
138
|
margin-left: 8px;
|
|
119
139
|
}
|
|
140
|
+
|
|
120
141
|
.l7-control-container .l7-center {
|
|
121
142
|
position: absolute;
|
|
122
143
|
display: flex;
|
|
123
144
|
justify-content: center;
|
|
124
145
|
}
|
|
146
|
+
|
|
125
147
|
.l7-control-container .l7-center.l7-top,
|
|
126
148
|
.l7-control-container .l7-center.l7-bottom {
|
|
127
149
|
width: 100%;
|
|
128
150
|
}
|
|
151
|
+
|
|
129
152
|
.l7-control-container .l7-center.l7-left,
|
|
130
153
|
.l7-control-container .l7-center.l7-right {
|
|
131
154
|
height: 100%;
|
|
132
155
|
}
|
|
156
|
+
|
|
133
157
|
.l7-control-container .l7-center .l7-control {
|
|
134
158
|
margin-right: 8px;
|
|
135
159
|
margin-bottom: 8px;
|
|
136
160
|
}
|
|
161
|
+
|
|
137
162
|
.l7-control-container .l7-row {
|
|
138
163
|
flex-direction: row;
|
|
139
164
|
}
|
|
165
|
+
|
|
140
166
|
.l7-control-container .l7-row.l7-top {
|
|
141
167
|
align-items: flex-start;
|
|
142
168
|
}
|
|
169
|
+
|
|
143
170
|
.l7-control-container .l7-row.l7-bottom {
|
|
144
171
|
align-items: flex-end;
|
|
145
172
|
}
|
|
173
|
+
|
|
146
174
|
.l7-control-container .l7-column {
|
|
147
175
|
flex-direction: column;
|
|
148
176
|
}
|
|
177
|
+
|
|
149
178
|
.l7-control-container .l7-column.l7-left {
|
|
150
179
|
align-items: flex-start;
|
|
151
180
|
}
|
|
181
|
+
|
|
152
182
|
.l7-control-container .l7-column.l7-right {
|
|
153
183
|
align-items: flex-end;
|
|
154
184
|
}
|
|
185
|
+
|
|
155
186
|
.l7-button-control {
|
|
156
187
|
min-width: 28px;
|
|
157
188
|
height: 28px;
|
|
@@ -165,54 +196,67 @@
|
|
|
165
196
|
justify-content: center;
|
|
166
197
|
align-items: center;
|
|
167
198
|
padding: 0 6px;
|
|
168
|
-
box-shadow: 0 0 20px 0
|
|
199
|
+
box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
|
|
169
200
|
line-height: 16px;
|
|
170
201
|
}
|
|
202
|
+
|
|
171
203
|
.l7-button-control .l7-iconfont {
|
|
172
204
|
fill: #595959;
|
|
173
205
|
color: #595959;
|
|
174
206
|
width: 16px;
|
|
175
207
|
height: 16px;
|
|
176
208
|
}
|
|
209
|
+
|
|
177
210
|
.l7-button-control.l7-button-control--row {
|
|
178
211
|
padding: 0 16px 0 13px;
|
|
179
212
|
}
|
|
213
|
+
|
|
180
214
|
.l7-button-control.l7-button-control--row * + .l7-button-control__text {
|
|
181
215
|
margin-left: 8px;
|
|
182
216
|
}
|
|
217
|
+
|
|
183
218
|
.l7-button-control.l7-button-control--column {
|
|
184
219
|
height: 44px;
|
|
185
220
|
flex-direction: column;
|
|
186
221
|
}
|
|
222
|
+
|
|
187
223
|
.l7-button-control.l7-button-control--column .l7-iconfont {
|
|
188
224
|
margin-top: 3px;
|
|
189
225
|
}
|
|
226
|
+
|
|
190
227
|
.l7-button-control.l7-button-control--column .l7-button-control__text {
|
|
191
228
|
margin-top: 3px;
|
|
192
229
|
font-size: 10px;
|
|
193
230
|
transform: scale(0.83333);
|
|
194
231
|
}
|
|
232
|
+
|
|
195
233
|
.l7-button-control:not(:disabled):hover {
|
|
196
234
|
background-color: #f3f3f3;
|
|
197
235
|
}
|
|
236
|
+
|
|
198
237
|
.l7-button-control:not(:disabled):active {
|
|
199
238
|
background-color: #f3f3f3;
|
|
200
239
|
}
|
|
240
|
+
|
|
201
241
|
.l7-button-control:disabled {
|
|
202
242
|
background-color: #fafafa;
|
|
203
243
|
color: #bdbdbd;
|
|
204
244
|
cursor: not-allowed;
|
|
205
245
|
}
|
|
246
|
+
|
|
206
247
|
.l7-button-control:disabled .l7-iconfont {
|
|
207
248
|
fill: #bdbdbd;
|
|
208
249
|
color: #bdbdbd;
|
|
209
250
|
}
|
|
251
|
+
|
|
210
252
|
.l7-button-control:disabled:hover {
|
|
211
253
|
background-color: #fafafa;
|
|
212
254
|
}
|
|
255
|
+
|
|
213
256
|
.l7-button-control:disabled:active {
|
|
214
257
|
background-color: #fafafa;
|
|
215
258
|
}
|
|
259
|
+
|
|
216
260
|
.l7-popper {
|
|
217
261
|
position: absolute;
|
|
218
262
|
display: flex;
|
|
@@ -221,63 +265,75 @@
|
|
|
221
265
|
z-index: 5;
|
|
222
266
|
color: #595959;
|
|
223
267
|
}
|
|
268
|
+
|
|
224
269
|
.l7-popper.l7-popper-hide {
|
|
225
270
|
display: none;
|
|
226
271
|
}
|
|
272
|
+
|
|
227
273
|
.l7-popper .l7-popper-content {
|
|
228
274
|
min-height: 28px;
|
|
229
275
|
background: #fff;
|
|
230
276
|
border-radius: 2px;
|
|
231
|
-
box-shadow: 0 0 20px 0
|
|
277
|
+
box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
|
|
232
278
|
}
|
|
279
|
+
|
|
233
280
|
.l7-popper .l7-popper-arrow {
|
|
234
281
|
width: 0;
|
|
235
282
|
height: 0;
|
|
236
283
|
border-width: 4px;
|
|
237
284
|
border-style: solid;
|
|
238
|
-
border-
|
|
239
|
-
|
|
240
|
-
border-left-color: transparent;
|
|
241
|
-
border-right-color: transparent;
|
|
242
|
-
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
|
|
285
|
+
border-color: transparent;
|
|
286
|
+
box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
|
|
243
287
|
}
|
|
288
|
+
|
|
244
289
|
.l7-popper.l7-popper-left {
|
|
245
290
|
flex-direction: row;
|
|
246
291
|
}
|
|
292
|
+
|
|
247
293
|
.l7-popper.l7-popper-left .l7-popper-arrow {
|
|
248
294
|
border-left-color: #fff;
|
|
249
295
|
margin: 10px 0;
|
|
250
296
|
}
|
|
297
|
+
|
|
251
298
|
.l7-popper.l7-popper-right {
|
|
252
299
|
flex-direction: row-reverse;
|
|
253
300
|
}
|
|
301
|
+
|
|
254
302
|
.l7-popper.l7-popper-right .l7-popper-arrow {
|
|
255
303
|
border-right-color: #fff;
|
|
256
304
|
margin: 10px 0;
|
|
257
305
|
}
|
|
306
|
+
|
|
258
307
|
.l7-popper.l7-popper-top {
|
|
259
308
|
flex-direction: column;
|
|
260
309
|
}
|
|
310
|
+
|
|
261
311
|
.l7-popper.l7-popper-top .l7-popper-arrow {
|
|
262
312
|
border-top-color: #fff;
|
|
263
313
|
margin: 0 10px;
|
|
264
314
|
}
|
|
315
|
+
|
|
265
316
|
.l7-popper.l7-popper-bottom {
|
|
266
317
|
flex-direction: column-reverse;
|
|
267
318
|
}
|
|
319
|
+
|
|
268
320
|
.l7-popper.l7-popper-bottom .l7-popper-arrow {
|
|
269
321
|
border-bottom-color: #fff;
|
|
270
322
|
margin: 0 10px;
|
|
271
323
|
}
|
|
324
|
+
|
|
272
325
|
.l7-popper.l7-popper-start {
|
|
273
326
|
align-items: flex-start;
|
|
274
327
|
}
|
|
328
|
+
|
|
275
329
|
.l7-popper.l7-popper-end {
|
|
276
330
|
align-items: flex-end;
|
|
277
331
|
}
|
|
332
|
+
|
|
278
333
|
.l7-select-control--normal {
|
|
279
334
|
padding: 4px 0;
|
|
280
335
|
}
|
|
336
|
+
|
|
281
337
|
.l7-select-control--normal .l7-select-control-item {
|
|
282
338
|
display: flex;
|
|
283
339
|
align-items: center;
|
|
@@ -286,16 +342,20 @@
|
|
|
286
342
|
font-size: 12px;
|
|
287
343
|
line-height: 24px;
|
|
288
344
|
}
|
|
345
|
+
|
|
289
346
|
.l7-select-control--normal .l7-select-control-item > * + * {
|
|
290
347
|
margin-left: 6px;
|
|
291
348
|
}
|
|
349
|
+
|
|
292
350
|
.l7-select-control--normal .l7-select-control-item input[type='checkbox'] {
|
|
293
351
|
width: 14px;
|
|
294
352
|
height: 14px;
|
|
295
353
|
}
|
|
354
|
+
|
|
296
355
|
.l7-select-control--normal .l7-select-control-item:hover {
|
|
297
356
|
background-color: #f3f3f3;
|
|
298
357
|
}
|
|
358
|
+
|
|
299
359
|
.l7-select-control--image {
|
|
300
360
|
display: flex;
|
|
301
361
|
flex-wrap: wrap;
|
|
@@ -304,9 +364,9 @@
|
|
|
304
364
|
max-width: 460px;
|
|
305
365
|
max-height: 400px;
|
|
306
366
|
margin: 12px 0 0 12px;
|
|
307
|
-
overflow
|
|
308
|
-
overflow-y: auto;
|
|
367
|
+
overflow: hidden auto;
|
|
309
368
|
}
|
|
369
|
+
|
|
310
370
|
.l7-select-control--image .l7-select-control-item {
|
|
311
371
|
position: relative;
|
|
312
372
|
display: flex;
|
|
@@ -321,89 +381,110 @@
|
|
|
321
381
|
border: 1px solid #fff;
|
|
322
382
|
border-radius: 2px;
|
|
323
383
|
}
|
|
384
|
+
|
|
324
385
|
.l7-select-control--image .l7-select-control-item img {
|
|
325
386
|
width: 100%;
|
|
326
387
|
height: 80px;
|
|
327
388
|
}
|
|
389
|
+
|
|
328
390
|
.l7-select-control--image .l7-select-control-item input[type='checkbox'] {
|
|
329
391
|
position: absolute;
|
|
330
392
|
top: 0;
|
|
331
393
|
right: 0;
|
|
332
394
|
}
|
|
395
|
+
|
|
333
396
|
.l7-select-control--image .l7-select-control-item .l7-select-control-item-row {
|
|
334
397
|
display: flex;
|
|
335
398
|
align-items: center;
|
|
336
399
|
justify-content: center;
|
|
337
400
|
line-height: 26px;
|
|
338
401
|
}
|
|
402
|
+
|
|
339
403
|
.l7-select-control--image .l7-select-control-item .l7-select-control-item-row > * + * {
|
|
340
404
|
margin-left: 8px;
|
|
341
405
|
}
|
|
406
|
+
|
|
342
407
|
.l7-select-control--image .l7-select-control-item.l7-select-control-item-active {
|
|
343
408
|
border-color: #0370fe;
|
|
344
409
|
}
|
|
410
|
+
|
|
345
411
|
.l7-select-control-item {
|
|
346
412
|
cursor: pointer;
|
|
347
413
|
}
|
|
414
|
+
|
|
348
415
|
.l7-select-control-item input[type='checkbox'] {
|
|
349
416
|
margin: 0;
|
|
350
417
|
cursor: pointer;
|
|
351
418
|
}
|
|
419
|
+
|
|
352
420
|
.l7-select-control--multiple .l7-select-control-item:hover {
|
|
353
421
|
background-color: transparent;
|
|
354
422
|
}
|
|
423
|
+
|
|
355
424
|
.l7-control-logo {
|
|
356
425
|
width: 89px;
|
|
357
426
|
height: 16px;
|
|
358
427
|
user-select: none;
|
|
359
428
|
}
|
|
429
|
+
|
|
360
430
|
.l7-control-logo img {
|
|
361
431
|
height: 100%;
|
|
362
432
|
width: 100%;
|
|
363
433
|
}
|
|
434
|
+
|
|
364
435
|
.l7-control-logo .l7-control-logo-link {
|
|
365
436
|
display: block;
|
|
366
437
|
cursor: pointer;
|
|
367
438
|
}
|
|
439
|
+
|
|
368
440
|
.l7-control-logo .l7-control-logo-link img {
|
|
369
441
|
cursor: pointer;
|
|
370
442
|
}
|
|
443
|
+
|
|
371
444
|
.l7-control-mouse-location {
|
|
372
445
|
background-color: #fff;
|
|
373
446
|
border-radius: 2px;
|
|
374
|
-
box-shadow: 0 0 20px 0
|
|
447
|
+
box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
|
|
375
448
|
padding: 2px 4px;
|
|
376
449
|
min-width: 130px;
|
|
377
450
|
}
|
|
451
|
+
|
|
378
452
|
.l7-control-zoom {
|
|
379
453
|
overflow: hidden;
|
|
380
454
|
border-radius: 2px;
|
|
381
|
-
box-shadow: 0 0 20px 0
|
|
455
|
+
box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
|
|
382
456
|
}
|
|
457
|
+
|
|
383
458
|
.l7-control-zoom .l7-button-control {
|
|
384
459
|
font-size: 16px;
|
|
385
460
|
border-bottom: 1px solid #f0f0f0;
|
|
386
461
|
border-radius: 0;
|
|
387
462
|
box-shadow: 0 0 0;
|
|
388
463
|
}
|
|
464
|
+
|
|
389
465
|
.l7-control-zoom .l7-button-control .l7-iconfont {
|
|
390
466
|
width: 14px;
|
|
391
467
|
height: 14px;
|
|
392
468
|
}
|
|
469
|
+
|
|
393
470
|
.l7-control-zoom .l7-button-control:last-child {
|
|
394
471
|
border-bottom: 0;
|
|
395
472
|
}
|
|
473
|
+
|
|
396
474
|
.l7-control-zoom .l7-control-zoom__number {
|
|
397
475
|
color: #595959;
|
|
398
476
|
padding: 0;
|
|
399
477
|
}
|
|
478
|
+
|
|
400
479
|
.l7-control-zoom .l7-control-zoom__number:hover {
|
|
401
480
|
background-color: #fff;
|
|
402
481
|
}
|
|
482
|
+
|
|
403
483
|
.l7-control-scale {
|
|
404
484
|
display: flex;
|
|
405
485
|
flex-direction: column;
|
|
406
486
|
}
|
|
487
|
+
|
|
407
488
|
.l7-control-scale .l7-control-scale-line {
|
|
408
489
|
box-sizing: border-box;
|
|
409
490
|
padding: 2px 5px 1px;
|
|
@@ -417,43 +498,50 @@
|
|
|
417
498
|
border-top: 0;
|
|
418
499
|
transition: width 0.1s;
|
|
419
500
|
}
|
|
501
|
+
|
|
420
502
|
.l7-control-scale .l7-control-scale-line + .l7-control-scale .l7-control-scale-line {
|
|
421
503
|
margin-top: -2px;
|
|
422
504
|
border-top: 2px solid #777;
|
|
423
505
|
border-bottom: none;
|
|
424
506
|
}
|
|
507
|
+
|
|
425
508
|
.l7-right .l7-control-scale {
|
|
426
509
|
display: flex;
|
|
427
510
|
align-items: flex-end;
|
|
428
511
|
}
|
|
512
|
+
|
|
429
513
|
.l7-right .l7-control-scale .l7-control-scale-line {
|
|
430
514
|
text-align: right;
|
|
431
515
|
}
|
|
516
|
+
|
|
432
517
|
.l7-popup {
|
|
433
518
|
position: absolute;
|
|
434
519
|
top: 0;
|
|
435
520
|
left: 0;
|
|
436
521
|
z-index: 5;
|
|
437
|
-
display: -webkit-flex;
|
|
438
522
|
display: flex;
|
|
439
523
|
will-change: transform;
|
|
440
524
|
pointer-events: none;
|
|
441
525
|
}
|
|
526
|
+
|
|
442
527
|
.l7-popup.l7-popup-hide {
|
|
443
528
|
display: none;
|
|
444
529
|
}
|
|
530
|
+
|
|
445
531
|
.l7-popup .l7-popup-content {
|
|
446
532
|
position: relative;
|
|
447
533
|
padding: 16px;
|
|
448
534
|
font-size: 14px;
|
|
449
535
|
background: #fff;
|
|
450
536
|
border-radius: 3px;
|
|
451
|
-
box-shadow: 0 1px 2px
|
|
537
|
+
box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
|
|
452
538
|
}
|
|
539
|
+
|
|
453
540
|
.l7-popup .l7-popup-content .l7-popup-content__title {
|
|
454
541
|
margin-bottom: 8px;
|
|
455
542
|
font-weight: bold;
|
|
456
543
|
}
|
|
544
|
+
|
|
457
545
|
.l7-popup .l7-popup-content .l7-popup-close-button,
|
|
458
546
|
.l7-popup .l7-popup-content .l7-popup-content__title,
|
|
459
547
|
.l7-popup .l7-popup-content .l7-popup-content__panel {
|
|
@@ -461,6 +549,7 @@
|
|
|
461
549
|
user-select: text;
|
|
462
550
|
pointer-events: initial;
|
|
463
551
|
}
|
|
552
|
+
|
|
464
553
|
.l7-popup .l7-popup-content .l7-popup-close-button {
|
|
465
554
|
position: absolute;
|
|
466
555
|
top: 0;
|
|
@@ -476,6 +565,7 @@
|
|
|
476
565
|
border-radius: 0 3px 0 0;
|
|
477
566
|
cursor: pointer;
|
|
478
567
|
}
|
|
568
|
+
|
|
479
569
|
.l7-popup .l7-popup-tip {
|
|
480
570
|
position: relative;
|
|
481
571
|
z-index: 1;
|
|
@@ -483,121 +573,134 @@
|
|
|
483
573
|
height: 0;
|
|
484
574
|
border: 10px solid transparent;
|
|
485
575
|
}
|
|
576
|
+
|
|
486
577
|
.l7-popup.l7-popup-anchor-bottom,
|
|
487
578
|
.l7-popup.l7-popup-anchor-bottom-left,
|
|
488
579
|
.l7-popup.l7-popup-anchor-bottom-right {
|
|
489
|
-
-webkit-flex-direction: column-reverse;
|
|
490
580
|
flex-direction: column-reverse;
|
|
491
581
|
}
|
|
582
|
+
|
|
492
583
|
.l7-popup.l7-popup-anchor-bottom .l7-popup-tip,
|
|
493
584
|
.l7-popup.l7-popup-anchor-bottom-left .l7-popup-tip,
|
|
494
585
|
.l7-popup.l7-popup-anchor-bottom-right .l7-popup-tip {
|
|
495
586
|
bottom: 1px;
|
|
496
587
|
}
|
|
588
|
+
|
|
497
589
|
.l7-popup.l7-popup-anchor-top,
|
|
498
590
|
.l7-popup.l7-popup-anchor-top-left,
|
|
499
591
|
.l7-popup.l7-popup-anchor-top-right {
|
|
500
|
-
-webkit-flex-direction: column;
|
|
501
592
|
flex-direction: column;
|
|
502
593
|
}
|
|
594
|
+
|
|
503
595
|
.l7-popup.l7-popup-anchor-top .l7-popup-tip,
|
|
504
596
|
.l7-popup.l7-popup-anchor-top-left .l7-popup-tip,
|
|
505
597
|
.l7-popup.l7-popup-anchor-top-right .l7-popup-tip {
|
|
506
598
|
top: 1px;
|
|
507
599
|
}
|
|
600
|
+
|
|
508
601
|
.l7-popup.l7-popup-anchor-left {
|
|
509
|
-
-webkit-flex-direction: row;
|
|
510
602
|
flex-direction: row;
|
|
511
603
|
}
|
|
604
|
+
|
|
512
605
|
.l7-popup.l7-popup-anchor-right {
|
|
513
|
-
-webkit-flex-direction: row-reverse;
|
|
514
606
|
flex-direction: row-reverse;
|
|
515
607
|
}
|
|
608
|
+
|
|
516
609
|
.l7-popup-anchor-top .l7-popup-tip {
|
|
517
610
|
position: relative;
|
|
518
|
-
-webkit-align-self: center;
|
|
519
611
|
align-self: center;
|
|
520
612
|
border-top: none;
|
|
521
613
|
border-bottom-color: #fff;
|
|
522
614
|
}
|
|
615
|
+
|
|
523
616
|
.l7-popup-anchor-top-left .l7-popup-tip {
|
|
524
|
-
-webkit-align-self: flex-start;
|
|
525
617
|
align-self: flex-start;
|
|
526
618
|
border-top: none;
|
|
527
619
|
border-bottom-color: #fff;
|
|
528
620
|
border-left: none;
|
|
529
621
|
}
|
|
622
|
+
|
|
530
623
|
.l7-popup-anchor-top-right .l7-popup-tip {
|
|
531
|
-
-webkit-align-self: flex-end;
|
|
532
624
|
align-self: flex-end;
|
|
533
625
|
border-top: none;
|
|
534
626
|
border-right: none;
|
|
535
627
|
border-bottom-color: #fff;
|
|
536
628
|
}
|
|
629
|
+
|
|
537
630
|
.l7-popup-anchor-bottom .l7-popup-tip {
|
|
538
|
-
-webkit-align-self: center;
|
|
539
631
|
align-self: center;
|
|
540
632
|
border-top-color: #fff;
|
|
541
633
|
border-bottom: none;
|
|
542
634
|
}
|
|
635
|
+
|
|
543
636
|
.l7-popup-anchor-bottom-left .l7-popup-tip {
|
|
544
|
-
-webkit-align-self: flex-start;
|
|
545
637
|
align-self: flex-start;
|
|
546
638
|
border-top-color: #fff;
|
|
547
639
|
border-bottom: none;
|
|
548
640
|
border-left: none;
|
|
549
641
|
}
|
|
642
|
+
|
|
550
643
|
.l7-popup-anchor-bottom-right .l7-popup-tip {
|
|
551
|
-
-webkit-align-self: flex-end;
|
|
552
644
|
align-self: flex-end;
|
|
553
645
|
border-top-color: #fff;
|
|
554
646
|
border-right: none;
|
|
555
647
|
border-bottom: none;
|
|
556
648
|
}
|
|
649
|
+
|
|
557
650
|
.l7-popup-anchor-left .l7-popup-tip {
|
|
558
|
-
-webkit-align-self: center;
|
|
559
651
|
align-self: center;
|
|
560
652
|
border-right-color: #fff;
|
|
561
653
|
border-left: none;
|
|
562
654
|
}
|
|
655
|
+
|
|
563
656
|
.l7-popup-anchor-right .l7-popup-tip {
|
|
564
657
|
right: 1px;
|
|
565
|
-
-webkit-align-self: center;
|
|
566
658
|
align-self: center;
|
|
567
659
|
border-right: none;
|
|
568
660
|
border-left-color: #fff;
|
|
569
661
|
}
|
|
662
|
+
|
|
570
663
|
.l7-popup-anchor-top-left .l7-popup-content {
|
|
571
664
|
border-top-left-radius: 0;
|
|
572
665
|
}
|
|
666
|
+
|
|
573
667
|
.l7-popup-anchor-top-right .l7-popup-content {
|
|
574
668
|
border-top-right-radius: 0;
|
|
575
669
|
}
|
|
670
|
+
|
|
576
671
|
.l7-popup-anchor-bottom-left .l7-popup-content {
|
|
577
672
|
border-bottom-left-radius: 0;
|
|
578
673
|
}
|
|
674
|
+
|
|
579
675
|
.l7-popup-anchor-bottom-right .l7-popup-content {
|
|
580
676
|
border-bottom-right-radius: 0;
|
|
581
677
|
}
|
|
678
|
+
|
|
582
679
|
.l7-popup-track-pointer {
|
|
583
680
|
display: none;
|
|
584
681
|
}
|
|
682
|
+
|
|
585
683
|
.l7-popup-track-pointer * {
|
|
586
684
|
user-select: none;
|
|
587
685
|
pointer-events: none;
|
|
588
686
|
}
|
|
687
|
+
|
|
589
688
|
.l7-map:hover .l7-popup-track-pointer {
|
|
590
689
|
display: flex;
|
|
591
690
|
}
|
|
691
|
+
|
|
592
692
|
.l7-map:active .l7-popup-track-pointer {
|
|
593
693
|
display: none;
|
|
594
694
|
}
|
|
695
|
+
|
|
595
696
|
.l7-layer-popup__row {
|
|
596
697
|
font-size: 12px;
|
|
597
698
|
}
|
|
699
|
+
|
|
598
700
|
.l7-layer-popup__row + .l7-layer-popup__row {
|
|
599
701
|
margin-top: 4px;
|
|
600
702
|
}
|
|
703
|
+
|
|
601
704
|
.l7-control-swipe {
|
|
602
705
|
position: absolute;
|
|
603
706
|
top: 50%;
|
|
@@ -606,10 +709,12 @@
|
|
|
606
709
|
transform: translate(-50%, -50%);
|
|
607
710
|
touch-action: none;
|
|
608
711
|
}
|
|
712
|
+
|
|
609
713
|
.l7-control-swipe_hide {
|
|
610
714
|
display: none;
|
|
611
715
|
}
|
|
612
|
-
|
|
716
|
+
|
|
717
|
+
.l7-control-swipe::before {
|
|
613
718
|
position: absolute;
|
|
614
719
|
top: -5000px;
|
|
615
720
|
bottom: -5000px;
|
|
@@ -620,14 +725,13 @@
|
|
|
620
725
|
transform: translate(-2px, 0);
|
|
621
726
|
content: '';
|
|
622
727
|
}
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
bottom: auto;
|
|
627
|
-
left: -5000px;
|
|
728
|
+
|
|
729
|
+
.l7-control-swipe.horizontal::before {
|
|
730
|
+
inset: 50% -5000px auto;
|
|
628
731
|
width: auto;
|
|
629
732
|
height: 4px;
|
|
630
733
|
}
|
|
734
|
+
|
|
631
735
|
.l7-control-swipe__button {
|
|
632
736
|
display: block;
|
|
633
737
|
width: 28px;
|
|
@@ -644,29 +748,34 @@
|
|
|
644
748
|
border-radius: 2px;
|
|
645
749
|
outline: none;
|
|
646
750
|
}
|
|
751
|
+
|
|
647
752
|
.l7-control-swipe,
|
|
648
753
|
.l7-control-swipe__button {
|
|
649
754
|
cursor: ew-resize;
|
|
650
755
|
}
|
|
756
|
+
|
|
651
757
|
.l7-control-swipe.horizontal,
|
|
652
758
|
.l7-control-swipe.horizontal button {
|
|
653
759
|
cursor: ns-resize;
|
|
654
760
|
}
|
|
655
|
-
|
|
656
|
-
.l7-control-
|
|
657
|
-
.l7-control-swipe__button
|
|
761
|
+
|
|
762
|
+
.l7-control-swipe::after,
|
|
763
|
+
.l7-control-swipe__button::before,
|
|
764
|
+
.l7-control-swipe__button::after {
|
|
658
765
|
position: absolute;
|
|
659
766
|
top: 25%;
|
|
660
767
|
bottom: 25%;
|
|
661
768
|
left: 50%;
|
|
662
769
|
width: 2px;
|
|
663
|
-
background:
|
|
770
|
+
background: currentcolor;
|
|
664
771
|
transform: translate(-1px, 0);
|
|
665
772
|
content: '';
|
|
666
773
|
}
|
|
667
|
-
|
|
774
|
+
|
|
775
|
+
.l7-control-swipe__button::after {
|
|
668
776
|
transform: translateX(4px);
|
|
669
777
|
}
|
|
670
|
-
|
|
778
|
+
|
|
779
|
+
.l7-control-swipe__button::before {
|
|
671
780
|
transform: translateX(-6px);
|
|
672
781
|
}
|