Skip to content

Commit

Permalink
Darkening the background color of the expanded navigation item by cha…
Browse files Browse the repository at this point in the history
…nging its opacity value
  • Loading branch information
cheton committed Dec 15, 2017
1 parent 969b7a3 commit 4724376
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/sidenav-navitem.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4724376

Please sign in to comment.