[FIX] spreadsheet: force light theme on top bar
o-spreadsheet code isn't prepared to handle dark theme. At all. There are hardcoded colors everywhere. Until we have a proper way to handle dark theme (use overridable scss variables, rely on bootstrap), we force light theme for all elements inside o-spreadsheet. The white background on the top bar was removed by commit odoo/o-spreadsheet@4d93a99 Other changes probably from the new milk design opw-3461191 closes odoo/odoo#132909 X-original-commit: aaa9ea5c6584a8f830d8313d2f26670bf5b34cef Signed-off-by: Rémi Rahir (rar) <rar@odoo.com> Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
// we have the proper scss tool chain to support dark theme properly
|
||||
// in the library
|
||||
.o-spreadsheet {
|
||||
.o-spreadsheet-topbar {
|
||||
background-color: #fff !important;
|
||||
}
|
||||
.o-filter-menu {
|
||||
background-color: #fff !important;
|
||||
}
|
||||
@@ -12,10 +15,10 @@
|
||||
background-color: #fff !important;
|
||||
}
|
||||
.o_field_tags .badge {
|
||||
background-color: #fff !important;
|
||||
color: #777 !important;
|
||||
background-color: #e6dddd !important;
|
||||
color: #3c3c3c !important;
|
||||
}
|
||||
.o_field_selector_chain_part {
|
||||
.o_model_field_selector_chain_part {
|
||||
background: #f6f7fa !important;
|
||||
border-color: #d5dae8 !important;
|
||||
}
|
||||
@@ -23,7 +26,7 @@
|
||||
color: #333 !important;
|
||||
}
|
||||
.o_input {
|
||||
color: #777 !important;
|
||||
color: #3c3c3c !important;
|
||||
}
|
||||
.o_domain_leaf_info {
|
||||
background: #f6f7fa !important;
|
||||
|
||||
Reference in New Issue
Block a user