]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
increase specifity of .pills li.active for dropdowns
authorMark Otto <markotto@twitter.com>
Tue, 6 Mar 2012 04:14:54 +0000 (20:14 -0800)
committerMark Otto <markotto@twitter.com>
Tue, 6 Mar 2012 04:14:54 +0000 (20:14 -0800)
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/navs.less

index 623f8dbe544f68910c88ad45336dccc22f49580f..15b01541575d06b01f26f15185435a2d56480e17 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index ba796c7dc45e556f3f6d1eeb05b5f462910a5309..1e893816faffdb138d33f35fdcf5f2438c50c71b 100644 (file)
@@ -2318,7 +2318,7 @@ button.btn.btn-small, input[type="submit"].btn.btn-small {
 .nav-list > li > a {
   padding: 3px 15px;
 }
-.nav-list .active > a, .nav-list .active > a:hover {
+.nav-list > .active > a, .nav-list > .active > a:hover {
   color: #ffffff;
   text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
   background-color: #0088cc;
@@ -2391,7 +2391,7 @@ button.btn.btn-small, input[type="submit"].btn.btn-small {
   -moz-border-radius: 5px;
   border-radius: 5px;
 }
-.nav-pills .active > a, .nav-pills .active > a:hover {
+.nav-pills > .active > a, .nav-pills > .active > a:hover {
   color: #ffffff;
   background-color: #0088cc;
 }
index 3285c9ef691c2378d0454cd1c7ace87aca75954b..c3604ae01882cfbff2cefbaafc2ead83ab58442d 100644 (file)
@@ -55,8 +55,8 @@
 .nav-list > li > a {
   padding: 3px 15px;
 }
-.nav-list .active > a,
-.nav-list .active > a:hover {
+.nav-list .active > a,
+.nav-list .active > a:hover {
   color: @white;
   text-shadow: 0 -1px 0 rgba(0,0,0,.2);
   background-color: @linkColor;
 }
 
 // Active state
-.nav-pills .active > a,
-.nav-pills .active > a:hover {
+.nav-pills .active > a,
+.nav-pills .active > a:hover {
   color: @white;
   background-color: @linkColor;
 }