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
cb99c4b6
Commit
cb99c4b6
authored
Jan 16, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restore table styles
parent
6ac6be2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
176 additions
and
0 deletions
+176
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+174
-0
less/bootstrap.less
less/bootstrap.less
+2
-0
No files found.
docs/assets/css/bootstrap.css
View file @
cb99c4b6
...
...
@@ -730,6 +730,180 @@ pre code {
float
:
right
;
}
table
{
max-width
:
100%
;
background-color
:
transparent
;
border-collapse
:
collapse
;
border-spacing
:
0
;
}
.table
{
width
:
100%
;
margin-bottom
:
20px
;
}
.table
th
,
.table
td
{
padding
:
8px
;
line-height
:
20px
;
text-align
:
left
;
vertical-align
:
top
;
border-top
:
1px
solid
#dddddd
;
}
.table
th
{
font-weight
:
bold
;
}
.table
thead
th
{
vertical-align
:
bottom
;
}
.table
caption
+
thead
tr
:first-child
th
,
.table
caption
+
thead
tr
:first-child
td
,
.table
colgroup
+
thead
tr
:first-child
th
,
.table
colgroup
+
thead
tr
:first-child
td
,
.table
thead
:first-child
tr
:first-child
th
,
.table
thead
:first-child
tr
:first-child
td
{
border-top
:
0
;
}
.table
tbody
+
tbody
{
border-top
:
2px
solid
#dddddd
;
}
.table
.table
{
background-color
:
#ffffff
;
}
.table-condensed
th
,
.table-condensed
td
{
padding
:
4px
5px
;
}
.table-bordered
{
border
:
1px
solid
#dddddd
;
border-collapse
:
separate
;
border-left
:
0
;
border-radius
:
4px
;
}
.table-bordered
th
,
.table-bordered
td
{
border-left
:
1px
solid
#dddddd
;
}
.table-bordered
caption
+
thead
tr
:first-child
th
,
.table-bordered
caption
+
tbody
tr
:first-child
th
,
.table-bordered
caption
+
tbody
tr
:first-child
td
,
.table-bordered
colgroup
+
thead
tr
:first-child
th
,
.table-bordered
colgroup
+
tbody
tr
:first-child
th
,
.table-bordered
colgroup
+
tbody
tr
:first-child
td
,
.table-bordered
thead
:first-child
tr
:first-child
th
,
.table-bordered
tbody
:first-child
tr
:first-child
th
,
.table-bordered
tbody
:first-child
tr
:first-child
td
{
border-top
:
0
;
}
.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
>
th
:first-child
{
border-top-left-radius
:
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
>
th
:last-child
{
border-top-right-radius
:
4px
;
}
.table-bordered
thead
:last-child
tr
:last-child
>
th
:first-child
,
.table-bordered
tbody
: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
{
border-bottom-left-radius
:
4px
;
}
.table-bordered
thead
:last-child
tr
:last-child
>
th
:last-child
,
.table-bordered
tbody
: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
{
border-bottom-right-radius
:
4px
;
}
.table-bordered
tfoot
+
tbody
:last-child
tr
:last-child
>
td
:first-child
{
border-bottom-left-radius
:
0
;
}
.table-bordered
tfoot
+
tbody
:last-child
tr
:last-child
>
td
:last-child
{
border-bottom-right-radius
:
0
;
}
.table-bordered
caption
+
thead
tr
:first-child
th
:first-child
,
.table-bordered
caption
+
tbody
tr
:first-child
td
:first-child
,
.table-bordered
colgroup
+
thead
tr
:first-child
th
:first-child
,
.table-bordered
colgroup
+
tbody
tr
:first-child
td
:first-child
{
border-top-left-radius
:
4px
;
}
.table-bordered
caption
+
thead
tr
:first-child
th
:last-child
,
.table-bordered
caption
+
tbody
tr
:first-child
td
:last-child
,
.table-bordered
colgroup
+
thead
tr
:first-child
th
:last-child
,
.table-bordered
colgroup
+
tbody
tr
:first-child
td
:last-child
{
border-top-right-radius
:
4px
;
}
.table-striped
tbody
>
tr
:nth-child
(
odd
)
>
td
,
.table-striped
tbody
>
tr
:nth-child
(
odd
)
>
th
{
background-color
:
#f9f9f9
;
}
.table-hover
tbody
tr
:hover
>
td
,
.table-hover
tbody
tr
:hover
>
th
{
background-color
:
#f5f5f5
;
}
table
td
[
class
*=
"span"
],
table
th
[
class
*=
"span"
]
{
display
:
table-cell
;
float
:
none
;
margin-left
:
0
;
}
.table
tbody
tr
.success
>
td
{
background-color
:
#dff0d8
;
}
.table
tbody
tr
.error
>
td
{
background-color
:
#f2dede
;
}
.table
tbody
tr
.warning
>
td
{
background-color
:
#fcf8e3
;
}
.table
tbody
tr
.info
>
td
{
background-color
:
#d9edf7
;
}
.table-hover
tbody
tr
.success
:hover
>
td
{
background-color
:
#d0e9c6
;
}
.table-hover
tbody
tr
.error
:hover
>
td
{
background-color
:
#ebcccc
;
}
.table-hover
tbody
tr
.warning
:hover
>
td
{
background-color
:
#faf2cc
;
}
.table-hover
tbody
tr
.info
:hover
>
td
{
background-color
:
#c4e3f3
;
}
.btn
{
display
:
inline-block
;
padding
:
6px
12px
;
...
...
less/bootstrap.less
View file @
cb99c4b6
...
...
@@ -21,6 +21,8 @@
@import "code.less";
@import "grid.less";
@import "tables.less";
@import "buttons.less";
// Components: common
...
...
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