mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-24 14:04:09 +03:00
increase specifity of .pills li.active for dropdowns
This commit is contained in:
Binary file not shown.
Vendored
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
+4
-4
@@ -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;
|
||||
@@ -138,8 +138,8 @@
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user