Skip to content

Commit

Permalink
Merge pull request #10695 from FredericoC/fix-nav-active-caret
Browse files Browse the repository at this point in the history
Fixed issue where caret wouldn't inherit "active" li style on nav-pills
  • Loading branch information
mdo committed Sep 22, 2013
2 parents 5b12736 + 29f24f7 commit 8a181a1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions less/navs.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
&:focus {
background-color: @nav-link-hover-bg;
border-color: @link-color;

.caret {
border-top-color: @link-hover-color;
border-bottom-color: @link-hover-color;
}
}
}

Expand Down Expand Up @@ -133,6 +138,11 @@
&:focus {
color: @nav-pills-active-link-hover-color;
background-color: @nav-pills-active-link-hover-bg;

.caret {
border-top-color: @nav-pills-active-link-hover-color;
border-bottom-color: @nav-pills-active-link-hover-color;
}
}
}
}
Expand Down

0 comments on commit 8a181a1

Please sign in to comment.