]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
darken active state on subnav with scrollspy added
authorMark Otto <markdotto@gmail.com>
Wed, 25 Jan 2012 19:30:30 +0000 (11:30 -0800)
committerMark Otto <markdotto@gmail.com>
Wed, 25 Jan 2012 19:30:30 +0000 (11:30 -0800)
docs/assets/css/docs.css

index 0fe480ecb343dce7e4a64526dd7b8c151178dc21..600894f3866c20d1f655dae566455086a4208f2c 100644 (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;