From d4f4a97b7f313d66a56513a7b354f8abb7d47123 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 29 Apr 2024 09:47:14 +0300 Subject: [PATCH] Adapt Leaflet context menus to dark mode --- app/assets/stylesheets/common.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index d8f13287b..105f7927e 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -460,10 +460,16 @@ body.small-nav { } .leaflet-popup-content-wrapper, -.leaflet-popup-tip { +.leaflet-popup-tip, +.leaflet-contextmenu, +.leaflet-contextmenu-item { @extend .bg-body, .text-body; } +.leaflet-contextmenu-item.over { + @extend .bg-body-secondary, .border-secondary, .border-opacity-10; +} + .leaflet-popup-content-wrapper { @extend .rounded-1; -- 2.39.5