diff options
| author | Mark Otto <[email protected]> | 2013-09-01 10:04:54 +0200 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-09-01 10:04:54 +0200 |
| commit | 7f6210cea4f19a2f30892577e27744df02e1458a (patch) | |
| tree | ad5d8c8b504cac1f86f19be8e76d0fc4dc856863 /less | |
| parent | 3a4ea1a7bea5a8400672c7e6a47f71b5ea2ee749 (diff) | |
| parent | 1e68143b39d51dcdbde575120628053c1e3ae966 (diff) | |
| download | bootstrap-7f6210cea4f19a2f30892577e27744df02e1458a.tar.xz bootstrap-7f6210cea4f19a2f30892577e27744df02e1458a.zip | |
Merge branch 'master' of github.com:twbs/bootstrap
Diffstat (limited to 'less')
| -rw-r--r-- | less/tables.less | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/less/tables.less b/less/tables.less index bd86db2e4..79a53c724 100644 --- a/less/tables.less +++ b/less/tables.less @@ -18,9 +18,9 @@ th { width: 100%; margin-bottom: @line-height-computed; // Cells - thead, - tbody, - tfoot { + > thead, + > tbody, + > tfoot { > tr { > th, > td { @@ -32,22 +32,23 @@ th { } } // Bottom align for column headings - thead > tr > th { + > thead > tr > th { vertical-align: bottom; border-bottom: 2px solid @table-border-color; } // Remove top border from thead by default - caption + thead, - colgroup + thead, - thead:first-child { - tr:first-child { - th, td { + > caption + thead, + > colgroup + thead, + > thead:first-child { + > tr:first-child { + > th, + > td { border-top: 0; } } } // Account for multiple tbody instances - tbody + tbody { + > tbody + tbody { border-top: 2px solid @table-border-color; } @@ -61,9 +62,9 @@ th { // Condensed table w/ half padding .table-condensed { - thead, - tbody, - tfoot { + > thead, + > tbody, + > tfoot { > tr { > th, > td { |
