From b11969b3d083d9ace7bdbb4a948e07fc790c6de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Thu, 4 May 2023 21:19:11 +0200 Subject: [PATCH] menu: avoid hiding of expander on hover when active item has children #520 --- static/css/ie.css | 2 +- static/css/theme-neon.css | 2 +- static/css/variant.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/css/ie.css b/static/css/ie.css index 6f7e73c6af..812afac627 100644 --- a/static/css/ie.css +++ b/static/css/ie.css @@ -271,7 +271,7 @@ } #sidebar select:hover, - #sidebar .collapsible-menu label:hover, + #sidebar .collapsible-menu li:not(.active) > label:hover, #sidebar .select-container:hover, #sidebar a:hover, #sidebar button:hover { diff --git a/static/css/theme-neon.css b/static/css/theme-neon.css index 9965ec40fc..624a59497b 100644 --- a/static/css/theme-neon.css +++ b/static/css/theme-neon.css @@ -182,7 +182,7 @@ body .searchbox span:hover { } body #sidebar select:hover, -body #sidebar .collapsible-menu label:hover, +body #sidebar .collapsible-menu li:not(.active) > label:hover, body #sidebar .select-container:hover, body #sidebar a:hover, body #sidebar button:hover { diff --git a/static/css/variant.css b/static/css/variant.css index 10ea26cd46..80f9babeb8 100644 --- a/static/css/variant.css +++ b/static/css/variant.css @@ -163,7 +163,7 @@ a:hover, } #sidebar select:hover, -#sidebar .collapsible-menu label:hover, +#sidebar .collapsible-menu li:not(.active) > label:hover, #sidebar .select-container:hover, #sidebar a:hover, #sidebar button:hover {