From 0eca4643a89353bd99b8747eba475e6351d1d244 Mon Sep 17 00:00:00 2001 From: Cheton Wu Date: Thu, 26 Apr 2018 19:23:20 +0800 Subject: [PATCH] Use white color for highlighted items --- src/sidenav-navitem.styl | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/sidenav-navitem.styl b/src/sidenav-navitem.styl index 494d615..3abf2cf 100644 --- a/src/sidenav-navitem.styl +++ b/src/sidenav-navitem.styl @@ -39,6 +39,9 @@ &.highlighted > .navitem .navicon, &.highlighted > .navitem .navtext { color: #fff; + > * { + color: #fff; + } } > .navitem { @@ -70,6 +73,14 @@ } } + > .navitem .navicon, + > .navitem .navtext { + color: #f9dcdd; + > * { + color: #f9dcdd; + } + } + > .navitem .navicon { display: block; float: left; @@ -83,12 +94,8 @@ opacity: .7; line-height: 50px; text-align: center; - - color: #f9dcdd; - > * { - color: #f9dcdd; - } } + > .navitem .navicon + .navtext { display: none; }