Skip to content

Commit e6a7fe8

Browse files
authored
Merge pull request #50 from developmentseed/style-geocoder
Style geocoder
2 parents abfcfc1 + 2eb6f74 commit e6a7fe8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

packages/web/src/index.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,3 +485,27 @@ 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+
.maplibre-gl-geocoder--error,
497+
.maplibregl-ctrl-geocoder .suggestions > li > a {
498+
background: var(--base);
499+
color: var(--base-light);
500+
}
501+
.mapboxgl-ctrl-geocoder--result-icon,
502+
.mapboxgl-ctrl-geocoder--result-icon path,
503+
.maplibregl-ctrl-geocoder--icon,
504+
.maplibregl-ctrl-geocoder--icon-loading path {
505+
fill: var(--base-light);
506+
}
507+
.maplibregl-ctrl-geocoder .suggestions > li > a:hover,
508+
.maplibregl-ctrl-geocoder .suggestions > li > a:hover .mapboxgl-ctrl-geocoder--result-icon path {
509+
background: var(--bg-dark);
510+
color: var(--base-light);
511+
}

0 commit comments

Comments
 (0)