Adjusting table colours in original template

Signed-off-by: Rodrigo Pokemaobr <contato@pokemaobr.dev>
This commit is contained in:
Rodrigo Pokemaobr 2022-03-31 16:46:47 -03:00
parent a9478454b4
commit 34c44255a6
2 changed files with 16 additions and 1 deletions

View File

@ -8,6 +8,7 @@
thead th {
border-bottom: 0;
background: $th-background;
}
}
@ -15,4 +16,18 @@
tbody tr:nth-of-type(odd) {
background-color: $bg-one;
}
tbody tr:nth-of-type(even) {
background-color: $bg-two;
}
}
.table-light {
--#{$variable-prefix}table-bg: #{$table-bg};
--#{$variable-prefix}table-accent-bg: #{$table-accent-bg};
--#{$variable-prefix}table-striped-color: #{$table-striped-color};
--#{$variable-prefix}table-striped-bg: #{$table-striped-bg};
--#{$variable-prefix}table-active-color: #{$table-active-color};
--#{$variable-prefix}table-active-bg: #{$table-active-bg};
--#{$variable-prefix}table-hover-color: #{$table-hover-color};
--#{$variable-prefix}table-hover-bg: #{$table-hover-bg};
}

View File

@ -85,7 +85,7 @@ $headings-font-weight: bold;
$table-cell-padding: 0.1em 0.5em;
$table-cell-padding-sm: $table-cell-padding;
$table-striped-order: even;
$table-bg: #f5f5f5;
$table-bg: transparent;
$table-hover-bg: $browse-pointer-background;
$table-hover-color: $browse-pointer-color;
$table-head-color: $th-color;