mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-05 05:07:35 +02:00
darken active state on subnav with scrollspy added
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user