mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
fixes #9642: open dropdown nav items get proper styling
This commit is contained in:
parent
6965c12e30
commit
ed4316d9b2
16
dist/css/bootstrap.css
vendored
16
dist/css/bootstrap.css
vendored
@ -2978,21 +2978,13 @@ button.close {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.nav.open > a,
|
||||
.nav.open > a:hover,
|
||||
.nav.open > a:focus {
|
||||
color: #ffffff;
|
||||
background-color: #428bca;
|
||||
.nav .open > a,
|
||||
.nav .open > a:hover,
|
||||
.nav .open > a:focus {
|
||||
background-color: #eeeeee;
|
||||
border-color: #428bca;
|
||||
}
|
||||
|
||||
.nav.open > a .caret,
|
||||
.nav.open > a:hover .caret,
|
||||
.nav.open > a:focus .caret {
|
||||
border-top-color: #ffffff;
|
||||
border-bottom-color: #ffffff;
|
||||
}
|
||||
|
||||
.nav .nav-divider {
|
||||
height: 1px;
|
||||
margin: 9px 0;
|
||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -42,17 +42,12 @@
|
||||
}
|
||||
|
||||
// Open dropdowns
|
||||
&.open > a {
|
||||
.open > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @nav-open-link-hover-color;
|
||||
background-color: @link-color;
|
||||
background-color: @nav-link-hover-bg;
|
||||
border-color: @link-color;
|
||||
.caret {
|
||||
border-top-color: @nav-open-caret-border-color;
|
||||
border-bottom-color: @nav-open-caret-border-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user