0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Separator for table direct children (#34861)

* fix(tables): separator for table direct children

* fix(tables): drop universal selectors

* fix(tables): trying the lobotomized owl selector

* fix(tables): get closer to v4

* fix(tables): ensure borderless are borderless
This commit is contained in:
Gaël Poupard 2021-09-09 08:50:55 +02:00 committed by GitHub
parent 8db02e24d6
commit 2a925d6fd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,8 +39,8 @@
} }
// Highlight border color between thead, tbody and tfoot. // Highlight border color between thead, tbody and tfoot.
> :not(:last-child) > :last-child > * { > :not(:first-child) {
border-bottom-color: $table-group-separator-color; border-top: (2 * $table-border-width) solid $table-group-separator-color;
} }
} }
@ -91,6 +91,10 @@
> :not(caption) > * > * { > :not(caption) > * > * {
border-bottom-width: 0; border-bottom-width: 0;
} }
> :not(:first-child) {
border-top-width: 0;
}
} }
// Zebra-striping // Zebra-striping