mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Dropdown in panel header does not inherit its colors
Fix for issue #10627
This commit is contained in:
parent
16279056ae
commit
ab3d0a27b3
28
dist/css/bootstrap.css
vendored
28
dist/css/bootstrap.css
vendored
@ -5491,6 +5491,10 @@ a.list-group-item:focus {
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
||||
.panel-heading > .dropdown .dropdown-toggle {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.panel-title {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
@ -5549,6 +5553,10 @@ a.list-group-item:focus {
|
||||
border-top-color: #dddddd;
|
||||
}
|
||||
|
||||
.panel-default > .panel-heading > .dropdown .caret {
|
||||
border-color: #333333 transparent;
|
||||
}
|
||||
|
||||
.panel-default > .panel-footer + .panel-collapse .panel-body {
|
||||
border-bottom-color: #dddddd;
|
||||
}
|
||||
@ -5567,6 +5575,10 @@ a.list-group-item:focus {
|
||||
border-top-color: #428bca;
|
||||
}
|
||||
|
||||
.panel-primary > .panel-heading > .dropdown .caret {
|
||||
border-color: #ffffff transparent;
|
||||
}
|
||||
|
||||
.panel-primary > .panel-footer + .panel-collapse .panel-body {
|
||||
border-bottom-color: #428bca;
|
||||
}
|
||||
@ -5585,6 +5597,10 @@ a.list-group-item:focus {
|
||||
border-top-color: #d6e9c6;
|
||||
}
|
||||
|
||||
.panel-success > .panel-heading > .dropdown .caret {
|
||||
border-color: #468847 transparent;
|
||||
}
|
||||
|
||||
.panel-success > .panel-footer + .panel-collapse .panel-body {
|
||||
border-bottom-color: #d6e9c6;
|
||||
}
|
||||
@ -5603,6 +5619,10 @@ a.list-group-item:focus {
|
||||
border-top-color: #fbeed5;
|
||||
}
|
||||
|
||||
.panel-warning > .panel-heading > .dropdown .caret {
|
||||
border-color: #c09853 transparent;
|
||||
}
|
||||
|
||||
.panel-warning > .panel-footer + .panel-collapse .panel-body {
|
||||
border-bottom-color: #fbeed5;
|
||||
}
|
||||
@ -5621,6 +5641,10 @@ a.list-group-item:focus {
|
||||
border-top-color: #eed3d7;
|
||||
}
|
||||
|
||||
.panel-danger > .panel-heading > .dropdown .caret {
|
||||
border-color: #b94a48 transparent;
|
||||
}
|
||||
|
||||
.panel-danger > .panel-footer + .panel-collapse .panel-body {
|
||||
border-bottom-color: #eed3d7;
|
||||
}
|
||||
@ -5639,6 +5663,10 @@ a.list-group-item:focus {
|
||||
border-top-color: #bce8f1;
|
||||
}
|
||||
|
||||
.panel-info > .panel-heading > .dropdown .caret {
|
||||
border-color: #3a87ad transparent;
|
||||
}
|
||||
|
||||
.panel-info > .panel-footer + .panel-collapse .panel-body {
|
||||
border-bottom-color: #bce8f1;
|
||||
}
|
||||
|
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
@ -396,6 +396,9 @@
|
||||
+ .panel-collapse .panel-body {
|
||||
border-top-color: @border;
|
||||
}
|
||||
& > .dropdown .caret {
|
||||
border-color: @heading-text-color transparent;
|
||||
}
|
||||
}
|
||||
& > .panel-footer {
|
||||
+ .panel-collapse .panel-body {
|
||||
|
@ -92,6 +92,9 @@
|
||||
padding: 10px 15px;
|
||||
border-bottom: 1px solid transparent;
|
||||
.border-top-radius(@panel-border-radius - 1);
|
||||
& > .dropdown .dropdown-toggle {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
// Within heading, strip any `h*` tag of it's default margins for spacing.
|
||||
|
Loading…
Reference in New Issue
Block a user