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
546332d8
Commit
546332d8
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
resolve
#1602
and add table hover style
parent
f8c2d9b5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/assets/bootstrap.zip
+0
-0
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
+3
-0
docs/assets/css/bootstrap.css
less/tables.less
+10
-0
less/tables.less
with
13 additions
and
0 deletions
+13
-0
docs/assets/bootstrap.zip
+
0
-
0
View file @
546332d8
No preview for this file type
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap.css
+
3
-
0
View file @
546332d8
...
@@ -1061,6 +1061,9 @@ table {
...
@@ -1061,6 +1061,9 @@ table {
.table-striped
tbody
tr
:nth-child
(
odd
)
td
,
.table-striped
tbody
tr
:nth-child
(
odd
)
th
{
.table-striped
tbody
tr
:nth-child
(
odd
)
td
,
.table-striped
tbody
tr
:nth-child
(
odd
)
th
{
background-color
:
#f9f9f9
;
background-color
:
#f9f9f9
;
}
}
.table
tbody
tr
:hover
td
,
.table
tbody
tr
:hover
th
{
background-color
:
#f5f5f5
;
}
table
.span1
{
table
.span1
{
float
:
none
;
float
:
none
;
width
:
44px
;
width
:
44px
;
...
...
This diff is collapsed.
Click to expand it.
less/tables.less
+
10
-
0
View file @
546332d8
...
@@ -113,6 +113,16 @@ table {
...
@@ -113,6 +113,16 @@ table {
}
}
// HOVER EFFECT
// ------------
// Placed here since it has to come after the potential zebra striping
.table {
tbody tr:hover td,
tbody tr:hover th {
background-color: #f5f5f5;
}
}
// TABLE CELL SIZING
// TABLE CELL SIZING
// -----------------
// -----------------
...
...
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