]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
comments and borders for multiple tbody
authorMark Otto <markdotto@gmail.com>
Wed, 11 Jan 2012 17:43:13 +0000 (09:43 -0800)
committerMark Otto <markdotto@gmail.com>
Wed, 11 Jan 2012 17:43:13 +0000 (09:43 -0800)
bootstrap.css
bootstrap.min.css
lib/tables.less

index 561a705720e11a9ac585269502f28769900cef82..6ac110e29621193bd36f2294648c212e3de76f2f 100644 (file)
@@ -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 Jan 10 21:52:26 PST 2012
+ * Date: Wed Jan 11 09:43:04 PST 2012
  */
 html, body {
   margin: 0;
@@ -993,6 +993,9 @@ th {
 td {
   vertical-align: top;
 }
+thead:first-child tr th, thead:first-child tr td {
+  border-top: 0;
+}
 tbody + tbody {
   border-top: 2px solid #ddd;
 }
index 6c6ed8985662601b8c0db7c22deec7f2abd20531..761fb53bec789073fadc64974d57740b5f3c24e8 100644 (file)
@@ -179,6 +179,7 @@ table{width:100%;margin-bottom:18px;}
 th,td{padding:8px;line-height:18px;text-align:left;border-top:1px solid #ddd;}
 th{font-weight:bold;vertical-align:bottom;}
 td{vertical-align:top;}
+thead:first-child tr th,thead:first-child tr td{border-top:0;}
 tbody+tbody{border-top:2px solid #ddd;}
 .condensed-table th,.condensed-table td{padding:4px 5px;}
 .bordered-table{border:1px solid #ddd;border-collapse:separate;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.bordered-table th+th,.bordered-table td+td,.bordered-table th+td,.bordered-table td+th{border-left:1px solid #ddd;}
index 4c1fb6e071150a2301f215324de1fd1cebee9887..8b69f5d7f9b320c08a29dd64f2d4aa868b3c8844 100644 (file)
@@ -26,6 +26,14 @@ th {
 td {
   vertical-align: top;
 }
+
+// Remove top border from thead by default
+thead:first-child tr th,
+thead:first-child tr td {
+  border-top: 0;
+}
+
+// Account for multiple tbody instances
 tbody + tbody {
   border-top: 2px solid #ddd;
 }