[FIX] mass_mailing: enable background color on bigBox div

As the "Big Box" snippet contain two divs that have a background
it is invisible to change the background of the "Big Box"
Instead of choosing a background for the "Big Box", choose a background
for it's child divs.

Task-2678999

Forward-port-of: #81064
X-original-commit: e495544722a5d96f390d84452d0c84869a34391c
Part-of: odoo/odoo#90394
This commit is contained in:
Nicolas Bayet
2022-05-03 14:38:46 +02:00
parent 007368e50b
commit 260a57684f
@@ -468,7 +468,15 @@
.note-editable .oe_structure > div.o_mail_snippet_general,
.note-editable .oe_structure > div.o_mail_snippet_general .o_cc,
.note-editable .oe_structure > div.o_mail_snippet_general .btn:not(.btn-link)"
data-exclude=".o_mail_no_colorpicker, .o_mail_no_options">
data-exclude=".o_mail_no_colorpicker, .o_mail_no_options, .s_mail_color_blocks_2, .s_mail_color_blocks_2 .row > div">
<we-colorpicker string="Background Color"
data-select-style="true"
data-no-transparency="true"
data-css-property="background-color"
data-color-prefix="bg-"/>
</div>
<div data-selector=".s_mail_color_blocks_2 .row > div">
<we-colorpicker string="Background Color"
data-select-style="true"
data-no-transparency="true"