Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
55ea574f
Commit
55ea574f
authored
Jan 14, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update preventing double border line for bordered tables by account for th elements in tr elements
parent
028726a9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
bootstrap.css
bootstrap.css
+2
-2
bootstrap.min.css
bootstrap.min.css
+1
-1
lib/tables.less
lib/tables.less
+1
-0
No files found.
bootstrap.css
View file @
55ea574f
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Sat Jan 14 16:
44:52
PST 2012
* Date: Sat Jan 14 16:
50:17
PST 2012
*/
*/
html
,
body
{
html
,
body
{
margin
:
0
;
margin
:
0
;
...
@@ -1017,7 +1017,7 @@ tbody + tbody {
...
@@ -1017,7 +1017,7 @@ tbody + tbody {
.bordered-table
td
+
th
{
.bordered-table
td
+
th
{
border-left
:
1px
solid
#ddd
;
border-left
:
1px
solid
#ddd
;
}
}
.bordered-table
thead
:first-child
tr
:first-child
th
,
.bordered-table
tbody
:first-child
tr
:first-child
td
{
.bordered-table
thead
:first-child
tr
:first-child
th
,
.bordered-table
tbody
:first-child
tr
:first-child
t
h
,
.bordered-table
tbody
:first-child
tr
:first-child
t
d
{
border-top
:
0
;
border-top
:
0
;
}
}
.bordered-table
thead
:first-child
tr
:first-child
th
:first-child
,
.bordered-table
tbody
:first-child
tr
:first-child
td
:first-child
{
.bordered-table
thead
:first-child
tr
:first-child
th
:first-child
,
.bordered-table
tbody
:first-child
tr
:first-child
td
:first-child
{
...
...
bootstrap.min.css
View file @
55ea574f
...
@@ -184,7 +184,7 @@ thead:first-child tr th,thead:first-child tr td{border-top:0;}
...
@@ -184,7 +184,7 @@ thead:first-child tr th,thead:first-child tr td{border-top:0;}
tbody
+
tbody
{
border-top
:
2px
solid
#ddd
;}
tbody
+
tbody
{
border-top
:
2px
solid
#ddd
;}
.condensed-table
th
,
.condensed-table
td
{
padding
:
4px
5px
;}
.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
{
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
;}
.bordered-table
thead
:first-child
tr
:first-child
th
,
.bordered-table
tbody
:first-child
tr
:first-child
t
h
,
.bordered-table
tbody
:first-child
tr
:first-child
t
d
{
border-top
:
0
;}
.bordered-table
thead
:first-child
tr
:first-child
th
:first-child
,
.bordered-table
tbody
:first-child
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
:first-child
tr
:first-child
th
:first-child
,
.bordered-table
tbody
:first-child
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
:first-child
tr
:first-child
th
:last-child
,
.bordered-table
tbody
:first-child
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
thead
:first-child
tr
:first-child
th
:last-child
,
.bordered-table
tbody
:first-child
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
thead
:last-child
tr
:last-child
th
:first-child
,
.bordered-table
tbody
:last-child
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
;}
.bordered-table
thead
:last-child
tr
:last-child
th
:first-child
,
.bordered-table
tbody
:last-child
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
;}
...
...
lib/tables.less
View file @
55ea574f
...
@@ -65,6 +65,7 @@ tbody + tbody {
...
@@ -65,6 +65,7 @@ tbody + tbody {
}
}
// Prevent a double border
// Prevent a double border
thead:first-child tr:first-child th,
thead:first-child tr:first-child th,
tbody:first-child tr:first-child th,
tbody:first-child tr:first-child td {
tbody:first-child tr:first-child td {
border-top: 0;
border-top: 0;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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