mirror of https://github.com/twbs/bootstrap.git
fix custom property values of row overrides individual cell (#34799)
This commit is contained in:
parent
395b50a5b5
commit
00a230a6a7
|
@ -98,7 +98,7 @@
|
||||||
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
||||||
|
|
||||||
.table-striped {
|
.table-striped {
|
||||||
> tbody > tr:nth-of-type(#{$table-striped-order}) {
|
> tbody > tr:nth-of-type(#{$table-striped-order}) > * {
|
||||||
--#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-striped-bg);
|
--#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-striped-bg);
|
||||||
color: var(--#{$variable-prefix}table-striped-color);
|
color: var(--#{$variable-prefix}table-striped-color);
|
||||||
}
|
}
|
||||||
|
@ -118,7 +118,7 @@
|
||||||
// Placed here since it has to come after the potential zebra striping
|
// Placed here since it has to come after the potential zebra striping
|
||||||
|
|
||||||
.table-hover {
|
.table-hover {
|
||||||
> tbody > tr:hover {
|
> tbody > tr:hover > * {
|
||||||
--#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-hover-bg);
|
--#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-hover-bg);
|
||||||
color: var(--#{$variable-prefix}table-hover-color);
|
color: var(--#{$variable-prefix}table-hover-color);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue