Skip to content

Commit

Permalink
cosmo: subnav active a:hover fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Nov 24, 2012
1 parent 9ce4ea5 commit 4574d08
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 5 additions & 2 deletions cosmo/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -5081,8 +5081,7 @@ div.subnav .nav {
div.subnav .nav > li > a {
border: none;
}
div.subnav .nav > .active > a,
div.subnav .nav > .active > a:hover {
div.subnav .nav > .active > a {
padding-left: 12px;
border: none;
background-color: transparent;
Expand All @@ -5091,6 +5090,10 @@ div.subnav .nav > .active > a:hover {
box-shadow: none;
color: #080808;
}
div.subnav .nav > .active > a:hover {
background-color: #000000;
color: #ffffff;
}
div.subnav-fixed {
top: 50px;
}
Expand Down
2 changes: 1 addition & 1 deletion cosmo/bootstrap.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions cosmo/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,17 @@ div.subnav {
border: none;
}

.nav > .active > a,
.nav > .active > a:hover {
.nav > .active > a {
padding-left: 12px;
border: none;
background-color: transparent;
.box-shadow(none);
color: @grayDarker;

&:hover {
background-color: @black;
color: @white;
}
}

&-fixed {
Expand Down

0 comments on commit 4574d08

Please sign in to comment.