diff options
| author | Chris Rebert <[email protected]> | 2013-08-27 17:13:07 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-08-27 17:13:34 -0700 |
| commit | 901da1b2b4727e3d00990dcf66ea3d31703b4edc (patch) | |
| tree | 359456a863e37c358d1c5d0f49178c456dd26ab1 /dist/css/bootstrap.css | |
| parent | 73f10843a487ee94bed755ecfd7c853cb657bf38 (diff) | |
| download | bootstrap-901da1b2b4727e3d00990dcf66ea3d31703b4edc.tar.xz bootstrap-901da1b2b4727e3d00990dcf66ea3d31703b4edc.zip | |
use direct-child selector more in table styles to better support nested tables; fixes #10231
Diffstat (limited to 'dist/css/bootstrap.css')
| -rw-r--r-- | dist/css/bootstrap.css | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 319ca9e3a..eef6079f3 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -1402,33 +1402,33 @@ th { margin-bottom: 20px; } -.table thead > tr > th, -.table tbody > tr > th, -.table tfoot > tr > th, -.table thead > tr > td, -.table tbody > tr > td, -.table tfoot > tr > td { +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { padding: 8px; line-height: 1.428571429; vertical-align: top; border-top: 1px solid #dddddd; } -.table thead > tr > th { +.table > thead > tr > th { vertical-align: bottom; border-bottom: 2px solid #dddddd; } -.table caption + thead tr:first-child th, -.table colgroup + thead tr:first-child th, -.table thead:first-child tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child td { +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { border-top: 0; } -.table tbody + tbody { +.table > tbody + tbody { border-top: 2px solid #dddddd; } @@ -1436,12 +1436,12 @@ th { background-color: #ffffff; } -.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 tfoot > tr > td { +.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 > tfoot > tr > td { padding: 5px; } |
