@antv/l7-component 2.23.2 → 2.23.3-beta.1

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