3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Fix map ui being unreadable on dark mode #642

This commit is contained in:
wotnak 2023-02-20 19:25:33 +01:00
parent 18599f80c3
commit b304bff4d2
No known key found for this signature in database
GPG key ID: B00835978B0C9B6B
2 changed files with 13 additions and 0 deletions

View file

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- [Convert geometry values to WKT in GeofieldWidget #640](https://github.com/farmOS/farmOS/pull/640)
- [Fix map ui being unreadable on dark mode #642](https://github.com/farmOS/farmOS/pull/642)
## [2.0.1] 2023-02-08

View file

@ -17,3 +17,15 @@ buttons from covering up the :focus box-shadow. A position is required. */
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);
}
/* Adjust map ui elements background colors for the Gin theme dark mode. */
.gin--dark-mode .farm-map .ol-control,
.gin--dark-mode .farm-map .ol-scale-line {
background-color: rgba(var(--gin-bg-app-rgb), .25);
}
.gin--dark-mode .farm-map .ol-control:hover {
background-color: rgba(var(--gin-bg-app-rgb), .6);
}
.gin--dark-mode .farm-map .ol-control button {
background-color: rgba(var(--gin-bg-app-rgb), .8);
}