Commit 08ff305e authored by Supergibbs's avatar Supergibbs

Added border radiuses to table when in a panel. Fixes #12461

parent 7eb53226
...@@ -4799,6 +4799,11 @@ a.list-group-item-danger.active:focus { ...@@ -4799,6 +4799,11 @@ a.list-group-item-danger.active:focus {
.panel > .table-responsive > .table { .panel > .table-responsive > .table {
margin-bottom: 0; margin-bottom: 0;
} }
.panel > .table:first-child,
.panel > .table-responsive:first-child > .table:first-child {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
...@@ -4819,6 +4824,11 @@ a.list-group-item-danger.active:focus { ...@@ -4819,6 +4824,11 @@ a.list-group-item-danger.active:focus {
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
border-top-right-radius: 3px; border-top-right-radius: 3px;
} }
.panel > .table:last-child,
.panel > .table-responsive:last-child > .table:last-child {
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -72,6 +72,8 @@ ...@@ -72,6 +72,8 @@
// Add border top radius for first one // Add border top radius for first one
> .table:first-child, > .table:first-child,
> .table-responsive:first-child > .table:first-child { > .table-responsive:first-child > .table:first-child {
.border-top-radius((@panel-border-radius - 1));
> thead:first-child, > thead:first-child,
> tbody:first-child { > tbody:first-child {
> tr:first-child { > tr:first-child {
...@@ -89,6 +91,8 @@ ...@@ -89,6 +91,8 @@
// Add border bottom radius for last one // Add border bottom radius for last one
> .table:last-child, > .table:last-child,
> .table-responsive:last-child > .table:last-child { > .table-responsive:last-child > .table:last-child {
.border-bottom-radius((@panel-border-radius - 1));
> tbody:last-child, > tbody:last-child,
> tfoot:last-child { > tfoot:last-child {
> tr:last-child { > tr:last-child {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment