mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fixes #14437: Round the corners of table rows in panels as well as the cells
This commit is contained in:
parent
ce7363e0db
commit
5b7a5f84d4
4 changed files with 22 additions and 2 deletions
14
dist/css/bootstrap.css
vendored
14
dist/css/bootstrap.css
vendored
|
@ -5158,6 +5158,13 @@ a.list-group-item-danger.active:focus {
|
||||||
border-top-left-radius: 3px;
|
border-top-left-radius: 3px;
|
||||||
border-top-right-radius: 3px;
|
border-top-right-radius: 3px;
|
||||||
}
|
}
|
||||||
|
.panel > .table:first-child > thead:first-child > tr:first-child,
|
||||||
|
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
|
||||||
|
.panel > .table:first-child > tbody:first-child > tr:first-child,
|
||||||
|
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr: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,
|
||||||
|
@ -5183,6 +5190,13 @@ a.list-group-item-danger.active:focus {
|
||||||
border-bottom-right-radius: 3px;
|
border-bottom-right-radius: 3px;
|
||||||
border-bottom-left-radius: 3px;
|
border-bottom-left-radius: 3px;
|
||||||
}
|
}
|
||||||
|
.panel > .table:last-child > tbody:last-child > tr:last-child,
|
||||||
|
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
|
||||||
|
.panel > .table:last-child > tfoot:last-child > tr:last-child,
|
||||||
|
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr: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,
|
||||||
|
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -115,6 +115,9 @@
|
||||||
> thead:first-child,
|
> thead:first-child,
|
||||||
> tbody:first-child {
|
> tbody:first-child {
|
||||||
> tr:first-child {
|
> tr:first-child {
|
||||||
|
border-top-left-radius: (@panel-border-radius - 1);
|
||||||
|
border-top-right-radius: (@panel-border-radius - 1);
|
||||||
|
|
||||||
td:first-child,
|
td:first-child,
|
||||||
th:first-child {
|
th:first-child {
|
||||||
border-top-left-radius: (@panel-border-radius - 1);
|
border-top-left-radius: (@panel-border-radius - 1);
|
||||||
|
@ -134,6 +137,9 @@
|
||||||
> tbody:last-child,
|
> tbody:last-child,
|
||||||
> tfoot:last-child {
|
> tfoot:last-child {
|
||||||
> tr:last-child {
|
> tr:last-child {
|
||||||
|
border-bottom-left-radius: (@panel-border-radius - 1);
|
||||||
|
border-bottom-right-radius: (@panel-border-radius - 1);
|
||||||
|
|
||||||
td:first-child,
|
td:first-child,
|
||||||
th:first-child {
|
th:first-child {
|
||||||
border-bottom-left-radius: (@panel-border-radius - 1);
|
border-bottom-left-radius: (@panel-border-radius - 1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue