darken active state on subnav with scrollspy added

This commit is contained in:
Mark Otto 2012-01-25 11:30:30 -08:00
parent e24bd40b4a
commit a4b8cc2a9c

View File

@ -132,6 +132,7 @@ section {
.subnav {
width: 100%;
height: 36px;
overflow: hidden;
background-color: #eeeeee; /* Old browsers */
background-repeat: repeat-x; /* Repeat the gradient */
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
@ -167,13 +168,10 @@ section {
color: #333;
}
.subnav .nav .active a {
background-color: #eee;
background-color: #e5e5e5;
}
.subnav .nav li:first-child a {
border-left: 0;
-webkit-border-radius: 4px 0 0 4px;
-moz-border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
}
.subnav .nav li:last-child a {
border-right: 0;