maplibre-gl-layer-control 0.15.0 → 0.15.1
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.
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
/* Layer Control Styles */
|
|
2
2
|
|
|
3
|
+
/* Toggle button icon. Only the icon is sized here; its color is intentionally
|
|
4
|
+
left to the host/theme via `currentColor` (the SVG uses stroke="currentColor")
|
|
5
|
+
so dark-mode themes can recolor it. Without an explicit size the inline SVG
|
|
6
|
+
renders at the full button size, so cap it. */
|
|
7
|
+
.maplibregl-ctrl-layer-control .layer-control-icon {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
line-height: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.maplibregl-ctrl-layer-control .layer-control-icon svg {
|
|
17
|
+
width: 22px;
|
|
18
|
+
height: 22px;
|
|
19
|
+
stroke: currentColor;
|
|
20
|
+
fill: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
3
23
|
/* Panel - positioned dynamically by JavaScript for floating behavior */
|
|
4
24
|
.layer-control-panel {
|
|
5
25
|
position: absolute;
|