1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

increase specifity of .pills li.active for dropdowns

This commit is contained in:
Mark Otto 2012-03-05 20:14:54 -08:00
parent cb9234ba46
commit eaf464a2c5
3 changed files with 6 additions and 6 deletions

Binary file not shown.

View 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;
}

View 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;
@ -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;
}