From 9fc0e20381ec06bc85c68a5e6f1f2a5103a3267a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 22 Dec 2013 22:31:13 -0800 Subject: Fixes #10492 and some of #11970: round the proper corner on table cells in panels --- less/panels.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/panels.less b/less/panels.less index ef8786867..cca22ae3a 100644 --- a/less/panels.less +++ b/less/panels.less @@ -104,7 +104,7 @@ } td:last-child, th:last-child { - border-bottom-left-radius: (@panel-border-radius - 1); + border-bottom-right-radius: (@panel-border-radius - 1); } } } -- cgit v1.2.3 From f3ce6a9696f61720f10576f5744296c67703558f Mon Sep 17 00:00:00 2001 From: Supergibbs Date: Mon, 23 Dec 2013 16:07:55 -0800 Subject: Fixes #10492 better: - Made more generic. Applies to "> .table" and "> .table-responsive > .table" to support td/tr background colors too and not just .table-striped - Supports tfoot --- less/panels.less | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'less') diff --git a/less/panels.less b/less/panels.less index cca22ae3a..8de915c7e 100644 --- a/less/panels.less +++ b/less/panels.less @@ -59,6 +59,20 @@ > .table, > .table-responsive > .table { margin-bottom: 0; + + > tbody:last-child, + > tfoot:last-child { + > tr:last-child { + td:first-child, + th:first-child { + border-bottom-left-radius: (@panel-border-radius - 1); + } + td:last-child, + th:last-child { + border-bottom-right-radius: (@panel-border-radius - 1); + } + } + } } > .panel-body + .table, > .panel-body + .table-responsive { @@ -95,19 +109,6 @@ border: 0; margin-bottom: 0; } - > .table-striped, - > .table-responsive > .table-striped { - > tbody > tr:last-child { - td:first-child, - th:first-child { - border-bottom-left-radius: (@panel-border-radius - 1); - } - td:last-child, - th:last-child { - border-bottom-right-radius: (@panel-border-radius - 1); - } - } - } } -- cgit v1.2.3 From 679c7862374be9b742862923181302f76b3a8c06 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 24 Dec 2013 12:16:17 -0800 Subject: roll back version numbers to avoid broken links in docs and readme (fixes #12000) --- less/variables.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/variables.less b/less/variables.less index b849cb400..885240a9c 100644 --- a/less/variables.less +++ b/less/variables.less @@ -189,7 +189,7 @@ @dropdown-header-color: @gray-light; -// Note: Deprecated @dropdown-caret-color as of v3.1.0 +// Note: Deprecated @dropdown-caret-color as of v3.0.3 @dropdown-caret-color: #000; -- cgit v1.2.3 From 04ec4354ed66931c68b30eef6617e79e66a3dc7a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 24 Dec 2013 12:18:53 -0800 Subject: don't roll back that comment --- less/variables.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/variables.less b/less/variables.less index 885240a9c..8e1a702ea 100644 --- a/less/variables.less +++ b/less/variables.less @@ -189,7 +189,7 @@ @dropdown-header-color: @gray-light; -// Note: Deprecated @dropdown-caret-color as of v3.0.3 +// Note: Deprecated @dropdown-caret-color as of v3.1 @dropdown-caret-color: #000; -- cgit v1.2.3