Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
a2ebf0c0
Commit
a2ebf0c0
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
account for multiple tbody with 2px border between
parent
f2fdbd91
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bootstrap.css
+4
-1
bootstrap.css
bootstrap.min.css
+1
-0
bootstrap.min.css
lib/tables.less
+3
-0
lib/tables.less
with
8 additions
and
1 deletion
+8
-1
bootstrap.css
+
4
-
1
View file @
a2ebf0c0
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
bootstrap.min.css
+
1
-
0
View file @
a2ebf0c0
...
...
@@ -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
;}
...
...
This diff is collapsed.
Click to expand it.
lib/tables.less
+
3
-
0
View file @
a2ebf0c0
...
...
@@ -26,6 +26,9 @@ th {
td {
vertical-align: top;
}
tbody + tbody {
border-top: 2px solid #ddd;
}
// CONDENSED TABLE W/ HALF PADDING
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment