Added quotes images

- Created white quote images png (before and after)
- Added images quotes to preview email and email.
- Added max width to images quotes png
This commit is contained in:
Alessandro Cuoghi
2019-01-16 15:12:27 +01:00
committed by taitus
parent 56dadcb701
commit 44964c35f9
5 changed files with 13 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -431,6 +431,11 @@
color: #fff;
padding: $line-height * 2;
img {
max-width: rem-calc(40);
vertical-align: top;
}
h1 {
font-size: rem-calc(60);
}

View File

@@ -4,9 +4,11 @@
<table cellpadding="0" cellspacing="0" border="0" style="margin-top: 20px;width: 100%;">
<tbody>
<tr>
<td style="background: #0300ff; padding: 50px; padding-top: 0; text-align: left;">
<h1 style="color: #fff; font-size: 60px; line-height: 90px">"<%= @proposal.title %>"</h1>
<h2 style="color: #fff; font-size: 40px; line-height: 60px""><%= t("dashboard.mailer.forward.subtitle").html_safe %></h2>
<td style="background: #0300ff; padding: 50px; padding-top:40px; text-align: left;">
<%= image_tag 'quote-before-white.png', style: 'max-width: 40px; vertical-align: top;' %>
<h1 style="color: #fff; font-size: 60px; line-height: 90px; display: inline;"><%= @proposal.title %></h1>
<%= image_tag 'quote-after-white.png', style: 'max-width: 40px; vertical-align: top;' %>
<h2 style="color: #fff; font-size: 40px; line-height: 60px"><%= t("dashboard.mailer.forward.subtitle").html_safe %></h2>
</td>
</tr>
</tbody>

View File

@@ -2,7 +2,9 @@
<div class="row expanded">
<div class="small-12 medium-9 dashboard-mail-preview column dashboard-mail-preview">
<div class="mail-header text-left">
<h1 class="inline">"<%= proposal.title %>"</h1>
<%= image_tag 'quote-before-white.png' %>
<h1 class="inline"><%= proposal.title %></h1>
<%= image_tag 'quote-after-white.png' %>
<h2><%= t("dashboard.mailer.forward.subtitle").html_safe %></h2>
</div>