From 12e189bb486ee777c60eadea5f307e823e6cd01b Mon Sep 17 00:00:00 2001 From: Romeo Fragomeli Date: Mon, 11 Jul 2022 10:02:33 +0000 Subject: [PATCH] [FIX] web: BS5: restore table-striped behaviour MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In BS4 text color wasn't defined for `table-striped`. In BS5 color text decorations in list views was broken because of BS5 sets the color of all `td` in a stripped table. Now we simply override the value of the variable to inherit. closes odoo/odoo#95746 Signed-off-by: Adrien Dieudonné (adr) --- addons/web/static/src/legacy/scss/bootstrap_overridden.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web/static/src/legacy/scss/bootstrap_overridden.scss b/addons/web/static/src/legacy/scss/bootstrap_overridden.scss index 99ec2c68760..b9908c8715c 100644 --- a/addons/web/static/src/legacy/scss/bootstrap_overridden.scss +++ b/addons/web/static/src/legacy/scss/bootstrap_overridden.scss @@ -127,6 +127,7 @@ $headings-color: $o-main-headings-color !default; // // Customizes the `.table` component with basic values, each used across all table variations. +$table-striped-color: inherit !default; $table-striped-bg-factor: .01 !default; $table-hover-bg: rgba($black, .04) !default; $table-border-color: $gray-200 !default;