From 4724376a51e98756692d924813dc834caaca3dde Mon Sep 17 00:00:00 2001 From: Cheton Wu Date: Fri, 15 Dec 2017 18:12:02 +0800 Subject: [PATCH] Darkening the background color of the expanded navigation item by changing its opacity value --- src/sidenav-navitem.styl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/sidenav-navitem.styl b/src/sidenav-navitem.styl index 6cee04f..d7e271a 100644 --- a/src/sidenav-navitem.styl +++ b/src/sidenav-navitem.styl @@ -17,6 +17,12 @@ opacity: .2; } + &.selected.expanded > a::after, + &:hover.selected.expanded > a::after { + background: #000; + opacity: .25; + } + &:hover > a .sidenav-nav-icon, &.selected > a .sidenav-nav-icon { opacity: 1;