1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 21:49:09 +01:00

Add tfoot back (addresses more than #8387)

This commit is contained in:
Mark Otto 2013-07-05 14:15:00 -05:00
parent 14056409c3
commit 88a266b800
2 changed files with 17 additions and 7 deletions

View File

@ -1113,8 +1113,10 @@ th {
.table thead > tr > th,
.table tbody > tr > th,
.table tfoot > tr > th,
.table thead > tr > td,
.table tbody > tr > td {
.table tbody > tr > td,
.table tfoot > tr > td {
padding: 8px;
line-height: 1.428571429;
vertical-align: top;
@ -1144,8 +1146,10 @@ th {
.table-condensed thead > tr > th,
.table-condensed tbody > tr > th,
.table-condensed tfoot > tr > th,
.table-condensed thead > tr > td,
.table-condensed tbody > tr > td {
.table-condensed tbody > tr > td,
.table-condensed tfoot > tr > td {
padding: 4px 5px;
}
@ -1158,8 +1162,10 @@ th {
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td {
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
border-left: 1px solid #dddddd;
}

View File

@ -20,7 +20,8 @@ th {
margin-bottom: @line-height-computed;
// Cells
thead,
tbody {
tbody,
tfoot {
> tr {
> th,
> td {
@ -63,7 +64,8 @@ th {
.table-condensed {
thead,
tbody {
tbody,
tfoot {
> tr {
> th,
> td {
@ -85,7 +87,8 @@ th {
border-radius: @border-radius-base;
> thead,
> tbody {
> tbody,
> tfoot {
> tr {
> th,
> td {
@ -200,7 +203,8 @@ table col[class^="col-"] {
display: table-column;
}
table {
td, th {
td,
th {
&[class^="col-"] {
float: none;
display: table-cell;