Skip to content
Snippets Groups Projects
Commit 55b82c9a authored by Kevin Abel's avatar Kevin Abel
Browse files

Add 4.1 email adjustments

Mobile and Desktop headers are merged.
Body fonts and colors have been adjusted.
parent 55a2fa4b
No related branches found
No related tags found
1 merge request!2Composerify
Pipeline #
<?php /* @var $context UNL_WDN_Emailer_Main */ ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title><?php echo $context->subject ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>UNL Marketplace Email</title>
<style type="text/css">
#outlook a{padding:0;}
.ReadMsgBody {width: 100%;}
.ExternalClass {width: 100%;}
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}
body, table, td, a{-webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;}
table, td{mso-table-lspace:0pt; mso-table-rspace:0pt;}
img{-ms-interpolation-mode:bicubic;}
body {-webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;}
body {margin:0; padding:0;}
img{border:0; height:auto; line-height:100%; outline:none; text-decoration:none;}
table{border-collapse:collapse !important;}
body{height:100% !important; margin:0; padding:0; width:100% !important;}
.appleBody a {color:#999999; text-decoration: none;}
.appleFooter a {color:#ffffff;}
.appleEvents a {color: #abadb3; font-weight:bold; text-decoration: none;}
.appleEventsBody a {color: #81261d;; text-decoration: none;}
blockquote .original-only, .WordSection1 .original-only {display: none !important;}
blockquote table.forwarded-only, .WordSection1 table.forwarded-only {display: block !important;}
table td {border-collapse:collapse}
@media screen and (max-width: 650px) {
table[class="wrapper"]{
body[yahoo] .wrapper{
width:100% !important;}
td[class="mobile-hide"]{
body[yahoo] .mobile-hide{
display:none;}
td[class="mobile-show"]{
body[yahoo] .mobile-show{
display:block!important;}
td[class="mobile-logo"] img{
height:54px!important;
width:54px!important;}
td[class="mobile-unl"]{
height:23px;}
td[class="mobile-unl"] img{
height:23px!important;
width:266px!important;}
td[class="mobile-header"]{
vertical-align: top;
font-size: 23px!important;
line-height: 1.1!important;}
td[class="head1"]{
font-size: 30px!important;
padding: 0 10px 20px!important;}
td[class="head2"]{
font-size: 16px!important;
padding: 25px 20px 20px 20px!important;}
td[class="head3"]{
font-size: 15px!important;
padding: 0 0 25px 0!important;}
td[class="head4"]{
padding: 0 20px 25px 20px !important;}
table[class="button"]{
body[yahoo] .wdn-header-top img{
height:30px!important;
width:auto!important;
}
body[yahoo] .wdn-logo{
width:66px!important;
}
body[yahoo] .wdn-logo img{
height:71px!important;
width:auto!important;
}
body[yahoo] .wdn-logo-lockup img{
height:71px!important;
width:auto!important;
}
body[yahoo] table.button{
width:85%!important;
height:auto}
td[class="button"]{
body[yahoo] td.button {
font-size: 20px!important;
padding: 10px!important;}
img[class="img-full"]{
body[yahoo] .img-full{
width:100% !important;
max-width: 100%;
height:auto;}
table[class="responsive-table"]{
body[yahoo] .responsive-table{
float: none!important;
width:100%!important;}
td[class="padding"]{
body[yahoo] .padding {
padding: 10px 8% 10px 8% !important;
text-align: center !important;}
td[class="section-padding"]{
body[yahoo] .section-padding{
padding: 50px 15px 50px 15px !important;}
}
</style>
</head>
<body style="margin: 0; padding: 0; line-height: 0">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="line-height: normal;">
<tr>
<td style="border-bottom: 1px solid #ECDEC5;">
<body yahoo="fix" style="margin: 0; padding: 0; color:#5b5b5a; font-size:16px; line-height:1.777; font-family:Georgia, serif;" bgcolor="#fefdfa" link="#d00000">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td bgcolor="#F2EEE4" class="mobile-hide">
<td bgcolor="#FEFDFA" class="wdn-header-top">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="650" class="responsive-table">
<tr>
<td><a href="http://www.unl.edu/" target="_blank"><img src="<?php echo $context->imgHost ?>header_01.gif" alt="" height="41" width="650" border="0" align="left" style="display: block;"></a></td>
<td><a href="http://www.unl.edu/" target="_blank" style="text-decoration: none; color: #d00000;"><img src="<?php echo $context->imgHost ?>41_01.gif" width="320" height="36" alt="" border="0" align="left" style="display: block;"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#F8F5EC" class="mobile-hide">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="650" class="responsive-table">
<tr>
<td><a href="http://www.unl.edu/" target="_blank"><img src="<?php echo $context->imgHost ?>header_02.gif" alt="" height="30" width="650" border="0" align="left" style="display: block;"></a></td>
</tr>
<tr>
<td align="center" style="font-size: 30px; line-height: 1.5; font-family: Georgia, serif;"><a href="<?php echo $context->main_uri ?>" target="_blank" style="text-decoration: none; color:#444341"><?php echo $context->html_header ?></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#F8F5EC" style="display: none;" class="mobile-show">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="650" class="responsive-table">
<td style="border-top:1px solid #EAE9E6">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="mobile-logo" rowspan="2" width="54"><a href="http://www.unl.edu/" target="_blank"><img src="<?php echo $context->imgHost ?>header_05.gif" width="1" height="1" alt="" border="0" align="left" style="display: block; width: 0px; height: 0px;"></a></td>
<td class="mobile-unl"><img src="<?php echo $context->imgHost ?>header_06.gif" width="1" height="1" alt="" border="0" align="left" style="display: block; width: 0px; height: 0px;"></td>
</tr>
<td bgcolor="#FEFDFA">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="650" class="responsive-table">
<tr>
<td class="mobile-header" style="font-size: 0px; line-height: 0; font-family: Georgia, serif;"><a href="<?php echo $context->main_uri ?>" target="_blank" style="text-decoration: none; color: #444341;"><?php echo isset($context->html_header_short) ? $context->html_header_short : $context->html_header ?></a></td>
<td width="77" class="wdn-logo"><a href="http://www.unl.edu/" target="_blank"><img src="<?php echo $context->imgHost ?>41_02.gif" width="77" height="83" alt="" border="0" align="left" style="display: block;"></a></td>
<td valign="middle" class="wdn-logo-lockup" style="font-size:38px; line-height:1; font-family: 'Arial Narrow', Arial, sans-serif; text-transform:uppercase; white-space:nowrap"><a href="<?php echo $context->main_uri ?>" target="_blank" style="text-decoration: none; color:#474746"><?php echo $context->html_header ?></a></td>
</tr>
</table>
</td>
......@@ -122,16 +92,16 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="line-height: normal;">
<tr>
<td bgcolor="#525151" align="center">
<td bgcolor="#333332" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td style="padding: 20px 20px 20px 20px;">
<table width="610" border="0" cellspacing="0" cellpadding="0" align="center" class="responsive-table">
<tr>
<td align="left" valign="middle" style="font-size: 10px; line-height: 16px; font-family: Helvetica, Arial, sans-serif; color:#cfcfcf; -webkit-text-size-adjust: none"><span class="appleFooter" style="color:#cfcfcf; -webkit-text-size-adjust: none">
<td align="left" valign="middle" style="font-size: 10px; line-height: 16px; font-family: Verdana, sans-serif; color:#adacaa; -webkit-text-size-adjust: none"><span class="appleFooter" style="color:#adacaa; -webkit-text-size-adjust: none">
<?php echo $context->html_footer ?>
</span></td>
<td width="111" valign="top" class="mobile-hide" style="padding-left:20px"><a href="http://www.unl.edu/" target="_blank" style="font-family: Arial; color: #ffffff; font-size: 14px;"><img alt="University of Nebraska-Lincoln" src="<?php echo $context->imgHost ?>wordmark.gif" width="111" height="43" style="display: block;" border="0"></a></td>
<td width="111" valign="top" class="mobile-hide" style="padding-left:20px"><a href="http://www.unl.edu/" target="_blank" style="font-family: Verdana; color: #ffffff; font-size: 14px;"><img alt="University of Nebraska-Lincoln" src="<?php echo $context->imgHost ?>wordmark.gif" width="111" height="43" style="display: block;" border="0"></a></td>
</tr>
</table>
</td>
......@@ -139,6 +109,5 @@
</table>
</td>
</tr>
</table>
</body>
</table></body>
</html>
<?php /* @var $context UNL_WDN_Emailer_Template_Band */ ?>
<?php $color = isset($context->foreground) ? $context->foreground : '#444431'; ?>
<?php $bgcolor = isset($context->background) ? $context->background : '#F8F5EC'; ?>
<?php $color = isset($context->foreground) ? $context->foreground : '#474746'; ?>
<?php $bgcolor = isset($context->background) ? $context->background : '#FEFDFA'; ?>
<?php $hcolor = isset($context->headlineColor) ? $context->headlineColor : $color; ?>
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="line-height: normal;">
<tr>
......@@ -14,7 +14,7 @@
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php if (isset($context->headline)): ?>
<tr>
<td align="left" style="font-size: 25px; font-family: Helvetica, Arial, sans-serif; color: <?php echo $hcolor ?>; padding-bottom:20px;">
<td align="left" style="font-size: 25px; font-family: 'Arial Narrow', Arial, sans-serif; color: <?php echo $hcolor ?>; padding-bottom:20px;">
<?php echo $context->headline ?>
</td>
</tr>
......
<?php /* @var $context UNL_WDN_Emailer_Template_Link */ ?>
<a href="<?php echo $context->href ?>" style="text-decoration:none; border-bottom:1px dotted #cc0000; color: #cc0000;"><?php echo $context->label ?></a>
\ No newline at end of file
<a href="<?php echo $context->href ?>" style="text-decoration:none; border-bottom:1px dotted #d00000; color: #d00000;"><?php echo $context->label ?></a>
\ No newline at end of file
<?php /* @var $context UNL_WDN_Emailer_Main */ ?>
DDDDDDDDDDDD ?DDDDDDDDDDDDDDDD
DDDNNNNNNNDDZ ?DDNNNNNNNNNNNDDD
DDN7= $NDD~ ?DDDZZ7 ,IZZNDD
DDDDDN :NDD. ?DDDDDDZ MDDDDDD __ __ __ ___ __ __
888DDD? .NDDD ?8888DDD NDD888D / \|\ ||\ /|_ |__)(_ | | \_/ / \|_
?DD? :DDDO. .DDD NDD, \__/| \|| \/ |__| \ __)| | | \__/|
?DD? +M $NDD= .DDD NDD,
?DD? +ND: :NDD. .DDD NDD, __ __ __ __
?DD? +NDDI $DDD .DDD NDD, |\ ||_ |__)|__) /\ (_ |_/ /\
?DD? +NDDN: DDDZ,DDD NDD, | \||__|__)| \ /--\__)| \/--\
?DD? +NDDDDN $NDDDDD NDD,
?DD? +NDDZDDD: :NDDDD NDD, __ __
?DD? +NDD IDDDI $DDD NDD, | ||\ |/ / \| |\ |
?DD? +NDD ,DDND DND NDD, |__|| \|\__\__/|__| \|
?DD? +NDD IDDN N NDD,
?DD? +NDD ODDD: : NDD, http://www.unl.edu/
DDDDDD? +NDDDDDD: DDDI NDDDDDD
DDDDDD+ =NDDDDDD: .DDND MDDDDDD
DDN77~ I7ZDDD: ?DDNI =7NDD
DDNOOOOOOOOO8DDD: ODDNOOOOOOONDD
DDDDDDDDDDDDDDDD: DDDDDDDDDDDD <?php echo strip_tags($context->html_header) . "\n" ?>
8888888888888888, ,Z8888888888 <?php echo $context->main_uri . "\n" ?>
UNIVERSITY OF NEBRASKA–LINCOLN
------------------------------------------------------------------------------------------
<?php echo strip_tags($context->html_header) . "\n" ?>
<?php echo $context->main_uri . "\n" ?>
==========================================================================================
......
......@@ -11,7 +11,7 @@ class UNL_WDN_Emailer_Main extends UNL_WDN_Emailer_Template
public $subject;
public $imgHost = 'http://www.unl.edu/wdn/templates_4.0/images/email/';
public $imgHost = 'http://www.unl.edu/images/email/4-1/';
public $html_body;
......
......@@ -18,7 +18,7 @@ class UNL_WDN_Emailer_Template_Button extends UNL_WDN_Emailer_Template_Link
switch ($this->color) {
case 'brand':
case 'red';
return '#cc0000';
return '#d00000';
case 'triad':
case 'blue':
return '#137cbd';
......@@ -27,7 +27,7 @@ class UNL_WDN_Emailer_Template_Button extends UNL_WDN_Emailer_Template_Link
return '#008a2c';
case 'neutral':
case 'tan':
return '4a3b13';
return '#4a3b13';
case 'energetic':
case 'orange':
return '#d4440b';
......
......@@ -2,9 +2,9 @@
class UNL_WDN_Emailer_Template_Callout extends UNL_WDN_Emailer_Template
{
public $color = '#f6f5f0';
public $color = '#FEFDFA';
public $colorAccent = '#d5d0c1';
public $colorAccent = '#d5d5d2';
public function __construct()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment