Add <tfoot> support

This commit is contained in:
Lucas Larroche 2021-12-31 17:01:01 +07:00
parent 92c21aa1d4
commit 7f6ed9f5cb
24 changed files with 102 additions and 28 deletions

View file

@ -173,11 +173,13 @@ h5 {
}
thead th,
thead td {
thead td,
tfoot th,
tfoot td {
--border-width: 3px;
}
:not(thead) > * > td {
:not(thead):not(tfoot) > * > td {
--font-size: 0.875em;
}
@ -1850,6 +1852,12 @@ td {
text-align: start;
}
tfoot th,
tfoot td {
border-top: var(--border-width) solid var(--table-border-color);
border-bottom: 0;
}
table[role=grid] tbody tr:nth-child(odd) {
background-color: var(--table-row-stripped-background-color);
}