tiendapp_validator 0.1.2

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.
Files changed (81) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +4 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +46 -0
  8. data/Rakefile +6 -0
  9. data/bin/console +14 -0
  10. data/bin/setup +8 -0
  11. data/lib/tiendapp_validator.rb +31 -0
  12. data/lib/tiendapp_validator/auxiliar_methods.rb +75 -0
  13. data/lib/tiendapp_validator/liquid_validators.rb +61 -0
  14. data/lib/tiendapp_validator/required_files.rb +30 -0
  15. data/lib/tiendapp_validator/schema_validators.rb +11 -0
  16. data/lib/tiendapp_validator/version.rb +3 -0
  17. data/public/store_templates/public/_blog_navigator.liquid +13 -0
  18. data/public/store_templates/public/_cart.liquid +4 -0
  19. data/public/store_templates/public/_cart_button_product.liquid +4 -0
  20. data/public/store_templates/public/_customizations.liquid +157 -0
  21. data/public/store_templates/public/_footer.liquid +77 -0
  22. data/public/store_templates/public/_header.liquid +61 -0
  23. data/public/store_templates/public/_login.liquid +26 -0
  24. data/public/store_templates/public/_navbar.liquid +139 -0
  25. data/public/store_templates/public/_navbar_submenu.liquid +11 -0
  26. data/public/store_templates/public/_product.liquid +20 -0
  27. data/public/store_templates/public/_products.liquid +30 -0
  28. data/public/store_templates/public/assets/css/bootstrap-submenu.min.css +8 -0
  29. data/public/store_templates/public/assets/css/bootstrap.min.css +6 -0
  30. data/public/store_templates/public/assets/css/bootstrap.min.css.map +1 -0
  31. data/public/store_templates/public/assets/css/progress-wizard.min.css +1 -0
  32. data/public/store_templates/public/assets/css/theme.css +1307 -0
  33. data/public/store_templates/public/assets/css/ui-notification.css +105 -0
  34. data/public/store_templates/public/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  35. data/public/store_templates/public/assets/fonts/glyphicons-halflings-regular.svg +288 -0
  36. data/public/store_templates/public/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  37. data/public/store_templates/public/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  38. data/public/store_templates/public/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  39. data/public/store_templates/public/assets/images/blog_header.jpg +0 -0
  40. data/public/store_templates/public/assets/images/email_header_logo.png +0 -0
  41. data/public/store_templates/public/assets/images/header_image_1.png +0 -0
  42. data/public/store_templates/public/assets/images/header_image_2.png +0 -0
  43. data/public/store_templates/public/assets/images/header_image_3.png +0 -0
  44. data/public/store_templates/public/assets/images/logo_navbar.png +0 -0
  45. data/public/store_templates/public/assets/js/bootstrap-submenu.min.js +7 -0
  46. data/public/store_templates/public/assets/js/bootstrap.min.js +7 -0
  47. data/public/store_templates/public/assets/js/navbar_responsive_navigation.js +28 -0
  48. data/public/store_templates/public/assets/js/npm.js +13 -0
  49. data/public/store_templates/public/assets/js/sessions.js +27 -0
  50. data/public/store_templates/public/blog.liquid +71 -0
  51. data/public/store_templates/public/checkout/address.liquid +33 -0
  52. data/public/store_templates/public/checkout/cart.liquid +108 -0
  53. data/public/store_templates/public/checkout/delivery.liquid +33 -0
  54. data/public/store_templates/public/checkout/payment.liquid +33 -0
  55. data/public/store_templates/public/config/customization_schema.json +662 -0
  56. data/public/store_templates/public/config/email_customization_schema.json +394 -0
  57. data/public/store_templates/public/home.liquid +18 -0
  58. data/public/store_templates/public/layout.liquid +28 -0
  59. data/public/store_templates/public/login/_footer.liquid +14 -0
  60. data/public/store_templates/public/login/_recover.liquid +14 -0
  61. data/public/store_templates/public/login/_sign_in.liquid +19 -0
  62. data/public/store_templates/public/login/_sign_up.liquid +30 -0
  63. data/public/store_templates/public/mailer/cancel_order.liquid +49 -0
  64. data/public/store_templates/public/mailer/confirm_order.liquid +55 -0
  65. data/public/store_templates/public/mailer/layout.liquid +831 -0
  66. data/public/store_templates/public/mailer/shipped_order.liquid +57 -0
  67. data/public/store_templates/public/order.liquid +26 -0
  68. data/public/store_templates/public/post.liquid +42 -0
  69. data/public/store_templates/public/product.liquid +106 -0
  70. data/public/store_templates/public/sidebar.liquid +2 -0
  71. data/public/store_templates/public/static_page.liquid +28 -0
  72. data/public/store_templates/public/utils/_fonts.liquid +9 -0
  73. data/public/store_templates/public/widgets/_breadcrumbs.liquid +32 -0
  74. data/public/store_templates/public/widgets/_carousel.liquid +37 -0
  75. data/public/store_templates/public/widgets/_cart.liquid +86 -0
  76. data/public/store_templates/public/widgets/_tiendapp_footer.liquid +10 -0
  77. data/tiendapp_validator-0.1.0.gem +0 -0
  78. data/tiendapp_validator-0.1.1.gem +0 -0
  79. data/tiendapp_validator-1.0.0.gem +0 -0
  80. data/tiendapp_validator.gemspec +34 -0
  81. metadata +185 -0
@@ -0,0 +1,14 @@
1
+ <form name="recover" ng-submit="recover.$valid && session.recoverPassword()" ng-disabled="session.loading" novalidate>
2
+ <div class="form-body">
3
+
4
+ <div class="form-group">
5
+ <label for="email">
6
+ Email
7
+ </label>
8
+ <input name="email" class="form-control" type="email" ng-model="session.email" ng-disabled="session.loading" required/>
9
+ </div>
10
+
11
+ </div>
12
+
13
+ {% include 'login/footer' %}
14
+ </form>
@@ -0,0 +1,19 @@
1
+ <form name="login" ng-submit="login.$valid && session.login()" ng-disabled="session.loading" novalidate>
2
+ <div class="form-body">
3
+
4
+ <div class="form-group">
5
+ <label for="email">
6
+ Email
7
+ </label>
8
+ <input name="email" class="form-control" type="email" ng-model="session.email" ng-disabled="session.loading" required/>
9
+ </div>
10
+ <div class="form-group">
11
+ <label for="password">
12
+ Contraseña
13
+ </label>
14
+ <input name="password" class="form-control" type="password" ng-model="session.password" ng-disabled="session.loading" ng-minlength="8" required/>
15
+ </div>
16
+
17
+ </div>
18
+ {% include 'login/footer' %}
19
+ </form>
@@ -0,0 +1,30 @@
1
+ <form name="signUp" ng-submit="signUp.$valid && session.signUp()" ng-disabled="session.loading" novalidate>
2
+ <div class="form-body">
3
+
4
+ <div class="form-group">
5
+ <label for="email">
6
+ Email
7
+ </label>
8
+ <input name="email" class="form-control" type="email" ng-model="session.email" ng-disabled="session.loading" required/>
9
+ <span class="error" ng-hide="signUp.email.$valid">Requerido</span>
10
+ </div>
11
+ <div class="form-group">
12
+ <label for="password">
13
+ Contraseña
14
+ </label>
15
+ <input name="password" class="form-control" type="password" ng-model="session.password" ng-disabled="session.loading" ng-minlength="8" required/>
16
+ <span class="error" ng-hide="signUp.password.$valid">Mínimo 8 letras</span>
17
+ </div>
18
+
19
+ <div class="form-group">
20
+ <label for="password_confirmation">
21
+ Confirmar Contraseña
22
+ </label>
23
+ <input name="password_confirmation" class="form-control" type="password" ng-model="session.passwordConfirmation" ng-disabled="session.loading" ng-minlength="8" compare-to="session.password" required/>
24
+ <span class="error" ng-hide="signUp.password_confirmation.$valid">Debe coincidir con la contraseña</span>
25
+ </div>
26
+
27
+ </div>
28
+
29
+ {% include 'login/footer' %}
30
+ </form>
@@ -0,0 +1,49 @@
1
+ <style>
2
+ .order_table tr:nth-child(even) {
3
+ background-color: {{"email_cancel_order_table_background_color_even" | customizable : customization.email_cancel_order_table_background_color_even, preview }};
4
+ }
5
+ .order_table tr:nth-child(even) td{
6
+ color:{{"email_cancel_order_table_text_color_even" | customizable : customization.email_cancel_order_table_text_color_even, preview }};
7
+ }
8
+ .order_table tr:nth-child(odd) {
9
+ background-color: {{"email_cancel_order_table_background_color_odd" | customizable : customization.email_cancel_order_table_background_color_odd, preview }};
10
+ }
11
+
12
+ .order_table tr:nth-child(odd) td{
13
+ color:{{"email_cancel_order_table_text_color_odd" | customizable : customization.email_cancel_order_table_text_color_odd, preview }};
14
+
15
+ }
16
+ .order_table td, .order_table tr{
17
+ border: solid {{"email_cancel_order_table_border_size" | customizable : customization.email_cancel_order_table_border_size, preview }}px {{"email_cancel_order_table_border_color" | customizable : customization.email_cancel_order_table_border_color, preview }};
18
+ padding: {{"email_cancel_order_table_padding" | customizable : customization.email_cancel_order_table_padding, preview }}px;
19
+ }
20
+
21
+ .order_table{
22
+ margin: 20px 0px;
23
+ }
24
+ .email-content-header{
25
+ margin-top: 20px;
26
+ }
27
+ </style>
28
+ <table>
29
+ <tr>
30
+ <td>
31
+ <p class="lede email-content-header">
32
+ {{"email_cancel_order_head_text" | customizable_with_variables : customization.email_cancel_order_head_text, preview, variables }}
33
+
34
+ </p>
35
+ <p>
36
+ {{"email_cancel_order_please_check" | customizable_with_variables : customization.email_cancel_order_please_check, preview, variables }}
37
+
38
+ </p>
39
+
40
+ <table class="order_table center">
41
+ {{ order_contents }}
42
+ </table>
43
+ <p>
44
+ {{"email_cancel_order_bottom_text" | customizable_with_variables : customization.email_cancel_order_bottom_text, preview, variables }}
45
+ </p>
46
+ </td>
47
+ <td class="expander"></td>
48
+ </tr>
49
+ </table>
@@ -0,0 +1,55 @@
1
+ <style>
2
+ .order_table tr:nth-child(even) {
3
+ background-color: {{"email_order_table_background_color_even" | customizable : customization.email_order_table_background_color_even, preview }};
4
+ }
5
+ .order_table tr:nth-child(even) td{
6
+ color:{{"email_order_table_text_color_even" | customizable : customization.email_order_table_text_color_even, preview }};
7
+ }
8
+ .order_table tr:nth-child(odd) {
9
+ background-color: {{"email_order_table_background_color_odd" | customizable : customization.email_order_table_background_color_odd, preview }};
10
+ }
11
+ .order_table th {
12
+ background-color: {{"email_order_table_background_color_header" | customizable : customization.email_order_table_background_color_header, preview }};
13
+ }
14
+ .order_table tr:nth-child(odd) td{
15
+ color:{{"email_order_table_text_color_odd" | customizable : customization.email_order_table_text_color_odd, preview }};
16
+
17
+ }
18
+
19
+ .order_table td, .order_table tr, .order_table th{
20
+ border: solid {{"email_order_table_border_size" | customizable : customization.email_order_table_border_size, preview }}px {{"email_order_table_border_color" | customizable : customization.email_order_table_border_color, preview }};
21
+ padding: {{"email_order_table_padding" | customizable : customization.email_order_table_padding, preview }}px;
22
+ }
23
+ .order_table th{
24
+ text-align: center;
25
+ font-size: 11pt;
26
+ }
27
+ .order_table{
28
+ margin: 20px 0px;
29
+ }
30
+ .email-content-header{
31
+ margin-top: 20px;
32
+ }
33
+ </style>
34
+ <table>
35
+ <tr>
36
+ <td>
37
+ <p class="lede email-content-header">
38
+ {{"email_order_head_text" | customizable_with_variables : customization.email_order_head_text, preview, variables }}
39
+
40
+ </p>
41
+ <p>
42
+ {{"email_order_please_check" | customizable_with_variables : customization.email_order_please_check, preview, variables }}
43
+
44
+ </p>
45
+
46
+ <table class="order_table center">
47
+ {{ order_contents }}
48
+ </table>
49
+ <p>
50
+ {{"email_order_bottom_text" | customizable_with_variables : customization.email_order_bottom_text, preview, variables }}
51
+ </p>
52
+ </td>
53
+ <td class="expander"></td>
54
+ </tr>
55
+ </table>
@@ -0,0 +1,831 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+ {% if preview %}
3
+ <html xmlns="http://www.w3.org/1999/xhtml" ng-app="tiendAppMail" ng-controller="AppController">
4
+ {% else %}
5
+ <html xmlns="http://www.w3.org/1999/xhtml">
6
+ {% endif %}
7
+ <head>
8
+ {% if preview %}
9
+ {% include 'utils/fonts' %}
10
+ {% else %}
11
+ {{customization.main_email_font | generic_font_tag}}
12
+ {% endif %}
13
+
14
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
15
+ <meta name="viewport" content="width=device-width"/>
16
+ <style>
17
+ /**********************************************
18
+ * Ink v1.0.5 - Copyright 2013 ZURB Inc *
19
+ **********************************************/
20
+
21
+ /* Client-specific Styles & Reset */
22
+
23
+ #outlook a {
24
+ padding:0;
25
+ }
26
+
27
+ body{
28
+ width:100% !important;
29
+ min-width: 100%;
30
+ -webkit-text-size-adjust:100%;
31
+ -ms-text-size-adjust:100%;
32
+ margin:0;
33
+ padding:0;
34
+ background-color: {{"email_background_color" | customizable : customization.email_background_color, preview }};
35
+
36
+
37
+
38
+ }
39
+
40
+ .ExternalClass {
41
+ width:100%;
42
+ }
43
+
44
+ .ExternalClass,
45
+ .ExternalClass p,
46
+ .ExternalClass span,
47
+ .ExternalClass font,
48
+ .ExternalClass td,
49
+ .ExternalClass div {
50
+ line-height: 100%;
51
+ }
52
+
53
+ #backgroundTable {
54
+ margin:0;
55
+ padding:0;
56
+ width:100% !important;
57
+ line-height: 100% !important;
58
+ }
59
+
60
+ img {
61
+ outline:none;
62
+ text-decoration:none;
63
+ -ms-interpolation-mode: bicubic;
64
+ width: auto;
65
+ max-width: 100%;
66
+ float: left;
67
+ clear: both;
68
+ display: block;
69
+ }
70
+
71
+ center {
72
+ width: 100%;
73
+ min-width: 580px;
74
+ }
75
+
76
+ a img {
77
+ border: none;
78
+ }
79
+
80
+ p {
81
+ margin: 0 0 0 10px;
82
+ }
83
+
84
+ table {
85
+ border-spacing: 0;
86
+ border-collapse: collapse;
87
+ }
88
+
89
+ td {
90
+ word-break: break-word;
91
+ -webkit-hyphens: auto;
92
+ -moz-hyphens: auto;
93
+ hyphens: auto;
94
+ border-collapse: collapse !important;
95
+ }
96
+
97
+ table, tr, td {
98
+ padding: 0;
99
+ vertical-align: top;
100
+ text-align: left;
101
+ }
102
+
103
+ hr {
104
+ color: #d9d9d9;
105
+ background-color: #d9d9d9;
106
+ height: 1px;
107
+ border: none;
108
+ }
109
+
110
+ /* Responsive Grid */
111
+
112
+ table.body {
113
+ height: 100%;
114
+ width: 100%;
115
+ }
116
+
117
+ table.container {
118
+ width: 580px;
119
+ margin: 0 auto;
120
+ text-align: inherit;
121
+ }
122
+
123
+ table.row {
124
+ padding: 0px;
125
+ width: 100%;
126
+ position: relative;
127
+ }
128
+
129
+ table.container table.row {
130
+ display: block;
131
+ }
132
+
133
+ td.wrapper {
134
+ padding: 10px 20px 0px 0px;
135
+ position: relative;
136
+ }
137
+
138
+ table.columns,
139
+ table.column {
140
+ margin: 0 auto;
141
+ }
142
+
143
+ table.columns td,
144
+ table.column td {
145
+ padding: 0px 0px 10px;
146
+ }
147
+
148
+ table.columns td.sub-columns,
149
+ table.column td.sub-columns,
150
+ table.columns td.sub-column,
151
+ table.column td.sub-column {
152
+ padding-right: 10px;
153
+ }
154
+
155
+ td.sub-column, td.sub-columns {
156
+ min-width: 0px;
157
+ }
158
+
159
+ table.row td.last,
160
+ table.container td.last {
161
+ padding-right: 0px;
162
+ }
163
+
164
+ table.one { width: 30px; }
165
+ table.two { width: 80px; }
166
+ table.three { width: 130px; }
167
+ table.four { width: 180px; }
168
+ table.five { width: 230px; }
169
+ table.six { width: 280px; }
170
+ table.seven { width: 330px; }
171
+ table.eight { width: 380px; }
172
+ table.nine { width: 430px; }
173
+ table.ten { width: 480px; }
174
+ table.eleven { width: 530px; }
175
+ table.twelve { width: 580px; }
176
+
177
+ table.one center { min-width: 30px; }
178
+ table.two center { min-width: 80px; }
179
+ table.three center { min-width: 130px; }
180
+ table.four center { min-width: 180px; }
181
+ table.five center { min-width: 230px; }
182
+ table.six center { min-width: 280px; }
183
+ table.seven center { min-width: 330px; }
184
+ table.eight center { min-width: 380px; }
185
+ table.nine center { min-width: 430px; }
186
+ table.ten center { min-width: 480px; }
187
+ table.eleven center { min-width: 530px; }
188
+ table.twelve center { min-width: 580px; }
189
+
190
+ table.one .panel center { min-width: 10px; }
191
+ table.two .panel center { min-width: 60px; }
192
+ table.three .panel center { min-width: 110px; }
193
+ table.four .panel center { min-width: 160px; }
194
+ table.five .panel center { min-width: 210px; }
195
+ table.six .panel center { min-width: 260px; }
196
+ table.seven .panel center { min-width: 310px; }
197
+ table.eight .panel center { min-width: 360px; }
198
+ table.nine .panel center { min-width: 410px; }
199
+ table.ten .panel center { min-width: 460px; }
200
+ table.eleven .panel center { min-width: 510px; }
201
+ table.twelve .panel center { min-width: 560px; }
202
+
203
+ .body .columns td.one,
204
+ .body .column td.one { width: 8.333333%; }
205
+ .body .columns td.two,
206
+ .body .column td.two { width: 16.666666%; }
207
+ .body .columns td.three,
208
+ .body .column td.three { width: 25%; }
209
+ .body .columns td.four,
210
+ .body .column td.four { width: 33.333333%; }
211
+ .body .columns td.five,
212
+ .body .column td.five { width: 41.666666%; }
213
+ .body .columns td.six,
214
+ .body .column td.six { width: 50%; }
215
+ .body .columns td.seven,
216
+ .body .column td.seven { width: 58.333333%; }
217
+ .body .columns td.eight,
218
+ .body .column td.eight { width: 66.666666%; }
219
+ .body .columns td.nine,
220
+ .body .column td.nine { width: 75%; }
221
+ .body .columns td.ten,
222
+ .body .column td.ten { width: 83.333333%; }
223
+ .body .columns td.eleven,
224
+ .body .column td.eleven { width: 91.666666%; }
225
+ .body .columns td.twelve,
226
+ .body .column td.twelve { width: 100%; }
227
+
228
+ td.offset-by-one { padding-left: 50px; }
229
+ td.offset-by-two { padding-left: 100px; }
230
+ td.offset-by-three { padding-left: 150px; }
231
+ td.offset-by-four { padding-left: 200px; }
232
+ td.offset-by-five { padding-left: 250px; }
233
+ td.offset-by-six { padding-left: 300px; }
234
+ td.offset-by-seven { padding-left: 350px; }
235
+ td.offset-by-eight { padding-left: 400px; }
236
+ td.offset-by-nine { padding-left: 450px; }
237
+ td.offset-by-ten { padding-left: 500px; }
238
+ td.offset-by-eleven { padding-left: 550px; }
239
+
240
+ td.expander {
241
+ visibility: hidden;
242
+ width: 0px;
243
+ padding: 0 !important;
244
+ }
245
+
246
+ table.columns .text-pad,
247
+ table.column .text-pad {
248
+ padding-left: 10px;
249
+ padding-right: 10px;
250
+ }
251
+
252
+ table.columns .left-text-pad,
253
+ table.columns .text-pad-left,
254
+ table.column .left-text-pad,
255
+ table.column .text-pad-left {
256
+ padding-left: 10px;
257
+ }
258
+
259
+ table.columns .right-text-pad,
260
+ table.columns .text-pad-right,
261
+ table.column .right-text-pad,
262
+ table.column .text-pad-right {
263
+ padding-right: 10px;
264
+ }
265
+
266
+ /* Block Grid */
267
+
268
+ .block-grid {
269
+ width: 100%;
270
+ max-width: 580px;
271
+ }
272
+
273
+ .block-grid td {
274
+ display: inline-block;
275
+ padding:10px;
276
+ }
277
+
278
+ .two-up td {
279
+ width:270px;
280
+ }
281
+
282
+ .three-up td {
283
+ width:173px;
284
+ }
285
+
286
+ .four-up td {
287
+ width:125px;
288
+ }
289
+
290
+ .five-up td {
291
+ width:96px;
292
+ }
293
+
294
+ .six-up td {
295
+ width:76px;
296
+ }
297
+
298
+ .seven-up td {
299
+ width:62px;
300
+ }
301
+
302
+ .eight-up td {
303
+ width:52px;
304
+ }
305
+
306
+ /* Alignment & Visibility Classes */
307
+
308
+ table.center, td.center {
309
+ text-align: center;
310
+ }
311
+
312
+ h1.center,
313
+ h2.center,
314
+ h3.center,
315
+ h4.center,
316
+ h5.center,
317
+ h6.center {
318
+ text-align: center;
319
+ }
320
+
321
+ span.center {
322
+ display: block;
323
+ width: 100%;
324
+ text-align: center;
325
+ }
326
+
327
+ img.center {
328
+ margin: 0 auto;
329
+ float: none;
330
+ }
331
+
332
+ .show-for-small,
333
+ .hide-for-desktop {
334
+ display: none;
335
+ }
336
+
337
+ /* Typography */
338
+
339
+ body, table.body, h1, h2, h3, h4, h5, h6, p, td {
340
+ color: {{"email_text_color" | customizable : customization.email_text_color, preview}};
341
+ font-family: {{"main_email_font" | customizable : customization.main_email_font, preview }};
342
+ font-weight: normal;
343
+ padding:0;
344
+ margin: 0;
345
+ text-align: left;
346
+ line-height: 1.3;
347
+ }
348
+
349
+ h1, h2, h3, h4, h5, h6 {
350
+ word-break: normal;
351
+ }
352
+
353
+ h1 {font-size: 40px;}
354
+ h2 {font-size: 36px;}
355
+ h3 {font-size: 32px;}
356
+ h4 {font-size: 28px;}
357
+ h5 {font-size: 24px;}
358
+ h6 {font-size: 20px;}
359
+ body, table.body, p, td {font-size: 14px;line-height:19px;}
360
+
361
+ p.lead, p.lede, p.leed {
362
+ font-size: 18px;
363
+ line-height:21px;
364
+ }
365
+
366
+ p {
367
+ margin-bottom: 10px;
368
+ }
369
+
370
+ small {
371
+ font-size: 10px;
372
+ }
373
+
374
+ a {
375
+ color: #2ba6cb;
376
+ text-decoration: none;
377
+ }
378
+
379
+ a:hover {
380
+ color: #2795b6 !important;
381
+ }
382
+
383
+ a:active {
384
+ color: #2795b6 !important;
385
+ }
386
+
387
+ a:visited {
388
+ color: #2ba6cb !important;
389
+ }
390
+
391
+ h1 a,
392
+ h2 a,
393
+ h3 a,
394
+ h4 a,
395
+ h5 a,
396
+ h6 a {
397
+ color: #2ba6cb;
398
+ }
399
+
400
+ h1 a:active,
401
+ h2 a:active,
402
+ h3 a:active,
403
+ h4 a:active,
404
+ h5 a:active,
405
+ h6 a:active {
406
+ color: #2ba6cb !important;
407
+ }
408
+
409
+ h1 a:visited,
410
+ h2 a:visited,
411
+ h3 a:visited,
412
+ h4 a:visited,
413
+ h5 a:visited,
414
+ h6 a:visited {
415
+ color: #2ba6cb !important;
416
+ }
417
+
418
+ /* Panels */
419
+
420
+ .panel {
421
+ background: #f2f2f2;
422
+ border: 1px solid #d9d9d9;
423
+ padding: 10px !important;
424
+ }
425
+
426
+ .sub-grid table {
427
+ width: 100%;
428
+ }
429
+
430
+ .sub-grid td.sub-columns {
431
+ padding-bottom: 0;
432
+ }
433
+
434
+ /* Buttons */
435
+
436
+ table.button,
437
+ table.tiny-button,
438
+ table.small-button,
439
+ table.medium-button,
440
+ table.large-button {
441
+ width: 100%;
442
+ overflow: hidden;
443
+ }
444
+
445
+ table.button td,
446
+ table.tiny-button td,
447
+ table.small-button td,
448
+ table.medium-button td,
449
+ table.large-button td {
450
+ display: block;
451
+ width: auto !important;
452
+ text-align: center;
453
+ background: #2ba6cb;
454
+ border: 1px solid #2284a1;
455
+ color: #ffffff;
456
+ padding: 8px 0;
457
+ }
458
+
459
+ table.tiny-button td {
460
+ padding: 5px 0 4px;
461
+ }
462
+
463
+ table.small-button td {
464
+ padding: 8px 0 7px;
465
+ }
466
+
467
+ table.medium-button td {
468
+ padding: 12px 0 10px;
469
+ }
470
+
471
+ table.large-button td {
472
+ padding: 21px 0 18px;
473
+ }
474
+
475
+ table.button td a,
476
+ table.tiny-button td a,
477
+ table.small-button td a,
478
+ table.medium-button td a,
479
+ table.large-button td a {
480
+ font-weight: bold;
481
+ text-decoration: none;
482
+ font-family: Helvetica, Arial, sans-serif;
483
+ color: #ffffff;
484
+ font-size: 16px;
485
+ }
486
+
487
+ table.tiny-button td a {
488
+ font-size: 12px;
489
+ font-weight: normal;
490
+ }
491
+
492
+ table.small-button td a {
493
+ font-size: 16px;
494
+ }
495
+
496
+ table.medium-button td a {
497
+ font-size: 20px;
498
+ }
499
+
500
+ table.large-button td a {
501
+ font-size: 24px;
502
+ }
503
+
504
+ table.button:hover td,
505
+ table.button:visited td,
506
+ table.button:active td {
507
+ background: #2795b6 !important;
508
+ }
509
+
510
+ table.button:hover td a,
511
+ table.button:visited td a,
512
+ table.button:active td a {
513
+ color: #fff !important;
514
+ }
515
+
516
+ table.button:hover td,
517
+ table.tiny-button:hover td,
518
+ table.small-button:hover td,
519
+ table.medium-button:hover td,
520
+ table.large-button:hover td {
521
+ background: #2795b6 !important;
522
+ }
523
+
524
+ table.button:hover td a,
525
+ table.button:active td a,
526
+ table.button td a:visited,
527
+ table.tiny-button:hover td a,
528
+ table.tiny-button:active td a,
529
+ table.tiny-button td a:visited,
530
+ table.small-button:hover td a,
531
+ table.small-button:active td a,
532
+ table.small-button td a:visited,
533
+ table.medium-button:hover td a,
534
+ table.medium-button:active td a,
535
+ table.medium-button td a:visited,
536
+ table.large-button:hover td a,
537
+ table.large-button:active td a,
538
+ table.large-button td a:visited {
539
+ color: #ffffff !important;
540
+ }
541
+
542
+ table.secondary td {
543
+ background: #e9e9e9;
544
+ border-color: #d0d0d0;
545
+ color: #555;
546
+ }
547
+
548
+ table.secondary td a {
549
+ color: #555;
550
+ }
551
+
552
+ table.secondary:hover td {
553
+ background: #d0d0d0 !important;
554
+ color: #555;
555
+ }
556
+
557
+ table.secondary:hover td a,
558
+ table.secondary td a:visited,
559
+ table.secondary:active td a {
560
+ color: #555 !important;
561
+ }
562
+
563
+ table.success td {
564
+ background: #5da423;
565
+ border-color: #457a1a;
566
+ }
567
+
568
+ table.success:hover td {
569
+ background: #457a1a !important;
570
+ }
571
+
572
+ table.alert td {
573
+ background: #c60f13;
574
+ border-color: #970b0e;
575
+ }
576
+
577
+ table.alert:hover td {
578
+ background: #970b0e !important;
579
+ }
580
+
581
+ table.radius td {
582
+ -webkit-border-radius: 3px;
583
+ -moz-border-radius: 3px;
584
+ border-radius: 3px;
585
+ }
586
+
587
+ table.round td {
588
+ -webkit-border-radius: 500px;
589
+ -moz-border-radius: 500px;
590
+ border-radius: 500px;
591
+ }
592
+
593
+ /* Outlook First */
594
+
595
+ body.outlook p {
596
+ display: inline !important;
597
+ }
598
+
599
+ /* Media Queries */
600
+
601
+ @media only screen and (max-width: 600px) {
602
+
603
+ table[class="body"] img {
604
+ width: auto !important;
605
+ height: auto !important;
606
+ }
607
+
608
+ table[class="body"] center {
609
+ min-width: 0 !important;
610
+ }
611
+
612
+ table[class="body"] .container {
613
+ width: 95% !important;
614
+ }
615
+
616
+ table[class="body"] .row {
617
+ width: 100% !important;
618
+ display: block !important;
619
+ }
620
+
621
+ table[class="body"] .wrapper {
622
+ display: block !important;
623
+ padding-right: 0 !important;
624
+ }
625
+
626
+ table[class="body"] .columns,
627
+ table[class="body"] .column {
628
+ table-layout: fixed !important;
629
+ float: none !important;
630
+ width: 100% !important;
631
+ padding-right: 0px !important;
632
+ padding-left: 0px !important;
633
+ display: block !important;
634
+ }
635
+
636
+ table[class="body"] .wrapper.first .columns,
637
+ table[class="body"] .wrapper.first .column {
638
+ display: table !important;
639
+ }
640
+
641
+ table[class="body"] table.columns td,
642
+ table[class="body"] table.column td {
643
+ width: 100% !important;
644
+ }
645
+
646
+ table[class="body"] .columns td.one,
647
+ table[class="body"] .column td.one { width: 8.333333% !important; }
648
+ table[class="body"] .columns td.two,
649
+ table[class="body"] .column td.two { width: 16.666666% !important; }
650
+ table[class="body"] .columns td.three,
651
+ table[class="body"] .column td.three { width: 25% !important; }
652
+ table[class="body"] .columns td.four,
653
+ table[class="body"] .column td.four { width: 33.333333% !important; }
654
+ table[class="body"] .columns td.five,
655
+ table[class="body"] .column td.five { width: 41.666666% !important; }
656
+ table[class="body"] .columns td.six,
657
+ table[class="body"] .column td.six { width: 50% !important; }
658
+ table[class="body"] .columns td.seven,
659
+ table[class="body"] .column td.seven { width: 58.333333% !important; }
660
+ table[class="body"] .columns td.eight,
661
+ table[class="body"] .column td.eight { width: 66.666666% !important; }
662
+ table[class="body"] .columns td.nine,
663
+ table[class="body"] .column td.nine { width: 75% !important; }
664
+ table[class="body"] .columns td.ten,
665
+ table[class="body"] .column td.ten { width: 83.333333% !important; }
666
+ table[class="body"] .columns td.eleven,
667
+ table[class="body"] .column td.eleven { width: 91.666666% !important; }
668
+ table[class="body"] .columns td.twelve,
669
+ table[class="body"] .column td.twelve { width: 100% !important; }
670
+
671
+ table[class="body"] td.offset-by-one,
672
+ table[class="body"] td.offset-by-two,
673
+ table[class="body"] td.offset-by-three,
674
+ table[class="body"] td.offset-by-four,
675
+ table[class="body"] td.offset-by-five,
676
+ table[class="body"] td.offset-by-six,
677
+ table[class="body"] td.offset-by-seven,
678
+ table[class="body"] td.offset-by-eight,
679
+ table[class="body"] td.offset-by-nine,
680
+ table[class="body"] td.offset-by-ten,
681
+ table[class="body"] td.offset-by-eleven {
682
+ padding-left: 0 !important;
683
+ }
684
+
685
+ table[class="body"] table.columns td.expander {
686
+ width: 1px !important;
687
+ }
688
+
689
+ table[class="body"] .right-text-pad,
690
+ table[class="body"] .text-pad-right {
691
+ padding-left: 10px !important;
692
+ }
693
+
694
+ table[class="body"] .left-text-pad,
695
+ table[class="body"] .text-pad-left {
696
+ padding-right: 10px !important;
697
+ }
698
+
699
+ table[class="body"] .hide-for-small,
700
+ table[class="body"] .show-for-desktop {
701
+ display: none !important;
702
+ }
703
+
704
+ table[class="body"] .show-for-small,
705
+ table[class="body"] .hide-for-desktop {
706
+ display: inherit !important;
707
+ }
708
+ }
709
+
710
+ </style>
711
+ <style>
712
+
713
+ .template-label {
714
+ font-weight: bold;
715
+ font-size: 11px;
716
+ }
717
+
718
+ .callout .wrapper {
719
+ padding-bottom: 20px;
720
+ }
721
+
722
+ .callout .panel {
723
+ background: #ECF8FF;
724
+ border-color: #b9e5ff;
725
+ }
726
+
727
+ .header {
728
+ background: #fff;
729
+ }
730
+
731
+ .footer .wrapper {
732
+ background: #ebebeb;
733
+ }
734
+
735
+ .footer h5 {
736
+ padding-bottom: 10px;
737
+ }
738
+
739
+ table.columns .text-pad {
740
+ padding-left: 10px;
741
+ padding-right: 10px;
742
+ }
743
+
744
+ table.columns .left-text-pad {
745
+ padding-left: 10px;
746
+ }
747
+
748
+ table.columns .right-text-pad {
749
+ padding-right: 10px;
750
+ }
751
+
752
+ @media only screen and (max-width: 600px) {
753
+
754
+ table[class="body"] .right-text-pad {
755
+ padding-left: 10px !important;
756
+ }
757
+
758
+ table[class="body"] .left-text-pad {
759
+ padding-right: 10px !important;
760
+ }
761
+ }
762
+
763
+ </style>
764
+ <style>
765
+ /*Template styles*/
766
+ .header, .header table.body, .header h1, .header h2, .header h3, .header h4, .header h5, .header h6, .header p, .header td
767
+ {
768
+ background-color: {{"email_header_background_color" | customizable : customization.email_header_background_color, preview}};
769
+ color: {{"email_header_color" | customizable : customization.email_header_color, preview}};
770
+ font-family: {{"email_header_font" | customizable : customization.email_header_font, preview }};
771
+ font-size: {{"email_header_font_size" | customizable : customization.email_header_font_size, preview }}pt;
772
+ }
773
+ .header .middle-align{
774
+ padding: 0px;
775
+ vertical-align: middle;
776
+ }
777
+ .padding-10{
778
+ padding: 10px;
779
+ }
780
+ </style>
781
+ </head>
782
+ <body>
783
+ <table class="body">
784
+ <tr>
785
+ <td class="center" align="center" valign="top">
786
+ <center>
787
+ <table class="row header"> <!-- Styles go on the row -->
788
+ <tr>
789
+ <td class="center" align="center"> <!-- Center the container -->
790
+ <center>
791
+ <table class="container"> <!-- Container restricts the content width -->
792
+ <tr>
793
+ <td class="wrapper "> <!-- Wrapper stays on the inner table -->
794
+ <table class="three columns">
795
+ <tr>
796
+ <td>
797
+ {{'email_header_logo' | customizable_image : customization.email_header_logo, preview, 'Logo'}}
798
+
799
+ </td>
800
+ <td class="expander"></td>
801
+ </tr>
802
+ </table>
803
+ </td>
804
+ <td class="wrapper last middle-align"> <!-- Wrapper stays on the inner table -->
805
+ <table class="nine columns">
806
+ <tr>
807
+ <td>
808
+ <h4>
809
+ {{"email_header_text" | customizable_with_variables : customization.email_header_text, preview, variables }}
810
+ </h4>
811
+ </td>
812
+ <td class="expander"></td>
813
+ </tr>
814
+ </table>
815
+ </td>
816
+ </tr>
817
+ </table>
818
+ </center>
819
+ </td>
820
+ </tr>
821
+ </table>
822
+ <table>
823
+ {{content_for_layout}}
824
+ </table>
825
+
826
+ </center>
827
+ </td>
828
+ </tr>
829
+ </table>
830
+ </body>
831
+ </html>