[% # The default colours. color_blue = "#0F87C5" color_blue_darker = "#00527C" color_blue_pale = "#D6E2EB" color_grey = "#D2D2D2" color_gunmetal = "#42494C" color_gunmetal_light = "#81959D" color_yellow = "#FDD008" color_red_dark = "#ce2626" color_green_dark = "#39a515" color_black = "#000000" color_white = "#ffffff" link_text_color = color_blue link_hover_text_color = color_blue_darker body_background_color = color_gunmetal body_font_family = "Helvetica, Arial, sans-serif" body_text_color = color_gunmetal_light header_background_color = color_yellow header_text_color = color_black header_padding = "15px 20px" # a full CSS padding property (eg: top/right/bottom/left) logo_width = "192" # pixel measurement, but without 'px' suffix logo_height = "35" # pixel measurement, but without 'px' suffix logo_font_size = "24px" primary_column_background_color = color_white primary_column_text_color = color_black secondary_column_background_color = color_blue_pale secondary_column_text_color = color_black column_divider_color = color_grey column_padding = "20" # a single CSS pixel measurement without the "px" suffix preview_photo_border = "1px solid rgba(0,0,0,0.1)" list_item_border_bottom = "1px solid $color_grey" button_border_radius = "4px" # a full CSS border-radius property button_background_color = color_yellow button_background_color_fixed = color_green_dark button_background_color_notfixed = color_red_dark button_text_color = color_black button_text_color_fixed = color_white button_text_color_notfixed = color_white button_font_weight = "bold" %] [% # Handy point at which your cobrand can override any of those default colours before the rest of the settings are constructed. %] [% TRY %][% PROCESS '_email_color_overrides.html' %][% CATCH file %][% END %] [% # Variables used inside the email templates. table_reset = 'cellspacing="0" cellpadding="0" border="0" width="100%"' wrapper_table = 'cellspacing="0" cellpadding="5" border="0" width="100%"' link_style = "color: $link_text_color;" link_hover_style = "text-decoration: none; color: $link_hover_text_color;" td_style = "font-family: $body_font_family; font-size: 16px; line-height: 21px; font-weight: normal; text-align: left;" body_style = "margin: 0;" wrapper_style = "$td_style background: $body_background_color; color: $body_text_color;" hint_style = "padding: ${ column_padding }px 0; color: $body_text_color; font-size: 12px; line-height: 18px;" header_style = "padding: $header_padding; background: $header_background_color; color: $header_text_color;" only_column_style = "padding: ${ column_padding }px; vertical-align: top; background-color: $primary_column_background_color; color: $primary_column_text_color;" primary_column_style = "vertical-align: top; width: 50%; background-color: $primary_column_background_color; color: $primary_column_text_color;" secondary_column_style = "vertical-align: top; width: 50%; background-color: $secondary_column_background_color; color: $secondary_column_text_color; border-left: 1px solid $column_divider_color;" # Use these to add padding inside primary and secondary columns. start_padded_box = '
' end_padded_box = ' |
---|