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

View File

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