mails 0.0.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.npmignore +1 -3
- package/LICENSE +1 -1
- package/README.en.md +32 -36
- package/README.md +46 -49
- package/dist/render.js +42 -0
- package/dist/render.js.map +1 -0
- package/libs/render.js +21 -0
- package/package.json +17 -13
- package/README.sample.md +0 -58
- package/bin/cli +0 -3
- package/cli.js +0 -141
- package/index.js +0 -86
- package/package.sample.json +0 -20
- package/styles/basic.css +0 -77
- package/styles/ink.css +0 -548
- package/styles/mails.css +0 -86
- package/templates/basic.html +0 -171
- package/templates/hero.html +0 -228
- package/templates/layout.html +0 -20
- package/templates/newsletter.html +0 -336
- package/templates/one.html +0 -143
- package/templates/sidebar-hero.html +0 -277
- package/templates/sidebar.html +0 -249
package/index.js
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
var fs = require('fs'),
|
|
2
|
-
path = require('path'),
|
|
3
|
-
swig = require('swig'),
|
|
4
|
-
juice = require('juice').juiceContent;
|
|
5
|
-
|
|
6
|
-
// environments
|
|
7
|
-
swig.setDefaults({
|
|
8
|
-
cache: false
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
// engines map
|
|
12
|
-
exports._render = function(params, callback) {
|
|
13
|
-
var engine = params.engine,
|
|
14
|
-
html = '';
|
|
15
|
-
if (engine.name === 'jade') {
|
|
16
|
-
html = engine._engine.renderFile(params.template, params.data);
|
|
17
|
-
} else if (engine.name === 'swig') {
|
|
18
|
-
html = engine._engine.compileFile(params.template)(params.data);
|
|
19
|
-
} else {
|
|
20
|
-
callback(new Error('template engine not supported'))
|
|
21
|
-
return false;
|
|
22
|
-
}
|
|
23
|
-
juice(html, {
|
|
24
|
-
url: 'file://' + params.template
|
|
25
|
-
}, callback);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// render mails html
|
|
29
|
-
exports.render = function(tpl, params, callback) {
|
|
30
|
-
var localTemplate = path.join(__dirname, 'templates', tpl + '.html');
|
|
31
|
-
if (fs.existsSync(localTemplate)) {
|
|
32
|
-
// local themes
|
|
33
|
-
exports._render({
|
|
34
|
-
template: localTemplate,
|
|
35
|
-
data: params,
|
|
36
|
-
engine: {
|
|
37
|
-
name: 'swig',
|
|
38
|
-
_engine: swig
|
|
39
|
-
}
|
|
40
|
-
}, callback);
|
|
41
|
-
} else {
|
|
42
|
-
// try fetch local themes module
|
|
43
|
-
var template = {
|
|
44
|
-
name: tpl.indexOf('/') > -1 ? tpl.substr(0, tpl.indexOf('/')) : tpl,
|
|
45
|
-
file: tpl.indexOf('/') > -1 ? tpl.substr(tpl.indexOf('/') + 1) : null
|
|
46
|
-
};
|
|
47
|
-
var moduleDir = path.resolve(__dirname, '../node_modules/', template.name);
|
|
48
|
-
if (fs.existsSync(moduleDir)) {
|
|
49
|
-
// themes as local modules
|
|
50
|
-
try {
|
|
51
|
-
var pkg = require(path.join(moduleDir, '/package.json'));
|
|
52
|
-
if (pkg['view engine']) {
|
|
53
|
-
try {
|
|
54
|
-
var engine = require(pkg['view engine']);
|
|
55
|
-
if (template.file) {
|
|
56
|
-
var file = path.join(moduleDir, template.file);
|
|
57
|
-
if (fs.existsSync(file)) {
|
|
58
|
-
exports._render({
|
|
59
|
-
template: file,
|
|
60
|
-
data: params,
|
|
61
|
-
engine: {
|
|
62
|
-
name: pkg['view engine'],
|
|
63
|
-
_engine: engine
|
|
64
|
-
}
|
|
65
|
-
}, callback);
|
|
66
|
-
} else {
|
|
67
|
-
callback(new Error('selected file not found'));
|
|
68
|
-
}
|
|
69
|
-
} else {
|
|
70
|
-
callback(new Error('which template your want to create mail ?'));
|
|
71
|
-
}
|
|
72
|
-
} catch (err) {
|
|
73
|
-
console.log(err);
|
|
74
|
-
callback(new Error('view engine not found'));
|
|
75
|
-
}
|
|
76
|
-
} else {
|
|
77
|
-
callback(new Error('template engine not select'));
|
|
78
|
-
}
|
|
79
|
-
} catch (err) {
|
|
80
|
-
callback(new Error('template not existed'));
|
|
81
|
-
}
|
|
82
|
-
} else {
|
|
83
|
-
callback(new Error('template not existed'));
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
};
|
package/package.sample.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mails-themename",
|
|
3
|
-
"version": "0.0.1",
|
|
4
|
-
"description": "theme description",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"author": "author",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"view engine": "swig",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [
|
|
13
|
-
"mail",
|
|
14
|
-
"mails",
|
|
15
|
-
"email"
|
|
16
|
-
],
|
|
17
|
-
"dependencies": {
|
|
18
|
-
"swig": "*"
|
|
19
|
-
}
|
|
20
|
-
}
|
package/styles/basic.css
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
.facebook table td {
|
|
2
|
-
background: #3b5998;
|
|
3
|
-
border-color: #2d4473;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.facebook:hover table td {
|
|
7
|
-
background: #2d4473 !important;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.twitter table td {
|
|
11
|
-
background: #00acee;
|
|
12
|
-
border-color: #0087bb;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.twitter:hover table td {
|
|
16
|
-
background: #0087bb !important;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.google-plus table td {
|
|
20
|
-
background-color: #DB4A39;
|
|
21
|
-
border-color: #CC0000;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.google-plus:hover table td {
|
|
25
|
-
background: #CC0000 !important;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.template-label {
|
|
29
|
-
color: #999;
|
|
30
|
-
font-weight: bold;
|
|
31
|
-
font-size: 12px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.callout .wrapper {
|
|
35
|
-
padding-bottom: 20px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.callout .panel {
|
|
39
|
-
background: #ECF8FF;
|
|
40
|
-
border-color: #b9e5ff;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.header {
|
|
44
|
-
background: #efefef;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.footer .wrapper {
|
|
48
|
-
background: #ebebeb;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.footer h5 {
|
|
52
|
-
padding-bottom: 10px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
table.columns .text-pad {
|
|
56
|
-
padding-left: 10px;
|
|
57
|
-
padding-right: 10px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
table.columns .left-text-pad {
|
|
61
|
-
padding-left: 10px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
table.columns .right-text-pad {
|
|
65
|
-
padding-right: 10px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
@media only screen and (max-width: 600px) {
|
|
69
|
-
|
|
70
|
-
table[class="body"] .right-text-pad {
|
|
71
|
-
padding-left: 10px !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
table[class="body"] .left-text-pad {
|
|
75
|
-
padding-right: 10px !important;
|
|
76
|
-
}
|
|
77
|
-
}
|
package/styles/ink.css
DELETED
|
@@ -1,548 +0,0 @@
|
|
|
1
|
-
/**********************************************
|
|
2
|
-
* Ink v1.0.0 - Copyright 2013 ZURB Inc *
|
|
3
|
-
**********************************************/
|
|
4
|
-
|
|
5
|
-
/* Client-specific Styles & Reset */
|
|
6
|
-
|
|
7
|
-
#outlook a {
|
|
8
|
-
padding:0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
body{
|
|
12
|
-
width:100% !important;
|
|
13
|
-
-webkit-text-size-adjust:100%;
|
|
14
|
-
-ms-text-size-adjust:100%;
|
|
15
|
-
margin:0;
|
|
16
|
-
padding:0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.ExternalClass {
|
|
20
|
-
width:100%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ExternalClass,
|
|
24
|
-
.ExternalClass p,
|
|
25
|
-
.ExternalClass span,
|
|
26
|
-
.ExternalClass font,
|
|
27
|
-
.ExternalClass td,
|
|
28
|
-
.ExternalClass div {
|
|
29
|
-
line-height: 100%;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
#backgroundTable {
|
|
33
|
-
margin:0;
|
|
34
|
-
padding:0;
|
|
35
|
-
width:100% !important;
|
|
36
|
-
line-height: 100% !important;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
img {
|
|
40
|
-
outline:none;
|
|
41
|
-
text-decoration:none;
|
|
42
|
-
-ms-interpolation-mode: bicubic;
|
|
43
|
-
width: auto;
|
|
44
|
-
max-width: 100%;
|
|
45
|
-
float: left;
|
|
46
|
-
clear: both;
|
|
47
|
-
display: block;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
center {
|
|
51
|
-
width: 100%;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
a img {
|
|
55
|
-
border: none;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
p {
|
|
59
|
-
margin: 0 0 0 10px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
table {
|
|
63
|
-
border-spacing: 0;
|
|
64
|
-
border-collapse: collapse;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
td {
|
|
68
|
-
word-break: break-word;
|
|
69
|
-
-webkit-hyphens: auto;
|
|
70
|
-
-moz-hyphens: auto;
|
|
71
|
-
hyphens: auto;
|
|
72
|
-
border-collapse: collapse !important;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
table, tr, td {
|
|
76
|
-
padding: 0;
|
|
77
|
-
vertical-align: top;
|
|
78
|
-
text-align: left;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
hr {
|
|
82
|
-
color: #d9d9d9;
|
|
83
|
-
background-color: #d9d9d9;
|
|
84
|
-
height: 1px;
|
|
85
|
-
border: none;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/* Responsive Grid */
|
|
89
|
-
|
|
90
|
-
table.body {
|
|
91
|
-
height: 100%;
|
|
92
|
-
width: 100%;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
table.container {
|
|
96
|
-
width: 580px;
|
|
97
|
-
margin: 0 auto;
|
|
98
|
-
text-align: inherit;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
table.row {
|
|
102
|
-
padding: 0px;
|
|
103
|
-
width: 100%;
|
|
104
|
-
position: relative;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
table.container table.row {
|
|
108
|
-
display: block;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
td.wrapper {
|
|
112
|
-
padding: 10px 20px 0px 0px;
|
|
113
|
-
position: relative;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
table.columns,
|
|
117
|
-
table.column {
|
|
118
|
-
margin: 0 auto;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
table.columns td,
|
|
122
|
-
table.column td {
|
|
123
|
-
padding: 0px 0px 10px;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
table.columns td.sub-columns,
|
|
127
|
-
table.column td.sub-columns,
|
|
128
|
-
table.columns td.sub-column,
|
|
129
|
-
table.column td.sub-column {
|
|
130
|
-
padding-right: 3.448276%;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
table.row td.last,
|
|
134
|
-
table.container td.last {
|
|
135
|
-
padding-right: 0px;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
table.one { width: 30px; }
|
|
139
|
-
table.two { width: 80px; }
|
|
140
|
-
table.three { width: 130px; }
|
|
141
|
-
table.four { width: 180px; }
|
|
142
|
-
table.five { width: 230px; }
|
|
143
|
-
table.six { width: 280px; }
|
|
144
|
-
table.seven { width: 330px; }
|
|
145
|
-
table.eight { width: 380px; }
|
|
146
|
-
table.nine { width: 430px; }
|
|
147
|
-
table.ten { width: 480px; }
|
|
148
|
-
table.eleven { width: 530px; }
|
|
149
|
-
table.twelve { width: 580px; }
|
|
150
|
-
|
|
151
|
-
td.one { width: 8.333333% !important; }
|
|
152
|
-
td.two { width: 16.666666% !important; }
|
|
153
|
-
td.three { width: 25% !important; }
|
|
154
|
-
td.four { width: 33.333333% !important; }
|
|
155
|
-
td.five { width: 41.666666% !important; }
|
|
156
|
-
td.six { width: 50% !important; }
|
|
157
|
-
td.seven { width: 58.333333% !important; }
|
|
158
|
-
td.eight { width: 66.666666% !important; }
|
|
159
|
-
td.nine { width: 75% !important; }
|
|
160
|
-
td.ten { width: 83.333333% !important; }
|
|
161
|
-
td.eleven { width: 91.666666% !important; }
|
|
162
|
-
td.twelve { width: 100% !important; }
|
|
163
|
-
|
|
164
|
-
td.offset-by-one { padding-left: 50px; }
|
|
165
|
-
td.offset-by-two { padding-left: 100px; }
|
|
166
|
-
td.offset-by-three { padding-left: 150px; }
|
|
167
|
-
td.offset-by-four { padding-left: 200px; }
|
|
168
|
-
td.offset-by-five { padding-left: 250px; }
|
|
169
|
-
td.offset-by-six { padding-left: 300px; }
|
|
170
|
-
td.offset-by-seven { padding-left: 350px; }
|
|
171
|
-
td.offset-by-eight { padding-left: 400px; }
|
|
172
|
-
td.offset-by-nine { padding-left: 450px; }
|
|
173
|
-
td.offset-by-ten { padding-left: 500px; }
|
|
174
|
-
td.offset-by-eleven { padding-left: 550px; }
|
|
175
|
-
|
|
176
|
-
td.sub-offset-by-one { padding-left: 5.172413% !important; }
|
|
177
|
-
td.sub-offset-by-two { padding-left: 13.793102% !important; }
|
|
178
|
-
td.sub-offset-by-three { padding-left: 22.413791% !important; }
|
|
179
|
-
td.sub-offset-by-four { padding-left: 31.034480% !important; }
|
|
180
|
-
td.sub-offset-by-five { padding-left: 39.655169% !important; }
|
|
181
|
-
td.sub-offset-by-six { padding-left: 48.275858% !important; }
|
|
182
|
-
td.sub-offset-by-seven { padding-left: 56.896547% !important; }
|
|
183
|
-
td.sub-offset-by-eight { padding-left: 65.517236% !important; }
|
|
184
|
-
td.sub-offset-by-nine { padding-left: 74.137925% !important; }
|
|
185
|
-
td.sub-offset-by-ten { padding-left: 82.758614% !important; }
|
|
186
|
-
td.sub-offset-by-eleven { padding-left: 91.379303% !important; }
|
|
187
|
-
|
|
188
|
-
td.expander {
|
|
189
|
-
visibility: hidden;
|
|
190
|
-
width: 0px;
|
|
191
|
-
padding: 0 !important;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/* Block Grid */
|
|
195
|
-
|
|
196
|
-
.block-grid {
|
|
197
|
-
width: 100%;
|
|
198
|
-
max-width: 580px;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.block-grid td {
|
|
202
|
-
display: inline-block;
|
|
203
|
-
padding:10px;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.two-up td {
|
|
207
|
-
width:270px;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.three-up td {
|
|
211
|
-
width:173px;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.four-up td {
|
|
215
|
-
width:125px;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.five-up td {
|
|
219
|
-
width:96px;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.six-up td {
|
|
223
|
-
width:76px;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.seven-up td {
|
|
227
|
-
width:62px;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.eight-up td {
|
|
231
|
-
width:52px;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/* Alignment & Visibility Classes */
|
|
235
|
-
|
|
236
|
-
table.center, td.center {
|
|
237
|
-
text-align: center;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
h1.center,
|
|
241
|
-
h2.center,
|
|
242
|
-
h3.center,
|
|
243
|
-
h4.center,
|
|
244
|
-
h5.center,
|
|
245
|
-
h6.center {
|
|
246
|
-
text-align: center;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
span.center {
|
|
250
|
-
display: block;
|
|
251
|
-
width: 100%;
|
|
252
|
-
text-align: center;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
img.center {
|
|
256
|
-
margin: 0 auto;
|
|
257
|
-
float: none;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.show-for-small,
|
|
261
|
-
.hide-for-desktop {
|
|
262
|
-
display: none;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
/* Typography */
|
|
266
|
-
|
|
267
|
-
body, h1, h2, h3, h4, h5, h6, p {
|
|
268
|
-
color: #222222;
|
|
269
|
-
display: block;
|
|
270
|
-
font-family: "Helvetica", "Arial", sans-serif;
|
|
271
|
-
font-weight: normal;
|
|
272
|
-
padding:0;
|
|
273
|
-
margin: 0;
|
|
274
|
-
text-align: left;
|
|
275
|
-
line-height: 1.3;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
h1, h2, h3, h4, h5, h6 {
|
|
279
|
-
word-break: normal;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
h1 {font-size: 59px;}
|
|
283
|
-
h2 {font-size: 45px;}
|
|
284
|
-
h3 {font-size: 37px;}
|
|
285
|
-
h4 {font-size: 28px;}
|
|
286
|
-
h5 {font-size: 23px;}
|
|
287
|
-
h6 {font-size: 17px;}
|
|
288
|
-
body, p {font-size: 14px;line-height:19px;}
|
|
289
|
-
|
|
290
|
-
p {
|
|
291
|
-
padding-bottom: 10px;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
small {
|
|
295
|
-
font-size: 10px;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
a {
|
|
299
|
-
color: #2ba6cb;
|
|
300
|
-
text-decoration: none !important;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
a:hover {
|
|
304
|
-
color: #2795b6 !important;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
a:active {
|
|
308
|
-
color: #2795b6 !important;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
a:visited {
|
|
312
|
-
color: #2ba6cb !important;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
h1 a,
|
|
316
|
-
h2 a,
|
|
317
|
-
h3 a,
|
|
318
|
-
h4 a,
|
|
319
|
-
h5 a,
|
|
320
|
-
h6 a {
|
|
321
|
-
color: #2ba6cb !important;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
h1 a:active,
|
|
325
|
-
h2 a:active,
|
|
326
|
-
h3 a:active,
|
|
327
|
-
h4 a:active,
|
|
328
|
-
h5 a:active,
|
|
329
|
-
h6 a:active {
|
|
330
|
-
color: #2ba6cb !important;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
h1 a:visited,
|
|
334
|
-
h2 a:visited,
|
|
335
|
-
h3 a:visited,
|
|
336
|
-
h4 a:visited,
|
|
337
|
-
h5 a:visited,
|
|
338
|
-
h6 a:visited {
|
|
339
|
-
color: #2ba6cb !important;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/* Panels */
|
|
343
|
-
|
|
344
|
-
td.panel {
|
|
345
|
-
background: #f2f2f2;
|
|
346
|
-
border: 1px solid #d9d9d9;
|
|
347
|
-
padding: 10px !important;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
/* Buttons */
|
|
351
|
-
|
|
352
|
-
.button table,
|
|
353
|
-
.tiny-button table,
|
|
354
|
-
.small-button table,
|
|
355
|
-
.medium-button table,
|
|
356
|
-
.large-button table {
|
|
357
|
-
width: 100%;
|
|
358
|
-
overflow: hidden;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.button table td,
|
|
362
|
-
.tiny-button table td,
|
|
363
|
-
.small-button table td,
|
|
364
|
-
.medium-button table td,
|
|
365
|
-
.large-button table td {
|
|
366
|
-
display: block;
|
|
367
|
-
width: auto !important;
|
|
368
|
-
text-align: center;
|
|
369
|
-
font-weight: bold;
|
|
370
|
-
text-decoration: none;
|
|
371
|
-
font-family: Helvetica, Arial, sans-serif;
|
|
372
|
-
color: #ffffff;
|
|
373
|
-
background: #2ba6cb;
|
|
374
|
-
border: 1px solid #2284a1;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.tiny-button table td {
|
|
378
|
-
padding: 5px 10px;
|
|
379
|
-
font-size: 12px;
|
|
380
|
-
font-weight: normal;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.button table td,
|
|
384
|
-
.small-button table td {
|
|
385
|
-
padding: 8px 15px;
|
|
386
|
-
font-size: 16px;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
.medium-button table td {
|
|
390
|
-
padding: 12px 24px;
|
|
391
|
-
font-size: 20px;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.large-button table td {
|
|
395
|
-
padding: 21px 30px;
|
|
396
|
-
font-size: 24px;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.button:hover table td,
|
|
400
|
-
.tiny-button:hover table td,
|
|
401
|
-
.small-button:hover table td,
|
|
402
|
-
.medium-button:hover table td,
|
|
403
|
-
.large-button:hover table td {
|
|
404
|
-
background: #2795b6 !important;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
.button,
|
|
408
|
-
.button:hover,
|
|
409
|
-
.button:active,
|
|
410
|
-
.button:visited,
|
|
411
|
-
.tiny-button,
|
|
412
|
-
.tiny-button:hover,
|
|
413
|
-
.tiny-button:active,
|
|
414
|
-
.tiny-button:visited,
|
|
415
|
-
.small-button,
|
|
416
|
-
.small-button:hover,
|
|
417
|
-
.small-button:active,
|
|
418
|
-
.small-button:visited,
|
|
419
|
-
.medium-button,
|
|
420
|
-
.medium-button:hover,
|
|
421
|
-
.medium-button:active,
|
|
422
|
-
.medium-button:visited,
|
|
423
|
-
.large-button,
|
|
424
|
-
.large-button:hover,
|
|
425
|
-
.large-button:active,
|
|
426
|
-
.large-button:visited {
|
|
427
|
-
color: #ffffff !important;
|
|
428
|
-
font-family: Helvetica, Arial, sans-serif;
|
|
429
|
-
text-decoration: none;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
.secondary table td {
|
|
433
|
-
background: #e9e9e9;
|
|
434
|
-
border-color: #d0d0d0;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
.secondary:hover table td {
|
|
438
|
-
background: #d0d0d0 !important;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
.success table td {
|
|
442
|
-
background: #5da423;
|
|
443
|
-
border-color: #457a1a;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
.success:hover table td {
|
|
447
|
-
background: #457a1a !important;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
.alert table td {
|
|
451
|
-
background: #c60f13;
|
|
452
|
-
border-color: #970b0e;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
.alert:hover table td {
|
|
456
|
-
background: #970b0e !important;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
.radius table td {
|
|
460
|
-
-webkit-border-radius: 3px;
|
|
461
|
-
-moz-border-radius: 3px;
|
|
462
|
-
border-radius: 3px;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
.round table td {
|
|
466
|
-
-webkit-border-radius: 500px;
|
|
467
|
-
-moz-border-radius: 500px;
|
|
468
|
-
border-radius: 500px;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
/* Outlook First */
|
|
472
|
-
|
|
473
|
-
body.outlook img {
|
|
474
|
-
width: auto !important;
|
|
475
|
-
max-width: none !important;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
/* Media Queries */
|
|
479
|
-
|
|
480
|
-
@media only screen and (max-width: 600px) {
|
|
481
|
-
|
|
482
|
-
table[class="body"] img {
|
|
483
|
-
width: auto !important;
|
|
484
|
-
height: auto !important;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
table[class="body"] .container {
|
|
488
|
-
width: 95% !important;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
table[class="body"] .row {
|
|
492
|
-
width: 100% !important;
|
|
493
|
-
display: block !important;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
table[class="body"] .wrapper {
|
|
497
|
-
display: block !important;
|
|
498
|
-
padding-right: 0 !important;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
table[class="body"] .columns,
|
|
502
|
-
table[class="body"] .column {
|
|
503
|
-
table-layout: fixed !important;
|
|
504
|
-
float: none !important;
|
|
505
|
-
width: 100% !important;
|
|
506
|
-
padding-right: 0px !important;
|
|
507
|
-
padding-left: 0px !important;
|
|
508
|
-
display: block !important;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
table[class="body"] .wrapper.first .columns,
|
|
512
|
-
table[class="body"] .wrapper.first .column {
|
|
513
|
-
display: table !important;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
table[class="body"] table.columns td,
|
|
517
|
-
table[class="body"] table.column td {
|
|
518
|
-
width: 100%;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
table[class="body"] td.offset-by-one,
|
|
522
|
-
table[class="body"] td.offset-by-two,
|
|
523
|
-
table[class="body"] td.offset-by-three,
|
|
524
|
-
table[class="body"] td.offset-by-four,
|
|
525
|
-
table[class="body"] td.offset-by-five,
|
|
526
|
-
table[class="body"] td.offset-by-six,
|
|
527
|
-
table[class="body"] td.offset-by-seven,
|
|
528
|
-
table[class="body"] td.offset-by-eight,
|
|
529
|
-
table[class="body"] td.offset-by-nine,
|
|
530
|
-
table[class="body"] td.offset-by-ten,
|
|
531
|
-
table[class="body"] td.offset-by-eleven {
|
|
532
|
-
padding-left: 0 !important;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
table[class="body"] .expander {
|
|
536
|
-
width: 9999px !important;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
table[class="body"] .hide-for-small,
|
|
540
|
-
table[class="body"] .show-for-desktop {
|
|
541
|
-
display: none !important;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
table[class="body"] .show-for-small,
|
|
545
|
-
table[class="body"] .hide-for-desktop {
|
|
546
|
-
display: inherit !important;
|
|
547
|
-
}
|
|
548
|
-
}
|