mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
darken active state on subnav with scrollspy added
This commit is contained in:
parent
e24bd40b4a
commit
a4b8cc2a9c
@ -132,6 +132,7 @@ section {
|
|||||||
.subnav {
|
.subnav {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
|
overflow: hidden;
|
||||||
background-color: #eeeeee; /* Old browsers */
|
background-color: #eeeeee; /* Old browsers */
|
||||||
background-repeat: repeat-x; /* Repeat the gradient */
|
background-repeat: repeat-x; /* Repeat the gradient */
|
||||||
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
|
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
|
||||||
@ -167,13 +168,10 @@ section {
|
|||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
.subnav .nav .active a {
|
.subnav .nav .active a {
|
||||||
background-color: #eee;
|
background-color: #e5e5e5;
|
||||||
}
|
}
|
||||||
.subnav .nav li:first-child a {
|
.subnav .nav li:first-child a {
|
||||||
border-left: 0;
|
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 {
|
.subnav .nav li:last-child a {
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user