[IMP] *: replace .bg-color by .text-bg-color on ribbons

Also remove unnecessary CSS on ribbons.

Part-of: odoo/odoo#116641
This commit is contained in:
Elisabeth Dickinson
2023-05-12 22:59:16 +02:00
committed by Pierre Paridans
parent fabf9e9703
commit b2ef35a431
89 changed files with 113 additions and 126 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
<sheet>
<div class="oe_button_box d-flex justify-content-end" name="button_box">
</div>
<widget name="web_ribbon" title="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
<widget name="web_ribbon" title="Archived" bg_color="text-bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
<group id="top-group">
<field name="active" invisible="1"/>
<field class="text-break" name="title" string="Campaign Name" placeholder="e.g. Black Friday"/>