[FIX] mass_mailing: white bg on coupen code
Before this commit: - When coupen code template is selected and we drag text block then text will not be visible because of bg color as the background color and text color are same. After this commit: - Now in coupen code we can see text in text block. task-3514347 closes odoo/odoo#154137 X-original-commit: 6cf35c7e192eacdffcec08b176325504e51b2aa2 Signed-off-by: Geelen Sébastien (sge) <sge@odoo.com>
This commit is contained in:
@@ -346,21 +346,17 @@
|
||||
h1 {
|
||||
font-size: 48px;
|
||||
font-weight: bolder;
|
||||
color: #ffffff;
|
||||
font-family: Georgia, Times, "Times New Roman", serif;
|
||||
}
|
||||
h2 {
|
||||
color: #ffffff;
|
||||
font-family: Georgia, Times, "Times New Roman", serif;
|
||||
}
|
||||
h3 {
|
||||
font-size: 18px;
|
||||
font-weight: bolder;
|
||||
color: #ffffff;
|
||||
font-family: Georgia, Times, "Times New Roman", serif;
|
||||
}
|
||||
p, p > *, li, li > * {
|
||||
color: #ffffff;
|
||||
font-family: Georgia, Times, "Times New Roman", serif;
|
||||
}
|
||||
a:not(.btn), a.btn.btn-link {
|
||||
@@ -408,8 +404,8 @@
|
||||
</div>
|
||||
<div class="s_title o_mail_snippet_general pb8 pt8" data-snippet="s_title" data-name="Title" style="background-color: rgb(36, 37, 48) !important;">
|
||||
<div class="container s_allow_columns">
|
||||
<h1 style="text-align:center">$100 OFF</h1>
|
||||
<h2 style="text-align:center">VIP members only</h2>
|
||||
<h1 style="text-align:center; color: white;">$100 OFF</h1>
|
||||
<h2 style="text-align:center; color: white;">VIP members only</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="s_hr o_mail_snippet_general pt16 pb0" data-snippet="s_hr" data-name="Separator" style="background-color: rgb(36, 37, 48) !important;">
|
||||
@@ -419,11 +415,11 @@
|
||||
<img src="/mass_mailing_themes/static/src/img/theme_coupon/vip_banner_part2.png" alt="Cover" class="img-fluid w-100 mx-auto"/>
|
||||
</div>
|
||||
<div class="s_discount2 o_mail_block_discount2 o_mail_snippet_general pt32 pb32" data-snippet="s_coupon_code" data-name="Promo Code" style="background-color: rgb(36, 37, 48) !important; text-align: center; padding-left: 15px; padding-right: 15px;">
|
||||
<p style="text-align: center;">Here's your coupon code*:</p>
|
||||
<p style="text-align: center; color: white;">Here's your coupon code*:</p>
|
||||
<table border="0" cellpadding="0" cellspacing="0" align="center" class="border" style="background-color: rgb(36, 37, 48) !important; border-collapse: collapse; border-color: rgb(198, 150, 120) !important;">
|
||||
<tr>
|
||||
<td width="50" height="50" align="center" class="o_mail_no_resize" style="min-width: 50px; max-width: 5.6rem; width: 50px !important; background-color: rgb(198, 150, 120) !important; text-align: center;"><i class="fa fa-2x fa-ticket" style="color: rgb(36, 37, 48) !important;"/></td>
|
||||
<td width="200" height="50" align="center" style="min-width: 150px; width: 200px;"><p class="mb0"><span style="font-weight: bolder;">VIP10</span></p></td>
|
||||
<td width="200" height="50" align="center" style="min-width: 150px; width: 200px;"><p class="mb0"><span style="font-weight: bolder; color: white;">VIP10</span></p></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="text-align: center;">
|
||||
|
||||
Reference in New Issue
Block a user