diff --git a/bootstrap.css b/bootstrap.css index 96c15f5c02883e92373f4e8f6ecd59cef53cd167..fb922f68e02df9f2fb537f78a01f4b09bdbec253 100644 --- a/bootstrap.css +++ b/bootstrap.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Tue Oct 4 01:16:04 PDT 2011 + * Date: Fri Oct 7 23:53:08 PDT 2011 */ /* Reset.less * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). @@ -1083,9 +1083,12 @@ table td { table th + th, table td + td { border-left: 1px solid #ddd; } -table tr + tr td { +table tr td { border-top: 1px solid #ddd; } +table tr:first-child td { + border-top: 0; +} table tbody tr:first-child td:first-child { -webkit-border-radius: 4px 0 0 0; -moz-border-radius: 4px 0 0 0; diff --git a/bootstrap.min.css b/bootstrap.min.css index b0ec80db20a21193b6de15dda356b7aa49328800..e9f788775c7eb6314957e4d544f105b3303e0a2a 100644 --- a/bootstrap.min.css +++ b/bootstrap.min.css @@ -184,7 +184,8 @@ table{width:100%;margin-bottom:18px;padding:0;border-collapse:separate;*border-c table th{padding-top:9px;font-weight:bold;vertical-align:middle;border-bottom:1px solid #ddd;} table td{vertical-align:top;} table th+th,table td+td{border-left:1px solid #ddd;} -table tr+tr td{border-top:1px solid #ddd;} +table tr td{border-top:1px solid #ddd;} +table tr:first-child td{border-top:0;} table tbody tr:first-child td:first-child{-webkit-border-radius:4px 0 0 0;-moz-border-radius:4px 0 0 0;border-radius:4px 0 0 0;} table tbody tr:first-child td:last-child{-webkit-border-radius:0 4px 0 0;-moz-border-radius:0 4px 0 0;border-radius:0 4px 0 0;} table tbody tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;} diff --git a/docs/index.html b/docs/index.html index ccba3b34d14c79c21f88342ecefda7d6804e013e..f357d2454a52aa86879c589cd41dcd4cdeb31d6b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -869,6 +869,53 @@ <td>Dent</td> <td>Code</td> </tr> + <tr> + <td colspan="4"> + span 4 columns + </td> + </tr> + <tr> + <td colspan="2"> + span 2 columns + </td> + <td colspan="2"> + span 2 columns + </td> + </tr> + <tr> + <td colspan="2"> + <table> + <thead> + <tr> + <th>1</th> + <th>2</th> + </tr> + </thead> + <tbody> + <tr> + <td>1</td> + <td>2</td> + </tr> + </tbody> + </table> + </td> + <td colspan="2"> + <table> + <thead> + <tr> + <th>1</th> + <th>2</th> + </tr> + </thead> + <tbody> + <tr> + <td>1</td> + <td>2</td> + </tr> + </tbody> + </table> + </td> + </tr> </tbody> </table> <pre class="prettyprint linenums"> diff --git a/lib/scaffolding.less b/lib/scaffolding.less index 4f8634710f3260a444056171c5226a0ba41e9b32..b9646aed7aff0d30b1b57da6562194396fc35e54 100644 --- a/lib/scaffolding.less +++ b/lib/scaffolding.less @@ -77,7 +77,7 @@ a { .row { .clearfix(); - margin-left: -1 * @gridGutterWidth; + margin-left: -@gridGutterWidth; } // Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7) diff --git a/lib/tables.less b/lib/tables.less index 949072001d6baabaa089100db0e35c7817f192c7..2781681cca469319e307ed0b3a4be3a9224f3e7f 100644 --- a/lib/tables.less +++ b/lib/tables.less @@ -34,9 +34,12 @@ table { td + td { border-left: 1px solid #ddd; } - tr + tr td { + tr td { border-top: 1px solid #ddd; } + tr:first-child td { + border-top: 0; + } tbody tr:first-child td:first-child { .border-radius(4px 0 0 0); }