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
2b8b0625
Commit
2b8b0625
authored
7 years ago
by
Andrew Luca
Committed by
XhmikosR
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Allow to change `.table-striped` `odd` or `even` (#25333)
parent
0f53402f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_tables.scss
+1
-1
scss/_tables.scss
scss/_variables.scss
+2
-0
scss/_variables.scss
with
3 additions
and
1 deletion
+3
-1
scss/_tables.scss
+
1
-
1
View file @
2b8b0625
...
...
@@ -68,7 +68,7 @@
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
.table-striped
{
tbody
tr
:nth-of-type
(
odd
)
{
tbody
tr
:nth-of-type
(
#{
$table-striped-order
}
)
{
background-color
:
$table-accent-bg
;
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
2
-
0
View file @
2b8b0625
...
...
@@ -317,6 +317,8 @@ $table-dark-hover-bg: rgba($white, .075) !default;
$table-dark-border-color
:
lighten
(
$gray-900
,
7
.5%
)
!
default
;
$table-dark-color
:
$body-bg
!
default
;
$table-striped-order
:
odd
!
default
;
// Buttons + Forms
//
...
...
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