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
19e2ad0e
Commit
19e2ad0e
authored
Jan 11, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #6538: Add th support to all the .table-rounded selectors
parent
6f894c62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
10 deletions
+24
-10
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+10
-4
less/tables.less
less/tables.less
+14
-6
No files found.
docs/assets/css/bootstrap.css
View file @
19e2ad0e
...
...
@@ -2053,14 +2053,16 @@ table {
}
.table-bordered
thead
:first-child
tr
:first-child
>
th
:first-child
,
.table-bordered
tbody
:first-child
tr
:first-child
>
td
:first-child
{
.table-bordered
tbody
:first-child
tr
:first-child
>
td
:first-child
,
.table-bordered
tbody
:first-child
tr
:first-child
>
th
:first-child
{
-webkit-border-top-left-radius
:
4px
;
border-top-left-radius
:
4px
;
-moz-border-radius-topleft
:
4px
;
}
.table-bordered
thead
:first-child
tr
:first-child
>
th
:last-child
,
.table-bordered
tbody
:first-child
tr
:first-child
>
td
:last-child
{
.table-bordered
tbody
:first-child
tr
:first-child
>
td
:last-child
,
.table-bordered
tbody
:first-child
tr
:first-child
>
th
:last-child
{
-webkit-border-top-right-radius
:
4px
;
border-top-right-radius
:
4px
;
-moz-border-radius-topright
:
4px
;
...
...
@@ -2068,7 +2070,9 @@ table {
.table-bordered
thead
:last-child
tr
:last-child
>
th
:first-child
,
.table-bordered
tbody
:last-child
tr
:last-child
>
td
:first-child
,
.table-bordered
tfoot
:last-child
tr
:last-child
>
td
:first-child
{
.table-bordered
tbody
:last-child
tr
:last-child
>
th
:first-child
,
.table-bordered
tfoot
:last-child
tr
:last-child
>
td
:first-child
,
.table-bordered
tfoot
:last-child
tr
:last-child
>
th
:first-child
{
-webkit-border-bottom-left-radius
:
4px
;
border-bottom-left-radius
:
4px
;
-moz-border-radius-bottomleft
:
4px
;
...
...
@@ -2076,7 +2080,9 @@ table {
.table-bordered
thead
:last-child
tr
:last-child
>
th
:last-child
,
.table-bordered
tbody
:last-child
tr
:last-child
>
td
:last-child
,
.table-bordered
tfoot
:last-child
tr
:last-child
>
td
:last-child
{
.table-bordered
tbody
:last-child
tr
:last-child
>
th
:last-child
,
.table-bordered
tfoot
:last-child
tr
:last-child
>
td
:last-child
,
.table-bordered
tfoot
:last-child
tr
:last-child
>
th
:last-child
{
-webkit-border-bottom-right-radius
:
4px
;
border-bottom-right-radius
:
4px
;
-moz-border-radius-bottomright
:
4px
;
...
...
less/tables.less
View file @
19e2ad0e
...
...
@@ -93,24 +93,32 @@ table {
tbody:first-child tr:first-child td {
border-top: 0;
}
// For first th
or
td in the first row in the first thead or tbody
// For first th
/
td in the first row in the first thead or tbody
thead:first-child tr:first-child > th:first-child,
tbody:first-child tr:first-child > td:first-child {
tbody:first-child tr:first-child > td:first-child,
tbody:first-child tr:first-child > th:first-child {
.border-top-left-radius(@baseBorderRadius);
}
// For last th/td in the first row in the first thead or tbody
thead:first-child tr:first-child > th:last-child,
tbody:first-child tr:first-child > td:last-child {
tbody:first-child tr:first-child > td:last-child,
tbody:first-child tr:first-child > th:last-child {
.border-top-right-radius(@baseBorderRadius);
}
// For first th
or td in the last row in the last thead or tbody
// For first th
/td (can be either) in the last row in the last thead, tbody, and tfoot
thead:last-child tr:last-child > th:first-child,
tbody:last-child tr:last-child > td:first-child,
tfoot:last-child tr:last-child > td:first-child {
tbody:last-child tr:last-child > th:first-child,
tfoot:last-child tr:last-child > td:first-child,
tfoot:last-child tr:last-child > th:first-child {
.border-bottom-left-radius(@baseBorderRadius);
}
// For last th/td (can be either) in the last row in the last thead, tbody, and tfoot
thead:last-child tr:last-child > th:last-child,
tbody:last-child tr:last-child > td:last-child,
tfoot:last-child tr:last-child > td:last-child {
tbody:last-child tr:last-child > th:last-child,
tfoot:last-child tr:last-child > td:last-child,
tfoot:last-child tr:last-child > th:last-child {
.border-bottom-right-radius(@baseBorderRadius);
}
...
...
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