From b8322bc84f877af075fe0b879e65f20bf60c0103 Mon Sep 17 00:00:00 2001 From: meredevelopment Date: Wed, 22 Jan 2014 20:20:24 +0000 Subject: [PATCH] Added not() exclude for buttons within sidebars To fix issue #4209, I've added the same sort of exclude as already used in _top-bar.scss to stop styles being passed to child buttons. --- scss/foundation/components/_side-nav.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scss/foundation/components/_side-nav.scss b/scss/foundation/components/_side-nav.scss index b84cd45cf..f2307c6ce 100644 --- a/scss/foundation/components/_side-nav.scss +++ b/scss/foundation/components/_side-nav.scss @@ -55,12 +55,12 @@ $side-nav-divider-color: scale-color(#fff, $lightness: 10%) !default; margin: $side-nav-list-margin; font-size: $font-size; - a { + a:not(.button) { display: block; color: $link-color; } - &.active > a:first-child { + &.active > a:first-child:not(.button) { color: $side-nav-link-color-active; font-weight: $side-nav-font-weight; font-family: $side-nav-active-font-family; @@ -80,4 +80,4 @@ $side-nav-divider-color: scale-color(#fff, $lightness: 10%) !default; @if $include-html-nav-classes { .side-nav { @include side-nav; } } -} \ No newline at end of file +} -- 2.47.2