Change route-label hover background colour to work with dark theme

Hard-coding a light background for route-label hovering didn't work
well with dark themes which have text in a light colour. Use
@theme_selected_bg_color as suggested by @szszoke.

Fixes #3.
This commit is contained in:
Geoffrey D. Bennett
2022-03-15 00:12:18 +10:30
parent 3beee99c78
commit 5b1f4f2b61

View File

@@ -3,12 +3,12 @@
} }
.route-label:hover { .route-label:hover {
background: #e0e0e0; background: @theme_selected_bg_color;
} }
.route-label:drop(active) { .route-label:drop(active) {
box-shadow: none; box-shadow: none;
background: #e0e0e0; background: @theme_selected_bg_color;
} }
button { button {