aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorggam <[email protected]>2013-08-14 16:40:26 +0200
committerggam <[email protected]>2013-08-14 16:40:26 +0200
commit80d1b6b117c76ecbbb635b626a2485dda5cf801c (patch)
tree0f673cd79b512d95fdc72de0edd231ea20e85bc9
parentaa2c152d85d1220a7b93002b54edd04e6c15cc62 (diff)
downloadbootstrap-80d1b6b117c76ecbbb635b626a2485dda5cf801c.tar.xz
bootstrap-80d1b6b117c76ecbbb635b626a2485dda5cf801c.zip
Made panel-variant apply styles only to first child
-rw-r--r--less/mixins.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/less/mixins.less b/less/mixins.less
index 701ed2cc3..9e6d622ae 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -331,7 +331,7 @@
// -------------------------
.panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) {
border-color: @border;
- .panel-heading {
+ & > .panel-heading {
color: @heading-text-color;
background-color: @heading-bg-color;
border-color: @heading-border;
@@ -339,7 +339,7 @@
border-top-color: @border;
}
}
- .panel-footer {
+ & > .panel-footer {
+ .panel-collapse .panel-body {
border-bottom-color: @border;
}