maplibre-gl-nasa-earthdata 0.1.1 → 0.1.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.
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
/* Container - matches maplibregl-ctrl styling. The compound selector beats
|
|
82
82
|
maplibre's own .maplibregl-ctrl-group background rule so the toggle button
|
|
83
83
|
stays dark (with a light icon) in dark mode. */
|
|
84
|
-
.maplibregl-ctrl-group.plugin-control,
|
|
85
|
-
.plugin-control {
|
|
84
|
+
.maplibregl-ctrl-group.plugin-control.maplibre-gl-nasa-earthdata,
|
|
85
|
+
.plugin-control.maplibre-gl-nasa-earthdata {
|
|
86
86
|
background: var(--ne-bg, #fff);
|
|
87
87
|
border-radius: 4px;
|
|
88
88
|
box-shadow: 0 0 0 2px var(--ne-shadow, rgba(0, 0, 0, 0.1));
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
/* Toggle button - 29x29 to match navigation control */
|
|
94
|
-
.plugin-control-toggle {
|
|
94
|
+
.maplibre-gl-nasa-earthdata .plugin-control-toggle {
|
|
95
95
|
background: none;
|
|
96
96
|
border: none;
|
|
97
97
|
padding: 0;
|
|
@@ -105,11 +105,11 @@
|
|
|
105
105
|
color: var(--ne-fg, #1f2a37);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.plugin-control-toggle:hover {
|
|
108
|
+
.maplibre-gl-nasa-earthdata .plugin-control-toggle:hover {
|
|
109
109
|
background-color: var(--ne-hover, rgba(0, 0, 0, 0.05));
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.plugin-control-toggle .plugin-control-icon {
|
|
112
|
+
.maplibre-gl-nasa-earthdata .plugin-control-toggle .plugin-control-icon {
|
|
113
113
|
width: 100%;
|
|
114
114
|
height: 100%;
|
|
115
115
|
position: relative;
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
line-height: 0;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.plugin-control-toggle .plugin-control-icon svg {
|
|
122
|
+
.maplibre-gl-nasa-earthdata .plugin-control-toggle .plugin-control-icon svg {
|
|
123
123
|
width: 22px;
|
|
124
124
|
height: 22px;
|
|
125
125
|
display: block;
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
/* Panel - positioned dynamically by JavaScript for floating behavior */
|
|
131
|
-
.plugin-control-panel {
|
|
131
|
+
.plugin-control-panel.maplibre-gl-nasa-earthdata {
|
|
132
132
|
position: absolute;
|
|
133
133
|
/* Position is set dynamically by _updatePanelPosition() */
|
|
134
134
|
box-sizing: border-box;
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
display: none;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
.plugin-control-panel.expanded {
|
|
151
|
+
.plugin-control-panel.maplibre-gl-nasa-earthdata.expanded {
|
|
152
152
|
display: flex;
|
|
153
153
|
flex-direction: column;
|
|
154
154
|
}
|
|
@@ -178,13 +178,13 @@
|
|
|
178
178
|
background: color-mix(in srgb, var(--ne-accent, #2563eb) 35%, transparent);
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
.plugin-control-panel.nasa-resizing {
|
|
181
|
+
.plugin-control-panel.maplibre-gl-nasa-earthdata.nasa-resizing {
|
|
182
182
|
user-select: none;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
/* Small screens: let the panel fill the viewport width */
|
|
186
186
|
@media (max-width: 480px) {
|
|
187
|
-
.plugin-control-panel {
|
|
187
|
+
.plugin-control-panel.maplibre-gl-nasa-earthdata {
|
|
188
188
|
width: calc(100vw - 20px) !important;
|
|
189
189
|
max-height: 60vh;
|
|
190
190
|
}
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
/* Panel header */
|
|
199
|
-
.plugin-control-header {
|
|
199
|
+
.maplibre-gl-nasa-earthdata .plugin-control-header {
|
|
200
200
|
display: flex;
|
|
201
201
|
align-items: center;
|
|
202
202
|
justify-content: space-between;
|
|
@@ -209,12 +209,12 @@
|
|
|
209
209
|
flex: 0 0 auto;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
.plugin-control-title {
|
|
212
|
+
.maplibre-gl-nasa-earthdata .plugin-control-title {
|
|
213
213
|
flex: 1 1 auto;
|
|
214
214
|
font-size: 13px;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
.plugin-control-close {
|
|
217
|
+
.maplibre-gl-nasa-earthdata .plugin-control-close {
|
|
218
218
|
width: 20px;
|
|
219
219
|
height: 20px;
|
|
220
220
|
border: none;
|
|
@@ -230,12 +230,12 @@
|
|
|
230
230
|
justify-content: center;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
.plugin-control-close:hover {
|
|
233
|
+
.maplibre-gl-nasa-earthdata .plugin-control-close:hover {
|
|
234
234
|
color: var(--ne-fg, #333);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
/* Content - column flex so the results list is the scrollable region */
|
|
238
|
-
.plugin-control-content {
|
|
238
|
+
.maplibre-gl-nasa-earthdata .plugin-control-content {
|
|
239
239
|
display: flex;
|
|
240
240
|
flex-direction: column;
|
|
241
241
|
min-height: 0;
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
/* Search input */
|
|
246
|
-
.plugin-control-input {
|
|
246
|
+
.maplibre-gl-nasa-earthdata .plugin-control-input {
|
|
247
247
|
width: 100%;
|
|
248
248
|
box-sizing: border-box;
|
|
249
249
|
padding: 8px 10px;
|
|
@@ -258,11 +258,11 @@
|
|
|
258
258
|
box-shadow 0.15s;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
.plugin-control-input::placeholder {
|
|
261
|
+
.maplibre-gl-nasa-earthdata .plugin-control-input::placeholder {
|
|
262
262
|
color: var(--ne-fg-muted, #888);
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
.plugin-control-input:focus {
|
|
265
|
+
.maplibre-gl-nasa-earthdata .plugin-control-input:focus {
|
|
266
266
|
border-color: var(--ne-accent, #4a90d9);
|
|
267
267
|
box-shadow: 0 0 0 3px
|
|
268
268
|
color-mix(in srgb, var(--ne-accent, #4a90d9) 20%, transparent);
|
|
@@ -663,15 +663,15 @@
|
|
|
663
663
|
}
|
|
664
664
|
|
|
665
665
|
/* Generic form helpers (kept from the template for consumer use) */
|
|
666
|
-
.plugin-control-group {
|
|
666
|
+
.maplibre-gl-nasa-earthdata .plugin-control-group {
|
|
667
667
|
margin-bottom: 12px;
|
|
668
668
|
}
|
|
669
669
|
|
|
670
|
-
.plugin-control-group:last-child {
|
|
670
|
+
.maplibre-gl-nasa-earthdata .plugin-control-group:last-child {
|
|
671
671
|
margin-bottom: 0;
|
|
672
672
|
}
|
|
673
673
|
|
|
674
|
-
.plugin-control-label {
|
|
674
|
+
.maplibre-gl-nasa-earthdata .plugin-control-label {
|
|
675
675
|
display: block;
|
|
676
676
|
margin-bottom: 4px;
|
|
677
677
|
font-size: 12px;
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
color: var(--ne-fg-muted, #555);
|
|
680
680
|
}
|
|
681
681
|
|
|
682
|
-
.plugin-control-button {
|
|
682
|
+
.maplibre-gl-nasa-earthdata .plugin-control-button {
|
|
683
683
|
display: inline-flex;
|
|
684
684
|
align-items: center;
|
|
685
685
|
justify-content: center;
|
|
@@ -694,32 +694,32 @@
|
|
|
694
694
|
transition: background-color 0.15s;
|
|
695
695
|
}
|
|
696
696
|
|
|
697
|
-
.plugin-control-button:hover {
|
|
697
|
+
.maplibre-gl-nasa-earthdata .plugin-control-button:hover {
|
|
698
698
|
background: var(--ne-accent-hover, #3a7bc8);
|
|
699
699
|
}
|
|
700
700
|
|
|
701
|
-
.plugin-control-button:focus {
|
|
701
|
+
.maplibre-gl-nasa-earthdata .plugin-control-button:focus {
|
|
702
702
|
outline: 2px solid var(--ne-accent, #4a90d9);
|
|
703
703
|
outline-offset: 2px;
|
|
704
704
|
}
|
|
705
705
|
|
|
706
|
-
.plugin-control-button:disabled {
|
|
706
|
+
.maplibre-gl-nasa-earthdata .plugin-control-button:disabled {
|
|
707
707
|
background: var(--ne-fg-muted, #ccc);
|
|
708
708
|
cursor: not-allowed;
|
|
709
709
|
}
|
|
710
710
|
|
|
711
|
-
.plugin-control-flex {
|
|
711
|
+
.maplibre-gl-nasa-earthdata .plugin-control-flex {
|
|
712
712
|
display: flex;
|
|
713
713
|
gap: 8px;
|
|
714
714
|
}
|
|
715
715
|
|
|
716
|
-
.plugin-control-flex-col {
|
|
716
|
+
.maplibre-gl-nasa-earthdata .plugin-control-flex-col {
|
|
717
717
|
display: flex;
|
|
718
718
|
flex-direction: column;
|
|
719
719
|
gap: 8px;
|
|
720
720
|
}
|
|
721
721
|
|
|
722
|
-
.plugin-control-divider {
|
|
722
|
+
.maplibre-gl-nasa-earthdata .plugin-control-divider {
|
|
723
723
|
height: 1px;
|
|
724
724
|
background: var(--ne-border, #e0e0e0);
|
|
725
725
|
margin: 12px 0;
|
package/package.json
CHANGED