mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
account for last child bottom border; use 0 instead of none
This commit is contained in:
parent
ac244040d1
commit
b51579241f
31
dist/css/bootstrap.css
vendored
31
dist/css/bootstrap.css
vendored
@ -5447,6 +5447,37 @@ a.list-group-item:focus {
|
|||||||
border-top: 1px solid #dddddd;
|
border-top: 1px solid #dddddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.panel > .table-bordered {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panel > .table-bordered > thead > tr > th:first-child,
|
||||||
|
.panel > .table-bordered > tbody > tr > th:first-child,
|
||||||
|
.panel > .table-bordered > tfoot > tr > th:first-child,
|
||||||
|
.panel > .table-bordered > thead > tr > td:first-child,
|
||||||
|
.panel > .table-bordered > tbody > tr > td:first-child,
|
||||||
|
.panel > .table-bordered > tfoot > tr > td:first-child {
|
||||||
|
border-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panel > .table-bordered > thead > tr > th:last-child,
|
||||||
|
.panel > .table-bordered > tbody > tr > th:last-child,
|
||||||
|
.panel > .table-bordered > tfoot > tr > th:last-child,
|
||||||
|
.panel > .table-bordered > thead > tr > td:last-child,
|
||||||
|
.panel > .table-bordered > tbody > tr > td:last-child,
|
||||||
|
.panel > .table-bordered > tfoot > tr > td:last-child {
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panel > .table-bordered > thead > tr:last-child > th,
|
||||||
|
.panel > .table-bordered > tbody > tr:last-child > th,
|
||||||
|
.panel > .table-bordered > tfoot > tr:last-child > th,
|
||||||
|
.panel > .table-bordered > thead > tr:last-child > td,
|
||||||
|
.panel > .table-bordered > tbody > tr:last-child > td,
|
||||||
|
.panel > .table-bordered > tfoot > tr:last-child > td {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.panel-heading {
|
.panel-heading {
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
border-bottom: 1px solid transparent;
|
border-bottom: 1px solid transparent;
|
||||||
|
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
@ -63,18 +63,23 @@
|
|||||||
border-top: 1px solid @table-border-color;
|
border-top: 1px solid @table-border-color;
|
||||||
}
|
}
|
||||||
> .table-bordered {
|
> .table-bordered {
|
||||||
border: none;
|
border: 0;
|
||||||
> thead,
|
> thead,
|
||||||
> tbody,
|
> tbody,
|
||||||
> tfoot {
|
> tfoot {
|
||||||
> tr {
|
> tr {
|
||||||
> th:first-child,
|
> th:first-child,
|
||||||
> td:first-child {
|
> td:first-child {
|
||||||
border-left: none;
|
border-left: 0;
|
||||||
}
|
}
|
||||||
> th:last-child,
|
> th:last-child,
|
||||||
> td:last-child {
|
> td:last-child {
|
||||||
border-right: none;
|
border-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child > th,
|
||||||
|
&:last-child > td {
|
||||||
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user