Skip to content

Commit

Permalink
(less) fixes twbs#4523: more specific selectors on white icon inversion
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Aug 21, 2012
1 parent 659691e commit 5889ec7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions sprites.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,14 @@

/* White icons with optional class, or on hover/active states of certain elements */
.icon-white,
.nav > .active > a > [class^="icon-"],
.nav > .active > a > [class*=" icon-"],
.nav-tabs > .active > a > [class^="icon-"],
.nav-tabs > .active > a > [class*=" icon-"],
.nav-pills > .active > a > [class^="icon-"],
.nav-pills > .active > a > [class*=" icon-"],
.nav-list > .active > a > [class^="icon-"],
.nav-list > .active > a > [class*=" icon-"],
.navbar-inverse .nav > .active > a > [class^="icon-"],
.navbar-inverse .nav > .active > a > [class*=" icon-"],
.dropdown-menu > li > a:hover > [class^="icon-"],
.dropdown-menu > li > a:hover > [class*=" icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
Expand Down

0 comments on commit 5889ec7

Please sign in to comment.