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
7f6210ce
Commit
7f6210ce
authored
Sep 01, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:twbs/bootstrap
parents
3a4ea1a7
1e68143b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
34 deletions
+35
-34
dist/css/bootstrap.css
dist/css/bootstrap.css
+20
-20
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/tables.less
less/tables.less
+14
-13
No files found.
dist/css/bootstrap.css
View file @
7f6210ce
...
...
@@ -1397,33 +1397,33 @@ th {
margin-bottom
:
20px
;
}
.table
thead
>
tr
>
th
,
.table
tbody
>
tr
>
th
,
.table
tfoot
>
tr
>
th
,
.table
thead
>
tr
>
td
,
.table
tbody
>
tr
>
td
,
.table
tfoot
>
tr
>
td
{
.table
>
thead
>
tr
>
th
,
.table
>
tbody
>
tr
>
th
,
.table
>
tfoot
>
tr
>
th
,
.table
>
thead
>
tr
>
td
,
.table
>
tbody
>
tr
>
td
,
.table
>
tfoot
>
tr
>
td
{
padding
:
8px
;
line-height
:
1.428571429
;
vertical-align
:
top
;
border-top
:
1px
solid
#dddddd
;
}
.table
thead
>
tr
>
th
{
.table
>
thead
>
tr
>
th
{
vertical-align
:
bottom
;
border-bottom
:
2px
solid
#dddddd
;
}
.table
caption
+
thead
tr
:first-child
th
,
.table
colgroup
+
thead
tr
:first-child
th
,
.table
thead
:first-child
tr
:first-child
th
,
.table
caption
+
thead
tr
:first-child
td
,
.table
colgroup
+
thead
tr
:first-child
td
,
.table
thead
:first-child
tr
:first-child
td
{
.table
>
caption
+
thead
>
tr
:first-child
>
th
,
.table
>
colgroup
+
thead
>
tr
:first-child
>
th
,
.table
>
thead
:first-child
>
tr
:first-child
>
th
,
.table
>
caption
+
thead
>
tr
:first-child
>
td
,
.table
>
colgroup
+
thead
>
tr
:first-child
>
td
,
.table
>
thead
:first-child
>
tr
:first-child
>
td
{
border-top
:
0
;
}
.table
tbody
+
tbody
{
.table
>
tbody
+
tbody
{
border-top
:
2px
solid
#dddddd
;
}
...
...
@@ -1431,12 +1431,12 @@ th {
background-color
:
#ffffff
;
}
.table-condensed
thead
>
tr
>
th
,
.table-condensed
tbody
>
tr
>
th
,
.table-condensed
tfoot
>
tr
>
th
,
.table-condensed
thead
>
tr
>
td
,
.table-condensed
tbody
>
tr
>
td
,
.table-condensed
tfoot
>
tr
>
td
{
.table-condensed
>
thead
>
tr
>
th
,
.table-condensed
>
tbody
>
tr
>
th
,
.table-condensed
>
tfoot
>
tr
>
th
,
.table-condensed
>
thead
>
tr
>
td
,
.table-condensed
>
tbody
>
tr
>
td
,
.table-condensed
>
tfoot
>
tr
>
td
{
padding
:
5px
;
}
...
...
dist/css/bootstrap.min.css
View file @
7f6210ce
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/tables.less
View file @
7f6210ce
...
...
@@ -18,9 +18,9 @@ th {
width: 100%;
margin-bottom: @line-height-computed;
// Cells
thead,
tbody,
tfoot {
>
thead,
>
tbody,
>
tfoot {
> tr {
> th,
> td {
...
...
@@ -32,22 +32,23 @@ th {
}
}
// Bottom align for column headings
thead > tr > th {
>
thead > tr > th {
vertical-align: bottom;
border-bottom: 2px solid @table-border-color;
}
// Remove top border from thead by default
caption + thead,
colgroup + thead,
thead:first-child {
tr:first-child {
th, td {
> caption + thead,
> colgroup + thead,
> thead:first-child {
> tr:first-child {
> th,
> td {
border-top: 0;
}
}
}
// Account for multiple tbody instances
tbody + tbody {
>
tbody + tbody {
border-top: 2px solid @table-border-color;
}
...
...
@@ -61,9 +62,9 @@ th {
// Condensed table w/ half padding
.table-condensed {
thead,
tbody,
tfoot {
>
thead,
>
tbody,
>
tfoot {
> tr {
> th,
> td {
...
...
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