realmap 1.0.0

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.
@@ -0,0 +1,734 @@
1
+ @charset "UTF-8";
2
+
3
+ .rm-root {
4
+ --rm-font-family: AppleSDGothicNeo-Light, "HelveticaNeue", "Malgun Gothic", "맑은 고딕", sans-serif;
5
+ --rm-font-size: 16px;
6
+
7
+ --rm-focus-stroke: black;
8
+ --rm-focus-stroke-width: 2px;
9
+ --rm-text-fill: #333;
10
+
11
+ --rm-title-fill: #333;
12
+ --rm-subtitle-fill: #333;
13
+
14
+ --rm-body-background-stroke: none;
15
+
16
+ --rm-axis-title-fill: #333;
17
+ --rm-axis-line-stroke: #aaa;
18
+ --rm-axis-baseline-stroke: #333;
19
+ --rm-axis-tick-stroke: #555;
20
+ --rm-axis-label-fill: #555;
21
+ --rm-axis-grid-line-stroke: #ddd;
22
+ --rm-axis-grid-line-stroke-start: none;
23
+ --rm-axis-grid-line-stroke-end: none;
24
+ --rm-axis-grid-line-stroke-width: 1px;
25
+ --rm-axis-scrollbar-track-fill: #fdfdfd;
26
+ --rm-axis-scrollbar-track-stroke: #aaa;
27
+ --rm-axis-scrollbar-thumb-fill: lightgray;
28
+ --rm-axis-scrollbar-rx: 4px;
29
+
30
+ --rm-legend-background: none;
31
+ --rm-legend-background-stroke: none;
32
+ --rm-legend-background-stroke: none;
33
+ --rm-legend-fill: #333;
34
+ --rm-legend-item-disabled: #aaa;
35
+ --rm-legend-item-disabled-decoration: line-through;
36
+
37
+ --rm-point-label-font-size: 0.8em;
38
+ --rm-point-label-font-weight: bold;
39
+ --rm-point-label-stroke: none;
40
+ --rm-point-label-fill: #333;
41
+
42
+ --rm-credits-fill: #777;
43
+ }
44
+ .rm-root[data-theme='dark'] {
45
+ --rm-focus-stroke: #ccc;
46
+ --rm-text-fill: #fff;
47
+
48
+ --rm-title-fill: #fff;
49
+ --rm-subtitle-fill: #fff;
50
+
51
+ --rm-body-background-stroke: none;
52
+
53
+ --rm-axis-title-fill: #fff;
54
+ --rm-axis-line-stroke: #fff;
55
+ --rm-axis-baseline-stroke: #fff;
56
+ --rm-axis-tick-stroke: #fff;
57
+ --rm-axis-label-fill: #fff;
58
+ --rm-axis-grid-line-stroke: #fff;
59
+
60
+ --rm-legend-background: none;
61
+ --rm-legend-background-stroke: none;
62
+ --rm-legend-fill: #fff;
63
+ --rm-legend-item-disabled: #707070;
64
+ --rm-legend-item-disabled-decoration: line-through;
65
+
66
+ --rm-point-label-fill: #ddd;
67
+
68
+ --rm-credits-fill: #999;
69
+ }
70
+ .rm-root[data-theme='real'] {
71
+ --rm-focus-stroke: yellow;
72
+ --rm-text-fill: #f0d9be;
73
+
74
+ --rm-title-fill: #f0d9be;
75
+ --rm-subtitle-fill: #f0d9be;
76
+
77
+ --rm-body-background-stroke: none;
78
+
79
+ --rm-axis-title-fill: #f0d9be;
80
+ --rm-axis-line-stroke: #f0d9be;
81
+ --rm-axis-tick-stroke: #f0d9be;
82
+ --rm-axis-label-fill: #f0d9be;
83
+ --rm-axis-grid-line-stroke: #f0d9be;
84
+
85
+ --rm-legend-background: none;
86
+ --rm-legend-background-stroke: none;
87
+ --rm-legend-fill: #f0d9be;
88
+ --rm-legend-item-disabled: #4e7b82;
89
+ --rm-legend-item-disabled-decoration: line-through;
90
+
91
+ --rm-point-label-fill: #ddd;
92
+
93
+ --rm-credits-fill: #999;
94
+ }
95
+
96
+ .rm-control {
97
+ --rm-background: #fff;
98
+ }
99
+ .rm-control[data-theme="dark"] {
100
+ --rm-background: #262626;
101
+ }
102
+ .rm-control[data-theme='real'] {
103
+ --rm-background: #264653;
104
+ }
105
+ .rm-control {
106
+ background-color: var(--rm-background);
107
+ }
108
+
109
+ .rm-root {
110
+ font-family: var(--rm-font-family);
111
+ font-size: var(--rm-font-size);
112
+ color: #000;
113
+ /* background-color: white; */
114
+ /* word-break: break-all;
115
+ word-wrap: break-word; */
116
+ -webkit-touch-callout: default;
117
+ user-select: none;
118
+ -webkit-user-select: none;
119
+ -moz-user-select: none;
120
+ -ms-user-select: none;
121
+ touch-action: auto;
122
+ -ms-touch-action: auto;
123
+ text-align: initial;
124
+ }
125
+
126
+ .rm-root {
127
+ padding: 20px;
128
+ }
129
+ :root, .rm-root {
130
+ --map-series-hover-fill: #0088ff;
131
+ --map-series-hover-label-fill: white;
132
+ --map-series-selected-fill: #555;
133
+ --map-series-selected-label-fill: white;
134
+ }
135
+
136
+ /** palette */
137
+ :root, .rm-root {
138
+ --color-1: #0098ff;
139
+ --color-2: #66d0ff;
140
+ --color-3: #ff5c35;
141
+ --color-4: #ff9f00;
142
+ --color-5: #ffd938;
143
+ --color-6: #00ac69;
144
+ --color-7: #91cc39;
145
+ --color-8: #8fc6a9;
146
+ --color-9: #c45db9;
147
+ --color-10: #ef5e99;
148
+ --color-11: #afa4c6;
149
+ --color-12: #5b63aa;
150
+ }
151
+ .rm-root[data-palette="gray"] {
152
+ --color-1: #464646;
153
+ --color-2: #61666a;
154
+ --color-3: #6f6f6d;
155
+ --color-4: #82898f;
156
+ --color-5: #8d8d8b;
157
+ --color-6: #9ea7a6;
158
+ --color-7: #acaba7;
159
+ --color-8: #bcbcbc;
160
+ --color-9: #c5c9ca;
161
+ --color-10: #d9d4ce;
162
+ --color-11: #dedede;
163
+ --color-12: #e8ecef;
164
+ }
165
+ :root, .rm-root {
166
+ --area-color-1: #B4CBEF;
167
+ --area-color-2: #E4CBDE;
168
+ --area-color-3: #8EC1C2;
169
+ --area-color-4: #FDD69F;
170
+ --area-color-5: #C7B6AE;
171
+ --area-color-6: #B4CF9A;
172
+ --area-color-7: #EDCEBD;
173
+ --area-color-8: #FECCC9;
174
+ --area-color-9: #F9BBAB;
175
+ --area-color-10: #A7D5E1;
176
+
177
+ --area-stroke-1: #fff;
178
+ --area-stroke-2: #FFF;
179
+ --area-stroke-3: #FFF;
180
+ --area-stroke-4: #fff;
181
+ --area-stroke-5: #FFF;
182
+ --area-stroke-6: #FFF;
183
+ --area-stroke-7: #FFF;
184
+ --area-stroke-8: #FFF;
185
+ --area-stroke-9: #FFF;
186
+ --area-stroke-10: #FFF;
187
+
188
+ --area-label-1: #fff;
189
+ --area-label-2: #fff;
190
+ --area-label-3: #fff;
191
+ --area-label-4: #fff;
192
+ --area-label-5: #fff;
193
+ --area-label-6: #fff;
194
+ --area-label-7: #fff;
195
+ --area-label-8: #fff;
196
+ --area-label-9: #fff;
197
+ --area-label-10: #fff;
198
+ }
199
+
200
+ /** rich text */
201
+ .rm-text-bold {
202
+ font-weight: bold;
203
+ }
204
+ .rm-text-italic {
205
+ font-style: italic;
206
+ }
207
+
208
+ /** button */
209
+ .rm-button {
210
+ cursor: pointer;
211
+ }
212
+
213
+ /** zoom panel */
214
+ .rm-zoom-panel .rm-button {
215
+ fill: white;
216
+ font-family: Arial;
217
+ }
218
+ .rm-zoom-panel .rm-button-background {
219
+ fill: #00aaff;
220
+ rx: 5;
221
+ }
222
+ .rm-zoom-panel .rm-button[data-disabled] {
223
+ fill: #999;
224
+ cursor: default;
225
+ }
226
+ .rm-zoom-panel .rm-button[data-disabled] .rm-button-background {
227
+ fill: #ddd;
228
+ }
229
+
230
+ /** drilldown panel */
231
+ .rm-drilldown-panel .rm-button {
232
+ fill: white;
233
+ font-family: Arial;
234
+ }
235
+ .rm-drilldown-panel .rm-button-background {
236
+ padding: 4px 5px;
237
+ fill: #00aaff;
238
+ rx: 3;
239
+ }
240
+ .rm-drilldown-text {
241
+ fill: #333;
242
+ }
243
+ .rm-drilldown-text[data-history] {
244
+ fill: #08f;
245
+ cursor: pointer;
246
+ }
247
+ .rm-drilldown-separator {
248
+ fill: #777;
249
+ }
250
+
251
+ /** body view */
252
+ .rm-body {
253
+ /* transform-origin: center center;
254
+ transition: transform 0.1s ease-out; */
255
+ }
256
+
257
+ /** credits */
258
+ .rm-credits {
259
+ font-size: 0.7em;
260
+ fill: var(--rm-credits-fill);
261
+ }
262
+
263
+ /** title */
264
+ .rm-title {
265
+ margin-bottom: 10px;
266
+ font-size: 21px;
267
+ fill: var(--rm-title-fill);
268
+ }
269
+ .rm-title-background {
270
+ fill: none;
271
+ }
272
+ .rm-subtitle {
273
+ margin-bottom: 10px;
274
+ font-size: 14px;
275
+ fill: var(--rm-subtitle-fill);
276
+ }
277
+ .rm-subtitle-background {
278
+ fill: none;
279
+ }
280
+
281
+ /** legend */
282
+ .rm-legend {
283
+ fill: var(--rm-legend-fill);
284
+ stroke: none;
285
+ padding: 3px 6px;
286
+ }
287
+ .rm-legend-background {
288
+ fill: var(--rm-legend-background);
289
+ stroke: var(--rm-legend-background-stroke);
290
+ }
291
+ .rm-legend-item-label[data-hidden] {
292
+ fill: var(--rm-legend-item-disabled);
293
+ text-decoration: var(--rm-legend-item-disabled-decoration)
294
+ }
295
+ /* .rm-legend-item-marker {
296
+ stroke: none;
297
+ } */
298
+ .rm-legend-item-marker[data-hidden] {
299
+ fill: #aaa !important;
300
+ stroke: #aaa !important;
301
+ }
302
+ .rm-legend-item-marker[data-hidden] path[data-fill] {
303
+ fill: #aaa !important;
304
+ }
305
+
306
+ /** color scale */
307
+ .rm-color-scale-background {
308
+ fill: #efefef;
309
+ }
310
+ .rm-color-scale-bar {
311
+ stroke: #efefef;
312
+ }
313
+ .rm-color-scale-split {
314
+ stroke: white;
315
+ }
316
+ .rm-color-scale-marker {
317
+ fill: #555;
318
+ }
319
+ .rm-color-scale-marker[data-null] {
320
+ fill: #eee;
321
+ stroke: #ccc;
322
+ }
323
+ .rm-color-scale-tick-line {
324
+ stroke: #999;
325
+ stroke-width: 1px;
326
+ }
327
+ .rm-color-scale-tick-label {
328
+ fill: #555;
329
+ font-size: 0.9em;
330
+ }
331
+
332
+ /** bubble scale */
333
+ .rm-bubble-scale-bubble {
334
+ fill: none;
335
+ stroke: #777;
336
+ }
337
+ .rm-bubble-scale-line {
338
+ stroke: #777;
339
+ }
340
+ .rm-bubble-scale-label {
341
+ fill: #777;
342
+ font-size: 14px;
343
+ }
344
+
345
+ /** tooltip */
346
+ .rm-tooltip {
347
+ font-size: 0.8em;
348
+ pointer-events: none;
349
+ opacity: 0.9;
350
+ }
351
+ .rm-tooltip-back {
352
+ fill: white;
353
+ }
354
+ .rm-tooltip-tail {
355
+ fill: white;
356
+ }
357
+ .rm-tooltip-text {
358
+ fill: #333;
359
+ stroke: none;
360
+ }
361
+
362
+ /** axis */
363
+ .rm-map-axis-grid {
364
+ stroke: #ddd;
365
+ fill: none !important;
366
+ }
367
+
368
+ /** axis guid */
369
+ .rm-axis-guide-label {
370
+ font-size: 0.8em;
371
+ }
372
+
373
+ /** crosshair */
374
+ .rm-crosshair-line {
375
+ stroke: #00000088;
376
+ }
377
+ .rm-crosshair-flag {
378
+ font-family: Arial, Helvetica, sans-serif;
379
+ font-size: 0.9em;
380
+ fill: white;
381
+ stroke: none;
382
+ }
383
+ .rm-crosshair-flag-back {
384
+ padding: 3px 5px;
385
+ fill: #00000090;
386
+ rx: 3
387
+ }
388
+
389
+ /** point label */
390
+ .rm-point-label {
391
+ font-size: var(--rm-point-label-font-size);
392
+ font-weight: var(--rm-point-label-font-weight);
393
+ stroke: var(--rm-point-label-stroke);
394
+ fill: var(--rm-point-label-fill);
395
+ text-align: center;
396
+ fill-opacity: 1;
397
+ opacity: 1;
398
+ }
399
+ .rm-point-label-lines {
400
+ stroke: #585;
401
+ fill: none;
402
+ }
403
+
404
+ /** series */
405
+ .rm-series[data-index="0"] {
406
+ fill: var(--color-1);
407
+ stroke: var(--color-1);
408
+ }
409
+ .rm-series[data-index="1"] {
410
+ fill: var(--color-2);
411
+ stroke: var(--color-2);
412
+ }
413
+ .rm-series[data-index="2"] {
414
+ fill: var(--color-3);
415
+ stroke: var(--color-3);
416
+ }
417
+ .rm-series[data-index="3"] {
418
+ fill: var(--color-4);
419
+ stroke: var(--color-4);
420
+ }
421
+ .rm-series[data-index="4"] {
422
+ fill: var(--color-5);
423
+ stroke: var(--color-5);
424
+ }
425
+ .rm-series[data-index="5"] {
426
+ fill: var(--color-6);
427
+ stroke: var(--color-6);
428
+ }
429
+ .rm-series[data-index="6"] {
430
+ fill: var(--color-7);
431
+ stroke: var(--color-7);
432
+ }
433
+ .rm-series[data-index="7"] {
434
+ fill: var(--color-8);
435
+ stroke: var(--color-8);
436
+ }
437
+ .rm-series[data-index="8"] {
438
+ fill: var(--color-9);
439
+ stroke: var(--color-9);
440
+ }
441
+ .rm-series[data-index="9"] {
442
+ fill: var(--color-10);
443
+ stroke: var(--color-10);
444
+ }
445
+ .rm-series[data-index="10"] {
446
+ fill: var(--color-11);
447
+ stroke: var(--color-11);
448
+ }
449
+ .rm-series[data-index="11"] {
450
+ fill: var(--color-12);
451
+ stroke: var(--color-12);
452
+ }
453
+
454
+ /** series */
455
+ .rm-callout-line {
456
+ stroke: #555;
457
+ stroke-width: 1.5px;
458
+ fill: none !important;
459
+ }
460
+ .rm-callout-anchor {
461
+ fill: #555;
462
+ stroke: none !important;
463
+ }
464
+
465
+ /** map series */
466
+ .rm-map-series[data-index="0"] {
467
+ fill: var(--area-color-1);
468
+ stroke: var(--area-stroke-1);
469
+ }
470
+ .rm-map-series[data-index="1"] {
471
+ fill: var(--area-color-2);
472
+ stroke: var(--area-stroke-2);
473
+ }
474
+ .rm-map-series[data-index="2"] {
475
+ fill: var(--area-color-3);
476
+ stroke: var(--area-stroke-3);
477
+ }
478
+ .rm-map-series[data-index="3"] {
479
+ fill: var(--area-color-4);
480
+ stroke: var(--area-stroke-4);
481
+ }
482
+ .rm-map-series[data-index="4"] {
483
+ fill: var(--area-color-5);
484
+ stroke: var(--area-stroke-5);
485
+ }
486
+ .rm-map-series[data-index="5"] {
487
+ fill: var(--area-color-6);
488
+ stroke: var(--area-stroke-6);
489
+ }
490
+ .rm-map-series[data-index="6"] {
491
+ fill: var(--area-color-7);
492
+ stroke: var(--area-stroke-7);
493
+ }
494
+ .rm-map-series[data-index="7"] {
495
+ fill: var(--area-color-8);
496
+ stroke: var(--area-stroke-8);
497
+ }
498
+ .rm-map-series[data-index="8"] {
499
+ fill: var(--area-color-9);
500
+ stroke: var(--area-stroke-9);
501
+ }
502
+ .rm-map-series[data-index="9"] {
503
+ fill: var(--area-color-10);
504
+ stroke: var(--area-stroke-10);
505
+ }
506
+
507
+ .rm-map-series .rm-series-points {
508
+ stroke-linejoin: round;
509
+ stroke-linecap: round;
510
+ /* stroke: #ccc; */
511
+ }
512
+ .rm-map-series .rm-point[data-null] {
513
+ fill: #f4f4f4;
514
+ stroke: #ccc;
515
+ stroke-width: 1px;
516
+ }
517
+ .rm-map-series .rm-point[data-dummy] {
518
+ fill: #f4f4f4;
519
+ stroke: none;
520
+ }
521
+ .rm-map-series .rm-point[data-hover] {
522
+ fill: var(--map-series-hover-fill) !important;
523
+ /* stroke: #333; */
524
+ /* stroke-width: 2px; */
525
+ }
526
+ .rm-map-series .rm-point-label[data-hover] {
527
+ fill: var(--map-series-hover-label-fill) !important;
528
+ }
529
+ .rm-map-series .rm-point[data-selected] {
530
+ /* fill: var(--map-series-selected-fill) !important; */
531
+ fill: url(#rm-selected-area-fill);
532
+ stroke: #333;
533
+ stroke-width: 2px;
534
+ }
535
+ .rm-map-series .rm-point-label[data-selected] {
536
+ fill: var(--map-series-selected-label-fill) !important;
537
+ }
538
+ .rm-map-series-inset {
539
+ stroke-linejoin: round;
540
+ stroke-linecap: round;
541
+ stroke: #aaa;
542
+ fill: none;
543
+ }
544
+
545
+ /** route series */
546
+ .rm-route-series {
547
+ stroke-width: 2px;
548
+ }
549
+
550
+ /** pin series */
551
+ .rm-pin-series-inner {
552
+ fill: transparent;
553
+ }
554
+
555
+ /** figure series */
556
+ .rm-figure-series-inner-label {
557
+ stroke: none;
558
+ fill: #333;
559
+ text-align: center;
560
+ }
561
+
562
+ /** rm-spark-series */
563
+ .rm-spark-series-base-line {
564
+ stroke: #333;
565
+ stroke-width: 2px;
566
+ }
567
+
568
+ /** bar series */
569
+ .rm-bar-series .rm-series-points {
570
+ fill-opacity: 0.7;
571
+ }
572
+
573
+ /** line series */
574
+ .rm-line-series .rm-series-points {
575
+ fill-opacity: 0.7;
576
+ }
577
+ .rm-line-series-line {
578
+ stroke-width: 2px;
579
+ fill: none !important;
580
+ }
581
+ .rm-line-series-area {
582
+ stroke: none !important;
583
+ fill-opacity: 0.2;
584
+ }
585
+
586
+ /** pie series */
587
+ .rm-pie-series .rm-series-points {
588
+ fill-opacity: 0.7;
589
+ }
590
+ .rm-pie-series .rm-point {
591
+ stroke: white;
592
+ stroke-width: 1.5px;
593
+ }
594
+
595
+ .rm-pie-series-sector[data-index="0"] {
596
+ fill: var(--color-1);
597
+ }
598
+ .rm-pie-series-sector[data-index="1"] {
599
+ fill: var(--color-2);
600
+ }
601
+ .rm-pie-series-sector[data-index="2"] {
602
+ fill: var(--color-3);
603
+ }
604
+ .rm-pie-series-sector[data-index="3"] {
605
+ fill: var(--color-4);
606
+ }
607
+ .rm-pie-series-sector[data-index="4"] {
608
+ fill: var(--color-5);
609
+ }
610
+ .rm-pie-series-sector[data-index="5"] {
611
+ fill: var(--color-6);
612
+ }
613
+ .rm-pie-series-sector[data-index="6"] {
614
+ fill: var(--color-7);
615
+ }
616
+ .rm-pie-series-sector[data-index="7"] {
617
+ fill: var(--color-8);
618
+ }
619
+ .rm-pie-series-sector[data-index="8"] {
620
+ fill: var(--color-9);
621
+ }
622
+ .rm-pie-series-sector[data-index="9"] {
623
+ fill: var(--color-10);
624
+ }
625
+ .rm-pie-series-sector[data-index="10"] {
626
+ fill: var(--color-11);
627
+ }
628
+ .rm-pie-series-sector[data-index="11"] {
629
+ fill: var(--color-12);
630
+ }
631
+
632
+ /** image series */
633
+ .rm-image-series .rm-series-points {
634
+ fill-opacity: 0.7;
635
+ }
636
+
637
+ /** bubble series */
638
+ .rm-bubble-series .rm-series-points {
639
+ fill-opacity: 0.7;
640
+ }
641
+ /* .rm-bubble-series .rm-point[data-hover] {
642
+ stroke: #333;
643
+ stroke-width: 2px;
644
+ } */
645
+
646
+ /** panel series */
647
+ .rm-panel-series .rm-series-points {
648
+ stroke: #999;
649
+ fill: transparent;
650
+ rx: 3px;
651
+ }
652
+ .rm-panel-series-header {
653
+ fill: #333;
654
+ stroke: none;
655
+ text-align: center;
656
+ }
657
+ .rm-panel-series-header-back {
658
+ fill: #eee;
659
+ stroke: transparent;
660
+ padding: 2px 4px;
661
+ }
662
+ .rm-panel-series-body {
663
+ fill: #333;
664
+ stroke: none;
665
+ text-align: center;
666
+ }
667
+ .rm-panel-series-body-back {
668
+ fill: #fff;
669
+ stroke: transparent;
670
+ padding: 2px 4px;
671
+ }
672
+
673
+ /** circle gauge */
674
+ .rm-circle-gauge-face {
675
+ fill: #0000ff10;
676
+ stroke: none;
677
+ }
678
+ .rm-circle-gauge-rim {
679
+ fill: #ccc;
680
+ stroke: none;
681
+ }
682
+ .rm-circle-gauge-text {
683
+ fill: #555;
684
+ stroke: none;
685
+ font-weight: bold;
686
+ font-size: 1em;
687
+ }
688
+
689
+ /** clock gauge */
690
+ .rm-clock-gauge-face {
691
+ fill: white;
692
+ stroke: none;
693
+ fill-opacity: 0.5;
694
+ }
695
+ .rm-clock-gauge-rim {
696
+ fill: #ccc;
697
+ stroke: #777;
698
+ }
699
+ .rm-clock-gauge-label {
700
+ font-size: 0.8em;
701
+ }
702
+ .rm-clock-gauge-tick-label {
703
+ font-size: 0.5em;
704
+ fill: #333;
705
+ stroke: none;
706
+ }
707
+ .rm-clock-gauge-hour {
708
+ stroke: #333;
709
+ }
710
+ .rm-clock-gauge-minute {
711
+ stroke: #333;
712
+ }
713
+ .rm-clock-gauge-second {
714
+ stroke: red;
715
+ }
716
+ .rm-clock-gauge-pin {
717
+ stroke: black;
718
+ fill: white;
719
+ }
720
+ .rm-clock-gauge-label {
721
+ font-size: 0.6em;
722
+ fill: #333;
723
+ stroke: none;
724
+ }
725
+
726
+ /** annotation */
727
+ .rm-annotation-background {
728
+ fill: none;
729
+ stroke: none;
730
+ }
731
+ .rm-text-annotation {
732
+ font-size: 20px;
733
+ fill: #333;
734
+ }