@maplat/ui 0.10.4 → 0.10.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.
Files changed (38) hide show
  1. package/LICENSE +223 -223
  2. package/README.md +91 -91
  3. package/dist/assets/locales/en/translation.json +64 -64
  4. package/dist/assets/locales/ja/translation.json +64 -64
  5. package/dist/assets/locales/ko/translation.json +65 -65
  6. package/dist/assets/locales/zh/translation.json +65 -65
  7. package/dist/assets/locales/zh-TW/translation.json +65 -65
  8. package/dist/assets/maplat.css +2 -2
  9. package/dist/assets/maplat.css.map +1 -1
  10. package/dist/assets/maplat.js +1 -1
  11. package/dist/assets/maplat.js.LICENSE.txt +1 -1
  12. package/dist/assets/maplat.js.map +1 -1
  13. package/dist/index.html +125 -37
  14. package/dist/service-worker.js +1 -1
  15. package/dist/service-worker.js.LICENSE.txt +1 -1
  16. package/dist/service-worker.js.map +1 -1
  17. package/legacy/bootstrap-native.js +1934 -1934
  18. package/legacy/detect-element-resize.js +153 -153
  19. package/legacy/iziToast.js +1301 -1301
  20. package/legacy/page.js +1153 -1153
  21. package/legacy/qrcode.js +616 -616
  22. package/less/bootstrap.less +7010 -7010
  23. package/less/font-awesome.less +30 -30
  24. package/less/font-face.less +10 -10
  25. package/less/font-face_packed.less +11 -11
  26. package/less/iziToast.less +1732 -1732
  27. package/less/maplat-specific.less +652 -652
  28. package/less/ui.less +11 -11
  29. package/less/ui_packed.less +10 -10
  30. package/locales/en/translation.json +64 -64
  31. package/locales/ja/translation.json +64 -64
  32. package/locales/ko/translation.json +65 -65
  33. package/locales/zh/translation.json +65 -65
  34. package/locales/zh-TW/translation.json +65 -65
  35. package/package.json +106 -105
  36. package/src/index.js +31 -7
  37. package/src/maplat_control.js +25 -7
  38. package/src/service-worker.js +1 -1
@@ -1,653 +1,653 @@
1
- .ol-ctx-menu-container li {
2
- background-size: auto 20px;
3
- background-position: top 0px left 0px;
4
- }
5
-
6
- .ol-ctx-menu-container li:not(.ol-ctx-menu-separator).selected {
7
- background-color: #333;
8
- color: #eee;
9
- }
10
-
11
- .modal_load_title {
12
- font-family: 'Clarendon';
13
- }
14
-
15
- .modal_load .close, .modal_gpsW .close, .temp_no_close.close {
16
- display: none;
17
- }
18
-
19
- .modal_poi_content, .modal_map_content, .modal_load_content, .modal_gpsW_content, .modal_gpsD_content,
20
- .modal_help_content, .modal_title, .modal_load_title, .modal_gpsW_title, .modal_help_title,
21
- .modal_share_content, .modal_share_title, .modal_hide_marker_content, .modal_hide_marker_title {
22
- display: none;
23
- }
24
-
25
- .modal_poi .modal_poi_content, .modal_map .modal_map_content,
26
- .modal_load .modal_load_content, .modal_help .modal_help_content,
27
- .modal_gpsW .modal_gpsW_content, .modal_gpsD .modal_gpsD_content,
28
- .modal_share .modal_share_content, .modal_hide_marker .modal_hide_marker_content {
29
- display: block;
30
- }
31
-
32
- .modal_poi .modal_title, .modal_map .modal_title,
33
- .modal_gpsD .modal_title, .modal_help .modal_help_title,
34
- .modal_load .modal_load_title, .modal_gpsW .modal_gpsW_title,
35
- .modal_share .modal_share_title, .modal_hide_marker .modal_hide_marker_title {
36
- display: inline;
37
- }
38
-
39
- .modal_cache_content, .modal_share_state, .share_help, .border_help, .hide_marker_help {
40
- display: none;
41
- }
42
-
43
- &.enable_cache .modal_cache_content, &.state_url .modal_share_state {
44
- display: block;
45
- }
46
-
47
- &.enable_share .share_help, &.enable_border .border_help, &.enable_hide_marker .hide_marker_help {
48
- display: inline;
49
- }
50
-
51
- &.ol-touch .ol-zoom {
52
- display: none;
53
- }
54
-
55
- .ol-rotate {
56
- right: .5em;
57
- right: calc(.5em + constant(safe-area-inset-right));
58
- right: calc(.5em + env(safe-area-inset-right));
59
- }
60
-
61
- .gps {
62
- top: 80px;
63
- left: .5em;
64
- left: calc(.5em + constant(safe-area-inset-left));
65
- left: calc(.5em + env(safe-area-inset-left));
66
- }
67
-
68
- &.ol-touch .gps {
69
- top: .5em;
70
- }
71
-
72
- .home {
73
- top: 120px;
74
- left: .5em;
75
- left: calc(.5em + constant(safe-area-inset-left));
76
- left: calc(.5em + env(safe-area-inset-left));
77
- }
78
-
79
- &.ol-touch .home {
80
- top: calc(.5em + 50px);
81
- }
82
-
83
- .poi_img, .help_img {
84
- position: relative;
85
- display: table-cell;
86
- text-align: center;
87
- vertical-align: middle;
88
- }
89
-
90
- .poi_img img, .help_img img {
91
- max-width: 100%;
92
- top: 0px;
93
- bottom: 0px;
94
- left: 0px;
95
- right: 0px;
96
- margin: auto;
97
- vertical-align: middle; /*IE7*/
98
- }
99
-
100
- img.markerlist {
101
- max-width: 100%;
102
- max-height: 100%;
103
- top: 0px;
104
- bottom: 0px;
105
- left: 0px;
106
- right: 0px;
107
- margin: auto;
108
- vertical-align: middle; /*IE7*/
109
- }
110
-
111
- input[type="checkbox"].markerlist {
112
- display: none;
113
- }
114
-
115
- input[type="checkbox"].markerlist + label.check {
116
- position: relative;
117
- cursor: pointer;
118
- display: inline-block;
119
- width: 60px;
120
- height: 28px;
121
- color: #969696;
122
- border: 1px solid #a3a3a3;
123
- border-radius: 3px;
124
- background-color: #ffffff;
125
- }
126
-
127
- input[type="checkbox"].markerlist:checked + label.check {
128
- border: 1px solid #4db4e4;
129
- background-color: #4db4e4;
130
- }
131
-
132
- input[type="checkbox"].markerlist + label.check::before {
133
- content: "OFF";
134
- position: absolute;
135
- top: 4px;
136
- left: auto;
137
- right: 6px;
138
- }
139
-
140
- input[type="checkbox"].markerlist:checked + label.check::before {
141
- content: "ON";
142
- position: absolute;
143
- left: 6px;
144
- right: auto;
145
- color: #ffffff;
146
- }
147
-
148
- input[type="checkbox"].markerlist + label.check > div {
149
- position: absolute;
150
- top: 2px;
151
- left: 2px;
152
- width: 12px;
153
- height: 22px;
154
- border: 1px solid #a3a3a3;
155
- border-radius: 3px;
156
- background-color: #ffffff;
157
- transition: 0.2s;
158
- }
159
-
160
- input[type="checkbox"].markerlist:checked + label.check > div {
161
- border: 1px solid transparent;
162
- left: 44px;
163
- }
164
-
165
- .embed-responsive-60vh {
166
- padding-bottom: 60vh;
167
- }
168
-
169
- .poi_data {
170
- display: inline-block;
171
- width: 100%;
172
- }
173
-
174
- .iframe_poi {
175
- width: 99.6% !important;
176
- }
177
-
178
- .map-title {
179
- top: .5em;
180
- width: 500px;
181
- left: calc(50% - 250px);
182
- background-color: rgba(32, 32, 32, 0.5);
183
- color: white;
184
- margin: auto;
185
- text-align: center;
186
- overflow: hidden;
187
- white-space: nowrap;
188
- text-overflow: ellipsis;
189
- font-size: 18px;
190
- }
191
-
192
- @media screen and (max-width: 600px) {
193
- .map-title {
194
- width: calc(100% - 100px);
195
- left: 50px;
196
- }
197
-
198
- &.ol-touch .map-title {
199
- width: calc(100% - 130px);
200
- left: 65px;
201
- }
202
- }
203
-
204
- .swiper-container.base-swiper, .swiper-container.overlay-swiper {
205
- position: absolute;
206
- bottom: .5em;
207
- bottom: calc(.5em + constant(safe-area-inset-bottom));
208
- bottom: calc(.5em + env(safe-area-inset-bottom));
209
- width: 224px;
210
- background-color: rgba(32, 32, 32, 0.5);
211
- height: 60px;
212
- }
213
-
214
- .swiper-container.poi_img_swiper {
215
- position: relative;
216
- width: 100%;
217
- height: 300px;
218
- }
219
-
220
- .base-swiper {
221
- left: calc(50% - 312px);
222
- }
223
-
224
- .overlay-swiper {
225
- left: calc(50% + 88px)
226
- }
227
-
228
- @media screen and (max-width: 640px) {
229
- .swiper-container.base-swiper, .swiper-container.overlay-swiper {
230
- width: 35%;
231
- }
232
-
233
- .base-swiper {
234
- left: 1.25%;
235
- }
236
-
237
- .overlay-swiper {
238
- left: 63.75%;
239
- }
240
- }
241
-
242
- @media screen and (max-width: 320px) {
243
- .swiper-container.base-swiper, .swiper-container.overlay-swiper {
244
- width: 112px;
245
- }
246
-
247
- .base-swiper {
248
- left: 4px;
249
- }
250
-
251
- .overlay-swiper {
252
- left: 204px;
253
- }
254
- }
255
-
256
- .base-swiper .swiper-slide, .overlay-swiper .swiper-slide {
257
- text-align: center;
258
- font-size: 18px;
259
- background-color: rgba(0, 0, 0, 0);
260
- width: 80px;
261
- height: 60px;
262
-
263
- /* Center slide text vertically */
264
- display: -webkit-box;
265
- display: -ms-flexbox;
266
- display: -webkit-flex;
267
- display: flex;
268
- -webkit-box-pack: center;
269
- -ms-flex-pack: center;
270
- -webkit-justify-content: center;
271
- justify-content: center;
272
- -webkit-box-align: center;
273
- -ms-flex-align: center;
274
- -webkit-align-items: center;
275
- align-items: center;
276
- }
277
-
278
- .poi_img_swiper .swiper-slide {
279
- width: 100%;
280
- height: 100%;
281
- text-align: center;
282
- }
283
-
284
- .poi_img_swiper .swiper-slide img {
285
- top: 0px;
286
- width: auto;
287
- height: auto;
288
- max-width: 100%;
289
- max-height: calc(100% - 50px);
290
- }
291
-
292
- .poi_img_swiper .swiper-slide div {
293
- bottom: 0px;
294
- width: 100%;
295
- height: 50px;
296
- text-align: center;
297
- }
298
-
299
- .base-swiper .swiper-slide.selected, .overlay-swiper .swiper-slide.selected {
300
- background-color: rgba(0, 0, 255, 0.1);
301
- }
302
-
303
- .base-next, .base-prev, .overlay-next, .overlay-prev {
304
- margin-top: 0px;
305
- top: 15px;
306
- bottom: 15px;
307
- height: 30px;
308
- width: 18px;
309
- background-size: 18px 30px;
310
- }
311
-
312
- &.show-border {
313
- .swiper-slide.maroon {
314
- border-style: dashed;
315
- border-color: maroon;
316
- border-width: 2px;
317
- }
318
- .swiper-slide.deeppink {
319
- border-style: dashed;
320
- border-color: deeppink;
321
- border-width: 2px;
322
- }
323
- .swiper-slide.indigo {
324
- border-style: dashed;
325
- border-color: indigo;
326
- border-width: 2px;
327
- }
328
- .swiper-slide.olive {
329
- border-style: dashed;
330
- border-color: olive;
331
- border-width: 2px;
332
- }
333
- .swiper-slide.royalblue {
334
- border-style: dashed;
335
- border-color: royalblue;
336
- border-width: 2px;
337
- }
338
- .swiper-slide.red {
339
- border-style: dashed;
340
- border-color: red;
341
- border-width: 2px;
342
- }
343
- .swiper-slide.hotpink {
344
- border-style: dashed;
345
- border-color: hotpink;
346
- border-width: 2px;
347
- }
348
- .swiper-slide.green {
349
- border-style: dashed;
350
- border-color: green;
351
- border-width: 2px;
352
- }
353
- .swiper-slide.yellow {
354
- border-style: dashed;
355
- border-color: yellow;
356
- border-width: 2px;
357
- }
358
- .swiper-slide.navy {
359
- border-style: dashed;
360
- border-color: navy;
361
- border-width: 2px;
362
- }
363
- .swiper-slide.saddlebrown {
364
- border-style: dashed;
365
- border-color: saddlebrown;
366
- border-width: 2px;
367
- }
368
- .swiper-slide.fuchsia {
369
- border-style: dashed;
370
- border-color: fuchsia;
371
- border-width: 2px;
372
- }
373
- .swiper-slide.darkslategray {
374
- border-style: dashed;
375
- border-color: darkslategray;
376
- border-width: 2px;
377
- }
378
- .swiper-slide.yellowgreen {
379
- border-style: dashed;
380
- border-color: yellowgreen;
381
- border-width: 2px;
382
- }
383
- .swiper-slide.blue {
384
- border-style: dashed;
385
- border-color: blue;
386
- border-width: 2px;
387
- }
388
- .swiper-slide.mediumvioletred {
389
- border-style: dashed;
390
- border-color: mediumvioletred;
391
- border-width: 2px;
392
- }
393
- .swiper-slide.purple {
394
- border-style: dashed;
395
- border-color: purple;
396
- border-width: 2px;
397
- }
398
- .swiper-slide.lime {
399
- border-style: dashed;
400
- border-color: lime;
401
- border-width: 2px;
402
- }
403
- .swiper-slide.darkorange {
404
- border-style: dashed;
405
- border-color: darkorange;
406
- border-width: 2px;
407
- }
408
- .swiper-slide.teal {
409
- border-style: dashed;
410
- border-color: teal;
411
- border-width: 2px;
412
- }
413
- .swiper-slide.crimson {
414
- border-style: dashed;
415
- border-color: crimson;
416
- border-width: 2px;
417
- }
418
- .swiper-slide.darkviolet {
419
- border-style: dashed;
420
- border-color: darkviolet;
421
- border-width: 2px;
422
- }
423
- .swiper-slide.darkolivegreen {
424
- border-style: dashed;
425
- border-color: darkolivegreen;
426
- border-width: 2px;
427
- }
428
- .swiper-slide.steelblue {
429
- border-style: dashed;
430
- border-color: steelblue;
431
- border-width: 2px;
432
- }
433
- .swiper-slide.aqua {
434
- border-style: dashed;
435
- border-color: aqua;
436
- border-width: 2px;
437
- }
438
- }
439
-
440
- .base-swiper .swiper-slide img, .overlay-swiper .swiper-slide img {
441
- position: absolute;
442
- top: 0;
443
- right: 0;
444
- bottom: 0;
445
- left: 0;
446
- margin: auto;
447
- z-index: 0;
448
- }
449
-
450
- .base-swiper .swiper-slide div, .overlay-swiper .swiper-slide div {
451
- font-size: 1em;
452
- position: absolute;
453
- right: 0;
454
- bottom: .1em;
455
- left: 0;
456
- margin: auto;
457
- z-index: 1;
458
- color: white;
459
- background-color: rgba(32, 32, 32, 0.5);
460
- }
461
- .base-swiper .swiper-slide div.minimize, .overlay-swiper .swiper-slide div.minimize {
462
- font-size: .8em;
463
- }
464
-
465
- .single-map {
466
- .swiper-left-icon, .swiper-right-icon {
467
- display: none;
468
- }
469
- }
470
-
471
- .swiper-left-icon {
472
- position: absolute;
473
- left: 0px;
474
- top: calc(50% - 5px);
475
- width: 10px;
476
- height: 10px;
477
- color: #ffffff;
478
- z-index: 10;
479
- }
480
-
481
- .swiper-right-icon {
482
- position: absolute;
483
- left: calc(100% - 10px);
484
- top: calc(50% - 5px);
485
- width: 10px;
486
- height: 10px;
487
- color: #ffffff;
488
- z-index: 10;
489
- }
490
-
491
- @media screen and (max-width: 480px) {
492
- &.ol-touch .swiper-slide div {
493
- font-size: .8em;
494
- }
495
-
496
- &.ol-touch .swiper-slide div.minimize {
497
- font-size: .6em;
498
- }
499
- }
500
-
501
- .ol-share {
502
- left: .5em;
503
- left: calc(.5em + constant(safe-area-inset-left));
504
- left: calc(.5em + env(safe-area-inset-left));
505
- bottom: calc(105px + .5em);
506
- }
507
-
508
- &.ol-touch .ol-share {
509
- bottom: calc(115px + .5em);
510
- bottom: calc(115px + .5em + constant(safe-area-inset-bottom));
511
- bottom: calc(115px + .5em + env(safe-area-inset-bottom));
512
- }
513
-
514
- .ol-border, .ol-hide-marker {
515
- right: .5em;
516
- right: calc(.5em + constant(safe-area-inset-right));
517
- right: calc(.5em + env(safe-area-inset-right));
518
- bottom: calc(105px + .5em);
519
- }
520
-
521
- &.ol-touch .ol-border, &.ol-touch .ol-hide-marker {
522
- bottom: calc(115px + .5em);
523
- bottom: calc(115px + .5em + constant(safe-area-inset-bottom));
524
- bottom: calc(115px + .5em + env(safe-area-inset-bottom));
525
- }
526
-
527
- &.enable_border .ol-hide-marker {
528
- right: .5em;
529
- right: calc(.5em + constant(safe-area-inset-right));
530
- right: calc(.5em + env(safe-area-inset-right));
531
- bottom: calc(145px + .5em);
532
- }
533
-
534
- &.enable_border.ol-touch .ol-hide-marker {
535
- bottom: calc(165px + .5em);
536
- bottom: calc(165px + .5em + constant(safe-area-inset-bottom));
537
- bottom: calc(165px + .5em + env(safe-area-inset-bottom));
538
- }
539
-
540
- .ol-copyright {
541
- right: .5em;
542
- right: calc(.5em + constant(safe-area-inset-right));
543
- right: calc(.5em + env(safe-area-inset-right));
544
- bottom: calc(65px + .5em);
545
- bottom: calc(65px + .5em + constant(safe-area-inset-bottom));
546
- bottom: calc(65px + .5em + env(safe-area-inset-bottom));
547
- }
548
-
549
- .ol-maplat {
550
- left: .5em;
551
- left: calc(.5em + constant(safe-area-inset-left));
552
- left: calc(.5em + env(safe-area-inset-left));
553
- bottom: calc(65px + .5em);
554
- bottom: calc(65px + .5em + constant(safe-area-inset-bottom));
555
- bottom: calc(65px + .5em + env(safe-area-inset-bottom));
556
- }
557
-
558
- .ol-compass-fa {
559
- -webkit-transform: rotate(-33deg);
560
- -o-transform: rotate(-33deg);
561
- transform: rotate(-33deg);
562
- }
563
-
564
- .ol-control {
565
- opacity: 1;
566
- }
567
-
568
- .ol-control.fade {
569
- display: none;
570
- }
571
-
572
- &.with-opacity .ol-slidercommon.fade {
573
- display: none;
574
- }
575
-
576
- &.no_poi .ol-hide-marker {
577
- display: none;
578
- }
579
-
580
- .ol-control.disable button,
581
- &.show-border .ol-control.ol-border button,
582
- &.hide-marker .ol-control.ol-hide-marker button {
583
- color: rgba(255, 255, 255, .7);
584
- background-color: rgba(120, 5, 8, .2);
585
- }
586
-
587
- .ol-control.disable button:focus, .ol-control.disable button:hover,
588
- &.show-border .ol-control.ol-border button:focus, &.show-border .ol-control.ol-border button:hover,
589
- &.hide-marker .ol-control.ol-hide-marker button:focus, &.hide-marker .ol-control.ol-hide-marker button:hover{
590
- color: rgba(255, 255, 255, .7);
591
- background-color: rgba(120, 5, 8, .2)
592
- }
593
-
594
- .ol-control button {
595
- height: 2.0625em;
596
- width: 2.0625em;
597
- background-color: rgba(120, 5, 8, .5);
598
- }
599
-
600
- .ol-slidercommon {
601
- display: none;
602
- }
603
-
604
- &.with-opacity .ol-slidercommon {
605
- display: block;
606
- bottom: .5em;
607
- bottom: calc(.5em + constant(safe-area-inset-bottom));
608
- bottom: calc(.5em + env(safe-area-inset-bottom));
609
- left: calc(50% - 80px);
610
- width: 160px;
611
- height: 25px;
612
- padding: 0;
613
- border: 2px solid #666666;
614
- }
615
-
616
- @media screen and (max-width: 640px) {
617
- &.with-opacity .ol-slidercommon {
618
- left: 37.5%;
619
- width: 25%;
620
- }
621
- }
622
-
623
- @media screen and (max-width: 320px) {
624
- &.with-opacity .ol-slidercommon {
625
- left: 120px;
626
- width: 80px;
627
- }
628
- }
629
-
630
- &.with-opacity .ol-slidercommon button {
631
- position: relative;
632
- width: 20px;
633
- height: 25px;
634
- margin-left: -2px;
635
- margin-right: 2px;
636
- margin-top: -2px;
637
- }
638
-
639
- &.with-opacity .ol-slidercommon-thumb {
640
- height: 15px;
641
- width: 15px;
642
- margin: 0;
643
- filter: none;
644
- }
645
-
646
- &.with-opacity .ol-slidercommon.disable button {
647
- color: rgba(255, 255, 255, .7);
648
- background-color: rgba(120, 5, 8, .2);
649
- }
650
-
651
- .ol-control button:focus, .ol-control button:hover {
652
- background-color: rgba(120, 5, 8, .7)
1
+ .ol-ctx-menu-container li {
2
+ background-size: auto 20px;
3
+ background-position: top 0px left 0px;
4
+ }
5
+
6
+ .ol-ctx-menu-container li:not(.ol-ctx-menu-separator).selected {
7
+ background-color: #333;
8
+ color: #eee;
9
+ }
10
+
11
+ .modal_load_title {
12
+ font-family: 'Clarendon';
13
+ }
14
+
15
+ .modal_load .close, .modal_gpsW .close, .temp_no_close.close {
16
+ display: none;
17
+ }
18
+
19
+ .modal_poi_content, .modal_map_content, .modal_load_content, .modal_gpsW_content, .modal_gpsD_content,
20
+ .modal_help_content, .modal_title, .modal_load_title, .modal_gpsW_title, .modal_help_title,
21
+ .modal_share_content, .modal_share_title, .modal_hide_marker_content, .modal_hide_marker_title {
22
+ display: none;
23
+ }
24
+
25
+ .modal_poi .modal_poi_content, .modal_map .modal_map_content,
26
+ .modal_load .modal_load_content, .modal_help .modal_help_content,
27
+ .modal_gpsW .modal_gpsW_content, .modal_gpsD .modal_gpsD_content,
28
+ .modal_share .modal_share_content, .modal_hide_marker .modal_hide_marker_content {
29
+ display: block;
30
+ }
31
+
32
+ .modal_poi .modal_title, .modal_map .modal_title,
33
+ .modal_gpsD .modal_title, .modal_help .modal_help_title,
34
+ .modal_load .modal_load_title, .modal_gpsW .modal_gpsW_title,
35
+ .modal_share .modal_share_title, .modal_hide_marker .modal_hide_marker_title {
36
+ display: inline;
37
+ }
38
+
39
+ .modal_cache_content, .modal_share_state, .share_help, .border_help, .hide_marker_help {
40
+ display: none;
41
+ }
42
+
43
+ &.enable_cache .modal_cache_content, &.state_url .modal_share_state {
44
+ display: block;
45
+ }
46
+
47
+ &.enable_share .share_help, &.enable_border .border_help, &.enable_hide_marker .hide_marker_help {
48
+ display: inline;
49
+ }
50
+
51
+ &.ol-touch .ol-zoom {
52
+ display: none;
53
+ }
54
+
55
+ .ol-rotate {
56
+ right: .5em;
57
+ right: calc(.5em + constant(safe-area-inset-right));
58
+ right: calc(.5em + env(safe-area-inset-right));
59
+ }
60
+
61
+ .gps {
62
+ top: 80px;
63
+ left: .5em;
64
+ left: calc(.5em + constant(safe-area-inset-left));
65
+ left: calc(.5em + env(safe-area-inset-left));
66
+ }
67
+
68
+ &.ol-touch .gps {
69
+ top: .5em;
70
+ }
71
+
72
+ .home {
73
+ top: 120px;
74
+ left: .5em;
75
+ left: calc(.5em + constant(safe-area-inset-left));
76
+ left: calc(.5em + env(safe-area-inset-left));
77
+ }
78
+
79
+ &.ol-touch .home {
80
+ top: calc(.5em + 50px);
81
+ }
82
+
83
+ .poi_img, .help_img {
84
+ position: relative;
85
+ display: table-cell;
86
+ text-align: center;
87
+ vertical-align: middle;
88
+ }
89
+
90
+ .poi_img img, .help_img img {
91
+ max-width: 100%;
92
+ top: 0px;
93
+ bottom: 0px;
94
+ left: 0px;
95
+ right: 0px;
96
+ margin: auto;
97
+ vertical-align: middle; /*IE7*/
98
+ }
99
+
100
+ img.markerlist {
101
+ max-width: 100%;
102
+ max-height: 100%;
103
+ top: 0px;
104
+ bottom: 0px;
105
+ left: 0px;
106
+ right: 0px;
107
+ margin: auto;
108
+ vertical-align: middle; /*IE7*/
109
+ }
110
+
111
+ input[type="checkbox"].markerlist {
112
+ display: none;
113
+ }
114
+
115
+ input[type="checkbox"].markerlist + label.check {
116
+ position: relative;
117
+ cursor: pointer;
118
+ display: inline-block;
119
+ width: 60px;
120
+ height: 28px;
121
+ color: #969696;
122
+ border: 1px solid #a3a3a3;
123
+ border-radius: 3px;
124
+ background-color: #ffffff;
125
+ }
126
+
127
+ input[type="checkbox"].markerlist:checked + label.check {
128
+ border: 1px solid #4db4e4;
129
+ background-color: #4db4e4;
130
+ }
131
+
132
+ input[type="checkbox"].markerlist + label.check::before {
133
+ content: "OFF";
134
+ position: absolute;
135
+ top: 4px;
136
+ left: auto;
137
+ right: 6px;
138
+ }
139
+
140
+ input[type="checkbox"].markerlist:checked + label.check::before {
141
+ content: "ON";
142
+ position: absolute;
143
+ left: 6px;
144
+ right: auto;
145
+ color: #ffffff;
146
+ }
147
+
148
+ input[type="checkbox"].markerlist + label.check > div {
149
+ position: absolute;
150
+ top: 2px;
151
+ left: 2px;
152
+ width: 12px;
153
+ height: 22px;
154
+ border: 1px solid #a3a3a3;
155
+ border-radius: 3px;
156
+ background-color: #ffffff;
157
+ transition: 0.2s;
158
+ }
159
+
160
+ input[type="checkbox"].markerlist:checked + label.check > div {
161
+ border: 1px solid transparent;
162
+ left: 44px;
163
+ }
164
+
165
+ .embed-responsive-60vh {
166
+ padding-bottom: 60vh;
167
+ }
168
+
169
+ .poi_data {
170
+ display: inline-block;
171
+ width: 100%;
172
+ }
173
+
174
+ .iframe_poi {
175
+ width: 99.6% !important;
176
+ }
177
+
178
+ .map-title {
179
+ top: .5em;
180
+ width: 500px;
181
+ left: calc(50% - 250px);
182
+ background-color: rgba(32, 32, 32, 0.5);
183
+ color: white;
184
+ margin: auto;
185
+ text-align: center;
186
+ overflow: hidden;
187
+ white-space: nowrap;
188
+ text-overflow: ellipsis;
189
+ font-size: 18px;
190
+ }
191
+
192
+ @media screen and (max-width: 600px) {
193
+ .map-title {
194
+ width: calc(100% - 100px);
195
+ left: 50px;
196
+ }
197
+
198
+ &.ol-touch .map-title {
199
+ width: calc(100% - 130px);
200
+ left: 65px;
201
+ }
202
+ }
203
+
204
+ .swiper-container.base-swiper, .swiper-container.overlay-swiper {
205
+ position: absolute;
206
+ bottom: .5em;
207
+ bottom: calc(.5em + constant(safe-area-inset-bottom));
208
+ bottom: calc(.5em + env(safe-area-inset-bottom));
209
+ width: 224px;
210
+ background-color: rgba(32, 32, 32, 0.5);
211
+ height: 60px;
212
+ }
213
+
214
+ .swiper-container.poi_img_swiper {
215
+ position: relative;
216
+ width: 100%;
217
+ height: 300px;
218
+ }
219
+
220
+ .base-swiper {
221
+ left: calc(50% - 312px);
222
+ }
223
+
224
+ .overlay-swiper {
225
+ left: calc(50% + 88px)
226
+ }
227
+
228
+ @media screen and (max-width: 640px) {
229
+ .swiper-container.base-swiper, .swiper-container.overlay-swiper {
230
+ width: 35%;
231
+ }
232
+
233
+ .base-swiper {
234
+ left: 1.25%;
235
+ }
236
+
237
+ .overlay-swiper {
238
+ left: 63.75%;
239
+ }
240
+ }
241
+
242
+ @media screen and (max-width: 320px) {
243
+ .swiper-container.base-swiper, .swiper-container.overlay-swiper {
244
+ width: 112px;
245
+ }
246
+
247
+ .base-swiper {
248
+ left: 4px;
249
+ }
250
+
251
+ .overlay-swiper {
252
+ left: 204px;
253
+ }
254
+ }
255
+
256
+ .base-swiper .swiper-slide, .overlay-swiper .swiper-slide {
257
+ text-align: center;
258
+ font-size: 18px;
259
+ background-color: rgba(0, 0, 0, 0);
260
+ width: 80px;
261
+ height: 60px;
262
+
263
+ /* Center slide text vertically */
264
+ display: -webkit-box;
265
+ display: -ms-flexbox;
266
+ display: -webkit-flex;
267
+ display: flex;
268
+ -webkit-box-pack: center;
269
+ -ms-flex-pack: center;
270
+ -webkit-justify-content: center;
271
+ justify-content: center;
272
+ -webkit-box-align: center;
273
+ -ms-flex-align: center;
274
+ -webkit-align-items: center;
275
+ align-items: center;
276
+ }
277
+
278
+ .poi_img_swiper .swiper-slide {
279
+ width: 100%;
280
+ height: 100%;
281
+ text-align: center;
282
+ }
283
+
284
+ .poi_img_swiper .swiper-slide img {
285
+ top: 0px;
286
+ width: auto;
287
+ height: auto;
288
+ max-width: 100%;
289
+ max-height: calc(100% - 50px);
290
+ }
291
+
292
+ .poi_img_swiper .swiper-slide div {
293
+ bottom: 0px;
294
+ width: 100%;
295
+ height: 50px;
296
+ text-align: center;
297
+ }
298
+
299
+ .base-swiper .swiper-slide.selected, .overlay-swiper .swiper-slide.selected {
300
+ background-color: rgba(0, 0, 255, 0.1);
301
+ }
302
+
303
+ .base-next, .base-prev, .overlay-next, .overlay-prev {
304
+ margin-top: 0px;
305
+ top: 15px;
306
+ bottom: 15px;
307
+ height: 30px;
308
+ width: 18px;
309
+ background-size: 18px 30px;
310
+ }
311
+
312
+ &.show-border {
313
+ .swiper-slide.maroon {
314
+ border-style: dashed;
315
+ border-color: maroon;
316
+ border-width: 2px;
317
+ }
318
+ .swiper-slide.deeppink {
319
+ border-style: dashed;
320
+ border-color: deeppink;
321
+ border-width: 2px;
322
+ }
323
+ .swiper-slide.indigo {
324
+ border-style: dashed;
325
+ border-color: indigo;
326
+ border-width: 2px;
327
+ }
328
+ .swiper-slide.olive {
329
+ border-style: dashed;
330
+ border-color: olive;
331
+ border-width: 2px;
332
+ }
333
+ .swiper-slide.royalblue {
334
+ border-style: dashed;
335
+ border-color: royalblue;
336
+ border-width: 2px;
337
+ }
338
+ .swiper-slide.red {
339
+ border-style: dashed;
340
+ border-color: red;
341
+ border-width: 2px;
342
+ }
343
+ .swiper-slide.hotpink {
344
+ border-style: dashed;
345
+ border-color: hotpink;
346
+ border-width: 2px;
347
+ }
348
+ .swiper-slide.green {
349
+ border-style: dashed;
350
+ border-color: green;
351
+ border-width: 2px;
352
+ }
353
+ .swiper-slide.yellow {
354
+ border-style: dashed;
355
+ border-color: yellow;
356
+ border-width: 2px;
357
+ }
358
+ .swiper-slide.navy {
359
+ border-style: dashed;
360
+ border-color: navy;
361
+ border-width: 2px;
362
+ }
363
+ .swiper-slide.saddlebrown {
364
+ border-style: dashed;
365
+ border-color: saddlebrown;
366
+ border-width: 2px;
367
+ }
368
+ .swiper-slide.fuchsia {
369
+ border-style: dashed;
370
+ border-color: fuchsia;
371
+ border-width: 2px;
372
+ }
373
+ .swiper-slide.darkslategray {
374
+ border-style: dashed;
375
+ border-color: darkslategray;
376
+ border-width: 2px;
377
+ }
378
+ .swiper-slide.yellowgreen {
379
+ border-style: dashed;
380
+ border-color: yellowgreen;
381
+ border-width: 2px;
382
+ }
383
+ .swiper-slide.blue {
384
+ border-style: dashed;
385
+ border-color: blue;
386
+ border-width: 2px;
387
+ }
388
+ .swiper-slide.mediumvioletred {
389
+ border-style: dashed;
390
+ border-color: mediumvioletred;
391
+ border-width: 2px;
392
+ }
393
+ .swiper-slide.purple {
394
+ border-style: dashed;
395
+ border-color: purple;
396
+ border-width: 2px;
397
+ }
398
+ .swiper-slide.lime {
399
+ border-style: dashed;
400
+ border-color: lime;
401
+ border-width: 2px;
402
+ }
403
+ .swiper-slide.darkorange {
404
+ border-style: dashed;
405
+ border-color: darkorange;
406
+ border-width: 2px;
407
+ }
408
+ .swiper-slide.teal {
409
+ border-style: dashed;
410
+ border-color: teal;
411
+ border-width: 2px;
412
+ }
413
+ .swiper-slide.crimson {
414
+ border-style: dashed;
415
+ border-color: crimson;
416
+ border-width: 2px;
417
+ }
418
+ .swiper-slide.darkviolet {
419
+ border-style: dashed;
420
+ border-color: darkviolet;
421
+ border-width: 2px;
422
+ }
423
+ .swiper-slide.darkolivegreen {
424
+ border-style: dashed;
425
+ border-color: darkolivegreen;
426
+ border-width: 2px;
427
+ }
428
+ .swiper-slide.steelblue {
429
+ border-style: dashed;
430
+ border-color: steelblue;
431
+ border-width: 2px;
432
+ }
433
+ .swiper-slide.aqua {
434
+ border-style: dashed;
435
+ border-color: aqua;
436
+ border-width: 2px;
437
+ }
438
+ }
439
+
440
+ .base-swiper .swiper-slide img, .overlay-swiper .swiper-slide img {
441
+ position: absolute;
442
+ top: 0;
443
+ right: 0;
444
+ bottom: 0;
445
+ left: 0;
446
+ margin: auto;
447
+ z-index: 0;
448
+ }
449
+
450
+ .base-swiper .swiper-slide div, .overlay-swiper .swiper-slide div {
451
+ font-size: 1em;
452
+ position: absolute;
453
+ right: 0;
454
+ bottom: .1em;
455
+ left: 0;
456
+ margin: auto;
457
+ z-index: 1;
458
+ color: white;
459
+ background-color: rgba(32, 32, 32, 0.5);
460
+ }
461
+ .base-swiper .swiper-slide div.minimize, .overlay-swiper .swiper-slide div.minimize {
462
+ font-size: .8em;
463
+ }
464
+
465
+ .single-map {
466
+ .swiper-left-icon, .swiper-right-icon {
467
+ display: none;
468
+ }
469
+ }
470
+
471
+ .swiper-left-icon {
472
+ position: absolute;
473
+ left: 0px;
474
+ top: calc(50% - 5px);
475
+ width: 10px;
476
+ height: 10px;
477
+ color: #ffffff;
478
+ z-index: 10;
479
+ }
480
+
481
+ .swiper-right-icon {
482
+ position: absolute;
483
+ left: calc(100% - 10px);
484
+ top: calc(50% - 5px);
485
+ width: 10px;
486
+ height: 10px;
487
+ color: #ffffff;
488
+ z-index: 10;
489
+ }
490
+
491
+ @media screen and (max-width: 480px) {
492
+ &.ol-touch .swiper-slide div {
493
+ font-size: .8em;
494
+ }
495
+
496
+ &.ol-touch .swiper-slide div.minimize {
497
+ font-size: .6em;
498
+ }
499
+ }
500
+
501
+ .ol-share {
502
+ left: .5em;
503
+ left: calc(.5em + constant(safe-area-inset-left));
504
+ left: calc(.5em + env(safe-area-inset-left));
505
+ bottom: calc(105px + .5em);
506
+ }
507
+
508
+ &.ol-touch .ol-share {
509
+ bottom: calc(115px + .5em);
510
+ bottom: calc(115px + .5em + constant(safe-area-inset-bottom));
511
+ bottom: calc(115px + .5em + env(safe-area-inset-bottom));
512
+ }
513
+
514
+ .ol-border, .ol-hide-marker {
515
+ right: .5em;
516
+ right: calc(.5em + constant(safe-area-inset-right));
517
+ right: calc(.5em + env(safe-area-inset-right));
518
+ bottom: calc(105px + .5em);
519
+ }
520
+
521
+ &.ol-touch .ol-border, &.ol-touch .ol-hide-marker {
522
+ bottom: calc(115px + .5em);
523
+ bottom: calc(115px + .5em + constant(safe-area-inset-bottom));
524
+ bottom: calc(115px + .5em + env(safe-area-inset-bottom));
525
+ }
526
+
527
+ &.enable_border .ol-hide-marker {
528
+ right: .5em;
529
+ right: calc(.5em + constant(safe-area-inset-right));
530
+ right: calc(.5em + env(safe-area-inset-right));
531
+ bottom: calc(145px + .5em);
532
+ }
533
+
534
+ &.enable_border.ol-touch .ol-hide-marker {
535
+ bottom: calc(165px + .5em);
536
+ bottom: calc(165px + .5em + constant(safe-area-inset-bottom));
537
+ bottom: calc(165px + .5em + env(safe-area-inset-bottom));
538
+ }
539
+
540
+ .ol-copyright {
541
+ right: .5em;
542
+ right: calc(.5em + constant(safe-area-inset-right));
543
+ right: calc(.5em + env(safe-area-inset-right));
544
+ bottom: calc(65px + .5em);
545
+ bottom: calc(65px + .5em + constant(safe-area-inset-bottom));
546
+ bottom: calc(65px + .5em + env(safe-area-inset-bottom));
547
+ }
548
+
549
+ .ol-maplat {
550
+ left: .5em;
551
+ left: calc(.5em + constant(safe-area-inset-left));
552
+ left: calc(.5em + env(safe-area-inset-left));
553
+ bottom: calc(65px + .5em);
554
+ bottom: calc(65px + .5em + constant(safe-area-inset-bottom));
555
+ bottom: calc(65px + .5em + env(safe-area-inset-bottom));
556
+ }
557
+
558
+ .ol-compass-fa {
559
+ -webkit-transform: rotate(-33deg);
560
+ -o-transform: rotate(-33deg);
561
+ transform: rotate(-33deg);
562
+ }
563
+
564
+ .ol-control {
565
+ opacity: 1;
566
+ }
567
+
568
+ .ol-control.fade {
569
+ display: none;
570
+ }
571
+
572
+ &.with-opacity .ol-slidercommon.fade {
573
+ display: none;
574
+ }
575
+
576
+ &.no_poi .ol-hide-marker {
577
+ display: none;
578
+ }
579
+
580
+ .ol-control.disable button,
581
+ &.show-border .ol-control.ol-border button,
582
+ &.hide-marker .ol-control.ol-hide-marker button {
583
+ color: rgba(255, 255, 255, .7);
584
+ background-color: rgba(120, 5, 8, .2);
585
+ }
586
+
587
+ .ol-control.disable button:focus, .ol-control.disable button:hover,
588
+ &.show-border .ol-control.ol-border button:focus, &.show-border .ol-control.ol-border button:hover,
589
+ &.hide-marker .ol-control.ol-hide-marker button:focus, &.hide-marker .ol-control.ol-hide-marker button:hover{
590
+ color: rgba(255, 255, 255, .7);
591
+ background-color: rgba(120, 5, 8, .2)
592
+ }
593
+
594
+ .ol-control button {
595
+ height: 2.0625em;
596
+ width: 2.0625em;
597
+ background-color: rgba(120, 5, 8, .5);
598
+ }
599
+
600
+ .ol-slidercommon {
601
+ display: none;
602
+ }
603
+
604
+ &.with-opacity .ol-slidercommon {
605
+ display: block;
606
+ bottom: .5em;
607
+ bottom: calc(.5em + constant(safe-area-inset-bottom));
608
+ bottom: calc(.5em + env(safe-area-inset-bottom));
609
+ left: calc(50% - 80px);
610
+ width: 160px;
611
+ height: 25px;
612
+ padding: 0;
613
+ border: 2px solid #666666;
614
+ }
615
+
616
+ @media screen and (max-width: 640px) {
617
+ &.with-opacity .ol-slidercommon {
618
+ left: 37.5%;
619
+ width: 25%;
620
+ }
621
+ }
622
+
623
+ @media screen and (max-width: 320px) {
624
+ &.with-opacity .ol-slidercommon {
625
+ left: 120px;
626
+ width: 80px;
627
+ }
628
+ }
629
+
630
+ &.with-opacity .ol-slidercommon button {
631
+ position: relative;
632
+ width: 20px;
633
+ height: 25px;
634
+ margin-left: -2px;
635
+ margin-right: 2px;
636
+ margin-top: -2px;
637
+ }
638
+
639
+ &.with-opacity .ol-slidercommon-thumb {
640
+ height: 15px;
641
+ width: 15px;
642
+ margin: 0;
643
+ filter: none;
644
+ }
645
+
646
+ &.with-opacity .ol-slidercommon.disable button {
647
+ color: rgba(255, 255, 255, .7);
648
+ background-color: rgba(120, 5, 8, .2);
649
+ }
650
+
651
+ .ol-control button:focus, .ol-control button:hover {
652
+ background-color: rgba(120, 5, 8, .7)
653
653
  }