Skip to content

Commit

Permalink
fix(uishell): add bgcolor to active links (#4980)
Browse files Browse the repository at this point in the history
Co-authored-by: TJ Egan <[email protected]>
  • Loading branch information
2 people authored and joshblack committed Jan 14, 2020
1 parent 65a0b29 commit e46d9e4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/components/src/components/ui-shell/_side-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -470,10 +470,6 @@
}
}

a.#{$prefix}--side-nav__link--current > span.#{$prefix}--side-nav__link-text {
color: $ibm-color__gray-100;
font-weight: 600;
}
//----------------------------------------------------------------------------
// Side-nav > Link
//----------------------------------------------------------------------------
Expand Down Expand Up @@ -519,9 +515,16 @@

a.#{$prefix}--side-nav__link[aria-current='page'],
a.#{$prefix}--side-nav__link--current {
background-color: $shell-side-nav-bg-04;
font-weight: 600;
}

a.#{$prefix}--side-nav__link[aria-current='page']
.#{$prefix}--side-nav__link-text,
a.#{$prefix}--side-nav__link--current .#{$prefix}--side-nav__link-text {
color: $ibm-color__gray-100;
}

a.#{$prefix}--side-nav__link[aria-current='page']::before,
a.#{$prefix}--side-nav__link--current::before {
content: '';
Expand Down

0 comments on commit e46d9e4

Please sign in to comment.