Skip to content

Commit

Permalink
fix hover state on .nav-list for active links
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Feb 2, 2012
1 parent 7323870 commit 3a2f076
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Binary file modified docs/assets/bootstrap.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/assets/css/bootstrap.css
Expand Up @@ -2108,12 +2108,12 @@ button.btn.small, input[type="submit"].btn.small {
.nav-list > li + .nav-header {
margin-top: 9px;
}
.nav-list .active > a {
.nav-list .active > a, .nav-list .active > a:hover {
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
background-color: #0088cc;
}
.nav-list .icon {
.nav-list [class^="icon-"] {
margin-right: 2px;
}
.nav-tabs, .nav-pills {
Expand Down
5 changes: 3 additions & 2 deletions less/navs.less
Expand Up @@ -49,12 +49,13 @@
.nav-list > li + .nav-header {
margin-top: 9px;
}
.nav-list .active > a {
.nav-list .active > a,
.nav-list .active > a:hover {
color: @white;
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
background-color: @linkColor;
}
.nav-list .icon {
.nav-list [class^="icon-"] {
margin-right: 2px;
}

Expand Down

0 comments on commit 3a2f076

Please sign in to comment.