aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorChris Ziogas <[email protected]>2013-09-16 12:38:26 +0300
committerChris Ziogas <[email protected]>2013-09-16 12:38:26 +0300
commitab3d0a27b3d93eebff3852728f94ddc4fcb35199 (patch)
tree45851ca8defbea8831221e1f07eebb87642c90be /less
parent16279056ae1b3534f8c54b812492ce222dda6c8d (diff)
downloadbootstrap-ab3d0a27b3d93eebff3852728f94ddc4fcb35199.tar.xz
bootstrap-ab3d0a27b3d93eebff3852728f94ddc4fcb35199.zip
Dropdown in panel header does not inherit its colors
Fix for issue #10627
Diffstat (limited to 'less')
-rw-r--r--less/mixins.less3
-rw-r--r--less/panels.less3
2 files changed, 6 insertions, 0 deletions
diff --git a/less/mixins.less b/less/mixins.less
index 42523c2aa..f8afa0eeb 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -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 {
diff --git a/less/panels.less b/less/panels.less
index adf463216..c02cd130e 100644
--- a/less/panels.less
+++ b/less/panels.less
@@ -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.