From 80d1b6b117c76ecbbb635b626a2485dda5cf801c Mon Sep 17 00:00:00 2001 From: ggam Date: Wed, 14 Aug 2013 16:40:26 +0200 Subject: [PATCH 1/3] Made panel-variant apply styles only to first child --- less/mixins.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/less/mixins.less b/less/mixins.less index 701ed2cc36..9e6d622ae2 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; } From 80ff4bf870716dd140592813b4c854781d32c22f Mon Sep 17 00:00:00 2001 From: Luis Aleman Date: Wed, 14 Aug 2013 13:31:29 -0400 Subject: [PATCH 2/3] Add .navbar-header, and correct .nav-collapse --- javascript.html | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/javascript.html b/javascript.html index 3797dbf65d..707c7329ab 100644 --- a/javascript.html +++ b/javascript.html @@ -357,14 +357,16 @@ $('#myModal').on('hidden.bs.modal', function () {