%%[ /* ----------- START: STYLE OPTIONS ------------ */ /* --- Change These Variables --- */ /* Background of the item // example: #123456 or leave empty to remove */ SET @Item_Background = "" /* Defines padding around the item // example: 10px or 0px */ SET @Item_Padding = "" /* Border around the item // example: 1px solid #123456 or none */ SET @Item_Border = "" /* Determines whether item has a drop shadow // Yes or No are only valid options */ SET @Item_Shadow = "no" /* Set Font for the title // example: Arial, Helvetica, sans-serif */ SET @Title_Font = "Arial, Helvetica, sans-serif" /* Color of each title and headline // example: #123456 */ SET @Description_Color = "#8f8f8f" /* Set Font for the description // example: Arial, Helvetica, sans-serif */ SET @Description_Font = "Arial, Helvetica, sans-serif" /* Color of body copy and description text // example: #123456 */ SET @Description_Color = "#ffffff" /* Border around images // example: 1px solid #123456 */ SET @Image_Border = "none" /* Chooses whether to display text link or button // Button or Text are only valid options */ SET @Button_Type = "Button" /* Background color of each button // example: #123456 or leave empty to remove. Only relevant if Button_Type is Button, leave blank if Text */ SET @Button_Color = "#cc203c" /* Border style of each button // example: #1px solid #ccccc or leave empty to not have a border */ SET @Button_Border = " " /* Color of the button text // example: #123456 */ SET @Button_Text_Color = "#ffffff" /* Sets the color and thickness for divider in content areas // example: #1px solid #cccccc */ SET @Divider_Style = "1px solid #a5a5a5" /* Sets the color and thickness for the border around the dates // example: #1px solid #cccccc - Can be left empty and will default to @Divider_Style */ SET @Date_Border_Style = "none" /* Sets the date month background color // example: #123456 - Can be left empty and will default to @Button_Color */ SET @Date_Month_Background = "FFFFFF" /* Sets the date month text color // example: #123456 - Can be left empty and will default to @Button_Text_Color */ SET @Date_Month_Color = "#585858" /* Sets the date day background color // example: #123456 - Can be left empty and will default to @Item_Background */ SET @Date_Day_Background = "#FFFFFF" /* Sets the date day text color // example: #123456 - Can be left empty and will default to @Description_Color */ SET @Date_Day_Color = "#585858" /* * * * */ /* ----------- START: WILDCARD STYLES -- ADVANCED USERS ONLY -- THESE ARE OPTIONAL ------------ */ /* * The wildcard styles will proceed all the above variables and will overwrite or add to any styles specified above. * These are completely optional and do not need to have a value. Simply add any CSS rule in COMPLETE PROPER SYNTAX. */ /* Set custom CSS for the title // example: "font-size:15px; line-height:18px;" */ SET @Title_CSS = "color: #585858; font-family: Arial, Helvetica, sans-serif; font-size: 19px; font-weight: 400; line-height: 22px;" /* Set custom CSS for the Description // example: "font-size:15px; line-height:18px;" */ SET @Description_CSS = "font-family: Arial, Helvetica, sans-serif; color: #8f8f8f; font-size: 13px; font-weight: 400; line-height: 24px;" /* Set custom CSS for the item container // example: "border:1px solid #333333; background-color:#ffffff; padding:10px;" */ SET @Item_Container_CSS = "" /* Set custom CSS for the button // example: "border:1px solid #333333; background-color:#ffffff; padding:10px;" */ SET @Button_CSS = "" /* ----------- END: Wildcard Styles - THESE ARE OPTIONAL! ------------ */ /* ----------- END: STYLE OPTIONS ------------ */ /* * * * */ /* ----------- START: PROCESSING - DO NOT MODIFY ------------ */ IF Lowercase(@Item_Shadow) == "Yes" THEN SET @Item_Shadow_Render = "-webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.44); -moz-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.44); box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.44);" ELSE SET @Item_Shadow_Render = "" ENDIF IF Empty(@Item_Background) THEN SET @Item_Background_Render = "" ELSE SET @Item_Background_Render = Concat("bgcolor='",@Item_Background,"'") ENDIF IF Empty(@Button_Color) THEN SET @Button_Color_Render = "" ELSE SET @Button_Color_Render = Concat("bgcolor='",@Button_Color,"'") ENDIF IF Lowercase(@Button_Type) == "button" THEN SET @Button_Padding = "padding:7px 12px;" ELSE SET @Button_Padding = "" ENDIF IF Empty(@Button_Border) THEN SET @Button_Border_Render = "" ELSE SET @Button_Border_Render = Concat("border:",@Button_Border,";") ENDIF IF Empty(@Date_Border_Style) THEN SET @Date_Border_Style_Render = @Divider_Style ELSE SET @Date_Border_Style_Render = @Date_Border_Style ENDIF IF Empty(@Date_Month_Background) THEN SET @Date_Month_Background_Render = Concat("bgcolor='",@Button_Color,"'") ELSE SET @Date_Month_Background_Render = Concat("bgcolor='",@Date_Month_Background,"'") ENDIF IF Empty(@Date_Month_Color) THEN SET @Date_Month_Color_Render = @Button_Text_Color ELSE SET @Date_Month_Color_Render = @Date_Month_Color ENDIF IF Empty(@Date_Day_Background) THEN SET @Date_Day_Background_Render = "" ELSE SET @Date_Day_Background_Render = Concat("bgcolor='",@Date_Day_Background,"'") ENDIF IF Empty(@Date_Day_Color) THEN SET @Date_Day_Color_Render = @Description_Color ELSE SET @Date_Day_Color_Render = @Date_Day_Color ENDIF /* ----------- END: PROCESSING - DO NOT MODIFY ------------ */ ]%%
%%[ SET @Button_Container_Style = Concat(@Button_Color_Render,' style="',@Button_Border_Render,@Button_Padding,' font-family:',@Description_Font,'; font-size:13px; font-weight:bold; color:',@Button_Text_Color,';',@Button_CSS,'"') SET @Button_Style = Concat('style="text-decoration:none; color:',@Button_Text_Color,';"') SET @Title_Style = Concat('style="padding-bottom:5px; font-family:',@Title_Font,'; font-size:22px; color:',@Title_Color,';',@Title_CSS,'"') SET @Description_Style = Concat('style="padding-bottom:10px;font-family:',@Description_Font,'; font-size:13px; color:',@Description_Color,'; line-height:18px;',@Description_CSS,'"') SET @Image_Style = Concat('style="border:',@Image_Border,'; height:auto !important;"') SET @Item_Container_Style = Concat(@Item_Background_Render,' style="padding:',@Item_Padding,'; border:',@Item_Border,'; ',@Item_Shadow_Render,@Item_Container_CSS,'"') ]%%
Authorised under NSW Permit No. LTPM/17/01817 and ACT Permit No. TP 17/00885