From 6238842ad089d82f9c2ad7133be85020a494b61d Mon Sep 17 00:00:00 2001 From: Gautier P Date: Tue, 9 Mar 2021 09:46:13 +0100 Subject: [PATCH] Gray out unselectable layers (#381) --- css/style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/css/style.css b/css/style.css index 2dbf8c2..31f7ae0 100644 --- a/css/style.css +++ b/css/style.css @@ -783,3 +783,8 @@ table.dataTable.display tbody tr:hover.selected { left: 50%; transform: translate(-50%, -50%); } + +/* Gray out non selectable layers (zoom out of scope, etc.) */ +.leaflet-control-layers-selector[disabled] ~ span { + color: #777; +}