feat(invite): lots of work completing the new email template system and css inlineing, converted new_user_invite.html to new system, #2353

This commit is contained in:
Torkel Ödegaard
2015-08-10 21:24:47 +02:00
parent dfd1bff389
commit 4439545428
19 changed files with 391 additions and 2584 deletions
+75 -75
View File
@@ -4,47 +4,47 @@
/* Client-specific Styles & Reset */
#outlook a {
padding:0;
}
body{
width:100% !important;
min-width: 100%;
-webkit-text-size-adjust:100%;
-ms-text-size-adjust:100%;
margin:0;
#outlook a {
padding:0;
}
.ExternalClass {
width:100%;
}
.ExternalClass,
.ExternalClass p,
.ExternalClass span,
.ExternalClass font,
.ExternalClass td,
.ExternalClass div {
line-height: 100%;
}
#backgroundTable {
margin:0;
padding:0;
width:100% !important;
line-height: 100% !important;
body{
width:100% !important;
min-width: 100%;
-webkit-text-size-adjust:100%;
-ms-text-size-adjust:100%;
margin:0;
padding:0;
}
img {
outline:none;
text-decoration:none;
.ExternalClass {
width:100%;
}
.ExternalClass,
.ExternalClass p,
.ExternalClass span,
.ExternalClass font,
.ExternalClass td,
.ExternalClass div {
line-height: 100%;
}
#backgroundTable {
margin:0;
padding:0;
width:100% !important;
line-height: 100% !important;
}
img {
outline:none;
text-decoration:none;
-ms-interpolation-mode: bicubic;
width: auto;
max-width: 100%;
float: left;
clear: both;
max-width: 100%;
float: left;
clear: both;
display: block;
}
@@ -53,7 +53,7 @@ center {
min-width: 580px;
}
a img {
a img {
border: none;
}
@@ -66,12 +66,12 @@ table {
border-collapse: collapse;
}
td {
td {
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
border-collapse: collapse !important;
border-collapse: collapse !important;
}
table, tr, td {
@@ -81,9 +81,9 @@ table, tr, td {
}
hr {
color: #d9d9d9;
background-color: #d9d9d9;
height: 1px;
color: #d9d9d9;
background-color: #d9d9d9;
height: 1px;
border: none;
}
@@ -100,8 +100,8 @@ table.container {
text-align: inherit;
}
table.row {
padding: 0px;
table.row {
padding: 0px;
width: 100%;
position: relative;
}
@@ -122,7 +122,7 @@ table.column {
table.columns td,
table.column td {
padding: 0px 0px 10px;
padding: 0px 0px 10px;
}
table.columns td.sub-columns,
@@ -316,13 +316,13 @@ img.center {
/* Typography */
body, table.body, h1, h2, h3, h4, h5, h6, p, td {
body, table.body, h1, h2, h3, h4, h5, h6, p, td {
color: #222222;
font-family: "Helvetica", "Arial", sans-serif;
font-weight: normal;
padding:0;
font-family: "Helvetica", "Arial", sans-serif;
font-weight: normal;
padding:0;
margin: 0;
text-align: left;
text-align: left;
line-height: 1.3;
}
@@ -343,7 +343,7 @@ p.lead, p.lede, p.leed {
line-height:21px;
}
p {
p {
margin-bottom: 10px;
}
@@ -352,48 +352,48 @@ small {
}
a {
color: #2ba6cb;
color: #2ba6cb;
text-decoration: none;
}
a:hover {
a:hover {
color: #2795b6 !important;
}
a:active {
a:active {
color: #2795b6 !important;
}
a:visited {
a:visited {
color: #2ba6cb !important;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
color: #2ba6cb;
}
h1 a:active,
h2 a:active,
h3 a:active,
h4 a:active,
h5 a:active,
h6 a:active {
color: #2ba6cb !important;
}
h1 a:active,
h2 a:active,
h3 a:active,
h4 a:active,
h5 a:active,
h6 a:active {
color: #2ba6cb !important;
}
h1 a:visited,
h2 a:visited,
h3 a:visited,
h4 a:visited,
h5 a:visited,
h6 a:visited {
color: #2ba6cb !important;
}
h1 a:visited,
h2 a:visited,
h3 a:visited,
h4 a:visited,
h5 a:visited,
h6 a:visited {
color: #2ba6cb !important;
}
/* Panels */
@@ -516,7 +516,7 @@ table.medium-button td a:visited,
table.large-button:hover td a,
table.large-button:active td a,
table.large-button td a:visited {
color: #ffffff !important;
color: #ffffff !important;
}
table.secondary td {
+66
View File
@@ -1 +1,67 @@
body, table.body, h1, h2, h3, h4, h5, h6, p, td {
font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: none;
}
table.facebook td {
background: #3b5998;
border-color: #2d4473;
}
table.facebook:hover td {
background: #2d4473 !important;
}
table.twitter td {
background: #00acee;
border-color: #0087bb;
}
table.twitter:hover td {
background: #0087bb !important;
}
table.google-plus td {
background-color: #DB4A39;
border-color: #CC0000;
}
table.google-plus:hover td {
background: #CC0000 !important;
}
.template-label {
color: #ffffff;
font-weight: bold;
font-size: 11px;
}
.callout .wrapper {
padding-bottom: 20px;
}
.callout .panel {
background: #ECF8FF;
border-color: #b9e5ff;
}
.header {
background: #333;
}
.footer {
margin-top: 20px;
}
@media only screen and (max-width: 600px) {
table[class="body"] .right-text-pad {
padding-left: 10px !important;
}
table[class="body"] .left-text-pad {
padding-right: 10px !important;
}
}