33 lines
736 B
SCSS

table {
width: $table-width;
thead {
background-color: $table-head-bg-color;
tr th {
border: $table-head-td-border;
text-align: $table-head-td-text-align;
padding: $table-head-td-padding;
color: $table-head-text-color;
}
}
tbody {
tr {
td {
border: $table-body-td-border;
text-align: $table-body-td-text-align;
padding: $table-body-td-padding;
color: $table-body-text-color;
}
&:nth-of-type(even) {
background-color: $table-body-tr-bg-color-even;
}
&:nth-of-type(odd) {
background-color: $table-body-tr-bg-color-odd;
}
}
}
}