3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
farmOS/modules/core/ui/theme/css/map.css
2021-09-09 14:27:31 -04:00

20 lines
669 B
CSS

/* Set text color of map control buttons to match SVG color. */
.farm-map .ol-control button {
color: var(--colorGinPrimary);
}
/* Move map buttons to the top when focused. Prevents surrounding control
buttons from covering up the :focus box-shadow. A position is required. */
.farm-map button:focus {
position: relative;
z-index: 1000;
}
/* Override the geocoder input to work with Gin :focus bos-shadow. */
.farm-map input#gcd-input-query {
height: 1.75em;
top: 0.5em;
box-shadow: 0 0 0 2px var(--colorGinLayerBackground), 0 0 0 4px var(--colorGinFocus);
-webkit-box-shadow: 0 0 0 2px var(--colorGinLayerBackground), 0 0 0 4px var(--colorGinFocus);
}