aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-10 21:54:11 -0800
committerMark Otto <[email protected]>2012-01-10 21:54:11 -0800
commita2ebf0c0c1381c38dda24bf12aebd5f9b4907e06 (patch)
treed4ba01b717863bd14bb9c55387ca8de1bbfbf3b9
parentf2fdbd91134da9af252bbbfa0601dd8e3c1e3cba (diff)
downloadbootstrap-a2ebf0c0c1381c38dda24bf12aebd5f9b4907e06.tar.xz
bootstrap-a2ebf0c0c1381c38dda24bf12aebd5f9b4907e06.zip
account for multiple tbody with 2px border between
-rw-r--r--bootstrap.css5
-rw-r--r--bootstrap.min.css1
-rw-r--r--lib/tables.less3
3 files changed, 8 insertions, 1 deletions
diff --git a/bootstrap.css b/bootstrap.css
index 32f8b9da4..561a70572 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: Mon Jan 9 09:15:32 PST 2012
+ * Date: Tue Jan 10 21:52:26 PST 2012
*/
html, body {
margin: 0;
@@ -993,6 +993,9 @@ th {
td {
vertical-align: top;
}
+tbody + tbody {
+ border-top: 2px solid #ddd;
+}
.condensed-table th, .condensed-table td {
padding: 4px 5px;
}
diff --git a/bootstrap.min.css b/bootstrap.min.css
index e535f1e51..6c6ed8985 100644
--- a/bootstrap.min.css
+++ b/bootstrap.min.css
@@ -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;}
+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;}
.bordered-table thead:first-child tr:first-child th,.bordered-table tbody:first-child tr:first-child td{border-top:0;}
diff --git a/lib/tables.less b/lib/tables.less
index 92ac57c39..4c1fb6e07 100644
--- a/lib/tables.less
+++ b/lib/tables.less
@@ -26,6 +26,9 @@ th {
td {
vertical-align: top;
}
+tbody + tbody {
+ border-top: 2px solid #ddd;
+}
// CONDENSED TABLE W/ HALF PADDING