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
cb99c4b6
Commit
cb99c4b6
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
restore table styles
parent
6ac6be2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+174
-0
docs/assets/css/bootstrap.css
less/bootstrap.less
+2
-0
less/bootstrap.less
with
176 additions
and
0 deletions
+176
-0
docs/assets/css/bootstrap.css
+
174
-
0
View file @
cb99c4b6
...
@@ -730,6 +730,180 @@ pre code {
...
@@ -730,6 +730,180 @@ pre code {
float
:
right
;
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
{
.btn
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
6px
12px
;
padding
:
6px
12px
;
...
...
This diff is collapsed.
Click to expand it.
less/bootstrap.less
+
2
-
0
View file @
cb99c4b6
...
@@ -21,6 +21,8 @@
...
@@ -21,6 +21,8 @@
@import "code.less";
@import "code.less";
@import "grid.less";
@import "grid.less";
@import "tables.less";
@import "buttons.less";
@import "buttons.less";
// Components: common
// Components: common
...
...
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