From 2a7cf056558407c0bb1b78b8e6b776c703a519e8 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 21 Nov 2017 16:14:40 +0100 Subject: [PATCH] Menu: Do not hover on minimal-layout --- public/css/icinga/menu.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/css/icinga/menu.less b/public/css/icinga/menu.less index cf6e3a7e5..1c384ba9f 100644 --- a/public/css/icinga/menu.less +++ b/public/css/icinga/menu.less @@ -142,8 +142,8 @@ } // Hovered menu -#layout.sidebar-collapsed #menu .nav-level-1 > .nav-item:hover, -#menu .nav-level-1 > .nav-item:not(.active):hover { +#layout:not(.minimal-layout).sidebar-collapsed #menu .nav-level-1 > .nav-item:hover, +#layout:not(.minimal-layout) #menu .nav-level-1 > .nav-item:not(.active):hover { > .nav-level-2 { &:before { border: 0.5em solid rgba(0, 0, 0, 0); @@ -181,7 +181,7 @@ } } -#menu .nav-level-1 > .nav-item:not(.active):hover { +#layout:not(.minimal-layout) #menu .nav-level-1 > .nav-item:not(.active):hover { > .nav-level-2 { // Position relative to parent margin-left: 15.583em; @@ -189,7 +189,7 @@ } } -#layout.sidebar-collapsed #menu .nav-level-1 > .nav-item:hover { +#layout:not(.minimal-layout).sidebar-collapsed #menu .nav-level-1 > .nav-item:hover { > .nav-level-2 { // Position relative to parent margin-left: 3.583em;