mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-11 08:54:23 +01:00
increase specifity of .pills li.active for dropdowns
This commit is contained in:
parent
cb9234ba46
commit
eaf464a2c5
Binary file not shown.
4
docs/assets/css/bootstrap.css
vendored
4
docs/assets/css/bootstrap.css
vendored
@ -2318,7 +2318,7 @@ button.btn.btn-small, input[type="submit"].btn.btn-small {
|
|||||||
.nav-list > li > a {
|
.nav-list > li > a {
|
||||||
padding: 3px 15px;
|
padding: 3px 15px;
|
||||||
}
|
}
|
||||||
.nav-list .active > a, .nav-list .active > a:hover {
|
.nav-list > .active > a, .nav-list > .active > a:hover {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
||||||
background-color: #0088cc;
|
background-color: #0088cc;
|
||||||
@ -2391,7 +2391,7 @@ button.btn.btn-small, input[type="submit"].btn.btn-small {
|
|||||||
-moz-border-radius: 5px;
|
-moz-border-radius: 5px;
|
||||||
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;
|
color: #ffffff;
|
||||||
background-color: #0088cc;
|
background-color: #0088cc;
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,8 @@
|
|||||||
.nav-list > li > a {
|
.nav-list > li > a {
|
||||||
padding: 3px 15px;
|
padding: 3px 15px;
|
||||||
}
|
}
|
||||||
.nav-list .active > a,
|
.nav-list > .active > a,
|
||||||
.nav-list .active > a:hover {
|
.nav-list > .active > a:hover {
|
||||||
color: @white;
|
color: @white;
|
||||||
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
|
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
|
||||||
background-color: @linkColor;
|
background-color: @linkColor;
|
||||||
@ -138,8 +138,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Active state
|
// Active state
|
||||||
.nav-pills .active > a,
|
.nav-pills > .active > a,
|
||||||
.nav-pills .active > a:hover {
|
.nav-pills > .active > a:hover {
|
||||||
color: @white;
|
color: @white;
|
||||||
background-color: @linkColor;
|
background-color: @linkColor;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user