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
1 changed files with 6 additions and 2 deletions

View File

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