diff options
| author | Mark Otto <[email protected]> | 2013-01-11 23:38:53 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-01-11 23:38:53 -0800 |
| commit | 19e2ad0eb64c0e6bd40557c2ce3585702b54f6f9 (patch) | |
| tree | 88a698aa03b901e2de2fd902f1b70285d1f82225 /less | |
| parent | 6f894c62a57fd93e9ba41230d794cd8ad48c03d1 (diff) | |
| download | bootstrap-19e2ad0eb64c0e6bd40557c2ce3585702b54f6f9.tar.xz bootstrap-19e2ad0eb64c0e6bd40557c2ce3585702b54f6f9.zip | |
Fixes #6538: Add th support to all the .table-rounded selectors
Diffstat (limited to 'less')
| -rw-r--r-- | less/tables.less | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/less/tables.less b/less/tables.less index aa01e1025..0e35271e1 100644 --- a/less/tables.less +++ b/less/tables.less @@ -93,24 +93,32 @@ table { tbody:first-child tr:first-child td { border-top: 0; } - // For first th or td in the first row in the first thead or tbody + // For first th/td in the first row in the first thead or tbody thead:first-child tr:first-child > th:first-child, - tbody:first-child tr:first-child > td:first-child { + tbody:first-child tr:first-child > td:first-child, + tbody:first-child tr:first-child > th:first-child { .border-top-left-radius(@baseBorderRadius); } + // For last th/td in the first row in the first thead or tbody thead:first-child tr:first-child > th:last-child, - tbody:first-child tr:first-child > td:last-child { + tbody:first-child tr:first-child > td:last-child, + tbody:first-child tr:first-child > th:last-child { .border-top-right-radius(@baseBorderRadius); } - // For first th or td in the last row in the last thead or tbody + // For first th/td (can be either) in the last row in the last thead, tbody, and tfoot thead:last-child tr:last-child > th:first-child, tbody:last-child tr:last-child > td:first-child, - tfoot:last-child tr:last-child > td:first-child { + tbody:last-child tr:last-child > th:first-child, + tfoot:last-child tr:last-child > td:first-child, + tfoot:last-child tr:last-child > th:first-child { .border-bottom-left-radius(@baseBorderRadius); } + // For last th/td (can be either) in the last row in the last thead, tbody, and tfoot thead:last-child tr:last-child > th:last-child, tbody:last-child tr:last-child > td:last-child, - tfoot:last-child tr:last-child > td:last-child { + tbody:last-child tr:last-child > th:last-child, + tfoot:last-child tr:last-child > td:last-child, + tfoot:last-child tr:last-child > th:last-child { .border-bottom-right-radius(@baseBorderRadius); } |
