style(mailer): big button in dsfr style

This commit is contained in:
Colin Darie 2024-03-27 14:41:38 +01:00
parent 16766d7395
commit df198a8946
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ module MailerHelper
end
def blue
'#0069CC'
'#000091'
end
def white

View file

@ -4,6 +4,6 @@
%td{ align: "center" }
%table{ border:"0", cellspacing:"0", cellpadding:"0" }
%tr
%td{ align:"center", style:"border-radius: 5px;", color: theme[:color], bgcolor: theme[:bg_color] }
%a{ href: url, target:"_blank", rel: "noopener", style:"font-size: 16px; font-family: Helvetica, Arial, sans-serif; color: #{theme[:color]}; text-decoration: none; text-decoration: none; border-radius: 5px; padding: 12px 25px; border: 1px solid #{theme[:border_color]}; display: inline-block; min-width: 250px" }
%td{ align:"center", color: theme[:color], bgcolor: theme[:bg_color] }
%a{ href: url, target:"_blank", rel: "noopener", style:"font-size: 18px; font-family: Helvetica, Arial, sans-serif; color: #{theme[:color]}; text-decoration: none; text-decoration: none; padding: 8px 24px; border: 1px solid #{theme[:border_color]}; display: inline-block; min-width: 200px; min-height: 32px; line-height: 32px;" }
= text