diff --git a/themes/original/scss/_tables.scss b/themes/original/scss/_tables.scss index ea6a20660d..bca626a94b 100644 --- a/themes/original/scss/_tables.scss +++ b/themes/original/scss/_tables.scss @@ -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}; } diff --git a/themes/original/scss/_variables.scss b/themes/original/scss/_variables.scss index fe9f26abc9..c9e2af6817 100644 --- a/themes/original/scss/_variables.scss +++ b/themes/original/scss/_variables.scss @@ -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;