Skip to content

Commit 7c48e8d

Browse files
committed
Style geocoder
1 parent abfcfc1 commit 7c48e8d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

packages/web/src/index.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,3 +485,25 @@ li.bar-chart__bar {
485485
background: var(--bg-dark);
486486
display: inline-flex;
487487
}
488+
489+
/* Style Maplibre Geocoder */
490+
.maplibregl-ctrl-geocoder,
491+
.maplibregl-ctrl-geocoder--input,
492+
.maplibregl-ctrl-geocoder--input:focus,
493+
.maplibregl-ctrl-geocoder--input::placeholder,
494+
.maplibregl-ctrl-geocoder .suggestions,
495+
.maplibregl-ctrl-geocoder--button,
496+
.maplibregl-ctrl-geocoder .suggestions > li > a {
497+
background: var(--base);
498+
color: var(--base-light);
499+
}
500+
.mapboxgl-ctrl-geocoder--result-icon,
501+
.mapboxgl-ctrl-geocoder--result-icon path,
502+
.maplibregl-ctrl-geocoder--icon {
503+
fill: var(--base-light);
504+
}
505+
.maplibregl-ctrl-geocoder .suggestions > li > a:hover,
506+
.maplibregl-ctrl-geocoder .suggestions > li > a:hover .mapboxgl-ctrl-geocoder--result-icon path {
507+
background: var(--bg-dark);
508+
color: var(--base-light);
509+
}

0 commit comments

Comments
 (0)