diff --git a/bootstrap.css b/bootstrap.css index 0966119d33..274a81671a 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: Wed Oct 19 22:26:03 PDT 2011 + * Date: Wed Oct 19 23:10:57 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). @@ -1087,14 +1087,13 @@ table th { padding-top: 9px; font-weight: bold; vertical-align: middle; - border-bottom: 1px solid #ddd; } table td { vertical-align: top; border-top: 1px solid #ddd; } table tbody th { - border-bottom: 0; + border-top: 1px solid #ddd; vertical-align: top; } .bordered-table { @@ -1110,12 +1109,6 @@ table tbody th { .bordered-table th + th, .bordered-table td + td, .bordered-table th + td { border-left: 1px solid #ddd; } -.bordered-table tr td { - border-top: 1px solid #ddd; -} -.bordered-table tr:first-child td { - border-top: 0; -} .bordered-table thead tr:first-child th:first-child, .bordered-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 c799ce4338..1e8376c5a2 100644 --- a/bootstrap.min.css +++ b/bootstrap.min.css @@ -185,12 +185,10 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado .form-stacked div.clearfix.error{padding-top:10px;padding-bottom:10px;padding-left:10px;margin-top:0;margin-left:-10px;} .form-stacked .actions{margin-left:-20px;padding-left:20px;} table{width:100%;margin-bottom:18px;padding:0;font-size:13px;border-collapse:collapse;}table th,table td{padding:10px 10px 9px;line-height:18px;text-align:left;} -table th{padding-top:9px;font-weight:bold;vertical-align:middle;border-bottom:1px solid #ddd;} +table th{padding-top:9px;font-weight:bold;vertical-align:middle;} table td{vertical-align:top;border-top:1px solid #ddd;} -table tbody th{border-bottom:0;vertical-align:top;} +table tbody th{border-top:1px solid #ddd;vertical-align:top;} .bordered-table{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapse;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.bordered-table th+th,.bordered-table td+td,.bordered-table th+td{border-left:1px solid #ddd;} -.bordered-table tr td{border-top:1px solid #ddd;} -.bordered-table tr:first-child td{border-top:0;} .bordered-table thead tr:first-child th:first-child,.bordered-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;} .bordered-table thead tr:first-child th:last-child,.bordered-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;} .bordered-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 c4d8653a2a..82eb43e0ff 100644 --- a/docs/index.html +++ b/docs/index.html @@ -888,19 +888,19 @@ - 1 + 1 Some One English - 2 + 2 Joe Sixpack English - 3 + 3 Stu Dent Code @@ -954,24 +954,6 @@ span 2 columns - - - - - - - - - - - - - - - -
12
12
- -

Note: Zebra-striping is a progressive enhancement not available for older browsers like IE8 and below.

diff --git a/lib/tables.less b/lib/tables.less index 085eef49af..f4281e1b0a 100644 --- a/lib/tables.less +++ b/lib/tables.less @@ -22,7 +22,6 @@ table { padding-top: 9px; font-weight: bold; vertical-align: middle; - border-bottom: 1px solid #ddd; } td { vertical-align: top; @@ -30,7 +29,7 @@ table { } // When scoped to row, fix th in tbody tbody th { - border-bottom: 0; + border-top: 1px solid #ddd; vertical-align: top; } } @@ -49,12 +48,6 @@ table { th + td { border-left: 1px solid #ddd; } - tr td { - border-top: 1px solid #ddd; - } - tr:first-child td { - border-top: 0; - } thead tr:first-child th:first-child, tbody tr:first-child td:first-child { .border-radius(4px 0 0 0);