@edgepdf/viewer-js 0.0.29 → 0.0.30
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/README.md +90 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/lib/inject-styles.d.ts +17 -0
- package/dist/lib/inject-styles.d.ts.map +1 -0
- package/dist/{index.css → styles.css} +718 -609
- package/package.json +5 -1
|
@@ -1,613 +1,669 @@
|
|
|
1
|
-
/*
|
|
2
|
-
.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
.leaflet-
|
|
6
|
-
.leaflet-tile
|
|
7
|
-
.leaflet-
|
|
8
|
-
.leaflet-
|
|
9
|
-
.leaflet-
|
|
10
|
-
.leaflet-
|
|
11
|
-
.leaflet-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
.leaflet-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.leaflet-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
.leaflet-container
|
|
49
|
-
.leaflet-container img
|
|
50
|
-
.leaflet-container .leaflet-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
.leaflet-container
|
|
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
|
-
.leaflet-
|
|
114
|
-
z-index:
|
|
115
|
-
}
|
|
116
|
-
.leaflet-
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
.leaflet-map-pane svg
|
|
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
|
-
.leaflet-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
.leaflet-
|
|
150
|
-
|
|
151
|
-
}
|
|
152
|
-
.leaflet-
|
|
153
|
-
|
|
154
|
-
}
|
|
155
|
-
.leaflet-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
.leaflet-
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
.leaflet-
|
|
166
|
-
|
|
167
|
-
}
|
|
168
|
-
.leaflet-
|
|
169
|
-
|
|
170
|
-
}
|
|
171
|
-
.leaflet-
|
|
172
|
-
|
|
173
|
-
}
|
|
174
|
-
.leaflet-
|
|
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
|
-
.leaflet-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
.leaflet-
|
|
219
|
-
|
|
220
|
-
}
|
|
221
|
-
.leaflet-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
.leaflet-
|
|
231
|
-
.leaflet-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
.leaflet-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
.leaflet-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
.leaflet-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
.leaflet-bar
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
.leaflet-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
.leaflet-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
}
|
|
369
|
-
.leaflet-control-layers
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
.leaflet-control-layers-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
}
|
|
396
|
-
.leaflet-control-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
.leaflet-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
.
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
.leaflet-popup-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
}
|
|
489
|
-
.leaflet-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
.leaflet-
|
|
524
|
-
.leaflet-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}
|
|
546
|
-
.leaflet-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
.leaflet-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
.leaflet-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
.leaflet-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
.leaflet-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
}
|
|
598
|
-
.leaflet-tooltip-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
1
|
+
/* Seamless tile rendering - removes borders and gaps between tiles */
|
|
2
|
+
/* Inlined leaflet/dist/leaflet.css */
|
|
3
|
+
/* required styles */
|
|
4
|
+
|
|
5
|
+
.leaflet-pane,
|
|
6
|
+
.leaflet-tile,
|
|
7
|
+
.leaflet-marker-icon,
|
|
8
|
+
.leaflet-marker-shadow,
|
|
9
|
+
.leaflet-tile-container,
|
|
10
|
+
.leaflet-pane > svg,
|
|
11
|
+
.leaflet-pane > canvas,
|
|
12
|
+
.leaflet-zoom-box,
|
|
13
|
+
.leaflet-image-layer,
|
|
14
|
+
.leaflet-layer {
|
|
15
|
+
position: absolute;
|
|
16
|
+
left: 0;
|
|
17
|
+
top: 0;
|
|
18
|
+
}
|
|
19
|
+
.leaflet-container {
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
}
|
|
22
|
+
.leaflet-tile,
|
|
23
|
+
.leaflet-marker-icon,
|
|
24
|
+
.leaflet-marker-shadow {
|
|
25
|
+
-webkit-user-select: none;
|
|
26
|
+
-moz-user-select: none;
|
|
27
|
+
user-select: none;
|
|
28
|
+
-webkit-user-drag: none;
|
|
29
|
+
}
|
|
30
|
+
/* Prevents IE11 from highlighting tiles in blue */
|
|
31
|
+
.leaflet-tile::selection {
|
|
32
|
+
background: transparent;
|
|
33
|
+
}
|
|
34
|
+
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
|
|
35
|
+
.leaflet-safari .leaflet-tile {
|
|
36
|
+
image-rendering: -webkit-optimize-contrast;
|
|
37
|
+
}
|
|
38
|
+
/* hack that prevents hw layers "stretching" when loading new tiles */
|
|
39
|
+
.leaflet-safari .leaflet-tile-container {
|
|
40
|
+
width: 1600px;
|
|
41
|
+
height: 1600px;
|
|
42
|
+
-webkit-transform-origin: 0 0;
|
|
43
|
+
}
|
|
44
|
+
.leaflet-marker-icon,
|
|
45
|
+
.leaflet-marker-shadow {
|
|
46
|
+
display: block;
|
|
47
|
+
}
|
|
48
|
+
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
|
|
49
|
+
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
|
|
50
|
+
.leaflet-container .leaflet-overlay-pane svg {
|
|
51
|
+
max-width: none !important;
|
|
52
|
+
max-height: none !important;
|
|
53
|
+
}
|
|
54
|
+
.leaflet-container .leaflet-marker-pane img,
|
|
55
|
+
.leaflet-container .leaflet-shadow-pane img,
|
|
56
|
+
.leaflet-container .leaflet-tile-pane img,
|
|
57
|
+
.leaflet-container img.leaflet-image-layer,
|
|
58
|
+
.leaflet-container .leaflet-tile {
|
|
59
|
+
max-width: none !important;
|
|
60
|
+
max-height: none !important;
|
|
61
|
+
width: auto;
|
|
62
|
+
padding: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.leaflet-container img.leaflet-tile {
|
|
66
|
+
/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
|
|
67
|
+
mix-blend-mode: plus-lighter;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.leaflet-container.leaflet-touch-zoom {
|
|
71
|
+
-ms-touch-action: pan-x pan-y;
|
|
72
|
+
touch-action: pan-x pan-y;
|
|
73
|
+
}
|
|
74
|
+
.leaflet-container.leaflet-touch-drag {
|
|
75
|
+
-ms-touch-action: pinch-zoom;
|
|
76
|
+
/* Fallback for FF which doesn't support pinch-zoom */
|
|
77
|
+
touch-action: none;
|
|
78
|
+
touch-action: pinch-zoom;
|
|
79
|
+
}
|
|
80
|
+
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
|
|
81
|
+
-ms-touch-action: none;
|
|
82
|
+
touch-action: none;
|
|
83
|
+
}
|
|
84
|
+
.leaflet-container {
|
|
85
|
+
-webkit-tap-highlight-color: transparent;
|
|
86
|
+
}
|
|
87
|
+
.leaflet-container a {
|
|
88
|
+
-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
|
|
89
|
+
}
|
|
90
|
+
.leaflet-tile {
|
|
91
|
+
filter: inherit;
|
|
92
|
+
visibility: hidden;
|
|
93
|
+
}
|
|
94
|
+
.leaflet-tile-loaded {
|
|
95
|
+
visibility: inherit;
|
|
96
|
+
}
|
|
97
|
+
.leaflet-zoom-box {
|
|
98
|
+
width: 0;
|
|
99
|
+
height: 0;
|
|
100
|
+
-moz-box-sizing: border-box;
|
|
101
|
+
box-sizing: border-box;
|
|
102
|
+
z-index: 800;
|
|
103
|
+
}
|
|
104
|
+
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
|
|
105
|
+
.leaflet-overlay-pane svg {
|
|
106
|
+
-moz-user-select: none;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.leaflet-pane { z-index: 400; }
|
|
110
|
+
|
|
111
|
+
.leaflet-tile-pane { z-index: 200; }
|
|
112
|
+
.leaflet-overlay-pane { z-index: 400; }
|
|
113
|
+
.leaflet-shadow-pane { z-index: 500; }
|
|
114
|
+
.leaflet-marker-pane { z-index: 600; }
|
|
115
|
+
.leaflet-tooltip-pane { z-index: 650; }
|
|
116
|
+
.leaflet-popup-pane { z-index: 700; }
|
|
117
|
+
|
|
118
|
+
.leaflet-map-pane canvas { z-index: 100; }
|
|
119
|
+
.leaflet-map-pane svg { z-index: 200; }
|
|
120
|
+
|
|
121
|
+
.leaflet-vml-shape {
|
|
122
|
+
width: 1px;
|
|
123
|
+
height: 1px;
|
|
124
|
+
}
|
|
125
|
+
.lvml {
|
|
126
|
+
behavior: url(#default#VML);
|
|
127
|
+
display: inline-block;
|
|
128
|
+
position: absolute;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
/* control positioning */
|
|
133
|
+
|
|
134
|
+
.leaflet-control {
|
|
135
|
+
position: relative;
|
|
136
|
+
z-index: 800;
|
|
137
|
+
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
|
|
138
|
+
pointer-events: auto;
|
|
139
|
+
}
|
|
140
|
+
.leaflet-top,
|
|
141
|
+
.leaflet-bottom {
|
|
142
|
+
position: absolute;
|
|
143
|
+
z-index: 1000;
|
|
144
|
+
pointer-events: none;
|
|
145
|
+
}
|
|
146
|
+
.leaflet-top {
|
|
147
|
+
top: 0;
|
|
148
|
+
}
|
|
149
|
+
.leaflet-right {
|
|
150
|
+
right: 0;
|
|
151
|
+
}
|
|
152
|
+
.leaflet-bottom {
|
|
153
|
+
bottom: 0;
|
|
154
|
+
}
|
|
155
|
+
.leaflet-left {
|
|
156
|
+
left: 0;
|
|
157
|
+
}
|
|
158
|
+
.leaflet-control {
|
|
159
|
+
float: left;
|
|
160
|
+
clear: both;
|
|
161
|
+
}
|
|
162
|
+
.leaflet-right .leaflet-control {
|
|
163
|
+
float: right;
|
|
164
|
+
}
|
|
165
|
+
.leaflet-top .leaflet-control {
|
|
166
|
+
margin-top: 10px;
|
|
167
|
+
}
|
|
168
|
+
.leaflet-bottom .leaflet-control {
|
|
169
|
+
margin-bottom: 10px;
|
|
170
|
+
}
|
|
171
|
+
.leaflet-left .leaflet-control {
|
|
172
|
+
margin-left: 10px;
|
|
173
|
+
}
|
|
174
|
+
.leaflet-right .leaflet-control {
|
|
175
|
+
margin-right: 10px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
/* zoom and fade animations */
|
|
180
|
+
|
|
181
|
+
.leaflet-fade-anim .leaflet-popup {
|
|
182
|
+
opacity: 0;
|
|
183
|
+
-webkit-transition: opacity 0.2s linear;
|
|
184
|
+
-moz-transition: opacity 0.2s linear;
|
|
185
|
+
transition: opacity 0.2s linear;
|
|
186
|
+
}
|
|
187
|
+
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
|
|
188
|
+
opacity: 1;
|
|
189
|
+
}
|
|
190
|
+
.leaflet-zoom-animated {
|
|
191
|
+
-webkit-transform-origin: 0 0;
|
|
192
|
+
-ms-transform-origin: 0 0;
|
|
193
|
+
transform-origin: 0 0;
|
|
194
|
+
}
|
|
195
|
+
svg.leaflet-zoom-animated {
|
|
196
|
+
will-change: transform;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.leaflet-zoom-anim .leaflet-zoom-animated {
|
|
200
|
+
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
|
|
201
|
+
-moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
|
|
202
|
+
transition: transform 0.25s cubic-bezier(0,0,0.25,1);
|
|
203
|
+
}
|
|
204
|
+
.leaflet-zoom-anim .leaflet-tile,
|
|
205
|
+
.leaflet-pan-anim .leaflet-tile {
|
|
206
|
+
-webkit-transition: none;
|
|
207
|
+
-moz-transition: none;
|
|
208
|
+
transition: none;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.leaflet-zoom-anim .leaflet-zoom-hide {
|
|
212
|
+
visibility: hidden;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
/* cursors */
|
|
217
|
+
|
|
218
|
+
.leaflet-interactive {
|
|
219
|
+
cursor: pointer;
|
|
220
|
+
}
|
|
221
|
+
.leaflet-grab {
|
|
222
|
+
cursor: -webkit-grab;
|
|
223
|
+
cursor: -moz-grab;
|
|
224
|
+
cursor: grab;
|
|
225
|
+
}
|
|
226
|
+
.leaflet-crosshair,
|
|
227
|
+
.leaflet-crosshair .leaflet-interactive {
|
|
228
|
+
cursor: crosshair;
|
|
229
|
+
}
|
|
230
|
+
.leaflet-popup-pane,
|
|
231
|
+
.leaflet-control {
|
|
232
|
+
cursor: auto;
|
|
233
|
+
}
|
|
234
|
+
.leaflet-dragging .leaflet-grab,
|
|
235
|
+
.leaflet-dragging .leaflet-grab .leaflet-interactive,
|
|
236
|
+
.leaflet-dragging .leaflet-marker-draggable {
|
|
237
|
+
cursor: move;
|
|
238
|
+
cursor: -webkit-grabbing;
|
|
239
|
+
cursor: -moz-grabbing;
|
|
240
|
+
cursor: grabbing;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/* marker & overlays interactivity */
|
|
244
|
+
.leaflet-marker-icon,
|
|
245
|
+
.leaflet-marker-shadow,
|
|
246
|
+
.leaflet-image-layer,
|
|
247
|
+
.leaflet-pane > svg path,
|
|
248
|
+
.leaflet-tile-container {
|
|
249
|
+
pointer-events: none;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.leaflet-marker-icon.leaflet-interactive,
|
|
253
|
+
.leaflet-image-layer.leaflet-interactive,
|
|
254
|
+
.leaflet-pane > svg path.leaflet-interactive,
|
|
255
|
+
svg.leaflet-image-layer.leaflet-interactive path {
|
|
256
|
+
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
|
|
257
|
+
pointer-events: auto;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/* visual tweaks */
|
|
261
|
+
|
|
262
|
+
.leaflet-container {
|
|
263
|
+
background: #ddd;
|
|
264
|
+
outline-offset: 1px;
|
|
265
|
+
}
|
|
266
|
+
.leaflet-container a {
|
|
267
|
+
color: #0078A8;
|
|
268
|
+
}
|
|
269
|
+
.leaflet-zoom-box {
|
|
270
|
+
border: 2px dotted #38f;
|
|
271
|
+
background: rgba(255,255,255,0.5);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
/* general typography */
|
|
276
|
+
.leaflet-container {
|
|
277
|
+
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
|
278
|
+
font-size: 12px;
|
|
279
|
+
font-size: 0.75rem;
|
|
280
|
+
line-height: 1.5;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
/* general toolbar styles */
|
|
285
|
+
|
|
286
|
+
.leaflet-bar {
|
|
287
|
+
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
|
|
288
|
+
border-radius: 4px;
|
|
289
|
+
}
|
|
290
|
+
.leaflet-bar a {
|
|
291
|
+
background-color: #fff;
|
|
292
|
+
border-bottom: 1px solid #ccc;
|
|
293
|
+
width: 26px;
|
|
294
|
+
height: 26px;
|
|
295
|
+
line-height: 26px;
|
|
296
|
+
display: block;
|
|
297
|
+
text-align: center;
|
|
298
|
+
text-decoration: none;
|
|
299
|
+
color: black;
|
|
300
|
+
}
|
|
301
|
+
.leaflet-bar a,
|
|
302
|
+
.leaflet-control-layers-toggle {
|
|
303
|
+
background-position: 50% 50%;
|
|
304
|
+
background-repeat: no-repeat;
|
|
305
|
+
display: block;
|
|
306
|
+
}
|
|
307
|
+
.leaflet-bar a:hover,
|
|
308
|
+
.leaflet-bar a:focus {
|
|
309
|
+
background-color: #f4f4f4;
|
|
310
|
+
}
|
|
311
|
+
.leaflet-bar a:first-child {
|
|
312
|
+
border-top-left-radius: 4px;
|
|
313
|
+
border-top-right-radius: 4px;
|
|
314
|
+
}
|
|
315
|
+
.leaflet-bar a:last-child {
|
|
316
|
+
border-bottom-left-radius: 4px;
|
|
317
|
+
border-bottom-right-radius: 4px;
|
|
318
|
+
border-bottom: none;
|
|
319
|
+
}
|
|
320
|
+
.leaflet-bar a.leaflet-disabled {
|
|
321
|
+
cursor: default;
|
|
322
|
+
background-color: #f4f4f4;
|
|
323
|
+
color: #bbb;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.leaflet-touch .leaflet-bar a {
|
|
327
|
+
width: 30px;
|
|
328
|
+
height: 30px;
|
|
329
|
+
line-height: 30px;
|
|
330
|
+
}
|
|
331
|
+
.leaflet-touch .leaflet-bar a:first-child {
|
|
332
|
+
border-top-left-radius: 2px;
|
|
333
|
+
border-top-right-radius: 2px;
|
|
334
|
+
}
|
|
335
|
+
.leaflet-touch .leaflet-bar a:last-child {
|
|
336
|
+
border-bottom-left-radius: 2px;
|
|
337
|
+
border-bottom-right-radius: 2px;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/* zoom control */
|
|
341
|
+
|
|
342
|
+
.leaflet-control-zoom-in,
|
|
343
|
+
.leaflet-control-zoom-out {
|
|
344
|
+
font: bold 18px 'Lucida Console', Monaco, monospace;
|
|
345
|
+
text-indent: 1px;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
|
|
349
|
+
font-size: 22px;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
/* layers control */
|
|
354
|
+
|
|
355
|
+
.leaflet-control-layers {
|
|
356
|
+
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
|
|
357
|
+
background: #fff;
|
|
358
|
+
border-radius: 5px;
|
|
359
|
+
}
|
|
360
|
+
.leaflet-control-layers-toggle {
|
|
361
|
+
background-image: url(./images/layers.png);
|
|
362
|
+
width: 36px;
|
|
363
|
+
height: 36px;
|
|
364
|
+
}
|
|
365
|
+
.leaflet-retina .leaflet-control-layers-toggle {
|
|
366
|
+
background-image: url(./images/layers-2x.png);
|
|
367
|
+
background-size: 26px 26px;
|
|
368
|
+
}
|
|
369
|
+
.leaflet-touch .leaflet-control-layers-toggle {
|
|
370
|
+
width: 44px;
|
|
371
|
+
height: 44px;
|
|
372
|
+
}
|
|
373
|
+
.leaflet-control-layers .leaflet-control-layers-list,
|
|
374
|
+
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
|
|
375
|
+
display: none;
|
|
376
|
+
}
|
|
377
|
+
.leaflet-control-layers-expanded .leaflet-control-layers-list {
|
|
378
|
+
display: block;
|
|
379
|
+
position: relative;
|
|
380
|
+
}
|
|
381
|
+
.leaflet-control-layers-expanded {
|
|
382
|
+
padding: 6px 10px 6px 6px;
|
|
383
|
+
color: #333;
|
|
384
|
+
background: #fff;
|
|
385
|
+
}
|
|
386
|
+
.leaflet-control-layers-scrollbar {
|
|
387
|
+
overflow-y: scroll;
|
|
388
|
+
overflow-x: hidden;
|
|
389
|
+
padding-right: 5px;
|
|
390
|
+
}
|
|
391
|
+
.leaflet-control-layers-selector {
|
|
392
|
+
margin-top: 2px;
|
|
393
|
+
position: relative;
|
|
394
|
+
top: 1px;
|
|
395
|
+
}
|
|
396
|
+
.leaflet-control-layers label {
|
|
397
|
+
display: block;
|
|
398
|
+
font-size: 13px;
|
|
399
|
+
font-size: 1.08333em;
|
|
400
|
+
}
|
|
401
|
+
.leaflet-control-layers-separator {
|
|
402
|
+
height: 0;
|
|
403
|
+
border-top: 1px solid #ddd;
|
|
404
|
+
margin: 5px -10px 5px -6px;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/* Default icon URLs */
|
|
408
|
+
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
|
|
409
|
+
background-image: url(./images/marker-icon.png);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
/* attribution and scale controls */
|
|
414
|
+
|
|
415
|
+
.leaflet-container .leaflet-control-attribution {
|
|
416
|
+
background: #fff;
|
|
417
|
+
background: rgba(255, 255, 255, 0.8);
|
|
418
|
+
margin: 0;
|
|
419
|
+
}
|
|
420
|
+
.leaflet-control-attribution,
|
|
421
|
+
.leaflet-control-scale-line {
|
|
422
|
+
padding: 0 5px;
|
|
423
|
+
color: #333;
|
|
424
|
+
line-height: 1.4;
|
|
425
|
+
}
|
|
426
|
+
.leaflet-control-attribution a {
|
|
427
|
+
text-decoration: none;
|
|
428
|
+
}
|
|
429
|
+
.leaflet-control-attribution a:hover,
|
|
430
|
+
.leaflet-control-attribution a:focus {
|
|
431
|
+
text-decoration: underline;
|
|
432
|
+
}
|
|
433
|
+
.leaflet-attribution-flag {
|
|
434
|
+
display: inline !important;
|
|
435
|
+
vertical-align: baseline !important;
|
|
436
|
+
width: 1em;
|
|
437
|
+
height: 0.6669em;
|
|
438
|
+
}
|
|
439
|
+
.leaflet-left .leaflet-control-scale {
|
|
440
|
+
margin-left: 5px;
|
|
441
|
+
}
|
|
442
|
+
.leaflet-bottom .leaflet-control-scale {
|
|
443
|
+
margin-bottom: 5px;
|
|
444
|
+
}
|
|
445
|
+
.leaflet-control-scale-line {
|
|
446
|
+
border: 2px solid #777;
|
|
447
|
+
border-top: none;
|
|
448
|
+
line-height: 1.1;
|
|
449
|
+
padding: 2px 5px 1px;
|
|
450
|
+
white-space: nowrap;
|
|
451
|
+
-moz-box-sizing: border-box;
|
|
452
|
+
box-sizing: border-box;
|
|
453
|
+
background: rgba(255, 255, 255, 0.8);
|
|
454
|
+
text-shadow: 1px 1px #fff;
|
|
455
|
+
}
|
|
456
|
+
.leaflet-control-scale-line:not(:first-child) {
|
|
457
|
+
border-top: 2px solid #777;
|
|
458
|
+
border-bottom: none;
|
|
459
|
+
margin-top: -2px;
|
|
460
|
+
}
|
|
461
|
+
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
|
|
462
|
+
border-bottom: 2px solid #777;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.leaflet-touch .leaflet-control-attribution,
|
|
466
|
+
.leaflet-touch .leaflet-control-layers,
|
|
467
|
+
.leaflet-touch .leaflet-bar {
|
|
468
|
+
box-shadow: none;
|
|
469
|
+
}
|
|
470
|
+
.leaflet-touch .leaflet-control-layers,
|
|
471
|
+
.leaflet-touch .leaflet-bar {
|
|
472
|
+
border: 2px solid rgba(0,0,0,0.2);
|
|
473
|
+
background-clip: padding-box;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
/* popup */
|
|
478
|
+
|
|
479
|
+
.leaflet-popup {
|
|
480
|
+
position: absolute;
|
|
481
|
+
text-align: center;
|
|
482
|
+
margin-bottom: 20px;
|
|
483
|
+
}
|
|
484
|
+
.leaflet-popup-content-wrapper {
|
|
485
|
+
padding: 1px;
|
|
486
|
+
text-align: left;
|
|
487
|
+
border-radius: 12px;
|
|
488
|
+
}
|
|
489
|
+
.leaflet-popup-content {
|
|
490
|
+
margin: 13px 24px 13px 20px;
|
|
491
|
+
line-height: 1.3;
|
|
492
|
+
font-size: 13px;
|
|
493
|
+
font-size: 1.08333em;
|
|
494
|
+
min-height: 1px;
|
|
495
|
+
}
|
|
496
|
+
.leaflet-popup-content p {
|
|
497
|
+
margin: 17px 0;
|
|
498
|
+
margin: 1.3em 0;
|
|
499
|
+
}
|
|
500
|
+
.leaflet-popup-tip-container {
|
|
501
|
+
width: 40px;
|
|
502
|
+
height: 20px;
|
|
503
|
+
position: absolute;
|
|
504
|
+
left: 50%;
|
|
505
|
+
margin-top: -1px;
|
|
506
|
+
margin-left: -20px;
|
|
507
|
+
overflow: hidden;
|
|
508
|
+
pointer-events: none;
|
|
509
|
+
}
|
|
510
|
+
.leaflet-popup-tip {
|
|
511
|
+
width: 17px;
|
|
512
|
+
height: 17px;
|
|
513
|
+
padding: 1px;
|
|
514
|
+
|
|
515
|
+
margin: -10px auto 0;
|
|
516
|
+
pointer-events: auto;
|
|
517
|
+
|
|
518
|
+
-webkit-transform: rotate(45deg);
|
|
519
|
+
-moz-transform: rotate(45deg);
|
|
520
|
+
-ms-transform: rotate(45deg);
|
|
521
|
+
transform: rotate(45deg);
|
|
522
|
+
}
|
|
523
|
+
.leaflet-popup-content-wrapper,
|
|
524
|
+
.leaflet-popup-tip {
|
|
525
|
+
background: white;
|
|
526
|
+
color: #333;
|
|
527
|
+
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
|
|
528
|
+
}
|
|
529
|
+
.leaflet-container a.leaflet-popup-close-button {
|
|
530
|
+
position: absolute;
|
|
531
|
+
top: 0;
|
|
532
|
+
right: 0;
|
|
533
|
+
border: none;
|
|
534
|
+
text-align: center;
|
|
535
|
+
width: 24px;
|
|
536
|
+
height: 24px;
|
|
537
|
+
font: 16px/24px Tahoma, Verdana, sans-serif;
|
|
538
|
+
color: #757575;
|
|
539
|
+
text-decoration: none;
|
|
540
|
+
background: transparent;
|
|
541
|
+
}
|
|
542
|
+
.leaflet-container a.leaflet-popup-close-button:hover,
|
|
543
|
+
.leaflet-container a.leaflet-popup-close-button:focus {
|
|
544
|
+
color: #585858;
|
|
545
|
+
}
|
|
546
|
+
.leaflet-popup-scrolled {
|
|
547
|
+
overflow: auto;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.leaflet-oldie .leaflet-popup-content-wrapper {
|
|
551
|
+
-ms-zoom: 1;
|
|
552
|
+
}
|
|
553
|
+
.leaflet-oldie .leaflet-popup-tip {
|
|
554
|
+
width: 24px;
|
|
555
|
+
margin: 0 auto;
|
|
556
|
+
|
|
557
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
|
|
558
|
+
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.leaflet-oldie .leaflet-control-zoom,
|
|
562
|
+
.leaflet-oldie .leaflet-control-layers,
|
|
563
|
+
.leaflet-oldie .leaflet-popup-content-wrapper,
|
|
564
|
+
.leaflet-oldie .leaflet-popup-tip {
|
|
565
|
+
border: 1px solid #999;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
/* div icon */
|
|
570
|
+
|
|
571
|
+
.leaflet-div-icon {
|
|
572
|
+
background: #fff;
|
|
573
|
+
border: 1px solid #666;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
/* Tooltip */
|
|
578
|
+
/* Base styles for the element that has a tooltip */
|
|
579
|
+
.leaflet-tooltip {
|
|
580
|
+
position: absolute;
|
|
581
|
+
padding: 6px;
|
|
582
|
+
background-color: #fff;
|
|
583
|
+
border: 1px solid #fff;
|
|
584
|
+
border-radius: 3px;
|
|
585
|
+
color: #222;
|
|
586
|
+
white-space: nowrap;
|
|
587
|
+
-webkit-user-select: none;
|
|
588
|
+
-moz-user-select: none;
|
|
589
|
+
-ms-user-select: none;
|
|
590
|
+
user-select: none;
|
|
591
|
+
pointer-events: none;
|
|
592
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.4);
|
|
593
|
+
}
|
|
594
|
+
.leaflet-tooltip.leaflet-interactive {
|
|
595
|
+
cursor: pointer;
|
|
596
|
+
pointer-events: auto;
|
|
597
|
+
}
|
|
598
|
+
.leaflet-tooltip-top:before,
|
|
599
|
+
.leaflet-tooltip-bottom:before,
|
|
600
|
+
.leaflet-tooltip-left:before,
|
|
601
|
+
.leaflet-tooltip-right:before {
|
|
602
|
+
position: absolute;
|
|
603
|
+
pointer-events: none;
|
|
604
|
+
border: 6px solid transparent;
|
|
605
|
+
background: transparent;
|
|
606
|
+
content: "";
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
/* Directions */
|
|
610
|
+
|
|
611
|
+
.leaflet-tooltip-bottom {
|
|
612
|
+
margin-top: 6px;
|
|
613
|
+
}
|
|
614
|
+
.leaflet-tooltip-top {
|
|
615
|
+
margin-top: -6px;
|
|
616
|
+
}
|
|
617
|
+
.leaflet-tooltip-bottom:before,
|
|
618
|
+
.leaflet-tooltip-top:before {
|
|
619
|
+
left: 50%;
|
|
620
|
+
margin-left: -6px;
|
|
621
|
+
}
|
|
622
|
+
.leaflet-tooltip-top:before {
|
|
623
|
+
bottom: 0;
|
|
624
|
+
margin-bottom: -12px;
|
|
625
|
+
border-top-color: #fff;
|
|
626
|
+
}
|
|
627
|
+
.leaflet-tooltip-bottom:before {
|
|
628
|
+
top: 0;
|
|
629
|
+
margin-top: -12px;
|
|
630
|
+
margin-left: -6px;
|
|
631
|
+
border-bottom-color: #fff;
|
|
632
|
+
}
|
|
633
|
+
.leaflet-tooltip-left {
|
|
634
|
+
margin-left: -6px;
|
|
635
|
+
}
|
|
636
|
+
.leaflet-tooltip-right {
|
|
637
|
+
margin-left: 6px;
|
|
638
|
+
}
|
|
639
|
+
.leaflet-tooltip-left:before,
|
|
640
|
+
.leaflet-tooltip-right:before {
|
|
641
|
+
top: 50%;
|
|
642
|
+
margin-top: -6px;
|
|
643
|
+
}
|
|
644
|
+
.leaflet-tooltip-left:before {
|
|
645
|
+
right: 0;
|
|
646
|
+
margin-right: -12px;
|
|
647
|
+
border-left-color: #fff;
|
|
648
|
+
}
|
|
649
|
+
.leaflet-tooltip-right:before {
|
|
650
|
+
left: 0;
|
|
651
|
+
margin-left: -12px;
|
|
652
|
+
border-right-color: #fff;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
/* Printing */
|
|
656
|
+
|
|
657
|
+
@media print {
|
|
658
|
+
/* Prevent printers from removing background-images of controls. */
|
|
659
|
+
.leaflet-control {
|
|
660
|
+
-webkit-print-color-adjust: exact;
|
|
661
|
+
print-color-adjust: exact;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
|
|
609
666
|
|
|
610
|
-
/* packages/viewer-js/src/styles.css */
|
|
611
667
|
.seamless-tiles img,
|
|
612
668
|
.leaflet-tile {
|
|
613
669
|
border: none !important;
|
|
@@ -615,23 +671,31 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
615
671
|
margin: 0 !important;
|
|
616
672
|
padding: 0 !important;
|
|
617
673
|
}
|
|
674
|
+
|
|
618
675
|
.leaflet-layer {
|
|
619
676
|
border: none !important;
|
|
620
677
|
}
|
|
678
|
+
|
|
679
|
+
/* Marker tooltip alignment */
|
|
621
680
|
.edgepdf-marker-tooltip {
|
|
622
681
|
text-align: center;
|
|
623
682
|
white-space: nowrap;
|
|
624
683
|
}
|
|
684
|
+
|
|
685
|
+
/* Center the tooltip arrow */
|
|
625
686
|
.leaflet-tooltip-top.edgepdf-marker-tooltip::before,
|
|
626
687
|
.leaflet-tooltip-bottom.edgepdf-marker-tooltip::before {
|
|
627
688
|
left: 50% !important;
|
|
628
689
|
margin-left: -8px !important;
|
|
629
690
|
}
|
|
691
|
+
|
|
630
692
|
.leaflet-tooltip-left.edgepdf-marker-tooltip::before,
|
|
631
693
|
.leaflet-tooltip-right.edgepdf-marker-tooltip::before {
|
|
632
694
|
top: 50% !important;
|
|
633
695
|
margin-top: -8px !important;
|
|
634
696
|
}
|
|
697
|
+
|
|
698
|
+
/* Marker popup action buttons */
|
|
635
699
|
.edgepdf-marker-popup-actions {
|
|
636
700
|
display: flex;
|
|
637
701
|
gap: 8px;
|
|
@@ -639,6 +703,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
639
703
|
padding-top: 12px;
|
|
640
704
|
border-top: 1px solid #e0e0e0;
|
|
641
705
|
}
|
|
706
|
+
|
|
642
707
|
.edgepdf-marker-popup-edit,
|
|
643
708
|
.edgepdf-marker-popup-delete {
|
|
644
709
|
flex: 1;
|
|
@@ -651,18 +716,23 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
651
716
|
font-size: 14px;
|
|
652
717
|
transition: all 0.2s ease;
|
|
653
718
|
}
|
|
719
|
+
|
|
654
720
|
.edgepdf-marker-popup-edit:hover {
|
|
655
721
|
background-color: #f0f0f0;
|
|
656
722
|
border-color: #999;
|
|
657
723
|
}
|
|
724
|
+
|
|
658
725
|
.edgepdf-marker-popup-delete {
|
|
659
726
|
color: #d32f2f;
|
|
660
727
|
border-color: #d32f2f;
|
|
661
728
|
}
|
|
729
|
+
|
|
662
730
|
.edgepdf-marker-popup-delete:hover {
|
|
663
731
|
background-color: #ffebee;
|
|
664
732
|
border-color: #b71c1c;
|
|
665
733
|
}
|
|
734
|
+
|
|
735
|
+
/* Edit popup modal */
|
|
666
736
|
.edgepdf-marker-edit-popup {
|
|
667
737
|
position: fixed;
|
|
668
738
|
top: 0;
|
|
@@ -674,6 +744,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
674
744
|
align-items: center;
|
|
675
745
|
justify-content: center;
|
|
676
746
|
}
|
|
747
|
+
|
|
677
748
|
.edgepdf-marker-edit-popup-overlay {
|
|
678
749
|
position: absolute;
|
|
679
750
|
top: 0;
|
|
@@ -683,6 +754,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
683
754
|
background-color: rgba(0, 0, 0, 0.5);
|
|
684
755
|
cursor: pointer;
|
|
685
756
|
}
|
|
757
|
+
|
|
686
758
|
.edgepdf-marker-edit-popup-content {
|
|
687
759
|
position: relative;
|
|
688
760
|
background-color: #fff;
|
|
@@ -694,6 +766,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
694
766
|
overflow: auto;
|
|
695
767
|
z-index: 100001;
|
|
696
768
|
}
|
|
769
|
+
|
|
697
770
|
.edgepdf-marker-edit-popup-header {
|
|
698
771
|
display: flex;
|
|
699
772
|
justify-content: space-between;
|
|
@@ -701,12 +774,14 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
701
774
|
padding: 16px 20px;
|
|
702
775
|
border-bottom: 1px solid #e0e0e0;
|
|
703
776
|
}
|
|
777
|
+
|
|
704
778
|
.edgepdf-marker-edit-popup-header h3 {
|
|
705
779
|
margin: 0;
|
|
706
780
|
font-size: 18px;
|
|
707
781
|
font-weight: 600;
|
|
708
782
|
color: #333;
|
|
709
783
|
}
|
|
784
|
+
|
|
710
785
|
.edgepdf-marker-edit-popup-close {
|
|
711
786
|
background: none;
|
|
712
787
|
border: none;
|
|
@@ -723,19 +798,24 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
723
798
|
border-radius: 4px;
|
|
724
799
|
transition: background-color 0.2s ease;
|
|
725
800
|
}
|
|
801
|
+
|
|
726
802
|
.edgepdf-marker-edit-popup-close:hover {
|
|
727
803
|
background-color: #f0f0f0;
|
|
728
804
|
color: #333;
|
|
729
805
|
}
|
|
806
|
+
|
|
730
807
|
.edgepdf-marker-edit-popup-body {
|
|
731
808
|
padding: 20px;
|
|
732
809
|
}
|
|
810
|
+
|
|
733
811
|
.edgepdf-marker-edit-field {
|
|
734
812
|
margin-bottom: 16px;
|
|
735
813
|
}
|
|
814
|
+
|
|
736
815
|
.edgepdf-marker-edit-field:last-child {
|
|
737
816
|
margin-bottom: 0;
|
|
738
817
|
}
|
|
818
|
+
|
|
739
819
|
.edgepdf-marker-edit-field label {
|
|
740
820
|
display: block;
|
|
741
821
|
margin-bottom: 8px;
|
|
@@ -743,6 +823,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
743
823
|
font-weight: 500;
|
|
744
824
|
color: #333;
|
|
745
825
|
}
|
|
826
|
+
|
|
746
827
|
.edgepdf-marker-edit-input {
|
|
747
828
|
width: 100%;
|
|
748
829
|
padding: 10px 12px;
|
|
@@ -752,11 +833,13 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
752
833
|
box-sizing: border-box;
|
|
753
834
|
transition: border-color 0.2s ease;
|
|
754
835
|
}
|
|
836
|
+
|
|
755
837
|
.edgepdf-marker-edit-input:focus {
|
|
756
838
|
outline: none;
|
|
757
839
|
border-color: #1976d2;
|
|
758
840
|
box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
|
|
759
841
|
}
|
|
842
|
+
|
|
760
843
|
.edgepdf-marker-edit-popup-footer {
|
|
761
844
|
display: flex;
|
|
762
845
|
justify-content: flex-end;
|
|
@@ -764,6 +847,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
764
847
|
padding: 16px 20px;
|
|
765
848
|
border-top: 1px solid #e0e0e0;
|
|
766
849
|
}
|
|
850
|
+
|
|
767
851
|
.edgepdf-marker-edit-button {
|
|
768
852
|
padding: 10px 20px;
|
|
769
853
|
border: 1px solid #ccc;
|
|
@@ -775,19 +859,24 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
775
859
|
font-weight: 500;
|
|
776
860
|
transition: all 0.2s ease;
|
|
777
861
|
}
|
|
862
|
+
|
|
778
863
|
.edgepdf-marker-edit-button-cancel:hover {
|
|
779
864
|
background-color: #f0f0f0;
|
|
780
865
|
border-color: #999;
|
|
781
866
|
}
|
|
867
|
+
|
|
782
868
|
.edgepdf-marker-edit-button-save {
|
|
783
869
|
background-color: #1976d2;
|
|
784
870
|
color: #fff;
|
|
785
871
|
border-color: #1976d2;
|
|
786
872
|
}
|
|
873
|
+
|
|
787
874
|
.edgepdf-marker-edit-button-save:hover {
|
|
788
875
|
background-color: #1565c0;
|
|
789
876
|
border-color: #1565c0;
|
|
790
877
|
}
|
|
878
|
+
|
|
879
|
+
/* Delete popup modal - reuses most edit popup styles */
|
|
791
880
|
.edgepdf-marker-delete-popup {
|
|
792
881
|
position: fixed;
|
|
793
882
|
top: 0;
|
|
@@ -799,6 +888,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
799
888
|
align-items: center;
|
|
800
889
|
justify-content: center;
|
|
801
890
|
}
|
|
891
|
+
|
|
802
892
|
.edgepdf-marker-delete-popup-overlay {
|
|
803
893
|
position: absolute;
|
|
804
894
|
top: 0;
|
|
@@ -808,6 +898,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
808
898
|
background-color: rgba(0, 0, 0, 0.5);
|
|
809
899
|
cursor: pointer;
|
|
810
900
|
}
|
|
901
|
+
|
|
811
902
|
.edgepdf-marker-delete-popup-content {
|
|
812
903
|
position: relative;
|
|
813
904
|
background-color: #fff;
|
|
@@ -819,6 +910,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
819
910
|
overflow: auto;
|
|
820
911
|
z-index: 100001;
|
|
821
912
|
}
|
|
913
|
+
|
|
822
914
|
.edgepdf-marker-delete-popup-header {
|
|
823
915
|
display: flex;
|
|
824
916
|
justify-content: space-between;
|
|
@@ -826,12 +918,14 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
826
918
|
padding: 16px 20px;
|
|
827
919
|
border-bottom: 1px solid #e0e0e0;
|
|
828
920
|
}
|
|
921
|
+
|
|
829
922
|
.edgepdf-marker-delete-popup-header h3 {
|
|
830
923
|
margin: 0;
|
|
831
924
|
font-size: 18px;
|
|
832
925
|
font-weight: 600;
|
|
833
926
|
color: #333;
|
|
834
927
|
}
|
|
928
|
+
|
|
835
929
|
.edgepdf-marker-delete-popup-close {
|
|
836
930
|
background: none;
|
|
837
931
|
border: none;
|
|
@@ -848,23 +942,28 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
848
942
|
border-radius: 4px;
|
|
849
943
|
transition: background-color 0.2s ease;
|
|
850
944
|
}
|
|
945
|
+
|
|
851
946
|
.edgepdf-marker-delete-popup-close:hover {
|
|
852
947
|
background-color: #f0f0f0;
|
|
853
948
|
color: #333;
|
|
854
949
|
}
|
|
950
|
+
|
|
855
951
|
.edgepdf-marker-delete-popup-body {
|
|
856
952
|
padding: 20px;
|
|
857
953
|
}
|
|
954
|
+
|
|
858
955
|
.edgepdf-marker-delete-popup-body p {
|
|
859
956
|
margin: 0;
|
|
860
957
|
font-size: 14px;
|
|
861
958
|
color: #333;
|
|
862
959
|
line-height: 1.5;
|
|
863
960
|
}
|
|
961
|
+
|
|
864
962
|
.edgepdf-marker-delete-popup-body strong {
|
|
865
963
|
font-weight: 600;
|
|
866
964
|
color: #d32f2f;
|
|
867
965
|
}
|
|
966
|
+
|
|
868
967
|
.edgepdf-marker-delete-popup-footer {
|
|
869
968
|
display: flex;
|
|
870
969
|
justify-content: flex-end;
|
|
@@ -872,6 +971,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
872
971
|
padding: 16px 20px;
|
|
873
972
|
border-top: 1px solid #e0e0e0;
|
|
874
973
|
}
|
|
974
|
+
|
|
875
975
|
.edgepdf-marker-delete-button {
|
|
876
976
|
padding: 10px 20px;
|
|
877
977
|
border: 1px solid #ccc;
|
|
@@ -883,24 +983,30 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
883
983
|
font-weight: 500;
|
|
884
984
|
transition: all 0.2s ease;
|
|
885
985
|
}
|
|
986
|
+
|
|
886
987
|
.edgepdf-marker-delete-button-cancel:hover {
|
|
887
988
|
background-color: #f0f0f0;
|
|
888
989
|
border-color: #999;
|
|
889
990
|
}
|
|
991
|
+
|
|
890
992
|
.edgepdf-marker-delete-button-confirm {
|
|
891
993
|
background-color: #d32f2f;
|
|
892
994
|
color: #fff;
|
|
893
995
|
border-color: #d32f2f;
|
|
894
996
|
}
|
|
997
|
+
|
|
895
998
|
.edgepdf-marker-delete-button-confirm:hover {
|
|
896
999
|
background-color: #b71c1c;
|
|
897
1000
|
border-color: #b71c1c;
|
|
898
1001
|
}
|
|
1002
|
+
|
|
1003
|
+
/* Marker icon overlay (edit/delete icons on left corner) */
|
|
899
1004
|
.edgepdf-marker-icon-overlay-container {
|
|
900
1005
|
background: transparent !important;
|
|
901
1006
|
border: none !important;
|
|
902
1007
|
box-shadow: none !important;
|
|
903
1008
|
}
|
|
1009
|
+
|
|
904
1010
|
.edgepdf-marker-icon-overlay {
|
|
905
1011
|
display: flex;
|
|
906
1012
|
flex-direction: column;
|
|
@@ -908,6 +1014,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
908
1014
|
position: relative;
|
|
909
1015
|
z-index: 1000;
|
|
910
1016
|
}
|
|
1017
|
+
|
|
911
1018
|
.edgepdf-marker-icon-button {
|
|
912
1019
|
border: none;
|
|
913
1020
|
background: transparent;
|
|
@@ -920,10 +1027,12 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
920
1027
|
height: 24px;
|
|
921
1028
|
transition: transform 0.2s ease, opacity 0.2s ease;
|
|
922
1029
|
}
|
|
1030
|
+
|
|
923
1031
|
.edgepdf-marker-icon-button:hover {
|
|
924
1032
|
transform: scale(1.1);
|
|
925
1033
|
opacity: 0.9;
|
|
926
1034
|
}
|
|
1035
|
+
|
|
927
1036
|
.edgepdf-marker-icon-button:active {
|
|
928
1037
|
transform: scale(0.95);
|
|
929
1038
|
}
|