diff options
| author | Mark Otto <[email protected]> | 2013-05-03 14:56:57 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-05-03 14:56:57 -0700 |
| commit | e1d947f53e0591f2765290784f9e09f46e002558 (patch) | |
| tree | 1186b72ea0320bfb55de14651f01bd528f3bdf07 /docs/assets/css/bootstrap.css | |
| parent | 9d9fd5e0d1b238613728ef27a024b0cc28b5151a (diff) | |
| download | bootstrap-e1d947f53e0591f2765290784f9e09f46e002558.tar.xz bootstrap-e1d947f53e0591f2765290784f9e09f46e002558.zip | |
Scope .table-bordered styles to immediate children only
Diffstat (limited to 'docs/assets/css/bootstrap.css')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index a17a47128..9df8dc84e 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1073,72 +1073,72 @@ th { border-radius: 4px; } -.table-bordered thead > tr > th, -.table-bordered tbody > tr > th, -.table-bordered thead > tr > td, -.table-bordered tbody > tr > td { +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td { border-left: 1px solid #dddddd; } -.table-bordered caption + thead > tr:first-child th, -.table-bordered caption + tbody > tr:first-child th, -.table-bordered caption + tbody > tr:first-child td, -.table-bordered colgroup + thead > tr:first-child th, -.table-bordered colgroup + tbody > tr:first-child th, -.table-bordered colgroup + tbody > tr:first-child td, -.table-bordered thead:first-child > tr:first-child th, -.table-bordered tbody:first-child > tr:first-child th, -.table-bordered tbody:first-child > tr:first-child td { +.table-bordered > caption + thead > tr:first-child th, +.table-bordered > caption + tbody > tr:first-child th, +.table-bordered > caption + tbody > tr:first-child td, +.table-bordered > colgroup + thead > tr:first-child th, +.table-bordered > colgroup + tbody > tr:first-child th, +.table-bordered > colgroup + tbody > tr:first-child td, +.table-bordered > thead:first-child > tr:first-child th, +.table-bordered > tbody:first-child > tr:first-child th, +.table-bordered > tbody:first-child > tr:first-child td { border-top: 0; } -.table-bordered thead:first-child > tr:first-child > th:first-child, -.table-bordered tbody:first-child > tr:first-child > td:first-child, -.table-bordered tbody:first-child > tr:first-child > th:first-child { +.table-bordered > thead:first-child > tr:first-child > th:first-child, +.table-bordered > tbody:first-child > tr:first-child > td:first-child, +.table-bordered > tbody:first-child > tr:first-child > th:first-child { border-top-left-radius: 4px; } -.table-bordered thead:first-child > tr:first-child > th:last-child, -.table-bordered tbody:first-child > tr:first-child > td:last-child, -.table-bordered tbody:first-child > tr:first-child > th:last-child { +.table-bordered > thead:first-child > tr:first-child > th:last-child, +.table-bordered > tbody:first-child > tr:first-child > td:last-child, +.table-bordered > tbody:first-child > tr:first-child > th:last-child { border-top-right-radius: 4px; } -.table-bordered thead:last-child > tr:last-child > th:first-child, -.table-bordered tbody:last-child > tr:last-child > td:first-child, -.table-bordered tbody:last-child > tr:last-child > th:first-child, -.table-bordered tfoot:last-child > tr:last-child > td:first-child, -.table-bordered tfoot:last-child > tr:last-child > th:first-child { +.table-bordered > thead:last-child > tr:last-child > th:first-child, +.table-bordered > tbody:last-child > tr:last-child > td:first-child, +.table-bordered > tbody:last-child > tr:last-child > th:first-child, +.table-bordered > tfoot:last-child > tr:last-child > td:first-child, +.table-bordered > tfoot:last-child > tr:last-child > th:first-child { border-bottom-left-radius: 4px; } -.table-bordered thead:last-child > tr:last-child > th:last-child, -.table-bordered tbody:last-child > tr:last-child > td:last-child, -.table-bordered tbody:last-child > tr:last-child > th:last-child, -.table-bordered tfoot:last-child > tr:last-child > td:last-child, -.table-bordered tfoot:last-child > tr:last-child > th:last-child { +.table-bordered > thead:last-child > tr:last-child > th:last-child, +.table-bordered > tbody:last-child > tr:last-child > td:last-child, +.table-bordered > tbody:last-child > tr:last-child > th:last-child, +.table-bordered > tfoot:last-child > tr:last-child > td:last-child, +.table-bordered > tfoot:last-child > tr:last-child > th:last-child { border-bottom-right-radius: 4px; } -.table-bordered tfoot + tbody:last-child > tr:last-child > td:first-child { +.table-bordered > tfoot + tbody:last-child > tr:last-child > td:first-child { border-bottom-left-radius: 0; } -.table-bordered tfoot + tbody:last-child > tr:last-child > td:last-child { +.table-bordered > tfoot + tbody:last-child > tr:last-child > td:last-child { border-bottom-right-radius: 0; } -.table-bordered caption + thead > tr:first-child > th:first-child, -.table-bordered caption + tbody > tr:first-child > td:first-child, -.table-bordered colgroup + thead > tr:first-child > th:first-child, -.table-bordered colgroup + tbody > tr:first-child > td:first-child { +.table-bordered > caption + thead > tr:first-child > th:first-child, +.table-bordered > caption + tbody > tr:first-child > td:first-child, +.table-bordered > colgroup + thead > tr:first-child > th:first-child, +.table-bordered > colgroup + tbody > tr:first-child > td:first-child { border-top-left-radius: 4px; } -.table-bordered caption + thead > tr:first-child > th:last-child, -.table-bordered caption + tbody > tr:first-child > td:last-child, -.table-bordered colgroup + thead > tr:first-child > th:last-child, -.table-bordered colgroup + tbody > tr:first-child > td:last-child { +.table-bordered > caption + thead > tr:first-child > th:last-child, +.table-bordered > caption + tbody > tr:first-child > td:last-child, +.table-bordered > colgroup + thead > tr:first-child > th:last-child, +.table-bordered > colgroup + tbody > tr:first-child > td:last-child { border-top-right-radius: 4px; } |
