[FIX] web: restore old color of list view title

Before in BS4, the table used the `$table-head-color` SCSS variable to
color the header of table. This variable doesn't exist anymore on BS5.
In the commit of the BS5's merge, we have replaced the old value by
a value calculated with the color contrast in the case of the list view
it wasn't the right fix, so in this commit we restore the original value
like it was before the merge of BS5.

Note:
In BS4 branch the result is `#212529`:
```scss
$o-gray-900: #212529 !default;
$o-main-headings-color: $o-gray-900 !default;
$table-head-color: $o-main-headings-color !default;
.o_list_view .o_list_table thead {
  color: $table-head-color;
}
```
In BS5 branch the result is `#00000`:
```scss
.o_list_view .o_list_table thead {
  color: color-contrast(opaque($body-bg, $light));
}
```

closes odoo/odoo#99488

Related: odoo/enterprise#31026
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
This commit is contained in:
Romeo Fragomeli
2022-09-02 23:16:28 +02:00
parent d33aca38c3
commit 07eeb5ffae
2 changed files with 2 additions and 2 deletions
@@ -14,7 +14,7 @@
border-spacing: 0;
thead {
color: color-contrast(opaque($body-bg, $light));
color: $o-main-headings-color;
border-bottom: 1px solid #cacaca;
> tr > th:not(.o_list_record_selector) {
border-left: 1px solid #dfdfdf;
@@ -14,7 +14,7 @@
border-spacing: 0;
thead {
color: color-contrast(opaque($body-bg, $light));
color: $o-main-headings-color;
border-bottom: 1px solid #cacaca;
> tr > th:not(.o_list_record_selector) {
border-left: 1px solid #dfdfdf;