@swr-data-lab/components 2.13.0 → 2.13.2
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.
|
@@ -38,11 +38,13 @@ const rules = [
|
|
|
38
38
|
--color-textSecondary: var(--textSecondary-light);
|
|
39
39
|
--color-textSecondaryHover: var(--textSecondaryHover-light);
|
|
40
40
|
--color-logoFill: var(--logoFill-light);
|
|
41
|
+
--color-pageFill: var(--pageFill-light);
|
|
41
42
|
--color-surfaceFill: var(--surfaceFill-light);
|
|
42
43
|
}
|
|
43
44
|
@media (prefers-color-scheme: dark) {
|
|
44
45
|
.container {
|
|
45
46
|
--color-logoFill: var(--logoFill-dark);
|
|
47
|
+
--color-pageFill: var(--pageFill-dark);
|
|
46
48
|
--color-surfaceFill: var(--surfaceFill-dark);
|
|
47
49
|
--color-textPrimary: var(--textPrimary-dark);
|
|
48
50
|
--color-textSecondary: var(--textSecondary-dark);
|
|
@@ -32,10 +32,8 @@ onDestroy(() => tooltip.remove());
|
|
|
32
32
|
<style>.container {
|
|
33
33
|
background: white;
|
|
34
34
|
padding: 0.75em;
|
|
35
|
-
border-radius: 2px;
|
|
36
35
|
border: 1px solid rgba(0, 0, 0, 0.75);
|
|
37
|
-
|
|
38
|
-
filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
|
|
36
|
+
filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.1));
|
|
39
37
|
pointer-events: none;
|
|
40
38
|
}
|
|
41
39
|
|
|
@@ -98,23 +96,24 @@ onDestroy(() => tooltip.remove());
|
|
|
98
96
|
}
|
|
99
97
|
:global(.maplibregl-popup-close-button) {
|
|
100
98
|
position: absolute;
|
|
101
|
-
top: 0.
|
|
102
|
-
right: 0.
|
|
99
|
+
top: 0.35em;
|
|
100
|
+
right: 0.35em;
|
|
103
101
|
cursor: pointer;
|
|
104
102
|
border-radius: 2px;
|
|
105
103
|
display: flex;
|
|
106
104
|
justify-content: center;
|
|
107
105
|
align-items: center;
|
|
108
106
|
padding-bottom: 0.15em;
|
|
109
|
-
font-size: 1.
|
|
107
|
+
font-size: 1.2rem;
|
|
110
108
|
width: 1.1em;
|
|
111
109
|
height: 1.1em;
|
|
112
110
|
z-index: 100;
|
|
113
111
|
background: white;
|
|
112
|
+
color: var(--gray-dark-5);
|
|
114
113
|
border: 1px solid var(--gray-dark-5);
|
|
115
114
|
}
|
|
116
115
|
:global(.maplibregl-popup-close-button:hover),
|
|
117
|
-
:global(.maplibregl-popup-close-button:focus) {
|
|
116
|
+
:global(.maplibregl-popup-close-button:focus-visible) {
|
|
118
117
|
background: var(--gray-light-5);
|
|
119
118
|
}
|
|
120
119
|
:global(.maplibregl-popup-tip) {
|
|
@@ -122,7 +121,7 @@ onDestroy(() => tooltip.remove());
|
|
|
122
121
|
height: 0.65rem;
|
|
123
122
|
background: white;
|
|
124
123
|
position: absolute;
|
|
125
|
-
border-right: 1px solid
|
|
126
|
-
border-bottom: 1px solid
|
|
124
|
+
border-right: 1px solid var(--gray-dark-5);
|
|
125
|
+
border-bottom: 1px solid var(--gray-dark-5);
|
|
127
126
|
z-index: 10;
|
|
128
127
|
}</style>
|