From 1e79ba5c1c978ff7143a0b5058d4ded1c94d4340 Mon Sep 17 00:00:00 2001 From: Jennifer Mourek Date: Tue, 19 Mar 2019 14:23:59 +0100 Subject: [PATCH] Remove opacity change on collapsed flyout hover on active items --- public/css/icinga/menu.less | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/public/css/icinga/menu.less b/public/css/icinga/menu.less index 7e438cf38..0efa32692 100644 --- a/public/css/icinga/menu.less +++ b/public/css/icinga/menu.less @@ -146,12 +146,11 @@ ul:not(.nav-level-2) > .selected > a { overflow: hidden; position: relative; - > a { - &:focus, &:hover { - opacity: .6; - } + &.active { + background-color: @menu-highlight-color; + overflow: hidden; + position: relative; } - } &.active > a:focus { background-color: mix(#000, @menu-highlight-color, 20); @@ -288,7 +287,6 @@ ul:not(.nav-level-2) > .selected > a { &:focus, &:hover { background-color: @menu-highlight-color; - opacity: .6; } }