HubSpot – Free Marketing Plugin for WordPress - Version 0.10.0

Version Description

(2014.06.03) = - Bug fixes - Fixed original referrer in contact timeline - Fixed unncessary queries on contact timeline - Only run the update check if the version number is different than the saved number - Remove "fakepath" from file path text in uploaded file input types

Download this release

Release Info

Developer AndyGCook
Plugin Icon 128x128 HubSpot – Free Marketing Plugin for WordPress
Version 0.10.0
Comparing to
See all releases

Code changes from version 0.9.3 to 0.10.0

Files changed (56) hide show
  1. admin/css/leadin-admin.css +0 -733
  2. admin/inc/class-leadin-contact.php +22 -15
  3. admin/inc/class-leadin-list-table.php +46 -34
  4. admin/leadin-admin.php +6 -1
  5. admin/sass/config.rb +0 -30
  6. assets/css/build/leadin-admin.css +3 -0
  7. assets/css/build/leadin-lead-notifcation.css +1 -0
  8. assets/css/build/leadin-subscribe.css +1 -0
  9. assets/css/ink.css +694 -0
  10. assets/emails/build/lead-notification-inlined.html +221 -0
  11. assets/emails/lead-notification.html +221 -0
  12. {admin/js → assets/js/admin}/jquery.lazyload.min.js +0 -0
  13. {admin/js → assets/js/admin}/leadin-admin.js +0 -0
  14. {power-ups/contacts/admin/js → assets/js/admin}/leadin-contacts-admin.js +0 -0
  15. assets/js/build/leadin-admin.js +87 -0
  16. assets/js/build/leadin-admin.min.js +1 -0
  17. assets/js/build/leadin-subscribe.js +471 -0
  18. assets/js/build/leadin-subscribe.min.js +1 -0
  19. assets/js/build/leadin-tracking.js +590 -0
  20. assets/js/build/leadin-tracking.min.js +1 -0
  21. {power-ups/subscribe-widget/frontend/js → assets/js/subscribe}/leadin-subscribe.js +27 -7
  22. {power-ups/subscribe-widget/frontend/js → assets/js/subscribe}/vex.dialog.js +0 -0
  23. {power-ups/subscribe-widget/frontend/js → assets/js/subscribe}/vex.js +0 -0
  24. {frontend/js → assets/js/tracking}/jquery.cookie.js +0 -0
  25. {frontend/js → assets/js/tracking}/leadin.js +27 -3
  26. {admin/sass → assets/sass/admin}/_contact_detail_page.sass +16 -9
  27. {admin/sass → assets/sass/admin}/_contacts_list_page.sass +1 -2
  28. {admin/sass → assets/sass/admin}/_grid.sass +0 -0
  29. {admin/sass → assets/sass/admin}/_metabox.sass +0 -0
  30. {admin/sass → assets/sass/admin}/_powerups_page.sass +0 -0
  31. {admin/sass → assets/sass/admin}/_settings_page.sass +0 -0
  32. {admin/sass → assets/sass/admin}/_tables.sass +0 -0
  33. {admin/sass → assets/sass/admin}/_variables.sass +0 -0
  34. {admin → assets}/sass/leadin-admin.sass +8 -8
  35. assets/sass/leadin-lead-notifcation.sass +63 -0
  36. assets/sass/leadin-subscribe.sass +1 -0
  37. {power-ups/subscribe-widget/frontend/sass → assets/sass/subscribe}/_keyframes.sass +0 -0
  38. {power-ups/subscribe-widget/frontend/sass → assets/sass/subscribe}/_mixins.sass +0 -0
  39. {power-ups/subscribe-widget/frontend/sass → assets/sass/subscribe}/_vex-theme-bottom-right-corner.sass +0 -0
  40. {power-ups/subscribe-widget/frontend/sass → assets/sass/subscribe}/_vex-theme-default.sass +3 -1
  41. {power-ups/subscribe-widget/frontend/sass → assets/sass/subscribe}/_vex-theme-top.sass +0 -0
  42. power-ups/subscribe-widget/frontend/sass/vex.sass → assets/sass/subscribe/_vex.sass +4 -2
  43. inc/class-emailer-new.php +160 -0
  44. inc/class-emailer.php +0 -1
  45. inc/leadin-ajax-functions.php +19 -7
  46. inc/leadin-functions.php +27 -0
  47. leadin.php +13 -14
  48. power-ups/beta-program/admin/beta-program-admin.php +1 -1
  49. power-ups/constant-contact-list-sync/admin/constant-contact-list-sync-admin.php +2 -2
  50. power-ups/contacts/admin/contacts-admin.php +49 -46
  51. power-ups/contacts/admin/css/leadin-contacts-admin.css +0 -12
  52. power-ups/subscribe-widget.php +3 -8
  53. power-ups/subscribe-widget/admin/subscribe-widget-admin.php +25 -0
  54. power-ups/subscribe-widget/frontend/css/vex.css +0 -2230
  55. power-ups/subscribe-widget/frontend/sass/config.rb +0 -30
  56. readme.txt +19 -3
admin/css/leadin-admin.css DELETED
@@ -1,733 +0,0 @@
1
- /* line 12, ../sass/_grid.sass */
2
- #leadin {
3
- *zoom: 1;
4
- max-width: 1180px;
5
- max-width: 73.75rem;
6
- _width: 1180px;
7
- padding-left: 20px;
8
- padding-left: 1.25rem;
9
- padding-right: 20px;
10
- padding-right: 1.25rem;
11
- margin-left: auto;
12
- margin-right: auto;
13
- margin: 10px 0 0;
14
- padding: 0;
15
- }
16
- /* line 38, ../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-core-1.0.0.alpha.19/stylesheets/compass/utilities/general/_clearfix.scss */
17
- #leadin:after {
18
- content: "";
19
- display: table;
20
- clear: both;
21
- }
22
- @media (min-width: 782px) {
23
- /* line 12, ../sass/_grid.sass */
24
- #leadin {
25
- *zoom: 1;
26
- max-width: 1180px;
27
- max-width: 73.75rem;
28
- padding-left: 20px;
29
- padding-left: 1.25rem;
30
- padding-right: 20px;
31
- padding-right: 1.25rem;
32
- margin-left: auto;
33
- margin-right: auto;
34
- }
35
- /* line 38, ../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-core-1.0.0.alpha.19/stylesheets/compass/utilities/general/_clearfix.scss */
36
- #leadin:after {
37
- content: "";
38
- display: table;
39
- clear: both;
40
- }
41
- }
42
- /* line 17, ../sass/_grid.sass */
43
- #leadin * {
44
- box-sizing: border-box;
45
- }
46
- @media (min-width: 782px) {
47
- /* line 12, ../sass/_grid.sass */
48
- #leadin {
49
- margin: 10px 0 0;
50
- padding: 0;
51
- }
52
- }
53
-
54
- /* line 6, ../sass/_tables.sass */
55
- #leadin .top_table_controls {
56
- border-bottom: 2px solid #dedede;
57
- margin: 0 0 18px 0;
58
- margin-bottom: 16px;
59
- *zoom: 1;
60
- }
61
- /* line 38, ../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-core-1.0.0.alpha.19/stylesheets/compass/utilities/general/_clearfix.scss */
62
- #leadin .top_table_controls:after {
63
- content: "";
64
- display: table;
65
- clear: both;
66
- }
67
- /* line 12, ../sass/_tables.sass */
68
- #leadin .table_segment_picker {
69
- float: left;
70
- margin: 0;
71
- }
72
- /* line 16, ../sass/_tables.sass */
73
- #leadin .table_segment_picker li {
74
- display: inline-block;
75
- margin: 0;
76
- }
77
- /* line 20, ../sass/_tables.sass */
78
- #leadin .table_segment_picker li + li {
79
- margin-left: 2em;
80
- }
81
- /* line 22, ../sass/_tables.sass */
82
- #leadin .table_segment_picker li a {
83
- display: block;
84
- padding: 12px 0;
85
- line-height: 24px;
86
- font-weight: 300;
87
- font-size: 16px;
88
- text-decoration: none;
89
- }
90
- @media (min-width: 782px) {
91
- /* line 22, ../sass/_tables.sass */
92
- #leadin .table_segment_picker li a {
93
- font-size: 20px;
94
- }
95
- }
96
- /* line 33, ../sass/_tables.sass */
97
- #leadin .table_segment_picker li a.current {
98
- margin-bottom: -2px;
99
- font-weight: 400;
100
- border-bottom: 2px solid #f66000;
101
- }
102
- /* line 38, ../sass/_tables.sass */
103
- #leadin .table_segment_picker li a.current, #leadin .table_segment_picker li a:hover, #leadin .table_segment_picker li a:active {
104
- color: #f66000;
105
- }
106
- /* line 41, ../sass/_tables.sass */
107
- #leadin .table_search {
108
- float: right;
109
- padding: 10px 0;
110
- padding-bottom: 9px;
111
- }
112
- /* line 47, ../sass/_tables.sass */
113
- #leadin table .leadin-contact-avatar {
114
- float: left;
115
- }
116
- /* line 50, ../sass/_tables.sass */
117
- #leadin table th, #leadin table td {
118
- display: none;
119
- }
120
- /* line 53, ../sass/_tables.sass */
121
- #leadin table th:nth-child(-n+3), #leadin table td:nth-child(-n+3) {
122
- display: table-cell;
123
- }
124
- @media (min-width: 782px) {
125
- /* line 50, ../sass/_tables.sass */
126
- #leadin table th, #leadin table td {
127
- display: table-cell;
128
- }
129
- }
130
- /* line 60, ../sass/_tables.sass */
131
- #leadin.pre-mp6 .table_search {
132
- float: right;
133
- padding: 12px 0;
134
- padding-bottom: 11px;
135
- }
136
- /* line 65, ../sass/_tables.sass */
137
- #leadin.pre-mp6 table {
138
- background-color: white;
139
- border-color: #dedede;
140
- }
141
- /* line 71, ../sass/_tables.sass */
142
- #leadin.pre-mp6 table tr.alternate {
143
- background-color: white;
144
- }
145
- /* line 74, ../sass/_tables.sass */
146
- #leadin.pre-mp6 table th, #leadin.pre-mp6 table td {
147
- border-top: 0;
148
- padding: 12px 6px 11px;
149
- }
150
- /* line 78, ../sass/_tables.sass */
151
- #leadin.pre-mp6 table th a, #leadin.pre-mp6 table td a {
152
- padding: 0;
153
- }
154
- /* line 81, ../sass/_tables.sass */
155
- #leadin.pre-mp6 table th[scope="col"] {
156
- background: #eeeeee;
157
- font-family: sans-serif;
158
- font-size: 12px;
159
- text-shadow: none;
160
- }
161
- /* line 87, ../sass/_tables.sass */
162
- #leadin.pre-mp6 table td {
163
- border-color: #dedede;
164
- line-height: 18px;
165
- font-size: 14px;
166
- }
167
- /* line 92, ../sass/_tables.sass */
168
- #leadin.pre-mp6 table td .row-actions {
169
- float: left;
170
- }
171
-
172
- /* line 9, ../sass/leadin-admin.sass */
173
- #leadin {
174
- padding-right: 20px;
175
- }
176
- @media screen and (min-width: 500px) {
177
- /* line 9, ../sass/leadin-admin.sass */
178
- #leadin {
179
- padding-right: 10px;
180
- }
181
- }
182
- /* line 15, ../sass/leadin-admin.sass */
183
- #leadin label {
184
- cursor: default;
185
- }
186
- /* line 18, ../sass/leadin-admin.sass */
187
- #leadin .col-wrap {
188
- padding: 0 14px 0 0;
189
- }
190
- /* line 21, ../sass/leadin-admin.sass */
191
- #leadin .metabox-holder {
192
- *zoom: 1;
193
- }
194
- /* line 38, ../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-core-1.0.0.alpha.19/stylesheets/compass/utilities/general/_clearfix.scss */
195
- #leadin .metabox-holder:after {
196
- content: "";
197
- display: table;
198
- clear: both;
199
- }
200
- /* line 24, ../sass/leadin-admin.sass */
201
- #leadin #leadin-footer {
202
- *zoom: 1;
203
- clear: both;
204
- margin-top: 48px;
205
- color: #999999;
206
- border-top: 1px solid #dedede;
207
- }
208
- /* line 38, ../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-core-1.0.0.alpha.19/stylesheets/compass/utilities/general/_clearfix.scss */
209
- #leadin #leadin-footer:after {
210
- content: "";
211
- display: table;
212
- clear: both;
213
- }
214
- /* line 31, ../sass/leadin-admin.sass */
215
- #leadin #leadin-footer .support .sharing {
216
- height: 18px;
217
- text-align: left;
218
- }
219
- @media screen and (min-width: 500px) {
220
- /* line 36, ../sass/leadin-admin.sass */
221
- #leadin #leadin-footer .support, #leadin #leadin-footer .version, #leadin #leadin-footer .sharing {
222
- width: 50%;
223
- float: left;
224
- }
225
- /* line 40, ../sass/leadin-admin.sass */
226
- #leadin #leadin-footer .sharing {
227
- text-align: right;
228
- }
229
- }
230
-
231
- /* line 45, ../sass/leadin-admin.sass */
232
- #wp-admin-bar-leadin-admin-menu img {
233
- height: 16px;
234
- width: 16px;
235
- opacity: 0.6;
236
- }
237
-
238
- /* line 50, ../sass/leadin-admin.sass */
239
- .leadin-dynamic-avatar_0 {
240
- background-color: #f88e4b;
241
- }
242
-
243
- /* line 53, ../sass/leadin-admin.sass */
244
- .leadin-dynamic-avatar_1 {
245
- background-color: #64aada;
246
- }
247
-
248
- /* line 56, ../sass/leadin-admin.sass */
249
- .leadin-dynamic-avatar_2 {
250
- background-color: #64c2b6;
251
- }
252
-
253
- /* line 59, ../sass/leadin-admin.sass */
254
- .leadin-dynamic-avatar_3 {
255
- background-color: #cf7baa;
256
- }
257
-
258
- /* line 62, ../sass/leadin-admin.sass */
259
- .leadin-dynamic-avatar_4 {
260
- background-color: #e7c24b;
261
- }
262
-
263
- /* line 65, ../sass/leadin-admin.sass */
264
- .leadin-dynamic-avatar_5 {
265
- background-color: #9387da;
266
- }
267
-
268
- /* line 68, ../sass/leadin-admin.sass */
269
- .leadin-dynamic-avatar_6 {
270
- background-color: #d6dd99;
271
- }
272
-
273
- /* line 71, ../sass/leadin-admin.sass */
274
- .leadin-dynamic-avatar_7 {
275
- background-color: #ff4c4c;
276
- }
277
-
278
- /* line 74, ../sass/leadin-admin.sass */
279
- .leadin-dynamic-avatar_8 {
280
- background-color: #99583d;
281
- }
282
-
283
- /* line 77, ../sass/leadin-admin.sass */
284
- .leadin-dynamic-avatar_9 {
285
- background-color: #54cc14;
286
- }
287
-
288
- /* line 2, ../sass/_settings_page.sass */
289
- .li-settings h3 {
290
- border-left: 1px solid #e5e5e5;
291
- border-right: 1px solid #e5e5e5;
292
- border-top: 1px solid #e5e5e5;
293
- border-bottom: 1px solid #e5e5e5;
294
- margin-bottom: 0px;
295
- background: white;
296
- padding: 8px 12px;
297
- font-size: 15px;
298
- }
299
- /* line 12, ../sass/_settings_page.sass */
300
- .li-settings .form-table {
301
- margin-top: 0px;
302
- border-left: 1px solid #e5e5e5;
303
- border-right: 1px solid #e5e5e5;
304
- border-bottom: 1px solid #e5e5e5;
305
- background-color: white;
306
- -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
307
- -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
308
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
309
- }
310
- /* line 20, ../sass/_settings_page.sass */
311
- .li-settings .form-table th {
312
- padding-left: 12px;
313
- }
314
- /* line 23, ../sass/_settings_page.sass */
315
- .li-settings .leadin-section {
316
- background-color: white;
317
- border-left: 1px solid #e5e5e5;
318
- border-right: 1px solid #e5e5e5;
319
- font-size: 14px;
320
- padding: 15px 12px 5px 12px;
321
- }
322
- /* line 30, ../sass/_settings_page.sass */
323
- .li-settings .leadin-section p {
324
- margin: 0;
325
- padding: 0;
326
- }
327
- /* line 35, ../sass/_settings_page.sass */
328
- .li-settings.pre-mp6 h3 {
329
- font-family: Georgia;
330
- }
331
- /* line 38, ../sass/_settings_page.sass */
332
- .li-settings.pre-mp6 select, .li-settings.pre-mp6 input {
333
- font-family: sans-serif;
334
- font-size: 12px;
335
- }
336
- /* line 42, ../sass/_settings_page.sass */
337
- .li-settings.pre-mp6 .form-table, .li-settings.pre-mp6 .leadin-section, .li-settings.pre-mp6 h3 {
338
- background-color: #f9f9f9 !important;
339
- }
340
- /* line 45, ../sass/_settings_page.sass */
341
- .li-settings.pre-mp6 .form-table {
342
- -moz-border-radius-bottomleft: 3px;
343
- -webkit-border-bottom-left-radius: 3px;
344
- border-bottom-left-radius: 3px;
345
- -moz-border-radius-bottomright: 3px;
346
- -webkit-border-bottom-right-radius: 3px;
347
- border-bottom-right-radius: 3px;
348
- }
349
- /* line 49, ../sass/_settings_page.sass */
350
- .li-settings.pre-mp6 h3 {
351
- background-color: #f9f9f9 !important;
352
- -moz-border-radius-topleft: 3px;
353
- -webkit-border-top-left-radius: 3px;
354
- border-top-left-radius: 3px;
355
- -moz-border-radius-topright: 3px;
356
- -webkit-border-top-right-radius: 3px;
357
- border-top-right-radius: 3px;
358
- }
359
- /* line 54, ../sass/_settings_page.sass */
360
- .li-settings.pre-mp6 .leadin-section {
361
- font-size: 12px;
362
- padding-left: 6px;
363
- }
364
- /* line 58, ../sass/_settings_page.sass */
365
- .li-settings.pre-mp6 h3 {
366
- padding-left: 6px;
367
- font-weight: normal;
368
- color: #464646;
369
- text-shadow: white 0px 1px 0px;
370
- }
371
- /* line 64, ../sass/_settings_page.sass */
372
- .li-settings.pre-mp6 label {
373
- font-size: 12px;
374
- }
375
- /* line 67, ../sass/_settings_page.sass */
376
- .li-settings.pre-mp6 input[type="checkbox"], .li-settings.pre-mp6 input[type="radio"] {
377
- margin-right: 2px;
378
- }
379
-
380
- /* line 70, ../sass/_settings_page.sass */
381
- #icon-leadin {
382
- background: url("../../images/leadin-icon-32x32.png") top center no-repeat;
383
- }
384
-
385
- /* line 73, ../sass/_settings_page.sass */
386
- .help-notification {
387
- background: #d9edf7;
388
- border: 1px solid #bce8f1;
389
- padding: 10px;
390
- -webkit-border-radius: 3px;
391
- -moz-border-radius: 3px;
392
- border-radius: 3px;
393
- }
394
-
395
- /* line 81, ../sass/_settings_page.sass */
396
- .toplevel_page_leadin_contacts .wp-menu-image img {
397
- width: 16px;
398
- height: 16px;
399
- }
400
-
401
- /* line 85, ../sass/_settings_page.sass */
402
- .leadin-contact-avatar {
403
- margin-right: 10px;
404
- }
405
-
406
- /* line 88, ../sass/_settings_page.sass */
407
- .power-up-settings-icon {
408
- padding-right: 10px;
409
- float: left;
410
- max-height: 20px;
411
- margin-top: -1px;
412
- }
413
-
414
- /* line 94, ../sass/_settings_page.sass */
415
- .dashicons {
416
- margin-right: 10px;
417
- float: left;
418
- margin-top: -1px;
419
- }
420
-
421
- /* line 99, ../sass/_settings_page.sass */
422
- .steps {
423
- margin: 48px auto 0;
424
- text-align: center;
425
- max-width: 600px;
426
- }
427
- /* line 104, ../sass/_settings_page.sass */
428
- .steps h3, .steps p {
429
- margin: 0;
430
- }
431
- /* line 107, ../sass/_settings_page.sass */
432
- .steps .step-names {
433
- margin: 0;
434
- *zoom: 1;
435
- }
436
- /* line 38, ../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-core-1.0.0.alpha.19/stylesheets/compass/utilities/general/_clearfix.scss */
437
- .steps .step-names:after {
438
- content: "";
439
- display: table;
440
- clear: both;
441
- }
442
- /* line 111, ../sass/_settings_page.sass */
443
- .steps .step-names .step-name {
444
- color: #cccccc;
445
- display: list-item;
446
- float: left;
447
- width: 33%;
448
- margin: 0;
449
- padding-bottom: 18px;
450
- font-size: 16px;
451
- list-style: decimal inside none;
452
- }
453
- /* line 121, ../sass/_settings_page.sass */
454
- .steps .step-names .step-name.active {
455
- color: #1f7d71;
456
- background-image: url(../../images/triangle.png);
457
- background-position: bottom center;
458
- background-repeat: no-repeat;
459
- }
460
- /* line 127, ../sass/_settings_page.sass */
461
- .steps .step-names .step-name.completed {
462
- list-style-image: url(../../images/checkmark.png);
463
- }
464
- /* line 130, ../sass/_settings_page.sass */
465
- .steps .step-content {
466
- margin: 0;
467
- }
468
- /* line 133, ../sass/_settings_page.sass */
469
- .steps .step-content .description {
470
- margin: 10px 0 20px;
471
- display: block;
472
- }
473
- /* line 137, ../sass/_settings_page.sass */
474
- .steps .step {
475
- display: none;
476
- padding: 18px;
477
- background-color: #d3eeeb;
478
- border: 2px solid #22aa99;
479
- -moz-border-radius: 5px;
480
- -webkit-border-radius: 5px;
481
- border-radius: 5px;
482
- color: #1f7d71;
483
- }
484
- /* line 145, ../sass/_settings_page.sass */
485
- .steps .step h2 {
486
- color: #1f7d71;
487
- margin-top: 0;
488
- margin-bottom: 18px;
489
- }
490
- /* line 151, ../sass/_settings_page.sass */
491
- .steps .step ol {
492
- text-align: left;
493
- margin-bottom: 18px;
494
- }
495
- /* line 155, ../sass/_settings_page.sass */
496
- .steps .step label {
497
- text-align: right;
498
- }
499
- /* line 158, ../sass/_settings_page.sass */
500
- .steps .step.active {
501
- display: block;
502
- }
503
- /* line 162, ../sass/_settings_page.sass */
504
- .steps .step .form-table th {
505
- display: none;
506
- }
507
- /* line 165, ../sass/_settings_page.sass */
508
- .steps .step .form-table td {
509
- text-align: center;
510
- width: auto;
511
- display: block;
512
- }
513
- /* line 170, ../sass/_settings_page.sass */
514
- .steps .step .form-table input {
515
- width: 100%;
516
- font-size: 16px;
517
- line-height: 1.5;
518
- padding: 7px 10px;
519
- display: block;
520
- }
521
-
522
- /* line 5, ../sass/_contacts_list_page.sass */
523
- #leadin-contacts th#source {
524
- width: 20%;
525
- }
526
- /* line 8, ../sass/_contacts_list_page.sass */
527
- #leadin-contacts th#visits, #leadin-contacts th#submissions {
528
- width: 8%;
529
- }
530
- /* line 11, ../sass/_contacts_list_page.sass */
531
- #leadin-contacts th#status, #leadin-contacts th#last_visit, #leadin-contacts th#date, #leadin-contacts th#pageviews {
532
- width: 10%;
533
- }
534
-
535
- /* line 3, ../sass/_contact_detail_page.sass */
536
- #leadin .header-wrap {
537
- *zoom: 1;
538
- padding: 9px 15px 4px 0;
539
- }
540
- /* line 38, ../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-core-1.0.0.alpha.19/stylesheets/compass/utilities/general/_clearfix.scss */
541
- #leadin .header-wrap:after {
542
- content: "";
543
- display: table;
544
- clear: both;
545
- }
546
- /* line 7, ../sass/_contact_detail_page.sass */
547
- #leadin .header-wrap h1, #leadin .header-wrap img {
548
- float: left;
549
- }
550
- /* line 10, ../sass/_contact_detail_page.sass */
551
- #leadin .header-wrap h1 {
552
- padding: 0 0 0 10px;
553
- margin: 0;
554
- }
555
- /* line 14, ../sass/_contact_detail_page.sass */
556
- #leadin .contact-name {
557
- line-height: 40px;
558
- }
559
- /* line 18, ../sass/_contact_detail_page.sass */
560
- #leadin .contact-info h3 {
561
- margin: 0;
562
- }
563
- /* line 21, ../sass/_contact_detail_page.sass */
564
- #leadin .contact-info label {
565
- font-weight: bold;
566
- line-height: 1;
567
- cursor: default;
568
- }
569
- /* line 26, ../sass/_contact_detail_page.sass */
570
- #leadin .contact-history {
571
- padding-left: 20px;
572
- margin-left: 20px;
573
- border-left: 2px solid #dedede;
574
- }
575
- /* line 33, ../sass/_contact_detail_page.sass */
576
- #leadin .contact-history .session + .session {
577
- margin-top: 30px;
578
- }
579
- /* line 36, ../sass/_contact_detail_page.sass */
580
- #leadin .contact-history .session-date {
581
- position: relative;
582
- }
583
- /* line 39, ../sass/_contact_detail_page.sass */
584
- #leadin .contact-history .session-date:before {
585
- content: "\2022";
586
- font-size: 32px;
587
- line-height: 0;
588
- height: 31px;
589
- width: 31px;
590
- position: absolute;
591
- left: -27px;
592
- top: 9px;
593
- color: #dedede;
594
- }
595
- /* line 50, ../sass/_contact_detail_page.sass */
596
- #leadin .contact-history .events {
597
- background-color: white;
598
- border: 1px solid #dedede;
599
- -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
600
- -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
601
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
602
- }
603
- /* line 55, ../sass/_contact_detail_page.sass */
604
- #leadin .contact-history .event {
605
- margin: 0;
606
- padding: 10px 20px;
607
- border-bottom: 1px solid #dedede;
608
- border-left: 4px solid;
609
- }
610
- /* line 62, ../sass/_contact_detail_page.sass */
611
- #leadin .contact-history .event:first-child {
612
- border-top: 0;
613
- }
614
- /* line 65, ../sass/_contact_detail_page.sass */
615
- #leadin .contact-history .event.pageview {
616
- border-left-color: #2288cc;
617
- color: #2288cc;
618
- }
619
- /* line 69, ../sass/_contact_detail_page.sass */
620
- #leadin .contact-history .event.form-submission {
621
- border-left-color: #f66000;
622
- color: #f66000;
623
- }
624
- /* line 73, ../sass/_contact_detail_page.sass */
625
- #leadin .contact-history .event.source {
626
- border-left-color: #99aa1f;
627
- color: #99aa1f;
628
- }
629
- /* line 77, ../sass/_contact_detail_page.sass */
630
- #leadin .contact-history .event-title {
631
- margin: 0;
632
- font-size: 13px;
633
- font-weight: 600;
634
- }
635
- /* line 82, ../sass/_contact_detail_page.sass */
636
- #leadin .contact-history .event-time-range {
637
- float: right;
638
- font-weight: 400;
639
- font-size: 0.85em;
640
- color: #999999;
641
- }
642
- /* line 88, ../sass/_contact_detail_page.sass */
643
- #leadin .contact-history .event-detail {
644
- margin-top: 20px;
645
- color: #444444;
646
- }
647
- /* line 92, ../sass/_contact_detail_page.sass */
648
- #leadin .contact-history .event-detail li + li {
649
- padding-top: 6px;
650
- border-top: 1px solid #eeeeee;
651
- }
652
- /* line 97, ../sass/_contact_detail_page.sass */
653
- #leadin .contact-history .visit-source p {
654
- margin: 0;
655
- color: #1f6696;
656
- }
657
- /* line 101, ../sass/_contact_detail_page.sass */
658
- #leadin .contact-history .pageview-url {
659
- margin: 0;
660
- color: #cccccc;
661
- }
662
- /* line 105, ../sass/_contact_detail_page.sass */
663
- #leadin .contact-history .field-label {
664
- text-transform: uppercase;
665
- letter-spacing: 0.05em;
666
- color: #999999;
667
- margin-bottom: 6px;
668
- font-size: 0.9em;
669
- }
670
- /* line 112, ../sass/_contact_detail_page.sass */
671
- #leadin .contact-history .field-value {
672
- margin: 0;
673
- }
674
- /* line 117, ../sass/_contact_detail_page.sass */
675
- #leadin.pre-mp6 .events {
676
- background-color: #f9f9f9;
677
- }
678
-
679
- /* line 1, ../sass/_powerups_page.sass */
680
- .powerup-list {
681
- margin: 0;
682
- }
683
- /* line 4, ../sass/_powerups_page.sass */
684
- .powerup-list .powerup {
685
- border: 2px solid;
686
- width: 20%;
687
- min-width: 250px;
688
- float: left;
689
- margin: 20px;
690
- padding: 15px;
691
- background-color: #f9f9f9;
692
- border-color: #cccccc;
693
- text-align: center;
694
- -moz-border-radius: 10px;
695
- -webkit-border-radius: 10px;
696
- border-radius: 10px;
697
- }
698
- /* line 16, ../sass/_powerups_page.sass */
699
- .powerup-list .powerup h2, .powerup-list .powerup p, .powerup-list .powerup img {
700
- margin: 0;
701
- padding: 0;
702
- color: #666666;
703
- margin-bottom: 15px;
704
- }
705
- /* line 22, ../sass/_powerups_page.sass */
706
- .powerup-list .powerup.activated {
707
- background-color: #d3eeeb;
708
- border-color: #1f7d71;
709
- }
710
- /* line 26, ../sass/_powerups_page.sass */
711
- .powerup-list .powerup.activated h2, .powerup-list .powerup.activated p {
712
- color: #1f7d71;
713
- }
714
-
715
- /* line 3, ../sass/_metabox.sass */
716
- #li_analytics-meta .li-analytics-link {
717
- float: left;
718
- }
719
- /* line 6, ../sass/_metabox.sass */
720
- #li_analytics-meta .li-analytics-link .li-analytics__face {
721
- height: 35px;
722
- width: 35px;
723
- margin-right: 5px;
724
- margin-bottom: 5px;
725
- }
726
- /* line 12, ../sass/_metabox.sass */
727
- #li_analytics-meta .hidden_face {
728
- display: none;
729
- }
730
- /* line 15, ../sass/_metabox.sass */
731
- #li_analytics-meta .show-all-faces-container {
732
- clear: both;
733
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/inc/class-leadin-contact.php CHANGED
@@ -43,9 +43,9 @@ class LI_Contact {
43
  // Get the contact details
44
  $q = $wpdb->prepare("
45
  SELECT
46
- DATE_FORMAT(lead_date, %s) AS lead_date,
 
47
  lead_ip,
48
- lead_source,
49
  lead_email,
50
  lead_status
51
  FROM
@@ -100,34 +100,31 @@ class LI_Contact {
100
  $total_visits = 0;
101
  $total_pageviews = 0;
102
  $total_submissions = 0;
 
103
 
104
  foreach ( $events_array as $event_name => $event )
105
  {
106
  // Create a new session array if pageview started a new session
107
- if ( (isset($event['pageview_session_start']) && $event['pageview_session_start'] ) || $first_iteration )
108
  {
109
  $cur_array = $count;
 
110
  $sessions['session_' . $cur_array] = array();
111
  $sessions['session_' . $cur_array]['session_date'] = $event['event_date'];
112
  $sessions['session_' . $cur_array]['events'] = array();
113
 
114
- if ( $first_iteration )
115
- $first_iteration = FALSE;
116
-
117
  $cur_event = $count;
118
  $sessions['session_' . $cur_array]['events']['event_' . $cur_event] = array();
119
  $sessions['session_' . $cur_array]['events']['event_' . $cur_event]['event_type'] = 'pageview';
120
  $sessions['session_' . $cur_array]['events']['event_' . $cur_event]['event_date'] = $event['event_date'];
121
 
122
  // Set the first submission if it's not set and then leave it alone
123
- if ( ! isset($lead->first_visit) )
124
- $lead->first_visit = $event['event_date'];
125
-
126
- // Always overwrite the last_submission date which will end as last submission date
127
- $lead->last_visit = $event['event_date'];
128
 
129
  // Used for $lead->total_visits
130
  $total_visits++;
 
131
  }
132
 
133
  // Pageview activity
@@ -139,6 +136,10 @@ class LI_Contact {
139
  $sessions['session_' . $cur_array]['events']['event_' . $cur_event]['event_date'] = $event['event_date'];
140
  $sessions['session_' . $cur_array]['events']['event_' . $cur_event]['activities'][] = $event;
141
  $total_pageviews++;
 
 
 
 
142
  }
143
  else
144
  {
@@ -149,16 +150,22 @@ class LI_Contact {
149
  $sessions['session_' . $cur_array]['events']['event_' . $cur_event]['activities'][] = $event;
150
 
151
  // Set the first submission if it's not set and then leave it alone
152
- if ( ! isset($lead->first_submission) )
153
- $lead->first_submission = $event['event_date'];
154
 
155
  // Always overwrite the last_submission date which will end as last submission date
156
- $lead->last_submission = $event['event_date'];
 
157
 
158
  // Used for $lead->total_submissions
159
  $total_submissions++;
160
  }
161
 
 
 
 
 
 
162
  $count++;
163
  }
164
 
@@ -181,7 +188,7 @@ class LI_Contact {
181
  * @return array
182
  */
183
  function sort_by_event_date ( $a, $b ) {
184
- return $a['event_date'] > $b['event_date'];
185
  }
186
 
187
  /**
43
  // Get the contact details
44
  $q = $wpdb->prepare("
45
  SELECT
46
+ DATE_FORMAT(lead_date, %s) AS lead_date,
47
+ lead_id,
48
  lead_ip,
 
49
  lead_email,
50
  lead_status
51
  FROM
100
  $total_visits = 0;
101
  $total_pageviews = 0;
102
  $total_submissions = 0;
103
+ $new_session = TRUE;
104
 
105
  foreach ( $events_array as $event_name => $event )
106
  {
107
  // Create a new session array if pageview started a new session
108
+ if ( $new_session )
109
  {
110
  $cur_array = $count;
111
+
112
  $sessions['session_' . $cur_array] = array();
113
  $sessions['session_' . $cur_array]['session_date'] = $event['event_date'];
114
  $sessions['session_' . $cur_array]['events'] = array();
115
 
 
 
 
116
  $cur_event = $count;
117
  $sessions['session_' . $cur_array]['events']['event_' . $cur_event] = array();
118
  $sessions['session_' . $cur_array]['events']['event_' . $cur_event]['event_type'] = 'pageview';
119
  $sessions['session_' . $cur_array]['events']['event_' . $cur_event]['event_date'] = $event['event_date'];
120
 
121
  // Set the first submission if it's not set and then leave it alone
122
+ if ( ! isset($lead->last_visit) )
123
+ $lead->last_visit = $event['event_date'];
 
 
 
124
 
125
  // Used for $lead->total_visits
126
  $total_visits++;
127
+ $new_session = FALSE;
128
  }
129
 
130
  // Pageview activity
136
  $sessions['session_' . $cur_array]['events']['event_' . $cur_event]['event_date'] = $event['event_date'];
137
  $sessions['session_' . $cur_array]['events']['event_' . $cur_event]['activities'][] = $event;
138
  $total_pageviews++;
139
+
140
+ // Always overwrite first_visit which will end as last pageview date
141
+ $lead->first_visit = $event['event_date'];
142
+ $lead->lead_source = $event['pageview_source'];
143
  }
144
  else
145
  {
150
  $sessions['session_' . $cur_array]['events']['event_' . $cur_event]['activities'][] = $event;
151
 
152
  // Set the first submission if it's not set and then leave it alone
153
+ if ( ! isset($lead->last_submission) )
154
+ $lead->last_submission = $event['event_date'];
155
 
156
  // Always overwrite the last_submission date which will end as last submission date
157
+ $lead->first_submission = $event['event_date'];
158
+ $lead->last_submission_type = $event['form_type'];
159
 
160
  // Used for $lead->total_submissions
161
  $total_submissions++;
162
  }
163
 
164
+ if ( (isset($event['pageview_session_start'])) && $event['pageview_session_start'] )
165
+ {
166
+ $new_session = TRUE;
167
+ }
168
+
169
  $count++;
170
  }
171
 
188
  * @return array
189
  */
190
  function sort_by_event_date ( $a, $b ) {
191
+ return $a['event_date'] < $b['event_date'];
192
  }
193
 
194
  /**
admin/inc/class-leadin-list-table.php CHANGED
@@ -260,15 +260,13 @@ class LI_List_Table extends WP_List_Table {
260
  $q .= " GROUP BY l.lead_email";
261
 
262
  $leads = $wpdb->get_results($q);
263
-
264
  $all_leads = array();
265
 
 
 
266
  foreach ( $leads as $lead )
267
  {
268
- $q = $wpdb->prepare("SELECT COUNT(DISTINCT pageview_id) FROM li_pageviews WHERE lead_hashkey = %s AND pageview_session_start = 1 AND pageview_deleted = 0", $lead->hashkey);
269
- $pageviews = $wpdb->get_var($q);
270
- $lead->lead_visits = $pageviews;
271
-
272
  $lead_status = 'Lead';
273
 
274
  if ( $lead->lead_status == 'subscribe' )
@@ -276,11 +274,11 @@ class LI_List_Table extends WP_List_Table {
276
  else if ( $lead->lead_status == 'comment' )
277
  $lead_status = 'Commenter';
278
 
279
- $url_parts = parse_url($lead->lead_source);
280
- $url = urldecode(rtrim($url_parts['host'] . '/' . $url_parts['path'], '/'));
281
 
282
  $lead_array = array(
283
  'ID' => $lead->lead_id,
 
284
  'email' => sprintf('<a href="?page=%s&action=%s&lead=%s">' . "<img class='pull-left leadin-contact-avatar leadin-dynamic-avatar_" . substr($lead->lead_id, -1) . "' src='https://app.getsignals.com/avatar/image/?emails=" . $lead->lead_email . "' width='35' height='35'/> " . '</a>', $_REQUEST['page'], 'view', $lead->lead_id) . sprintf('<a href="?page=%s&action=%s&lead=%s"><b>' . $lead->lead_email . '</b></a>', $_REQUEST['page'], 'view', $lead->lead_id),
285
  'status' => $lead_status,
286
  'visits' => ( !$lead->lead_visits ? 1 : $lead->lead_visits ),
@@ -288,10 +286,11 @@ class LI_List_Table extends WP_List_Table {
288
  'pageviews' => $lead->lead_pageviews,
289
  'date' => $lead->lead_date,
290
  'last_visit' => $lead->last_visit,
291
- 'source' => ( $lead->lead_source ? "<a title='Visit page' href='" . $lead->lead_source . "' target='_blank'>" . $url . "</a>" : 'Direct' )
292
  );
293
-
294
  array_push($all_leads, $lead_array);
 
295
  }
296
 
297
  return $all_leads;
@@ -304,7 +303,7 @@ class LI_List_Table extends WP_List_Table {
304
  {
305
  global $wpdb;
306
  // @TODO Need to select distinct emails
307
- $q = $wpdb->prepare("
308
  SELECT
309
  COUNT(DISTINCT lead_email) AS total_contacts,
310
  ( SELECT COUNT(DISTINCT lead_email) FROM li_leads WHERE lead_status = 'lead' AND lead_email != '' AND lead_deleted = 0 ) AS total_leads,
@@ -313,9 +312,10 @@ class LI_List_Table extends WP_List_Table {
313
  FROM
314
  li_leads
315
  WHERE
316
- lead_email != '' AND lead_deleted = 0", "");
317
 
318
  $totals = $wpdb->get_row($q);
 
319
  return $totals;
320
  }
321
 
@@ -341,24 +341,26 @@ class LI_List_Table extends WP_List_Table {
341
  $totals = $this->get_contact_type_totals();
342
 
343
  $current = ( !empty($_GET['contact_type']) ? html_entity_decode($_GET['contact_type']) : 'all' );
 
 
344
 
345
  // All link
346
  $class = ( $current == 'all' ? ' class="current"' :'' );
347
- $all_url = remove_query_arg('contact_type');
348
  $views['all'] = "<a href='{$all_url }' {$class} >" . ( $totals->total_leads + $totals->total_comments + $totals->total_subscribes ) . " total</a>";
349
 
350
  // Leads link
351
- $leads_url = add_query_arg('contact_type','lead');
352
  $class = ( $current == 'lead' ? ' class="current"' :'' );
353
  $views['contacts'] = "<a href='{$leads_url}' {$class} >" . leadin_single_plural_label($totals->total_leads, 'lead', 'leads') . "</a>";
354
 
355
  // Commenters link
356
- $comments_url = add_query_arg('contact_type','comment');
 
357
  $class = ( $current == 'comment' ? ' class="current"' :'' );
358
  $views['commenters'] = "<a href='{$comments_url}' {$class} >" . leadin_single_plural_label($totals->total_comments, 'commenter', 'commenters') . "</a>";
359
 
360
  // Commenters link
361
- $subscribers_url = add_query_arg('contact_type','subscribe');
362
  $class = ( $current == 'subscribe' ? ' class="current"' :'' );
363
  $views['subscribe'] = "<a href='{$subscribers_url}' {$class} >" . leadin_single_plural_label($totals->total_subscribes, 'subscriber', 'subscribers') . "</a>";
364
 
@@ -390,7 +392,8 @@ class LI_List_Table extends WP_List_Table {
390
  echo "<div class='top_table_controls'>\n";
391
 
392
  echo "<ul class='table_segment_picker'>\n";
393
- foreach ( $views as $class => $view ) {
 
394
  $views[ $class ] = "\t<li class='$class'>$view";
395
  }
396
  echo implode( "</li>\n", $views ) . "</li>\n";
@@ -422,31 +425,25 @@ class LI_List_Table extends WP_List_Table {
422
  $sortable = $this->get_sortable_columns();
423
  $this->_column_headers = array($columns, $hidden, $sortable);
424
  $this->process_bulk_action();
425
- $this->data = $this->get_leads();;
426
-
427
  $orderby = ( !empty($_REQUEST['orderby']) ? $_REQUEST['orderby'] : 'last_visit' );
428
  $order = ( !empty($_REQUEST['order']) ? $_REQUEST['order'] : 'desc' );
429
 
430
- function usort_reorder($a,$b)
431
- {
432
- $orderby = ( !empty($_REQUEST['orderby']) ? $_REQUEST['orderby'] : 'last_visit' );
433
- $order = ( !empty($_REQUEST['order']) ? $_REQUEST['order'] : 'desc' );
434
-
435
- if ( $a[$orderby] == $b[$orderby] )
436
- $result = 0;
437
- else if ( $a[$orderby] < $b[$orderby] )
438
- $result = -1;
439
- else
440
- $result = 1;
441
-
442
- return ( $order === 'asc' ? $result : -$result );
443
- }
444
-
445
- usort($this->data, 'usort_reorder');
446
 
447
  $current_page = $this->get_pagenum();
448
  $total_items = count($this->data);
449
  $this->data = array_slice($this->data, (($current_page-1)*$per_page), $per_page);
 
 
 
 
 
 
 
 
 
 
450
  $this->items = $this->data;
451
 
452
  $this->set_pagination_args( array(
@@ -455,5 +452,20 @@ class LI_List_Table extends WP_List_Table {
455
  'total_pages' => ceil($total_items/$per_page)
456
  ) );
457
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
458
 
459
  }
260
  $q .= " GROUP BY l.lead_email";
261
 
262
  $leads = $wpdb->get_results($q);
263
+
264
  $all_leads = array();
265
 
266
+ $contact_count = 0;
267
+
268
  foreach ( $leads as $lead )
269
  {
 
 
 
 
270
  $lead_status = 'Lead';
271
 
272
  if ( $lead->lead_status == 'subscribe' )
274
  else if ( $lead->lead_status == 'comment' )
275
  $lead_status = 'Commenter';
276
 
277
+ $url = leadin_strip_params_from_url($lead->lead_source);
 
278
 
279
  $lead_array = array(
280
  'ID' => $lead->lead_id,
281
+ 'hashkey' => $lead->hashkey,
282
  'email' => sprintf('<a href="?page=%s&action=%s&lead=%s">' . "<img class='pull-left leadin-contact-avatar leadin-dynamic-avatar_" . substr($lead->lead_id, -1) . "' src='https://app.getsignals.com/avatar/image/?emails=" . $lead->lead_email . "' width='35' height='35'/> " . '</a>', $_REQUEST['page'], 'view', $lead->lead_id) . sprintf('<a href="?page=%s&action=%s&lead=%s"><b>' . $lead->lead_email . '</b></a>', $_REQUEST['page'], 'view', $lead->lead_id),
283
  'status' => $lead_status,
284
  'visits' => ( !$lead->lead_visits ? 1 : $lead->lead_visits ),
286
  'pageviews' => $lead->lead_pageviews,
287
  'date' => $lead->lead_date,
288
  'last_visit' => $lead->last_visit,
289
+ 'source' => ( $lead->lead_source ? "<a title='Visit page' href='" . $lead->lead_source . "' target='_blank'>" . leadin_strip_params_from_url($lead->lead_source) . "</a>" : 'Direct' )
290
  );
291
+
292
  array_push($all_leads, $lead_array);
293
+ $contact_count++;
294
  }
295
 
296
  return $all_leads;
303
  {
304
  global $wpdb;
305
  // @TODO Need to select distinct emails
306
+ $q = "
307
  SELECT
308
  COUNT(DISTINCT lead_email) AS total_contacts,
309
  ( SELECT COUNT(DISTINCT lead_email) FROM li_leads WHERE lead_status = 'lead' AND lead_email != '' AND lead_deleted = 0 ) AS total_leads,
312
  FROM
313
  li_leads
314
  WHERE
315
+ lead_email != '' AND lead_deleted = 0";
316
 
317
  $totals = $wpdb->get_row($q);
318
+
319
  return $totals;
320
  }
321
 
341
  $totals = $this->get_contact_type_totals();
342
 
343
  $current = ( !empty($_GET['contact_type']) ? html_entity_decode($_GET['contact_type']) : 'all' );
344
+ $all_params = array( 'contact_type', 's', 'paged', '_wpnonce', '_wpreferrer', '_wp_http_referer', 'action', 'action2');
345
+ $all_url = remove_query_arg($all_params);
346
 
347
  // All link
348
  $class = ( $current == 'all' ? ' class="current"' :'' );
 
349
  $views['all'] = "<a href='{$all_url }' {$class} >" . ( $totals->total_leads + $totals->total_comments + $totals->total_subscribes ) . " total</a>";
350
 
351
  // Leads link
352
+ $leads_url = add_query_arg('contact_type','lead', $all_url);
353
  $class = ( $current == 'lead' ? ' class="current"' :'' );
354
  $views['contacts'] = "<a href='{$leads_url}' {$class} >" . leadin_single_plural_label($totals->total_leads, 'lead', 'leads') . "</a>";
355
 
356
  // Commenters link
357
+
358
+ $comments_url = add_query_arg('contact_type','comment', $all_url);
359
  $class = ( $current == 'comment' ? ' class="current"' :'' );
360
  $views['commenters'] = "<a href='{$comments_url}' {$class} >" . leadin_single_plural_label($totals->total_comments, 'commenter', 'commenters') . "</a>";
361
 
362
  // Commenters link
363
+ $subscribers_url = add_query_arg('contact_type','subscribe', $all_url);
364
  $class = ( $current == 'subscribe' ? ' class="current"' :'' );
365
  $views['subscribe'] = "<a href='{$subscribers_url}' {$class} >" . leadin_single_plural_label($totals->total_subscribes, 'subscriber', 'subscribers') . "</a>";
366
 
392
  echo "<div class='top_table_controls'>\n";
393
 
394
  echo "<ul class='table_segment_picker'>\n";
395
+ foreach ( $views as $class => $view )
396
+ {
397
  $views[ $class ] = "\t<li class='$class'>$view";
398
  }
399
  echo implode( "</li>\n", $views ) . "</li>\n";
425
  $sortable = $this->get_sortable_columns();
426
  $this->_column_headers = array($columns, $hidden, $sortable);
427
  $this->process_bulk_action();
428
+
 
429
  $orderby = ( !empty($_REQUEST['orderby']) ? $_REQUEST['orderby'] : 'last_visit' );
430
  $order = ( !empty($_REQUEST['order']) ? $_REQUEST['order'] : 'desc' );
431
 
432
+ usort($this->data, array($this, 'usort_reorder'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
433
 
434
  $current_page = $this->get_pagenum();
435
  $total_items = count($this->data);
436
  $this->data = array_slice($this->data, (($current_page-1)*$per_page), $per_page);
437
+
438
+ foreach ( $this->data as &$contact )
439
+ {
440
+ $q = $wpdb->prepare("SELECT COUNT(DISTINCT pageview_id) AS num_pageviews, MAX(pageview_source) AS pageview_source FROM li_pageviews WHERE lead_hashkey = %s AND pageview_session_start = 1 AND pageview_deleted = 0", $contact['hashkey']);
441
+ $pageviews = $wpdb->get_row($q);
442
+
443
+ $contact['visits'] = $pageviews->num_pageviews;
444
+ $contact['source'] = ( $pageviews->pageview_source ? "<a title='Visit page' href='" . $pageviews->pageview_source . "' target='_blank'>" . leadin_strip_params_from_url($pageviews->pageview_source) . "</a>" : 'Direct' );
445
+ }
446
+
447
  $this->items = $this->data;
448
 
449
  $this->set_pagination_args( array(
452
  'total_pages' => ceil($total_items/$per_page)
453
  ) );
454
  }
455
+
456
+ function usort_reorder ( $a, $b )
457
+ {
458
+ $orderby = ( !empty($_REQUEST['orderby']) ? $_REQUEST['orderby'] : 'last_visit' );
459
+ $order = ( !empty($_REQUEST['order']) ? $_REQUEST['order'] : 'desc' );
460
+
461
+ if ( $a[$orderby] == $b[$orderby] )
462
+ $result = 0;
463
+ else if ( $a[$orderby] < $b[$orderby] )
464
+ $result = -1;
465
+ else
466
+ $result = 1;
467
+
468
+ return ( $order === 'asc' ? $result : -$result );
469
+ }
470
 
471
  }
admin/leadin-admin.php CHANGED
@@ -318,7 +318,12 @@ class WPLeadInAdmin {
318
  $new_input['ignore_settings_popup'] = $input['ignore_settings_popup'];
319
 
320
  if( isset( $input['beta_tester'] ) )
 
321
  $new_input['beta_tester'] = sanitize_text_field($input['beta_tester']);
 
 
 
 
322
 
323
  return $new_input;
324
  }
@@ -464,7 +469,7 @@ class WPLeadInAdmin {
464
  */
465
  function add_leadin_admin_styles ()
466
  {
467
- wp_register_style('leadin-admin-css', LEADIN_PATH . '/admin/css/leadin-admin.css');
468
  wp_enqueue_style('leadin-admin-css');
469
  }
470
 
318
  $new_input['ignore_settings_popup'] = $input['ignore_settings_popup'];
319
 
320
  if( isset( $input['beta_tester'] ) )
321
+ {
322
  $new_input['beta_tester'] = sanitize_text_field($input['beta_tester']);
323
+ leadin_set_beta_tester_property(TRUE);
324
+ }
325
+ else
326
+ leadin_set_beta_tester_property(FALSE);
327
 
328
  return $new_input;
329
  }
469
  */
470
  function add_leadin_admin_styles ()
471
  {
472
+ wp_register_style('leadin-admin-css', LEADIN_PATH . '/assets/css/build/leadin-admin.css');
473
  wp_enqueue_style('leadin-admin-css');
474
  }
475
 
admin/sass/config.rb DELETED
@@ -1,30 +0,0 @@
1
- # Compass is a great cross-platform tool for compiling SASS.
2
- # This compass config file will allow you to
3
- # quickly dive right in.
4
- # For more info about compass + SASS: http://net.tutsplus.com/tutorials/html-css-techniques/using-compass-and-sass-for-css-in-your-next-project/
5
-
6
- require 'susy'
7
-
8
- #########
9
- # 1. Set this to the root of your project when deployed:
10
- http_path = "/"
11
-
12
- # 2. probably don't need to touch these
13
- css_dir = "../css"
14
- sass_dir = "./"
15
- images_dir = "../../images"
16
- environment = :development
17
- relative_assets = true
18
-
19
-
20
- # 3. You can select your preferred output style here (can be overridden via the command line):
21
- output_style = :expanded
22
-
23
- # 4. When you are ready to launch your WP theme comment out (3) and uncomment the line below
24
- # output_style = :compressed
25
-
26
- # To disable debugging comments that display the original location of your selectors. Uncomment:
27
- # line_comments = false
28
-
29
- # don't touch this
30
- preferred_syntax = :sass
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/build/leadin-admin.css ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ #leadin{*zoom:1;max-width:1180px;max-width:73.75rem;_width:1180px;padding-left:20px;padding-left:1.25rem;padding-right:20px;padding-right:1.25rem;margin-left:auto;margin-right:auto;margin:10px 0 0;padding:0}#leadin:after{content:"";display:table;clear:both}@media (min-width: 782px){#leadin{*zoom:1;max-width:1180px;max-width:73.75rem;padding-left:20px;padding-left:1.25rem;padding-right:20px;padding-right:1.25rem;margin-left:auto;margin-right:auto}#leadin:after{content:"";display:table;clear:both}}#leadin *{box-sizing:border-box}@media (min-width: 782px){#leadin{margin:10px 0 0;padding:0}}
2
+ #leadin .top_table_controls{border-bottom:2px solid #dedede;margin:0 0 18px 0;margin-bottom:16px;*zoom:1}#leadin .top_table_controls:after{content:"";display:table;clear:both}#leadin .table_segment_picker{float:left;margin:0}#leadin .table_segment_picker li{display:inline-block;margin:0}#leadin .table_segment_picker li+li{margin-left:2em}#leadin .table_segment_picker li a{display:block;padding:12px 0;line-height:24px;font-weight:300;font-size:16px;text-decoration:none}@media (min-width: 782px){#leadin .table_segment_picker li a{font-size:20px}}#leadin .table_segment_picker li a.current{margin-bottom:-2px;font-weight:400;border-bottom:2px solid #f66000}#leadin .table_segment_picker li a.current,#leadin .table_segment_picker li a:hover,#leadin .table_segment_picker li a:active{color:#f66000}#leadin .table_search{float:right;padding:10px 0;padding-bottom:9px}#leadin table .leadin-contact-avatar{float:left}#leadin table th,#leadin table td{display:none}#leadin table th:nth-child(-n+3),#leadin table td:nth-child(-n+3){display:table-cell}@media (min-width: 782px){#leadin table th,#leadin table td{display:table-cell}}#leadin.pre-mp6 .table_search{float:right;padding:12px 0;padding-bottom:11px}#leadin.pre-mp6 table{background-color:#fff;border-color:#dedede}#leadin.pre-mp6 table tr.alternate{background-color:#fff}#leadin.pre-mp6 table th,#leadin.pre-mp6 table td{border-top:0;padding:12px 6px 11px}#leadin.pre-mp6 table th a,#leadin.pre-mp6 table td a{padding:0}#leadin.pre-mp6 table th[scope="col"]{background:#eee;font-family:sans-serif;font-size:12px;text-shadow:none}#leadin.pre-mp6 table td{border-color:#dedede;line-height:18px;font-size:14px}#leadin.pre-mp6 table td .row-actions{float:left}#leadin{padding-right:20px}@media screen and (min-width: 500px){#leadin{padding-right:10px}}#leadin label{cursor:default}#leadin .col-wrap{padding:0 14px 0 0}#leadin .metabox-holder{*zoom:1}#leadin .metabox-holder:after{content:"";display:table;clear:both}#leadin #leadin-footer{*zoom:1;clear:both;margin-top:48px;color:#999;border-top:1px solid #dedede}#leadin #leadin-footer:after{content:"";display:table;clear:both}#leadin #leadin-footer .support .sharing{height:18px;text-align:left}@media screen and (min-width: 500px){#leadin #leadin-footer .support,#leadin #leadin-footer .version,#leadin #leadin-footer .sharing{width:50%;float:left}#leadin #leadin-footer .sharing{text-align:right}}
3
+ #wp-admin-bar-leadin-admin-menu img{height:16px;width:16px;opacity:0.6}.leadin-dynamic-avatar_0{background-color:#f88e4b}.leadin-dynamic-avatar_1{background-color:#64aada}.leadin-dynamic-avatar_2{background-color:#64c2b6}.leadin-dynamic-avatar_3{background-color:#cf7baa}.leadin-dynamic-avatar_4{background-color:#e7c24b}.leadin-dynamic-avatar_5{background-color:#9387da}.leadin-dynamic-avatar_6{background-color:#d6dd99}.leadin-dynamic-avatar_7{background-color:#ff4c4c}.leadin-dynamic-avatar_8{background-color:#99583d}.leadin-dynamic-avatar_9{background-color:#54cc14}.li-settings h3{border-left:1px solid #e5e5e5;border-right:1px solid #e5e5e5;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;margin-bottom:0px;background:#fff;padding:8px 12px;font-size:15px}.li-settings .form-table{margin-top:0px;border-left:1px solid #e5e5e5;border-right:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;background-color:#fff;-moz-box-shadow:0 1px 1px rgba(0,0,0,0.04);-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04)}.li-settings .form-table th{padding-left:12px}.li-settings .leadin-section{background-color:#fff;border-left:1px solid #e5e5e5;border-right:1px solid #e5e5e5;font-size:14px;padding:15px 12px 5px 12px}.li-settings .leadin-section p{margin:0;padding:0}.li-settings.pre-mp6 h3{font-family:Georgia}.li-settings.pre-mp6 select,.li-settings.pre-mp6 input{font-family:sans-serif;font-size:12px}.li-settings.pre-mp6 .form-table,.li-settings.pre-mp6 .leadin-section,.li-settings.pre-mp6 h3{background-color:#f9f9f9 !important}.li-settings.pre-mp6 .form-table{-moz-border-radius-bottomleft:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-moz-border-radius-bottomright:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px}.li-settings.pre-mp6 h3{background-color:#f9f9f9 !important;-moz-border-radius-topleft:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-radius-topright:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px}.li-settings.pre-mp6 .leadin-section{font-size:12px;padding-left:6px}.li-settings.pre-mp6 h3{padding-left:6px;font-weight:normal;color:#464646;text-shadow:#fff 0px 1px 0px}.li-settings.pre-mp6 label{font-size:12px}.li-settings.pre-mp6 input[type="checkbox"],.li-settings.pre-mp6 input[type="radio"]{margin-right:2px}#icon-leadin{background:url("../../images/leadin-icon-32x32.png") top center no-repeat}.help-notification{background:#d9edf7;border:1px solid #bce8f1;padding:10px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.toplevel_page_leadin_contacts .wp-menu-image img{width:16px;height:16px}.leadin-contact-avatar{margin-right:10px}.power-up-settings-icon{padding-right:10px;float:left;max-height:20px;margin-top:-1px}.dashicons{margin-right:10px;float:left;margin-top:-1px}.steps{margin:48px auto 0;text-align:center;max-width:600px}.steps h3,.steps p{margin:0}.steps .step-names{margin:0;*zoom:1}.steps .step-names:after{content:"";display:table;clear:both}.steps .step-names .step-name{color:#ccc;display:list-item;float:left;width:33%;margin:0;padding-bottom:18px;font-size:16px;list-style:decimal inside none}.steps .step-names .step-name.active{color:#1f7d71;background-image:url(../../images/triangle.png);background-position:bottom center;background-repeat:no-repeat}.steps .step-names .step-name.completed{list-style-image:url(../../images/checkmark.png)}.steps .step-content{margin:0}.steps .step-content .description{margin:10px 0 20px;display:block}.steps .step{display:none;padding:18px;background-color:#d3eeeb;border:2px solid #2a9;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;color:#1f7d71}.steps .step h2{color:#1f7d71;margin-top:0;margin-bottom:18px}.steps .step ol{text-align:left;margin-bottom:18px}.steps .step label{text-align:right}.steps .step.active{display:block}.steps .step .form-table th{display:none}.steps .step .form-table td{text-align:center;width:auto;display:block}.steps .step .form-table input{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block}#leadin-contacts th#source{width:20%}#leadin-contacts th#visits,#leadin-contacts th#submissions{width:8%}#leadin-contacts th#status,#leadin-contacts th#last_visit,#leadin-contacts th#date,#leadin-contacts th#pageviews{width:10%}#leadin .header-wrap{*zoom:1;padding:9px 15px 4px 0}#leadin .header-wrap:after{content:"";display:table;clear:both}#leadin .header-wrap h1,#leadin .header-wrap img{float:left}#leadin .header-wrap h1{padding:0 0 0 10px;margin:0}#leadin .contact-name{line-height:40px}#leadin .contact-info h3{margin:0}#leadin .contact-info label{font-weight:bold;line-height:1;cursor:default}#leadin .contact-history{padding-left:20px;margin-left:20px;border-left:2px solid #dedede}#leadin .contact-history .session+.session{margin-top:30px}#leadin .contact-history .session-date{position:relative}#leadin .contact-history .session-date:before{content:"\2022";font-size:32px;line-height:0;height:31px;width:31px;position:absolute;left:-27px;top:9px;color:#dedede}#leadin .contact-history .session-time-range{color:#999;font-weight:400}#leadin .contact-history .events{background-color:#fff;border:1px solid #dedede;-moz-box-shadow:0 1px 1px rgba(0,0,0,0.04);-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04)}#leadin .contact-history .event{margin:0;padding:10px 20px;border-bottom:1px solid #dedede;border-left:4px solid;*zoom:1}#leadin .contact-history .event:after{content:"";display:table;clear:both}#leadin .contact-history .event:first-child{border-top:0}#leadin .contact-history .event.pageview{border-left-color:#28c;color:#28c}#leadin .contact-history .event.form-submission{border-left-color:#f66000;color:#f66000}#leadin .contact-history .event.source{border-left-color:#99aa1f;color:#99aa1f}#leadin .contact-history .event-title{margin:0;font-size:13px;font-weight:600}#leadin .contact-history .event-time{float:left;font-weight:400;width:75px}#leadin .contact-history .event-content{margin-left:75px}#leadin .contact-history .event-detail{margin-top:20px;color:#444}#leadin .contact-history .event-detail li+li{padding-top:6px;border-top:1px solid #eee}#leadin .contact-history .event-detail.pageview-url{color:#ccc}#leadin .contact-history .visit-source p{margin:0;color:#1f6696}#leadin .contact-history .field-label{text-transform:uppercase;letter-spacing:0.05em;color:#999;margin-bottom:6px;font-size:0.9em}#leadin .contact-history .field-value{margin:0}#leadin.pre-mp6 .events{background-color:#f9f9f9}.powerup-list{margin:0}.powerup-list .powerup{border:2px solid;width:20%;min-width:250px;float:left;margin:20px;padding:15px;background-color:#f9f9f9;border-color:#ccc;text-align:center;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}.powerup-list .powerup h2,.powerup-list .powerup p,.powerup-list .powerup img{margin:0;padding:0;color:#666;margin-bottom:15px}.powerup-list .powerup.activated{background-color:#d3eeeb;border-color:#1f7d71}.powerup-list .powerup.activated h2,.powerup-list .powerup.activated p{color:#1f7d71}#li_analytics-meta .li-analytics-link{float:left}#li_analytics-meta .li-analytics-link .li-analytics__face{height:35px;width:35px;margin-right:5px;margin-bottom:5px}#li_analytics-meta .hidden_face{display:none}#li_analytics-meta .show-all-faces-container{clear:both}
assets/css/build/leadin-lead-notifcation.css ADDED
@@ -0,0 +1 @@
 
1
+ body,.body{background-color:#f1f1f1}h1{font-size:26px;line-height:60px}h2{font-size:23px}h3{font-size:18px}h4{font-size:14px;font-weight:bold}.submission-detail h3{color:#666}.lead-timeline__pageview-url a{color:#999}.lead-timeline__submission-label{text-transform:uppercase;font-size:12px;color:#999;letter-spacing:0.05em}.lead-timeline__previous-activity h2{margin-top:15px}.lead-timeline__event{background-color:#fff;border-top:1px solid #dedede;border-right:1px solid #dedede}.lead-timeline__event.pageview{border-left:4px solid #28c}.lead-timeline__event.pageview .lead-timeline__event-title,.lead-timeline__event.pageview .lead-timeline__event-time{color:#1f6696}.lead-timeline__event.submission{border-left:4px solid #f6601d}.lead-timeline__event.submission .lead-timeline__event-title,.lead-timeline__event.submission .lead-timeline__event-time{color:#b34a12}.lead-timeline__event.traffic-source{border-left:4px solid #99aa1f;border-bottom:1px solid #dedede;margin-bottom:20px}.lead-timeline__event.traffic-source .lead-timeline__event-title,.lead-timeline__event.traffic-source .lead-timeline__event-time{color:#727e14}.footer{margin-bottom:20px}
assets/css/build/leadin-subscribe.css ADDED
@@ -0,0 +1 @@
 
1
+ @keyframes vex-flyin{0%{opacity:0;transform:translateY(-40px);-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px)}100%{opacity:1;transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}}@-webkit-keyframes vex-flyin{0%{opacity:0;transform:translateY(-40px);-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px)}100%{opacity:1;transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}}@-moz-keyframes vex-flyin{0%{opacity:0;transform:translateY(-40px);-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px)}100%{opacity:1;transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}}@-ms-keyframes vex-flyin{0%{opacity:0;transform:translateY(-40px);-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px)}100%{opacity:1;transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}}@-o-keyframes vex-flyin{0%{opacity:0;transform:translateY(-40px);-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px)}100%{opacity:1;transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}}@keyframes vex-flyout{0%{opacity:1;transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{opacity:0;transform:translateY(-40px);-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px)}}@-webkit-keyframes vex-flyout{0%{opacity:1;transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{opacity:0;transform:translateY(-40px);-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px)}}@-moz-keyframes vex-flyout{0%{opacity:1;transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{opacity:0;transform:translateY(-40px);-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px)}}@-ms-keyframes vex-flyout{0%{opacity:1;transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{opacity:0;transform:translateY(-40px);-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px)}}@-o-keyframes vex-flyout{0%{opacity:1;transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{opacity:0;transform:translateY(-40px);-webkit-transform:translateY(-40px);-moz-transform:translateY(-40px);-ms-transform:translateY(-40px);-o-transform:translateY(-40px)}}@keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}@-webkit-keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}@-moz-keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}@-ms-keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}@-o-keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}.vex.vex-theme-default{padding-top:160px;padding-bottom:160px}.vex.vex-theme-default.vex-closing .vex-content{animation:vex-flyout 0.5s;-webkit-animation:vex-flyout 0.5s;-moz-animation:vex-flyout 0.5s;-ms-animation:vex-flyout 0.5s;-o-animation:vex-flyout 0.5s;-webkit-backface-visibility:hidden}.vex.vex-theme-default .vex-content{animation:vex-flyin 0.5s;-webkit-animation:vex-flyin 0.5s;-moz-animation:vex-flyin 0.5s;-ms-animation:vex-flyin 0.5s;-o-animation:vex-flyin 0.5s;-webkit-backface-visibility:hidden}.vex.vex-theme-default .vex-content{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;font-family:"Helvetica Neue",sans-serif;background:#f0f0f0;color:#444;padding:1em;position:relative;margin:0 auto;max-width:100%;width:450px;font-size:1.1em;line-height:1.5em}.vex.vex-theme-default .vex-content h1,.vex.vex-theme-default .vex-content h2,.vex.vex-theme-default .vex-content h3,.vex.vex-theme-default .vex-content h4,.vex.vex-theme-default .vex-content h5,.vex.vex-theme-default .vex-content h6,.vex.vex-theme-default .vex-content p,.vex.vex-theme-default .vex-content ul,.vex.vex-theme-default .vex-content li{color:inherit}.vex.vex-theme-default .vex-close{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;position:absolute;top:0;right:0;cursor:pointer}.vex.vex-theme-default .vex-close:before{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;position:absolute;content:"\00D7";font-size:26px;font-weight:normal;line-height:31px;height:30px;width:30px;text-align:center;top:3px;right:3px;color:#bbb;background:transparent}.vex.vex-theme-default .vex-close:hover:before,.vex.vex-theme-default .vex-close:active:before{color:#777;background:#e0e0e0}.vex.vex-theme-default .vex-dialog-form .vex-dialog-message{margin-bottom:0.5em}.vex.vex-theme-default .vex-dialog-form .vex-dialog-input{margin-bottom:1em}.vex.vex-theme-default .vex-dialog-form .vex-dialog-input textarea,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="date"],.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="datetime"],.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="datetime-local"],.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="email"],.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="month"],.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="number"],.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="password"],.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="search"],.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="tel"],.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="text"],.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="time"],.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="url"],.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="week"]{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#fff;width:100%;padding:0.25em 0.67em;border:0;font-family:inherit;font-weight:inherit;font-size:inherit;min-height:2.5em;margin:0 0 0.25em}.vex.vex-theme-default .vex-dialog-form .vex-dialog-input textarea:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="date"]:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="datetime"]:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="datetime-local"]:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="email"]:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="month"]:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="number"]:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="password"]:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="search"]:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="tel"]:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="text"]:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="time"]:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="url"]:focus,.vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="week"]:focus{-moz-box-shadow:inset 0 0 0 2px #8dbdf1;-webkit-box-shadow:inset 0 0 0 2px #8dbdf1;box-shadow:inset 0 0 0 2px #8dbdf1;outline:none}.vex.vex-theme-default .vex-dialog-form .vex-dialog-buttons{*zoom:1}.vex.vex-theme-default .vex-dialog-form .vex-dialog-buttons:after{content:"";display:table;clear:both}.vex.vex-theme-default .vex-dialog-button{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border:0;float:right;margin:0 0 0 0.5em;font-family:inherit;text-transform:uppercase;letter-spacing:0.1em;font-size:0.8em;line-height:1em;padding:0.75em 2em}.vex.vex-theme-default .vex-dialog-button.vex-last{margin-left:0}.vex.vex-theme-default .vex-dialog-button:focus{animation:vex-pulse 1.1s infinite;-webkit-animation:vex-pulse 1.1s infinite;-moz-animation:vex-pulse 1.1s infinite;-ms-animation:vex-pulse 1.1s infinite;-o-animation:vex-pulse 1.1s infinite;-webkit-backface-visibility:hidden;outline:none}@media (max-width: 568px){.vex.vex-theme-default .vex-dialog-button:focus{animation:none;-webkit-animation:none;-moz-animation:none;-ms-animation:none;-o-animation:none;-webkit-backface-visibility:hidden}}.vex.vex-theme-default .vex-dialog-button.vex-dialog-button-primary{background:#3288e6;color:#fff}.vex.vex-theme-default .vex-dialog-button.vex-dialog-button-secondary{background:#e0e0e0;color:#777}.vex-loading-spinner.vex-theme-default{-moz-box-shadow:0 0 0 0.5em #f0f0f0,0 0 1px 0.5em rgba(0,0,0,0.3);-webkit-box-shadow:0 0 0 0.5em #f0f0f0,0 0 1px 0.5em rgba(0,0,0,0.3);box-shadow:0 0 0 0.5em #f0f0f0,0 0 1px 0.5em rgba(0,0,0,0.3);-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;background:#f0f0f0;border:0.2em solid transparent;border-top-color:#bbb;top:-1.1em;bottom:auto}@keyframes vex-slideup{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:0}1%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px);opacity:0}2%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px);opacity:1}100%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:1}}@-webkit-keyframes vex-slideup{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:0}1%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px);opacity:0}2%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px);opacity:1}100%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:1}}@-moz-keyframes vex-slideup{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:0}1%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px);opacity:0}2%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px);opacity:1}100%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:1}}@-ms-keyframes vex-slideup{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:0}1%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px);opacity:0}2%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px);opacity:1}100%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:1}}@-o-keyframes vex-slideup{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:0}1%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px);opacity:0}2%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px);opacity:1}100%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:1}}@keyframes vex-slidedown{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px)}}@-webkit-keyframes vex-slidedown{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px)}}@-moz-keyframes vex-slidedown{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px)}}@-ms-keyframes vex-slidedown{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px)}}@-o-keyframes vex-slidedown{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{transform:translateY(800px);-webkit-transform:translateY(800px);-moz-transform:translateY(800px);-ms-transform:translateY(800px);-o-transform:translateY(800px)}}@keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}@-webkit-keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}@-moz-keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}@-ms-keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}@-o-keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}.vex.vex-theme-bottom-right-corner,.vex.vex-theme-bottom-left-corner{top:auto;bottom:0;right:0;overflow:visible}.vex.vex-theme-bottom-right-corner .vex-overlay,.vex.vex-theme-bottom-left-corner .vex-overlay{display:none}.vex.vex-theme-bottom-right-corner.vex-closing .vex-content,.vex.vex-theme-bottom-left-corner.vex-closing .vex-content{animation:vex-slidedown 0.5s;-webkit-animation:vex-slidedown 0.5s;-moz-animation:vex-slidedown 0.5s;-ms-animation:vex-slidedown 0.5s;-o-animation:vex-slidedown 0.5s;-webkit-backface-visibility:hidden}.vex.vex-theme-bottom-right-corner .vex-content,.vex.vex-theme-bottom-left-corner .vex-content{animation:vex-slideup 0.5s;-webkit-animation:vex-slideup 0.5s;-moz-animation:vex-slideup 0.5s;-ms-animation:vex-slideup 0.5s;-o-animation:vex-slideup 0.5s;-webkit-backface-visibility:hidden}.vex.vex-theme-bottom-right-corner .vex-content,.vex.vex-theme-bottom-left-corner .vex-content{font-family:"Helvetica Neue",sans-serif;background:#f0f0f0;color:#444;padding:1em;max-width:100%;width:450px;font-size:1.1em;line-height:1.5em;position:fixed;bottom:0}.vex.vex-theme-bottom-right-corner .vex-content h1,.vex.vex-theme-bottom-right-corner .vex-content h2,.vex.vex-theme-bottom-right-corner .vex-content h3,.vex.vex-theme-bottom-right-corner .vex-content h4,.vex.vex-theme-bottom-right-corner .vex-content h5,.vex.vex-theme-bottom-right-corner .vex-content h6,.vex.vex-theme-bottom-right-corner .vex-content p,.vex.vex-theme-bottom-right-corner .vex-content ul,.vex.vex-theme-bottom-right-corner .vex-content li,.vex.vex-theme-bottom-left-corner .vex-content h1,.vex.vex-theme-bottom-left-corner .vex-content h2,.vex.vex-theme-bottom-left-corner .vex-content h3,.vex.vex-theme-bottom-left-corner .vex-content h4,.vex.vex-theme-bottom-left-corner .vex-content h5,.vex.vex-theme-bottom-left-corner .vex-content h6,.vex.vex-theme-bottom-left-corner .vex-content p,.vex.vex-theme-bottom-left-corner .vex-content ul,.vex.vex-theme-bottom-left-corner .vex-content li{color:inherit}.vex.vex-theme-bottom-right-corner .vex-close,.vex.vex-theme-bottom-left-corner .vex-close{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;position:absolute;top:0;right:0;cursor:pointer}.vex.vex-theme-bottom-right-corner .vex-close:before,.vex.vex-theme-bottom-left-corner .vex-close:before{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;position:absolute;content:"\00D7";font-size:26px;font-weight:normal;line-height:31px;height:30px;width:30px;text-align:center;top:3px;right:3px;color:#bbb;background:transparent}.vex.vex-theme-bottom-right-corner .vex-close:hover:before,.vex.vex-theme-bottom-right-corner .vex-close:active:before,.vex.vex-theme-bottom-left-corner .vex-close:hover:before,.vex.vex-theme-bottom-left-corner .vex-close:active:before{color:#777;background:#e0e0e0}.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-message,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-message{margin-bottom:0.5em}.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input{margin-bottom:1em}.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input textarea,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="date"],.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="datetime"],.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="datetime-local"],.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="email"],.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="month"],.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="number"],.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="password"],.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="search"],.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="tel"],.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="text"],.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="time"],.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="url"],.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="week"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input textarea,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="date"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="datetime"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="datetime-local"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="email"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="month"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="number"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="password"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="search"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="tel"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="text"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="time"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="url"],.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="week"]{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#fff;width:100%;padding:0.25em 0.67em;border:0;font-family:inherit;font-weight:inherit;font-size:inherit;min-height:2.5em;margin:0 0 0.25em}.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input textarea:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="date"]:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="datetime"]:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="datetime-local"]:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="email"]:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="month"]:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="number"]:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="password"]:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="search"]:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="tel"]:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="text"]:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="time"]:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="url"]:focus,.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="week"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input textarea:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="date"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="datetime"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="datetime-local"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="email"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="month"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="number"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="password"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="search"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="tel"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="text"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="time"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="url"]:focus,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="week"]:focus{-moz-box-shadow:inset 0 0 0 2px #8dbdf1;-webkit-box-shadow:inset 0 0 0 2px #8dbdf1;box-shadow:inset 0 0 0 2px #8dbdf1;outline:none}.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-buttons,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-buttons{*zoom:1}.vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-buttons:after,.vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-buttons:after{content:"";display:table;clear:both}.vex.vex-theme-bottom-right-corner .vex-content{-moz-border-radius:5px 0 0 0;-webkit-border-radius:5px;border-radius:5px 0 0 0;right:0;left:auto}.vex.vex-theme-bottom-left-corner .vex-content{-moz-border-radius:0 5px 0 0;-webkit-border-radius:0;border-radius:0 5px 0 0;left:0;right:auto}.vex-loading-spinner.vex-theme-bottom-right-corner{-moz-box-shadow:0 0 0 0.5em #f0f0f0,0 0 1px 0.5em rgba(0,0,0,0.3);-webkit-box-shadow:0 0 0 0.5em #f0f0f0,0 0 1px 0.5em rgba(0,0,0,0.3);box-shadow:0 0 0 0.5em #f0f0f0,0 0 1px 0.5em rgba(0,0,0,0.3);-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;background:#f0f0f0;border:0.2em solid transparent;border-top-color:#bbb;top:-1.1em;bottom:auto}@keyframes vex-dropin{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:0}1%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px);opacity:0}2%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px);opacity:1}100%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:1}}@-webkit-keyframes vex-dropin{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:0}1%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px);opacity:0}2%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px);opacity:1}100%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:1}}@-moz-keyframes vex-dropin{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:0}1%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px);opacity:0}2%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px);opacity:1}100%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:1}}@-ms-keyframes vex-dropin{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:0}1%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px);opacity:0}2%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px);opacity:1}100%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:1}}@-o-keyframes vex-dropin{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:0}1%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px);opacity:0}2%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px);opacity:1}100%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);opacity:1}}@keyframes vex-dropout{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px)}}@-webkit-keyframes vex-dropout{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px)}}@-moz-keyframes vex-dropout{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px)}}@-ms-keyframes vex-dropout{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px)}}@-o-keyframes vex-dropout{0%{transform:translateY(0);-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0)}100%{transform:translateY(-800px);-webkit-transform:translateY(-800px);-moz-transform:translateY(-800px);-ms-transform:translateY(-800px);-o-transform:translateY(-800px)}}@keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}@-webkit-keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}@-moz-keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}@-ms-keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}@-o-keyframes vex-pulse{0%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}70%{-moz-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);-webkit-box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25);box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}100%{-moz-box-shadow:inset 0 0 0 300px transparent;-webkit-box-shadow:inset 0 0 0 300px transparent;box-shadow:inset 0 0 0 300px transparent}}.vex.vex-theme-top{bottom:inherit}.vex.vex-theme-top .vex-overlay{display:none}.vex.vex-theme-top.vex-closing .vex-content{animation:vex-dropout 0.5s;-webkit-animation:vex-dropout 0.5s;-moz-animation:vex-dropout 0.5s;-ms-animation:vex-dropout 0.5s;-o-animation:vex-dropout 0.5s;-webkit-backface-visibility:hidden}.vex.vex-theme-top .vex-content{animation:vex-dropin 0.5s;-webkit-animation:vex-dropin 0.5s;-moz-animation:vex-dropin 0.5s;-ms-animation:vex-dropin 0.5s;-o-animation:vex-dropin 0.5s;-webkit-backface-visibility:hidden;*zoom:1;font-family:"Helvetica Neue",sans-serif;background:#f0f0f0;color:#444;padding:0.5em 0.5em 0.25em;position:relative;margin:0 auto;max-width:100%;font-size:1.1em;line-height:1.5em}.vex.vex-theme-top .vex-content:after{content:"";display:table;clear:both}.vex.vex-theme-top .vex-content h1,.vex.vex-theme-top .vex-content h2,.vex.vex-theme-top .vex-content h3,.vex.vex-theme-top .vex-content h4,.vex.vex-theme-top .vex-content h5,.vex.vex-theme-top .vex-content h6,.vex.vex-theme-top .vex-content p,.vex.vex-theme-top .vex-content ul,.vex.vex-theme-top .vex-content li{color:inherit}.vex.vex-theme-top .vex-close{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;position:absolute;top:0;right:0;cursor:pointer}.vex.vex-theme-top .vex-close:before{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;position:absolute;content:"\00D7";font-size:26px;font-weight:normal;line-height:31px;height:30px;width:30px;text-align:center;top:3px;right:3px;color:#bbb;background:transparent}.vex.vex-theme-top .vex-close:hover:before,.vex.vex-theme-top .vex-close:active:before{color:#777;background:#e0e0e0}.vex.vex-theme-top .vex-dialog-form{text-align:center;margin:0 90px}@media only screen and (max-width: 760px){.vex.vex-theme-top .vex-dialog-form{margin:0 auto}}.vex.vex-theme-top .vex-dialog-form .vex-dialog-message,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input,.vex.vex-theme-top .vex-dialog-form .vex-dialog-buttons{display:inline-block}.vex.vex-theme-top .vex-dialog-form .vex-dialog-input{min-width:200px;margin:0 1em}.vex.vex-theme-top .vex-dialog-form .vex-dialog-input textarea,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="date"],.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="datetime"],.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="datetime-local"],.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="email"],.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="month"],.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="number"],.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="password"],.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="search"],.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="tel"],.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="text"],.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="time"],.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="url"],.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="week"]{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#fff;width:100%;padding:0.25em 0.67em;border:0;font-family:inherit;font-weight:inherit;font-size:inherit;min-height:2.5em;margin:0 0 0 0}.vex.vex-theme-top .vex-dialog-form .vex-dialog-input textarea:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="date"]:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="datetime"]:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="datetime-local"]:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="email"]:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="month"]:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="number"]:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="password"]:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="search"]:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="tel"]:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="text"]:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="time"]:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="url"]:focus,.vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="week"]:focus{-moz-box-shadow:inset 0 0 0 2px #8dbdf1;-webkit-box-shadow:inset 0 0 0 2px #8dbdf1;box-shadow:inset 0 0 0 2px #8dbdf1;outline:none}.vex.vex-theme-top .vex-dialog-form .vex-dialog-buttons{*zoom:1}.vex.vex-theme-top .vex-dialog-form .vex-dialog-buttons:after{content:"";display:table;clear:both}.vex.vex-theme-top .vex-dialog-form .vex-dialog-buttons input{float:none}.vex.vex-theme-top .leadin-subscribe-powered-by{position:absolute;bottom:0.5em;right:0.5em}.vex.vex-theme-top .vex-dialog-button{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border:0;float:right;margin:0 0 0 0.5em;font-family:inherit;text-transform:uppercase;letter-spacing:0.1em;font-size:0.8em;line-height:1em;padding:0.75em 2em}.vex.vex-theme-top .vex-dialog-button.vex-last{margin-left:0}.vex.vex-theme-top .vex-dialog-button:focus{animation:vex-pulse 1.1s infinite;-webkit-animation:vex-pulse 1.1s infinite;-moz-animation:vex-pulse 1.1s infinite;-ms-animation:vex-pulse 1.1s infinite;-o-animation:vex-pulse 1.1s infinite;-webkit-backface-visibility:hidden;outline:none}@media (max-width: 568px){.vex.vex-theme-top .vex-dialog-button:focus{animation:none;-webkit-animation:none;-moz-animation:none;-ms-animation:none;-o-animation:none;-webkit-backface-visibility:hidden}}.vex.vex-theme-top .vex-dialog-button.vex-dialog-button-primary{background:#3288e6;color:#fff}.vex.vex-theme-top .vex-dialog-button.vex-dialog-button-secondary{background:#e0e0e0;color:#777}.vex-loading-spinner.vex-theme-top{-moz-box-shadow:0 0 0 0.5em #f0f0f0,0 0 1px 0.5em rgba(0,0,0,0.3);-webkit-box-shadow:0 0 0 0.5em #f0f0f0,0 0 1px 0.5em rgba(0,0,0,0.3);box-shadow:0 0 0 0.5em #f0f0f0,0 0 1px 0.5em rgba(0,0,0,0.3);-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;background:#f0f0f0;border:0.2em solid transparent;border-top-color:#bbb;top:-1.1em;bottom:auto}@keyframes vex-fadein{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes vex-fadein{0%{opacity:0}100%{opacity:1}}@-moz-keyframes vex-fadein{0%{opacity:0}100%{opacity:1}}@-ms-keyframes vex-fadein{0%{opacity:0}100%{opacity:1}}@-o-keyframes vex-fadein{0%{opacity:0}100%{opacity:1}}@keyframes vex-fadeout{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes vex-fadeout{0%{opacity:1}100%{opacity:0}}@-moz-keyframes vex-fadeout{0%{opacity:1}100%{opacity:0}}@-ms-keyframes vex-fadeout{0%{opacity:1}100%{opacity:0}}@-o-keyframes vex-fadeout{0%{opacity:1}100%{opacity:0}}@keyframes vex-rotation{0%{transform:rotate(0deg);-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg)}100%{transform:rotate(359deg);-webkit-transform:rotate(359deg);-moz-transform:rotate(359deg);-ms-transform:rotate(359deg);-o-transform:rotate(359deg)}}@-webkit-keyframes vex-rotation{0%{transform:rotate(0deg);-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg)}100%{transform:rotate(359deg);-webkit-transform:rotate(359deg);-moz-transform:rotate(359deg);-ms-transform:rotate(359deg);-o-transform:rotate(359deg)}}@-moz-keyframes vex-rotation{0%{transform:rotate(0deg);-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg)}100%{transform:rotate(359deg);-webkit-transform:rotate(359deg);-moz-transform:rotate(359deg);-ms-transform:rotate(359deg);-o-transform:rotate(359deg)}}@-ms-keyframes vex-rotation{0%{transform:rotate(0deg);-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg)}100%{transform:rotate(359deg);-webkit-transform:rotate(359deg);-moz-transform:rotate(359deg);-ms-transform:rotate(359deg);-o-transform:rotate(359deg)}}@-o-keyframes vex-rotation{0%{transform:rotate(0deg);-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg)}100%{transform:rotate(359deg);-webkit-transform:rotate(359deg);-moz-transform:rotate(359deg);-ms-transform:rotate(359deg);-o-transform:rotate(359deg)}}.vex,.vex *,.vex *:before,.vex *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.vex{position:fixed;overflow:visible;-webkit-overflow-scrolling:touch;z-index:1111;top:0;right:0;bottom:0;left:0}.vex-overlay{background:#000;filter:alpha(opacity=40);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"}.vex-overlay{animation:vex-fadein 0.5s;-webkit-animation:vex-fadein 0.5s;-moz-animation:vex-fadein 0.5s;-ms-animation:vex-fadein 0.5s;-o-animation:vex-fadein 0.5s;-webkit-backface-visibility:hidden;position:fixed;background:rgba(0,0,0,0.4);top:0;right:0;bottom:0;left:0}.vex.vex-closing .vex-overlay{animation:vex-fadeout 0.5s;-webkit-animation:vex-fadeout 0.5s;-moz-animation:vex-fadeout 0.5s;-ms-animation:vex-fadeout 0.5s;-o-animation:vex-fadeout 0.5s;-webkit-backface-visibility:hidden}.vex-content{*zoom:1;animation:vex-fadein 0.5s;-webkit-animation:vex-fadein 0.5s;-moz-animation:vex-fadein 0.5s;-ms-animation:vex-fadein 0.5s;-o-animation:vex-fadein 0.5s;-webkit-backface-visibility:hidden;-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.15);-webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.15);box-shadow:0px 1px 2px rgba(0,0,0,0.15);background:#fff}.vex-content:after{content:"";display:table;clear:both}.vex.vex-closing .vex-content{animation:vex-fadeout 0.5s;-webkit-animation:vex-fadeout 0.5s;-moz-animation:vex-fadeout 0.5s;-ms-animation:vex-fadeout 0.5s;-o-animation:vex-fadeout 0.5s;-webkit-backface-visibility:hidden}.vex-content .powered-by{display:block;font-size:11px;color:#888;padding:10px 0 0 0}.vex-content .vex-dialog-message,.vex-content .vex-dialog-input,.vex-content .vex-dialog-buttons{*zoom:1;font-size:16px}.vex-content .vex-dialog-message:after,.vex-content .vex-dialog-input:after,.vex-content .vex-dialog-buttons:after{content:"";display:table;clear:both}.vex-content .leadin-subscribe-powered-by{float:right;font-size:12px;font-weight:bold;color:#3288e6}.vex-close:before{font-family:Arial,sans-serif;content:"\00D7"}.vex-dialog-form{margin:0}.vex-dialog-form .vex-dialog-message{font-weight:bold}.vex-dialog-button{-webkit-appearance:none;cursor:pointer;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;float:right;margin:0 0 0 0.5em;font-family:inherit;text-transform:uppercase;letter-spacing:0.1em;font-size:0.8em;line-height:1em;padding:0.75em 2em}.vex-dialog-button.vex-last{margin-left:0}.vex-dialog-button:focus,.vex-dialog-button:hover{outline:none}.vex-dialog-button.vex-dialog-button-primary{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;border:0;background:#3288e6;color:#fff}.vex-dialog-button.vex-dialog-button-primary:hover{background:#5fa2ec}.vex-dialog-button.vex-dialog-button-secondary{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;border:0;background:#e0e0e0;color:#777}.vex-loading-spinner{animation:vex-rotation 0.7s linear infinite;-webkit-animation:vex-rotation 0.7s linear infinite;-moz-animation:vex-rotation 0.7s linear infinite;-ms-animation:vex-rotation 0.7s linear infinite;-o-animation:vex-rotation 0.7s linear infinite;-webkit-backface-visibility:hidden;-moz-box-shadow:0 0 1em rgba(0,0,0,0.1);-webkit-box-shadow:0 0 1em rgba(0,0,0,0.1);box-shadow:0 0 1em rgba(0,0,0,0.1);position:fixed;z-index:1112;margin:auto;top:0;right:0;bottom:0;left:0;height:2em;width:2em;background:#fff}@media only screen and (max-width: 760px){#leadin-subscribe-mobile-check,.leadin-subscribe-powered-by{display:none}}
assets/css/ink.css ADDED
@@ -0,0 +1,694 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**********************************************
2
+ * Ink v1.0.5 - 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
+ min-width: 100%;
14
+ -webkit-text-size-adjust:100%;
15
+ -ms-text-size-adjust:100%;
16
+ margin:0;
17
+ padding:0;
18
+ }
19
+
20
+ /* .ExternalClass applies to Outlook.com (the artist formerly known as Hotmail) */
21
+
22
+ .ExternalClass {
23
+ width:100%;
24
+ }
25
+
26
+ .ExternalClass,
27
+ .ExternalClass p,
28
+ .ExternalClass span,
29
+ .ExternalClass font,
30
+ .ExternalClass td,
31
+ .ExternalClass div {
32
+ line-height: 100%;
33
+ }
34
+
35
+ #backgroundTable {
36
+ margin:0;
37
+ padding:0;
38
+ width:100% !important;
39
+ line-height: 100% !important;
40
+ }
41
+
42
+ img {
43
+ outline:none;
44
+ text-decoration:none;
45
+ -ms-interpolation-mode: bicubic;
46
+ width: auto;
47
+ max-width: 100%;
48
+ float: left;
49
+ clear: both;
50
+ display: block;
51
+ }
52
+
53
+ center {
54
+ width: 100%;
55
+ min-width: 580px;
56
+ }
57
+
58
+ a img {
59
+ border: none;
60
+ }
61
+
62
+ p {
63
+ margin: 0 0 0 10px;
64
+ }
65
+
66
+ table {
67
+ border-spacing: 0;
68
+ border-collapse: collapse;
69
+ }
70
+
71
+ td {
72
+ word-break: break-word;
73
+ -webkit-hyphens: auto;
74
+ -moz-hyphens: auto;
75
+ hyphens: auto;
76
+ border-collapse: collapse !important;
77
+ }
78
+
79
+ table, tr, td {
80
+ padding: 0;
81
+ vertical-align: top;
82
+ text-align: left;
83
+ }
84
+
85
+ hr {
86
+ color: #d9d9d9;
87
+ background-color: #d9d9d9;
88
+ height: 1px;
89
+ border: none;
90
+ }
91
+
92
+ /* Responsive Grid */
93
+
94
+ table.body {
95
+ height: 100%;
96
+ width: 100%;
97
+ }
98
+
99
+ table.container {
100
+ width: 580px;
101
+ margin: 0 auto;
102
+ text-align: inherit;
103
+ }
104
+
105
+ table.row {
106
+ padding: 0px;
107
+ width: 100%;
108
+ position: relative;
109
+ }
110
+
111
+ table.container table.row {
112
+ display: block;
113
+ }
114
+
115
+ td.wrapper {
116
+ padding: 10px 20px 0px 0px;
117
+ position: relative;
118
+ }
119
+
120
+ table.columns,
121
+ table.column {
122
+ margin: 0 auto;
123
+ }
124
+
125
+ table.columns td,
126
+ table.column td {
127
+ padding: 0px 0px 10px;
128
+ }
129
+
130
+ table.columns td.sub-columns,
131
+ table.column td.sub-columns,
132
+ table.columns td.sub-column,
133
+ table.column td.sub-column {
134
+ padding-right: 10px;
135
+ }
136
+
137
+ td.sub-column, td.sub-columns {
138
+ min-width: 0px;
139
+ }
140
+
141
+ table.row td.last,
142
+ table.container td.last {
143
+ padding-right: 0px;
144
+ }
145
+
146
+ table.one { width: 30px; }
147
+ table.two { width: 80px; }
148
+ table.three { width: 130px; }
149
+ table.four { width: 180px; }
150
+ table.five { width: 230px; }
151
+ table.six { width: 280px; }
152
+ table.seven { width: 330px; }
153
+ table.eight { width: 380px; }
154
+ table.nine { width: 430px; }
155
+ table.ten { width: 480px; }
156
+ table.eleven { width: 530px; }
157
+ table.twelve { width: 580px; }
158
+
159
+ table.one center { min-width: 30px; }
160
+ table.two center { min-width: 80px; }
161
+ table.three center { min-width: 130px; }
162
+ table.four center { min-width: 180px; }
163
+ table.five center { min-width: 230px; }
164
+ table.six center { min-width: 280px; }
165
+ table.seven center { min-width: 330px; }
166
+ table.eight center { min-width: 380px; }
167
+ table.nine center { min-width: 430px; }
168
+ table.ten center { min-width: 480px; }
169
+ table.eleven center { min-width: 530px; }
170
+ table.twelve center { min-width: 580px; }
171
+
172
+ table.one .panel center { min-width: 10px; }
173
+ table.two .panel center { min-width: 60px; }
174
+ table.three .panel center { min-width: 110px; }
175
+ table.four .panel center { min-width: 160px; }
176
+ table.five .panel center { min-width: 210px; }
177
+ table.six .panel center { min-width: 260px; }
178
+ table.seven .panel center { min-width: 310px; }
179
+ table.eight .panel center { min-width: 360px; }
180
+ table.nine .panel center { min-width: 410px; }
181
+ table.ten .panel center { min-width: 460px; }
182
+ table.eleven .panel center { min-width: 510px; }
183
+ table.twelve .panel center { min-width: 560px; }
184
+
185
+ .body .columns td.one,
186
+ .body .column td.one { width: 8.333333%; }
187
+ .body .columns td.two,
188
+ .body .column td.two { width: 16.666666%; }
189
+ .body .columns td.three,
190
+ .body .column td.three { width: 25%; }
191
+ .body .columns td.four,
192
+ .body .column td.four { width: 33.333333%; }
193
+ .body .columns td.five,
194
+ .body .column td.five { width: 41.666666%; }
195
+ .body .columns td.six,
196
+ .body .column td.six { width: 50%; }
197
+ .body .columns td.seven,
198
+ .body .column td.seven { width: 58.333333%; }
199
+ .body .columns td.eight,
200
+ .body .column td.eight { width: 66.666666%; }
201
+ .body .columns td.nine,
202
+ .body .column td.nine { width: 75%; }
203
+ .body .columns td.ten,
204
+ .body .column td.ten { width: 83.333333%; }
205
+ .body .columns td.eleven,
206
+ .body .column td.eleven { width: 91.666666%; }
207
+ .body .columns td.twelve,
208
+ .body .column td.twelve { width: 100%; }
209
+
210
+ td.offset-by-one { padding-left: 50px; }
211
+ td.offset-by-two { padding-left: 100px; }
212
+ td.offset-by-three { padding-left: 150px; }
213
+ td.offset-by-four { padding-left: 200px; }
214
+ td.offset-by-five { padding-left: 250px; }
215
+ td.offset-by-six { padding-left: 300px; }
216
+ td.offset-by-seven { padding-left: 350px; }
217
+ td.offset-by-eight { padding-left: 400px; }
218
+ td.offset-by-nine { padding-left: 450px; }
219
+ td.offset-by-ten { padding-left: 500px; }
220
+ td.offset-by-eleven { padding-left: 550px; }
221
+
222
+ td.expander {
223
+ visibility: hidden;
224
+ width: 0px;
225
+ padding: 0 !important;
226
+ }
227
+
228
+ table.columns .text-pad,
229
+ table.column .text-pad {
230
+ padding-left: 10px;
231
+ padding-right: 10px;
232
+ }
233
+
234
+ table.columns .left-text-pad,
235
+ table.columns .text-pad-left,
236
+ table.column .left-text-pad,
237
+ table.column .text-pad-left {
238
+ padding-left: 10px;
239
+ }
240
+
241
+ table.columns .right-text-pad,
242
+ table.columns .text-pad-right,
243
+ table.column .right-text-pad,
244
+ table.column .text-pad-right {
245
+ padding-right: 10px;
246
+ }
247
+
248
+ /* Block Grid */
249
+
250
+ .block-grid {
251
+ width: 100%;
252
+ max-width: 580px;
253
+ }
254
+
255
+ .block-grid td {
256
+ display: inline-block;
257
+ padding:10px;
258
+ }
259
+
260
+ .two-up td {
261
+ width:270px;
262
+ }
263
+
264
+ .three-up td {
265
+ width:173px;
266
+ }
267
+
268
+ .four-up td {
269
+ width:125px;
270
+ }
271
+
272
+ .five-up td {
273
+ width:96px;
274
+ }
275
+
276
+ .six-up td {
277
+ width:76px;
278
+ }
279
+
280
+ .seven-up td {
281
+ width:62px;
282
+ }
283
+
284
+ .eight-up td {
285
+ width:52px;
286
+ }
287
+
288
+ /* Alignment & Visibility Classes */
289
+
290
+ table.center, td.center {
291
+ text-align: center;
292
+ }
293
+
294
+ h1.center,
295
+ h2.center,
296
+ h3.center,
297
+ h4.center,
298
+ h5.center,
299
+ h6.center,
300
+ p.center {
301
+ text-align: center;
302
+ }
303
+
304
+ span.center {
305
+ display: block;
306
+ width: 100%;
307
+ text-align: center;
308
+ }
309
+
310
+ img.center {
311
+ margin: 0 auto;
312
+ float: none;
313
+ }
314
+
315
+ .show-for-small,
316
+ .hide-for-desktop {
317
+ display: none;
318
+ }
319
+
320
+ /* Typography */
321
+
322
+ body, table.body, h1, h2, h3, h4, h5, h6, p, td {
323
+ color: #222222;
324
+ font-family: "Helvetica", "Arial", sans-serif;
325
+ font-weight: normal;
326
+ padding:0;
327
+ margin: 0;
328
+ text-align: left;
329
+ line-height: 1.3;
330
+ }
331
+
332
+ h1, h2, h3, h4, h5, h6 {
333
+ word-break: normal;
334
+ }
335
+
336
+ h1 {font-size: 40px;}
337
+ h2 {font-size: 36px;}
338
+ h3 {font-size: 32px;}
339
+ h4 {font-size: 28px;}
340
+ h5 {font-size: 24px;}
341
+ h6 {font-size: 20px;}
342
+ body, table.body, p, td {font-size: 14px;line-height:19px;}
343
+
344
+ p.lead, p.lede, p.leed {
345
+ font-size: 18px;
346
+ line-height:21px;
347
+ }
348
+
349
+ p {
350
+ margin-bottom: 10px;
351
+ }
352
+
353
+ small {
354
+ font-size: 10px;
355
+ }
356
+
357
+ a {
358
+ color: #2ba6cb;
359
+ text-decoration: none;
360
+ }
361
+
362
+ a:hover {
363
+ color: #2795b6 !important;
364
+ }
365
+
366
+ a:active {
367
+ color: #2795b6 !important;
368
+ }
369
+
370
+ a:visited {
371
+ color: #2ba6cb !important;
372
+ }
373
+
374
+ h1 a,
375
+ h2 a,
376
+ h3 a,
377
+ h4 a,
378
+ h5 a,
379
+ h6 a {
380
+ color: #2ba6cb;
381
+ }
382
+
383
+ h1 a:active,
384
+ h2 a:active,
385
+ h3 a:active,
386
+ h4 a:active,
387
+ h5 a:active,
388
+ h6 a:active {
389
+ color: #2ba6cb !important;
390
+ }
391
+
392
+ h1 a:visited,
393
+ h2 a:visited,
394
+ h3 a:visited,
395
+ h4 a:visited,
396
+ h5 a:visited,
397
+ h6 a:visited {
398
+ color: #2ba6cb !important;
399
+ }
400
+
401
+ /* Panels */
402
+
403
+ .panel {
404
+ background: #f2f2f2;
405
+ border: 1px solid #d9d9d9;
406
+ padding: 10px !important;
407
+ }
408
+
409
+ .sub-grid table {
410
+ width: 100%;
411
+ }
412
+
413
+ .sub-grid td.sub-columns {
414
+ padding-bottom: 0;
415
+ }
416
+
417
+ /* Buttons */
418
+
419
+ table.button,
420
+ table.tiny-button,
421
+ table.small-button,
422
+ table.medium-button,
423
+ table.large-button {
424
+ width: 100%;
425
+ overflow: hidden;
426
+ }
427
+
428
+ table.button td,
429
+ table.tiny-button td,
430
+ table.small-button td,
431
+ table.medium-button td,
432
+ table.large-button td {
433
+ display: block;
434
+ width: auto !important;
435
+ text-align: center;
436
+ background: #2ba6cb;
437
+ border: 1px solid #2284a1;
438
+ color: #ffffff;
439
+ padding: 8px 0;
440
+ }
441
+
442
+ table.tiny-button td {
443
+ padding: 5px 0 4px;
444
+ }
445
+
446
+ table.small-button td {
447
+ padding: 8px 0 7px;
448
+ }
449
+
450
+ table.medium-button td {
451
+ padding: 12px 0 10px;
452
+ }
453
+
454
+ table.large-button td {
455
+ padding: 21px 0 18px;
456
+ }
457
+
458
+ table.button td a,
459
+ table.tiny-button td a,
460
+ table.small-button td a,
461
+ table.medium-button td a,
462
+ table.large-button td a {
463
+ font-weight: bold;
464
+ text-decoration: none;
465
+ font-family: Helvetica, Arial, sans-serif;
466
+ color: #ffffff;
467
+ font-size: 16px;
468
+ display: block;
469
+ height: 100%;
470
+ width: 100%;
471
+ }
472
+
473
+ table.tiny-button td a {
474
+ font-size: 12px;
475
+ font-weight: normal;
476
+ }
477
+
478
+ table.small-button td a {
479
+ font-size: 16px;
480
+ }
481
+
482
+ table.medium-button td a {
483
+ font-size: 20px;
484
+ }
485
+
486
+ table.large-button td a {
487
+ font-size: 24px;
488
+ }
489
+
490
+ table.button:hover td,
491
+ table.button:visited td,
492
+ table.button:active td {
493
+ background: #2795b6 !important;
494
+ }
495
+
496
+ table.button:hover td a,
497
+ table.button:visited td a,
498
+ table.button:active td a {
499
+ color: #fff !important;
500
+ }
501
+
502
+ table.button:hover td,
503
+ table.tiny-button:hover td,
504
+ table.small-button:hover td,
505
+ table.medium-button:hover td,
506
+ table.large-button:hover td {
507
+ background: #2795b6 !important;
508
+ }
509
+
510
+ table.button:hover td a,
511
+ table.button:active td a,
512
+ table.button td a:visited,
513
+ table.tiny-button:hover td a,
514
+ table.tiny-button:active td a,
515
+ table.tiny-button td a:visited,
516
+ table.small-button:hover td a,
517
+ table.small-button:active td a,
518
+ table.small-button td a:visited,
519
+ table.medium-button:hover td a,
520
+ table.medium-button:active td a,
521
+ table.medium-button td a:visited,
522
+ table.large-button:hover td a,
523
+ table.large-button:active td a,
524
+ table.large-button td a:visited {
525
+ color: #ffffff !important;
526
+ }
527
+
528
+ table.secondary td {
529
+ background: #e9e9e9;
530
+ border-color: #d0d0d0;
531
+ color: #555;
532
+ }
533
+
534
+ table.secondary td a {
535
+ color: #555;
536
+ }
537
+
538
+ table.secondary:hover td {
539
+ background: #d0d0d0 !important;
540
+ color: #555;
541
+ }
542
+
543
+ table.secondary:hover td a,
544
+ table.secondary td a:visited,
545
+ table.secondary:active td a {
546
+ color: #555 !important;
547
+ }
548
+
549
+ table.success td {
550
+ background: #5da423;
551
+ border-color: #457a1a;
552
+ }
553
+
554
+ table.success:hover td {
555
+ background: #457a1a !important;
556
+ }
557
+
558
+ table.alert td {
559
+ background: #c60f13;
560
+ border-color: #970b0e;
561
+ }
562
+
563
+ table.alert:hover td {
564
+ background: #970b0e !important;
565
+ }
566
+
567
+ table.radius td {
568
+ -webkit-border-radius: 3px;
569
+ -moz-border-radius: 3px;
570
+ border-radius: 3px;
571
+ }
572
+
573
+ table.round td {
574
+ -webkit-border-radius: 500px;
575
+ -moz-border-radius: 500px;
576
+ border-radius: 500px;
577
+ }
578
+
579
+ /* Outlook First */
580
+
581
+ body.outlook p {
582
+ display: inline !important;
583
+ }
584
+
585
+ /* Media Queries */
586
+
587
+ @media only screen and (max-width: 600px) {
588
+
589
+ table[class="body"] img {
590
+ width: auto !important;
591
+ height: auto !important;
592
+ }
593
+
594
+ table[class="body"] center {
595
+ min-width: 0 !important;
596
+ }
597
+
598
+ table[class="body"] .container {
599
+ width: 95% !important;
600
+ }
601
+
602
+ table[class="body"] .row {
603
+ width: 100% !important;
604
+ display: block !important;
605
+ }
606
+
607
+ table[class="body"] .wrapper {
608
+ display: block !important;
609
+ padding-right: 0 !important;
610
+ }
611
+
612
+ table[class="body"] .columns,
613
+ table[class="body"] .column {
614
+ table-layout: fixed !important;
615
+ float: none !important;
616
+ width: 100% !important;
617
+ padding-right: 0px !important;
618
+ padding-left: 0px !important;
619
+ display: block !important;
620
+ }
621
+
622
+ table[class="body"] .wrapper.first .columns,
623
+ table[class="body"] .wrapper.first .column {
624
+ display: table !important;
625
+ }
626
+
627
+ table[class="body"] table.columns td,
628
+ table[class="body"] table.column td {
629
+ width: 100% !important;
630
+ }
631
+
632
+ table[class="body"] .columns td.one,
633
+ table[class="body"] .column td.one { width: 8.333333% !important; }
634
+ table[class="body"] .columns td.two,
635
+ table[class="body"] .column td.two { width: 16.666666% !important; }
636
+ table[class="body"] .columns td.three,
637
+ table[class="body"] .column td.three { width: 25% !important; }
638
+ table[class="body"] .columns td.four,
639
+ table[class="body"] .column td.four { width: 33.333333% !important; }
640
+ table[class="body"] .columns td.five,
641
+ table[class="body"] .column td.five { width: 41.666666% !important; }
642
+ table[class="body"] .columns td.six,
643
+ table[class="body"] .column td.six { width: 50% !important; }
644
+ table[class="body"] .columns td.seven,
645
+ table[class="body"] .column td.seven { width: 58.333333% !important; }
646
+ table[class="body"] .columns td.eight,
647
+ table[class="body"] .column td.eight { width: 66.666666% !important; }
648
+ table[class="body"] .columns td.nine,
649
+ table[class="body"] .column td.nine { width: 75% !important; }
650
+ table[class="body"] .columns td.ten,
651
+ table[class="body"] .column td.ten { width: 83.333333% !important; }
652
+ table[class="body"] .columns td.eleven,
653
+ table[class="body"] .column td.eleven { width: 91.666666% !important; }
654
+ table[class="body"] .columns td.twelve,
655
+ table[class="body"] .column td.twelve { width: 100% !important; }
656
+
657
+ table[class="body"] td.offset-by-one,
658
+ table[class="body"] td.offset-by-two,
659
+ table[class="body"] td.offset-by-three,
660
+ table[class="body"] td.offset-by-four,
661
+ table[class="body"] td.offset-by-five,
662
+ table[class="body"] td.offset-by-six,
663
+ table[class="body"] td.offset-by-seven,
664
+ table[class="body"] td.offset-by-eight,
665
+ table[class="body"] td.offset-by-nine,
666
+ table[class="body"] td.offset-by-ten,
667
+ table[class="body"] td.offset-by-eleven {
668
+ padding-left: 0 !important;
669
+ }
670
+
671
+ table[class="body"] table.columns td.expander {
672
+ width: 1px !important;
673
+ }
674
+
675
+ table[class="body"] .right-text-pad,
676
+ table[class="body"] .text-pad-right {
677
+ padding-left: 10px !important;
678
+ }
679
+
680
+ table[class="body"] .left-text-pad,
681
+ table[class="body"] .text-pad-left {
682
+ padding-right: 10px !important;
683
+ }
684
+
685
+ table[class="body"] .hide-for-small,
686
+ table[class="body"] .show-for-desktop {
687
+ display: none !important;
688
+ }
689
+
690
+ table[class="body"] .show-for-small,
691
+ table[class="body"] .hide-for-desktop {
692
+ display: inherit !important;
693
+ }
694
+ }
assets/emails/build/lead-notification-inlined.html ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <meta name="viewport" content="width=device-width" />
6
+
7
+
8
+ </head>
9
+ <body style="width: 100%; min-width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; text-align: left; line-height: 19px; font-size: 14px; background-color: #f1f1f1;">
10
+ <table class="body" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; height: 100%; width: 100%; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px; background-color: #f1f1f1;">
11
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
12
+ <td class="center" align="center" valign="top" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: center; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
13
+ <center style="width: 100%; min-width: 580px;">
14
+
15
+ <table class="container" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: inherit; width: 580px; margin: 0 auto;">
16
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
17
+ <td style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
18
+
19
+ <table class="row submission-detail" style="border-spacing: 0; border-collapse: collapse; padding: 0px; vertical-align: top; text-align: left; width: 100%; position: relative; display: block;">
20
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
21
+ <td class="wrapper last" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 10px 20px 0px 0px; vertical-align: top; text-align: left; position: relative; padding-right: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
22
+
23
+ <table class="twelve columns" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; margin: 0 auto; width: 580px;">
24
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
25
+ <td class="text-pad" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0px 0px 10px; vertical-align: top; text-align: left; padding-left: 10px; padding-right: 10px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
26
+ <h3 style="color: #666; font-family: Helvetica, Arial, sans-serif; font-weight: normal; padding: 0; margin: 0; text-align: left; line-height: 1.3; word-break: normal; font-size: 18px;">New submission on <a href="#" style="color: #2ba6cb; text-decoration: none;">andygcook.com</a></h3>
27
+ </td>
28
+ <td class="expander" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; visibility: hidden; width: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;"></td>
29
+ </tr>
30
+ </table>
31
+
32
+ </td>
33
+ </tr>
34
+ </table>
35
+
36
+ <table class="row lead-identity" style="border-spacing: 0; border-collapse: collapse; padding: 0px; vertical-align: top; text-align: left; width: 100%; position: relative; display: block;">
37
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
38
+ <td class="wrapper" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 10px 20px 0px 0px; vertical-align: top; text-align: left; position: relative; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
39
+
40
+ <table class="two columns" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; margin: 0 auto; width: 80px;">
41
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
42
+ <td class="text-pad" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0px 0px 10px; vertical-align: top; text-align: left; padding-left: 10px; padding-right: 10px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
43
+
44
+ <img height="60" width="60" src="http://placehold.it/60x60" style="outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; max-width: 100%; float: left; clear: both; display: block;" />
45
+
46
+ </td>
47
+ <td class="expander" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; visibility: hidden; width: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;"></td>
48
+ </tr>
49
+ </table>
50
+
51
+ </td>
52
+ <td class="wrapper last" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 10px 20px 0px 0px; vertical-align: top; text-align: left; position: relative; padding-right: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
53
+
54
+ <table class="ten columns" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; margin: 0 auto; width: 480px;">
55
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
56
+ <td style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0px 0px 10px; vertical-align: top; text-align: left; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
57
+
58
+ <h1 style="color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; padding: 0; margin: 0; text-align: left; line-height: 60px; word-break: normal; font-size: 26px;"><a href="#" style="color: #2ba6cb; text-decoration: none;">nellyvan@gmail.com</a></h1>
59
+
60
+ </td>
61
+ <td class="expander" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; visibility: hidden; width: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;"></td>
62
+ </tr>
63
+ </table>
64
+
65
+ </td>
66
+ </tr>
67
+ </table>
68
+
69
+ <table class="row lead-timeline__date" style="border-spacing: 0; border-collapse: collapse; padding: 0px; vertical-align: top; text-align: left; width: 100%; position: relative; display: block;">
70
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
71
+ <td class="wrapper last" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 10px 20px 0px 0px; vertical-align: top; text-align: left; position: relative; padding-right: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
72
+ <table class="twelve columns" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; margin: 0 auto; width: 580px;">
73
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
74
+ <td class="text-pad" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0px 0px 10px; vertical-align: top; text-align: left; padding-left: 10px; padding-right: 10px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
75
+
76
+ <h4 style="color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: bold; padding: 0; margin: 0; text-align: left; line-height: 1.3; word-break: normal; font-size: 14px;">Monday May 19, 2014, 5:29pm-6:50pm</h4>
77
+
78
+ </td>
79
+ <td class="expander" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; visibility: hidden; width: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;"></td>
80
+ </tr>
81
+ </table>
82
+ </td>
83
+ </tr>
84
+ </table>
85
+
86
+ <table class="row lead-timeline__event submission" style="border-spacing: 0; border-collapse: collapse; padding: 0px; vertical-align: top; text-align: left; width: 100%; position: relative; display: block; background-color: #fff; border-top: 1px solid #dedede; border-right: 1px solid #dedede; border-left: 4px solid #f6601d;">
87
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
88
+ <td class="wrapper" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 10px 20px 0px 0px; vertical-align: top; text-align: left; position: relative; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
89
+ <table class="two columns" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; margin: 0 auto; width: 80px;">
90
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
91
+ <td class="text-pad" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0px 0px 10px; vertical-align: top; text-align: left; padding-left: 10px; padding-right: 10px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
92
+
93
+ <p class="lead-timeline__event-time" style="margin: 0; color: #b34a12; font-family: Helvetica, Arial, sans-serif; font-weight: normal; padding: 0; text-align: left; line-height: 19px; font-size: 14px; margin-bottom: 10px;">6:50 pm</p>
94
+
95
+ </td>
96
+ <td class="expander" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; visibility: hidden; width: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;"></td>
97
+ </tr>
98
+ </table>
99
+ </td>
100
+ <td class="wrapper last" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 10px 20px 0px 0px; vertical-align: top; text-align: left; position: relative; padding-right: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
101
+ <table class="ten columns" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; margin: 0 auto; width: 480px;">
102
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
103
+ <td class="text-pad" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0px 0px 10px; vertical-align: top; text-align: left; padding-left: 10px; padding-right: 10px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
104
+
105
+ <p class="lead-timeline__event-title" style="margin: 0; color: #b34a12; font-family: Helvetica, Arial, sans-serif; font-weight: normal; padding: 0; text-align: left; line-height: 19px; font-size: 14px; margin-bottom: 10px;">Filled out form on page <a href="#" style="color: #2ba6cb; text-decoration: none;">WordPress Marketing Automation &amp; Lead Tracking Plugin | LeadIn</a></p>
106
+
107
+ <p class="lead-timeline__submission-field" style="margin: 0; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; padding: 0; text-align: left; line-height: 19px; font-size: 14px; margin-bottom: 10px;">
108
+ <label class="lead-timeline__submission-label" style="text-transform: uppercase; font-size: 12px; color: #999; letter-spacing: 0.05em;">NAME:</label>
109
+ <br />Nelson Joyce
110
+ </p>
111
+
112
+
113
+ <p class="lead-timeline__submission-field" style="margin: 0; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; padding: 0; text-align: left; line-height: 19px; font-size: 14px; margin-bottom: 10px;">
114
+ <label class="lead-timeline__submission-label" style="text-transform: uppercase; font-size: 12px; color: #999; letter-spacing: 0.05em;">NAME:</label>
115
+ <br />Nelson Joyce
116
+ </p>
117
+
118
+ </td>
119
+ <td class="expander" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; visibility: hidden; width: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;"></td>
120
+ </tr>
121
+ </table>
122
+ </td>
123
+ </tr>
124
+ </table>
125
+
126
+ <table class="row lead-timeline__event pageview" style="border-spacing: 0; border-collapse: collapse; padding: 0px; vertical-align: top; text-align: left; width: 100%; position: relative; display: block; background-color: #fff; border-top: 1px solid #dedede; border-right: 1px solid #dedede; border-left: 4px solid #28c;">
127
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
128
+ <td class="wrapper" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 10px 20px 0px 0px; vertical-align: top; text-align: left; position: relative; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
129
+ <table class="two columns" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; margin: 0 auto; width: 80px;">
130
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
131
+ <td class="text-pad" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0px 0px 10px; vertical-align: top; text-align: left; padding-left: 10px; padding-right: 10px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
132
+
133
+ <p class="lead-timeline__event-time" style="margin: 0; color: #1f6696; font-family: Helvetica, Arial, sans-serif; font-weight: normal; padding: 0; text-align: left; line-height: 19px; font-size: 14px; margin-bottom: 10px;">6:47 pm</p>
134
+
135
+ </td>
136
+ <td class="expander" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; visibility: hidden; width: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;"></td>
137
+ </tr>
138
+ </table>
139
+ </td>
140
+ <td class="wrapper last" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 10px 20px 0px 0px; vertical-align: top; text-align: left; position: relative; padding-right: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
141
+ <table class="ten columns" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; margin: 0 auto; width: 480px;">
142
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
143
+ <td class="text-pad" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0px 0px 10px; vertical-align: top; text-align: left; padding-left: 10px; padding-right: 10px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
144
+
145
+ <p class="lead-timeline__event-title" style="margin: 0; color: #1f6696; font-family: Helvetica, Arial, sans-serif; font-weight: normal; padding: 0; text-align: left; line-height: 19px; font-size: 14px; margin-bottom: 10px;">Download - LeadIn | WordPress CRM Plugin</p>
146
+
147
+ <p class="lead-timeline__pageview-url" style="margin: 0; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; padding: 0; text-align: left; line-height: 19px; font-size: 14px; margin-bottom: 10px;"><a href="#" style="color: #999; text-decoration: none;">http://localhost:8888/4-strategies-we-used-to-get-over-100-customer-interviews/</a></p>
148
+
149
+ </td>
150
+ <td class="expander" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; visibility: hidden; width: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;"></td>
151
+ </tr>
152
+ </table>
153
+ </td>
154
+ </tr>
155
+ </table>
156
+
157
+ <table class="row lead-timeline__event traffic-source" style="border-spacing: 0; border-collapse: collapse; padding: 0px; vertical-align: top; text-align: left; width: 100%; position: relative; display: block; background-color: #fff; border-top: 1px solid #dedede; border-right: 1px solid #dedede; border-left: 4px solid #99aa1f; border-bottom: 1px solid #dedede; margin-bottom: 20px;">
158
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
159
+ <td class="wrapper" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 10px 20px 0px 0px; vertical-align: top; text-align: left; position: relative; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
160
+ <table class="two columns" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; margin: 0 auto; width: 80px;">
161
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
162
+ <td class="text-pad" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0px 0px 10px; vertical-align: top; text-align: left; padding-left: 10px; padding-right: 10px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
163
+
164
+ <p class="lead-timeline__event-time" style="margin: 0; color: #727e14; font-family: Helvetica, Arial, sans-serif; font-weight: normal; padding: 0; text-align: left; line-height: 19px; font-size: 14px; margin-bottom: 10px;">6:47 pm</p>
165
+
166
+ </td>
167
+ <td class="expander" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; visibility: hidden; width: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;"></td>
168
+ </tr>
169
+ </table>
170
+ </td>
171
+ <td class="wrapper last" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 10px 20px 0px 0px; vertical-align: top; text-align: left; position: relative; padding-right: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
172
+ <table class="ten columns" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; margin: 0 auto; width: 480px;">
173
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
174
+ <td class="text-pad" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0px 0px 10px; vertical-align: top; text-align: left; padding-left: 10px; padding-right: 10px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
175
+
176
+ <p class="lead-timeline__event-title" style="margin: 0; color: #727e14; font-family: Helvetica, Arial, sans-serif; font-weight: normal; padding: 0; text-align: left; line-height: 19px; font-size: 14px; margin-bottom: 10px;">Traffic Source: https://www.google.com/</p>
177
+
178
+ </td>
179
+ <td class="expander" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; visibility: hidden; width: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;"></td>
180
+ </tr>
181
+ </table>
182
+ </td>
183
+ </tr>
184
+ </table>
185
+
186
+ <table class="row footer" style="border-spacing: 0; border-collapse: collapse; padding: 0px; vertical-align: top; text-align: left; width: 100%; position: relative; display: block; margin-bottom: 20px;">
187
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
188
+ <td class="wrapper last" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 10px 20px 0px 0px; vertical-align: top; text-align: left; position: relative; padding-right: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
189
+
190
+ <table class="eight columns" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; margin: 0 auto; width: 380px;">
191
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
192
+ <td align="center" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0px 0px 10px; vertical-align: top; text-align: left; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;">
193
+ <center style="width: 100%; min-width: 380px;">
194
+ <table class="button medium-button radius" style="border-spacing: 0; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; width: 100%; overflow: hidden;">
195
+ <tr style="padding: 0; vertical-align: top; text-align: left;">
196
+ <td style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 12px 0 10px; vertical-align: top; text-align: center; color: #ffffff; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px; display: block; width: auto; background: #2ba6cb; border: 1px solid #2284a1; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;">
197
+ <a href="#" style="color: #ffffff; text-decoration: none; font-weight: bold; font-family: Helvetica, Arial, sans-serif; font-size: 20px; display: block; height: 100%; width: 100%;">View Contact Record</a>
198
+ </td>
199
+ </tr>
200
+ </table>
201
+ </center>
202
+ </td>
203
+ <td class="expander" style="word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse; padding: 0; vertical-align: top; text-align: left; visibility: hidden; width: 0px; color: #222222; font-family: Helvetica, Arial, sans-serif; font-weight: normal; margin: 0; line-height: 19px; font-size: 14px;"></td>
204
+ </tr>
205
+ </table>
206
+
207
+ </td>
208
+ </tr>
209
+ </table>
210
+
211
+ <!-- container end below -->
212
+ </td>
213
+ </tr>
214
+ </table>
215
+
216
+ </center>
217
+ </td>
218
+ </tr>
219
+ </table>
220
+ </body>
221
+ </html>
assets/emails/lead-notification.html ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <meta name="viewport" content="width=device-width"/>
6
+ <link rel="stylesheet" href="../css/ink.css">
7
+ <link rel="stylesheet" href="../css/build/leadin-lead-notifcation.css">
8
+ </head>
9
+ <body>
10
+ <table class="body">
11
+ <tr>
12
+ <td class="center" align="center" valign="top">
13
+ <center>
14
+
15
+ <table class="container">
16
+ <tr>
17
+ <td>
18
+
19
+ <table class="row submission-detail">
20
+ <tr>
21
+ <td class="wrapper last">
22
+
23
+ <table class="twelve columns">
24
+ <tr>
25
+ <td class="text-pad">
26
+ <h3>New submission on <a href="#">andygcook.com</a></h3>
27
+ </td>
28
+ <td class="expander"></td>
29
+ </tr>
30
+ </table>
31
+
32
+ </td>
33
+ </tr>
34
+ </table>
35
+
36
+ <table class="row lead-identity">
37
+ <tr>
38
+ <td class="wrapper">
39
+
40
+ <table class="two columns">
41
+ <tr>
42
+ <td class="text-pad">
43
+
44
+ <img height="60" width="60" src="http://placehold.it/60x60">
45
+
46
+ </td>
47
+ <td class="expander"></td>
48
+ </tr>
49
+ </table>
50
+
51
+ </td>
52
+ <td class="wrapper last">
53
+
54
+ <table class="ten columns">
55
+ <tr>
56
+ <td>
57
+
58
+ <h1><a href="#">nellyvan@gmail.com</a></h1>
59
+
60
+ </td>
61
+ <td class="expander"></td>
62
+ </tr>
63
+ </table>
64
+
65
+ </td>
66
+ </tr>
67
+ </table>
68
+
69
+ <table class="row lead-timeline__date">
70
+ <tr>
71
+ <td class="wrapper last">
72
+ <table class="twelve columns">
73
+ <tr>
74
+ <td class="text-pad">
75
+
76
+ <h4>Monday May 19, 2014, 5:29pm-6:50pm</h4>
77
+
78
+ </td>
79
+ <td class="expander"></td>
80
+ </tr>
81
+ </table>
82
+ </td>
83
+ </tr>
84
+ </table>
85
+
86
+ <table class="row lead-timeline__event submission">
87
+ <tr>
88
+ <td class="wrapper">
89
+ <table class="two columns">
90
+ <tr>
91
+ <td class="text-pad">
92
+
93
+ <p class="lead-timeline__event-time">6:50 pm</p>
94
+
95
+ </td>
96
+ <td class="expander"></td>
97
+ </tr>
98
+ </table>
99
+ </td>
100
+ <td class="wrapper last">
101
+ <table class="ten columns">
102
+ <tr>
103
+ <td class="text-pad">
104
+
105
+ <p class="lead-timeline__event-title">Filled out form on page <a href="#">WordPress Marketing Automation & Lead Tracking Plugin | LeadIn</a></p>
106
+
107
+ <p class="lead-timeline__submission-field">
108
+ <label class="lead-timeline__submission-label">NAME:</label>
109
+ <br>Nelson Joyce
110
+ </p>
111
+
112
+
113
+ <p class="lead-timeline__submission-field">
114
+ <label class="lead-timeline__submission-label">NAME:</label>
115
+ <br>Nelson Joyce
116
+ </p>
117
+
118
+ </td>
119
+ <td class="expander"></td>
120
+ </tr>
121
+ </table>
122
+ </td>
123
+ </tr>
124
+ </table>
125
+
126
+ <table class="row lead-timeline__event pageview">
127
+ <tr>
128
+ <td class="wrapper">
129
+ <table class="two columns">
130
+ <tr>
131
+ <td class="text-pad">
132
+
133
+ <p class="lead-timeline__event-time">6:47 pm</p>
134
+
135
+ </td>
136
+ <td class="expander"></td>
137
+ </tr>
138
+ </table>
139
+ </td>
140
+ <td class="wrapper last">
141
+ <table class="ten columns">
142
+ <tr>
143
+ <td class="text-pad">
144
+
145
+ <p class="lead-timeline__event-title">Download - LeadIn | WordPress CRM Plugin</p>
146
+
147
+ <p class="lead-timeline__pageview-url"><a href="#">http://localhost:8888/4-strategies-we-used-to-get-over-100-customer-interviews/</a></p>
148
+
149
+ </td>
150
+ <td class="expander"></td>
151
+ </tr>
152
+ </table>
153
+ </td>
154
+ </tr>
155
+ </table>
156
+
157
+ <table class="row lead-timeline__event traffic-source">
158
+ <tr>
159
+ <td class="wrapper">
160
+ <table class="two columns">
161
+ <tr>
162
+ <td class="text-pad">
163
+
164
+ <p class="lead-timeline__event-time">6:47 pm</p>
165
+
166
+ </td>
167
+ <td class="expander"></td>
168
+ </tr>
169
+ </table>
170
+ </td>
171
+ <td class="wrapper last">
172
+ <table class="ten columns">
173
+ <tr>
174
+ <td class="text-pad">
175
+
176
+ <p class="lead-timeline__event-title">Traffic Source: https://www.google.com/</p>
177
+
178
+ </td>
179
+ <td class="expander"></td>
180
+ </tr>
181
+ </table>
182
+ </td>
183
+ </tr>
184
+ </table>
185
+
186
+ <table class="row footer">
187
+ <tr>
188
+ <td class="wrapper last">
189
+
190
+ <table class="eight columns">
191
+ <tr>
192
+ <td align="center">
193
+ <center>
194
+ <table class="button medium-button radius">
195
+ <tr>
196
+ <td>
197
+ <a href="#">View Contact Record</a>
198
+ </td>
199
+ </tr>
200
+ </table>
201
+ </center>
202
+ </td>
203
+ <td class="expander"></td>
204
+ </tr>
205
+ </table>
206
+
207
+ </td>
208
+ </tr>
209
+ </table>
210
+
211
+ <!-- container end below -->
212
+ </td>
213
+ </tr>
214
+ </table>
215
+
216
+ </center>
217
+ </td>
218
+ </tr>
219
+ </table>
220
+ </body>
221
+ </html>
{admin/js → assets/js/admin}/jquery.lazyload.min.js RENAMED
File without changes
{admin/js → assets/js/admin}/leadin-admin.js RENAMED
File without changes
{power-ups/contacts/admin/js → assets/js/admin}/leadin-contacts-admin.js RENAMED
File without changes
assets/js/build/leadin-admin.js ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! Lazy Load 1.9.3 - MIT license - Copyright 2010-2013 Mika Tuupola */
2
+ !function(a,b,c,d){var e=a(b);a.fn.lazyload=function(f){function g(){var b=0;i.each(function(){var c=a(this);if(!j.skip_invisible||c.is(":visible"))if(a.abovethetop(this,j)||a.leftofbegin(this,j));else if(a.belowthefold(this,j)||a.rightoffold(this,j)){if(++b>j.failure_limit)return!1}else c.trigger("appear"),b=0})}var h,i=this,j={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:b,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return f&&(d!==f.failurelimit&&(f.failure_limit=f.failurelimit,delete f.failurelimit),d!==f.effectspeed&&(f.effect_speed=f.effectspeed,delete f.effectspeed),a.extend(j,f)),h=j.container===d||j.container===b?e:a(j.container),0===j.event.indexOf("scroll")&&h.bind(j.event,function(){return g()}),this.each(function(){var b=this,c=a(b);b.loaded=!1,(c.attr("src")===d||c.attr("src")===!1)&&c.is("img")&&c.attr("src",j.placeholder),c.one("appear",function(){if(!this.loaded){if(j.appear){var d=i.length;j.appear.call(b,d,j)}a("<img />").bind("load",function(){var d=c.attr("data-"+j.data_attribute);c.hide(),c.is("img")?c.attr("src",d):c.css("background-image","url('"+d+"')"),c[j.effect](j.effect_speed),b.loaded=!0;var e=a.grep(i,function(a){return!a.loaded});if(i=a(e),j.load){var f=i.length;j.load.call(b,f,j)}}).attr("src",c.attr("data-"+j.data_attribute))}}),0!==j.event.indexOf("scroll")&&c.bind(j.event,function(){b.loaded||c.trigger("appear")})}),e.bind("resize",function(){g()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&e.bind("pageshow",function(b){b.originalEvent&&b.originalEvent.persisted&&i.each(function(){a(this).trigger("appear")})}),a(c).ready(function(){g()}),this},a.belowthefold=function(c,f){var g;return g=f.container===d||f.container===b?(b.innerHeight?b.innerHeight:e.height())+e.scrollTop():a(f.container).offset().top+a(f.container).height(),g<=a(c).offset().top-f.threshold},a.rightoffold=function(c,f){var g;return g=f.container===d||f.container===b?e.width()+e.scrollLeft():a(f.container).offset().left+a(f.container).width(),g<=a(c).offset().left-f.threshold},a.abovethetop=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollTop():a(f.container).offset().top,g>=a(c).offset().top+f.threshold+a(c).height()},a.leftofbegin=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollLeft():a(f.container).offset().left,g>=a(c).offset().left+f.threshold+a(c).width()},a.inviewport=function(b,c){return!(a.rightoffold(b,c)||a.leftofbegin(b,c)||a.belowthefold(b,c)||a.abovethetop(b,c))},a.extend(a.expr[":"],{"below-the-fold":function(b){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-screen":function(b){return a.rightoffold(b,{threshold:0})},"left-of-screen":function(b){return!a.rightoffold(b,{threshold:0})},"in-viewport":function(b){return a.inviewport(b,{threshold:0})},"above-the-fold":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-fold":function(b){return a.rightoffold(b,{threshold:0})},"left-of-fold":function(b){return!a.rightoffold(b,{threshold:0})}})}(jQuery,window,document);
3
+
4
+ jQuery(document).ready( function ( $ ) {
5
+ $('.show_all_faces').on('click', function ( e ) {
6
+ var $this = $(this);
7
+ $this.closest('td').find('.hidden_face').removeClass('hidden_face');
8
+ $this.remove();
9
+ $("html,body").trigger("scroll");
10
+ });
11
+
12
+ $("img.lazy").lazyload({
13
+ effect : "fadeIn"
14
+ });
15
+ });
16
+ jQuery(document).ready( function ( $ ) {
17
+ $('#leadin-contacts input:checkbox').not('thead input:checkbox, tfoot input:checkbox').bind('change', function ( e ){
18
+ var cb_count = 0;
19
+ var selected_vals = '';
20
+ var $btn_selected = $('#leadin-export-selected-leads');
21
+ var $input_selected_vals = $('#leadin-selected-contacts');
22
+ var $cb_selected = $('#leadin-contacts input:checkbox:checked').not('thead input:checkbox, tfoot input:checkbox');
23
+
24
+ if ( $cb_selected.length > 0 )
25
+ {
26
+ $btn_selected.attr('disabled', false);
27
+ }
28
+ else
29
+ {
30
+ $btn_selected.attr('disabled', true);
31
+ }
32
+
33
+ $cb_selected.each( function ( e ) {
34
+ selected_vals += $(this).val();
35
+
36
+ if ( cb_count != ($cb_selected.length-1) )
37
+ selected_vals += ',';
38
+
39
+ cb_count++;
40
+ });
41
+
42
+ $input_selected_vals.val(selected_vals);
43
+ });
44
+
45
+ $('#cb-select-all-1, #cb-select-all-2').bind('change', function ( e ) {
46
+ var cb_count = 0;
47
+ var selected_vals = '';
48
+ var $this = $(this);
49
+ var $btn_selected = $('#leadin-export-selected-leads');
50
+ var $cb_selected = $('#leadin-contacts input:checkbox').not('thead input:checkbox, tfoot input:checkbox');
51
+ var $input_selected_vals = $('#leadin-selected-contacts');
52
+
53
+ $cb_selected.each( function ( e ) {
54
+ selected_vals += $(this).val();
55
+
56
+ if ( cb_count != ($cb_selected.length-1) )
57
+ selected_vals += ',';
58
+
59
+ cb_count++;
60
+ });
61
+
62
+ $input_selected_vals.val(selected_vals);
63
+
64
+ if ( !$this.is(':checked') )
65
+ {
66
+ $btn_selected.attr('disabled', true);
67
+ }
68
+ else
69
+ {
70
+ $btn_selected.attr('disabled', false);
71
+ }
72
+ });
73
+
74
+ $('.postbox .handlediv').bind('click', function ( e ) {
75
+ var $postbox = $(this).parent();
76
+
77
+ if ( $postbox.hasClass('closed') )
78
+ {
79
+ $postbox.removeClass('closed');
80
+ }
81
+ else
82
+ {
83
+ $postbox.addClass('closed');
84
+ }
85
+
86
+ });
87
+ });
assets/js/build/leadin-admin.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(a,b,c,d){var e=a(b);a.fn.lazyload=function(f){function g(){var b=0;i.each(function(){var c=a(this);if(!j.skip_invisible||c.is(":visible"))if(a.abovethetop(this,j)||a.leftofbegin(this,j));else if(a.belowthefold(this,j)||a.rightoffold(this,j)){if(++b>j.failure_limit)return!1}else c.trigger("appear"),b=0})}var h,i=this,j={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:b,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return f&&(d!==f.failurelimit&&(f.failure_limit=f.failurelimit,delete f.failurelimit),d!==f.effectspeed&&(f.effect_speed=f.effectspeed,delete f.effectspeed),a.extend(j,f)),h=j.container===d||j.container===b?e:a(j.container),0===j.event.indexOf("scroll")&&h.bind(j.event,function(){return g()}),this.each(function(){var b=this,c=a(b);b.loaded=!1,(c.attr("src")===d||c.attr("src")===!1)&&c.is("img")&&c.attr("src",j.placeholder),c.one("appear",function(){if(!this.loaded){if(j.appear){var d=i.length;j.appear.call(b,d,j)}a("<img />").bind("load",function(){var d=c.attr("data-"+j.data_attribute);c.hide(),c.is("img")?c.attr("src",d):c.css("background-image","url('"+d+"')"),c[j.effect](j.effect_speed),b.loaded=!0;var e=a.grep(i,function(a){return!a.loaded});if(i=a(e),j.load){var f=i.length;j.load.call(b,f,j)}}).attr("src",c.attr("data-"+j.data_attribute))}}),0!==j.event.indexOf("scroll")&&c.bind(j.event,function(){b.loaded||c.trigger("appear")})}),e.bind("resize",function(){g()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&e.bind("pageshow",function(b){b.originalEvent&&b.originalEvent.persisted&&i.each(function(){a(this).trigger("appear")})}),a(c).ready(function(){g()}),this},a.belowthefold=function(c,f){var g;return g=f.container===d||f.container===b?(b.innerHeight?b.innerHeight:e.height())+e.scrollTop():a(f.container).offset().top+a(f.container).height(),g<=a(c).offset().top-f.threshold},a.rightoffold=function(c,f){var g;return g=f.container===d||f.container===b?e.width()+e.scrollLeft():a(f.container).offset().left+a(f.container).width(),g<=a(c).offset().left-f.threshold},a.abovethetop=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollTop():a(f.container).offset().top,g>=a(c).offset().top+f.threshold+a(c).height()},a.leftofbegin=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollLeft():a(f.container).offset().left,g>=a(c).offset().left+f.threshold+a(c).width()},a.inviewport=function(b,c){return!(a.rightoffold(b,c)||a.leftofbegin(b,c)||a.belowthefold(b,c)||a.abovethetop(b,c))},a.extend(a.expr[":"],{"below-the-fold":function(b){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-screen":function(b){return a.rightoffold(b,{threshold:0})},"left-of-screen":function(b){return!a.rightoffold(b,{threshold:0})},"in-viewport":function(b){return a.inviewport(b,{threshold:0})},"above-the-fold":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-fold":function(b){return a.rightoffold(b,{threshold:0})},"left-of-fold":function(b){return!a.rightoffold(b,{threshold:0})}})}(jQuery,window,document),jQuery(document).ready(function(a){a(".show_all_faces").on("click",function(){var b=a(this);b.closest("td").find(".hidden_face").removeClass("hidden_face"),b.remove(),a("html,body").trigger("scroll")}),a("img.lazy").lazyload({effect:"fadeIn"})}),jQuery(document).ready(function(a){a("#leadin-contacts input:checkbox").not("thead input:checkbox, tfoot input:checkbox").bind("change",function(){var b=0,c="",d=a("#leadin-export-selected-leads"),e=a("#leadin-selected-contacts"),f=a("#leadin-contacts input:checkbox:checked").not("thead input:checkbox, tfoot input:checkbox");f.length>0?d.attr("disabled",!1):d.attr("disabled",!0),f.each(function(){c+=a(this).val(),b!=f.length-1&&(c+=","),b++}),e.val(c)}),a("#cb-select-all-1, #cb-select-all-2").bind("change",function(){var b=0,c="",d=a(this),e=a("#leadin-export-selected-leads"),f=a("#leadin-contacts input:checkbox").not("thead input:checkbox, tfoot input:checkbox"),g=a("#leadin-selected-contacts");f.each(function(){c+=a(this).val(),b!=f.length-1&&(c+=","),b++}),g.val(c),d.is(":checked")?e.attr("disabled",!1):e.attr("disabled",!0)}),a(".postbox .handlediv").bind("click",function(){var b=a(this).parent();b.hasClass("closed")?b.removeClass("closed"):b.addClass("closed")})});
assets/js/build/leadin-subscribe.js ADDED
@@ -0,0 +1,471 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function() {
2
+ var vexFactory;
3
+
4
+ vexFactory = function($) {
5
+ var animationEndSupport, vex;
6
+ animationEndSupport = false;
7
+ $(function() {
8
+ var s;
9
+ s = (document.body || document.documentElement).style;
10
+ animationEndSupport = s.animation !== void 0 || s.WebkitAnimation !== void 0 || s.MozAnimation !== void 0 || s.MsAnimation !== void 0 || s.OAnimation !== void 0;
11
+ return $(window).bind('keyup.vex', function(event) {
12
+ if (event.keyCode === 27) {
13
+ return vex.closeByEscape();
14
+ }
15
+ });
16
+ });
17
+ return vex = {
18
+ globalID: 1,
19
+ animationEndEvent: 'animationend webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend',
20
+ baseClassNames: {
21
+ vex: 'vex',
22
+ content: 'vex-content',
23
+ overlay: 'vex-overlay',
24
+ close: 'vex-close',
25
+ closing: 'vex-closing',
26
+ open: 'vex-open'
27
+ },
28
+ defaultOptions: {
29
+ content: '',
30
+ showCloseButton: true,
31
+ escapeButtonCloses: true,
32
+ overlayClosesOnClick: true,
33
+ appendLocation: 'body',
34
+ className: '',
35
+ css: {},
36
+ overlayClassName: '',
37
+ overlayCSS: {},
38
+ contentClassName: '',
39
+ contentCSS: {},
40
+ closeClassName: '',
41
+ closeCSS: {}
42
+ },
43
+ open: function(options) {
44
+ options = $.extend({}, vex.defaultOptions, options);
45
+ options.id = vex.globalID;
46
+ vex.globalID += 1;
47
+ options.$vex = $('<div>').addClass(vex.baseClassNames.vex).addClass(options.className).css(options.css).data({
48
+ vex: options
49
+ });
50
+ options.$vexOverlay = $('<div>').addClass(vex.baseClassNames.overlay).addClass(options.overlayClassName).css(options.overlayCSS).data({
51
+ vex: options
52
+ });
53
+ if (options.overlayClosesOnClick) {
54
+ options.$vexOverlay.bind('click.vex', function(e) {
55
+ if (e.target !== this) {
56
+ return;
57
+ }
58
+ return vex.close($(this).data().vex.id);
59
+ });
60
+ }
61
+ options.$vex.append(options.$vexOverlay);
62
+ options.$vexContent = $('<div>').addClass(vex.baseClassNames.content).addClass(options.contentClassName).css(options.contentCSS).append(options.content).data({
63
+ vex: options
64
+ });
65
+ options.$vex.append(options.$vexContent);
66
+ if (options.showCloseButton) {
67
+ options.$closeButton = $('<div>').addClass(vex.baseClassNames.close).addClass(options.closeClassName).css(options.closeCSS).data({
68
+ vex: options
69
+ }).bind('click.vex', function() {
70
+ return vex.close($(this).data().vex.id);
71
+ });
72
+ options.$vexContent.append(options.$closeButton);
73
+ }
74
+ $(options.appendLocation).append(options.$vex);
75
+ vex.setupBodyClassName(options.$vex);
76
+ if (options.afterOpen) {
77
+ options.afterOpen(options.$vexContent, options);
78
+ }
79
+ setTimeout((function() {
80
+ return options.$vexContent.trigger('vexOpen', options);
81
+ }), 0);
82
+ return options.$vexContent;
83
+ },
84
+ getAllVexes: function() {
85
+ return $("." + vex.baseClassNames.vex + ":not(\"." + vex.baseClassNames.closing + "\") ." + vex.baseClassNames.content);
86
+ },
87
+ getVexByID: function(id) {
88
+ return vex.getAllVexes().filter(function() {
89
+ return $(this).data().vex.id === id;
90
+ });
91
+ },
92
+ close: function(id) {
93
+ var $lastVex;
94
+ if (!id) {
95
+ $lastVex = vex.getAllVexes().last();
96
+ if (!$lastVex.length) {
97
+ return false;
98
+ }
99
+ id = $lastVex.data().vex.id;
100
+ }
101
+ return vex.closeByID(id);
102
+ },
103
+ closeAll: function() {
104
+ var ids;
105
+ ids = vex.getAllVexes().map(function() {
106
+ return $(this).data().vex.id;
107
+ }).toArray();
108
+ if (!(ids != null ? ids.length : void 0)) {
109
+ return false;
110
+ }
111
+ $.each(ids.reverse(), function(index, id) {
112
+ return vex.closeByID(id);
113
+ });
114
+ return true;
115
+ },
116
+ closeByID: function(id) {
117
+ var $vex, $vexContent, beforeClose, close, options;
118
+ $vexContent = vex.getVexByID(id);
119
+ if (!$vexContent.length) {
120
+ return;
121
+ }
122
+ $vex = $vexContent.data().vex.$vex;
123
+ options = $.extend({}, $vexContent.data().vex);
124
+ beforeClose = function() {
125
+ if (options.beforeClose) {
126
+ return options.beforeClose($vexContent, options);
127
+ }
128
+ };
129
+ close = function() {
130
+ $vexContent.trigger('vexClose', options);
131
+ $vex.remove();
132
+ if (options.afterClose) {
133
+ return options.afterClose($vexContent, options);
134
+ }
135
+ };
136
+ if (animationEndSupport) {
137
+ beforeClose();
138
+ $vex.unbind(vex.animationEndEvent).bind(vex.animationEndEvent, function() {
139
+ return close();
140
+ }).addClass(vex.baseClassNames.closing);
141
+ } else {
142
+ beforeClose();
143
+ close();
144
+ }
145
+ return true;
146
+ },
147
+ closeByEscape: function() {
148
+ var $lastVex, id, ids;
149
+ ids = vex.getAllVexes().map(function() {
150
+ return $(this).data().vex.id;
151
+ }).toArray();
152
+ if (!(ids != null ? ids.length : void 0)) {
153
+ return false;
154
+ }
155
+ id = Math.max.apply(Math, ids);
156
+ $lastVex = vex.getVexByID(id);
157
+ if ($lastVex.data().vex.escapeButtonCloses !== true) {
158
+ return false;
159
+ }
160
+ return vex.closeByID(id);
161
+ },
162
+ setupBodyClassName: function($vex) {
163
+ return $vex.bind('vexOpen.vex', function() {
164
+ return $('body').addClass(vex.baseClassNames.open);
165
+ }).bind('vexClose.vex', function() {
166
+ if (!vex.getAllVexes().length) {
167
+ return $('body').removeClass(vex.baseClassNames.open);
168
+ }
169
+ });
170
+ },
171
+ hideLoading: function() {
172
+ return $('.vex-loading-spinner').remove();
173
+ },
174
+ showLoading: function() {
175
+ vex.hideLoading();
176
+ return $('body').append("<div class=\"vex-loading-spinner " + vex.defaultOptions.className + "\"></div>");
177
+ }
178
+ };
179
+ };
180
+
181
+ if (typeof define === 'function' && define.amd) {
182
+ define(['jquery'], vexFactory);
183
+ } else if (typeof exports === 'object') {
184
+ module.exports = vexFactory(require('jquery'));
185
+ } else {
186
+ window.vex = vexFactory(jQuery);
187
+ }
188
+
189
+ }).call(this);
190
+
191
+ (function() {
192
+ var vexDialogFactory;
193
+
194
+ vexDialogFactory = function($, vex) {
195
+ var $formToObject, dialog;
196
+ if (vex == null) {
197
+ return $.error('Vex is required to use vex.dialog');
198
+ }
199
+ $formToObject = function($form) {
200
+ var object;
201
+ object = {};
202
+ $.each($form.serializeArray(), function() {
203
+ if (object[this.name]) {
204
+ if (!object[this.name].push) {
205
+ object[this.name] = [object[this.name]];
206
+ }
207
+ return object[this.name].push(this.value || '');
208
+ } else {
209
+ return object[this.name] = this.value || '';
210
+ }
211
+ });
212
+ return object;
213
+ };
214
+ dialog = {};
215
+ dialog.buttons = {
216
+ YES: {
217
+ text: 'OK',
218
+ type: 'submit',
219
+ className: 'vex-dialog-button-primary'
220
+ },
221
+ NO: {
222
+ text: 'Cancel',
223
+ type: 'button',
224
+ className: 'vex-dialog-button-secondary',
225
+ click: function($vexContent, event) {
226
+ $vexContent.data().vex.value = false;
227
+ return vex.close($vexContent.data().vex.id);
228
+ }
229
+ }
230
+ };
231
+ dialog.defaultOptions = {
232
+ callback: function(value) {},
233
+ afterOpen: function() {},
234
+ message: 'Message',
235
+ input: "<input name=\"vex\" type=\"hidden\" value=\"_vex-empty-value\" />",
236
+ value: false,
237
+ buttons: [dialog.buttons.YES, dialog.buttons.NO],
238
+ showCloseButton: false,
239
+ onSubmit: function(event) {
240
+ var $form, $vexContent;
241
+ $form = $(this);
242
+ $vexContent = $form.parent();
243
+ event.preventDefault();
244
+ event.stopPropagation();
245
+ $vexContent.data().vex.value = dialog.getFormValueOnSubmit($formToObject($form));
246
+ return vex.close($vexContent.data().vex.id);
247
+ },
248
+ focusFirstInput: true
249
+ };
250
+ dialog.defaultAlertOptions = {
251
+ message: 'Alert',
252
+ buttons: [dialog.buttons.YES]
253
+ };
254
+ dialog.defaultConfirmOptions = {
255
+ message: 'Confirm'
256
+ };
257
+ dialog.open = function(options) {
258
+ var $vexContent;
259
+ options = $.extend({}, vex.defaultOptions, dialog.defaultOptions, options);
260
+ options.content = dialog.buildDialogForm(options);
261
+ options.beforeClose = function($vexContent) {
262
+ return options.callback($vexContent.data().vex.value);
263
+ };
264
+ $vexContent = vex.open(options);
265
+ if (options.focusFirstInput) {
266
+ $vexContent.find('input[type="submit"], textarea, input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"]').first().focus();
267
+ }
268
+ return $vexContent;
269
+ };
270
+ dialog.alert = function(options) {
271
+ if (typeof options === 'string') {
272
+ options = {
273
+ message: options
274
+ };
275
+ }
276
+ options = $.extend({}, dialog.defaultAlertOptions, options);
277
+ return dialog.open(options);
278
+ };
279
+ dialog.confirm = function(options) {
280
+ if (typeof options === 'string') {
281
+ return $.error('dialog.confirm(options) requires options.callback.');
282
+ }
283
+ options = $.extend({}, dialog.defaultConfirmOptions, options);
284
+ return dialog.open(options);
285
+ };
286
+ dialog.prompt = function(options) {
287
+ var defaultPromptOptions;
288
+ if (typeof options === 'string') {
289
+ return $.error('dialog.prompt(options) requires options.callback.');
290
+ }
291
+ defaultPromptOptions = {
292
+ message: "<label for=\"vex\">" + (options.label || 'Prompt:') + "</label>",
293
+ input: "<input name=\"vex\" type=\"text\" class=\"vex-dialog-prompt-input\" placeholder=\"" + (options.placeholder || '') + "\" value=\"" + (options.value || '') + "\" />"
294
+ };
295
+ options = $.extend({}, defaultPromptOptions, options);
296
+ return dialog.open(options);
297
+ };
298
+ dialog.buildDialogForm = function(options) {
299
+ var $form, $input, $message;
300
+ $form = $('<form class="vex-dialog-form" />');
301
+ $message = $('<div class="vex-dialog-message" />');
302
+ $input = $('<div class="vex-dialog-input" />');
303
+ $form.append($message.append(options.message)).append($input.append(options.input)).append(dialog.buttonsToDOM(options.buttons)).bind('submit.vex', options.onSubmit);
304
+ return $form;
305
+ };
306
+ dialog.getFormValueOnSubmit = function(formData) {
307
+ if (formData.vex || formData.vex === '') {
308
+ if (formData.vex === '_vex-empty-value') {
309
+ return true;
310
+ }
311
+ return formData.vex;
312
+ } else {
313
+ return formData;
314
+ }
315
+ };
316
+ dialog.buttonsToDOM = function(buttons) {
317
+ var $buttons;
318
+ $buttons = $('<div class="vex-dialog-buttons" />');
319
+ $.each(buttons, function(index, button) {
320
+ return $buttons.append($("<input type=\"" + button.type + "\" />").val(button.text).addClass(button.className + ' vex-dialog-button ' + (index === 0 ? 'vex-first ' : '') + (index === buttons.length - 1 ? 'vex-last ' : '')).bind('click.vex', function(e) {
321
+ if (button.click) {
322
+ return button.click($(this).parents("." + vex.baseClassNames.content), e);
323
+ }
324
+ }));
325
+ });
326
+ return $buttons;
327
+ };
328
+ return dialog;
329
+ };
330
+
331
+ if (typeof define === 'function' && define.amd) {
332
+ define(['jquery', 'vex'], vexDialogFactory);
333
+ } else if (typeof exports === 'object') {
334
+ module.exports = vexDialogFactory(require('jquery'), require('vex'));
335
+ } else {
336
+ window.vex.dialog = vexDialogFactory(window.jQuery, window.vex);
337
+ }
338
+
339
+ }).call(this);
340
+
341
+ jQuery(document).ready( function ( $ ) {
342
+ var li_subscribe_flag = $.cookie('li_subscribe');
343
+
344
+ if ( !leadin_subscribe_check_mobile($) )
345
+ {
346
+ if ( !li_subscribe_flag )
347
+ {
348
+ leadin_check_visitor_status($.cookie("li_hash"), function ( data ) {
349
+ if ( data != 'subscribe' )
350
+ {
351
+ $.cookie("li_subscribe", 'show', {path: "/", domain: ""});
352
+ bind_leadin_subscribe_widget();
353
+ }
354
+ else
355
+ {
356
+ $.cookie("li_subscribe", 'ignore', {path: "/", domain: ""});
357
+ }
358
+ });
359
+ }
360
+ else
361
+ {
362
+ if ( li_subscribe_flag == 'show' )
363
+ bind_leadin_subscribe_widget();
364
+ }
365
+ }
366
+ });
367
+
368
+ function bind_leadin_subscribe_widget ()
369
+ {
370
+ (function(){
371
+ var $ = jQuery;
372
+ var subscribe = {};
373
+
374
+ subscribe.vex = undefined;
375
+
376
+ subscribe.init = function() {
377
+ $(window).scroll(function() {
378
+ if ($(window).scrollTop() + $(window).height() > $(document).height() / 2) {
379
+ subscribe.open();
380
+ } else {
381
+ //subscribe.close();
382
+ }
383
+ });
384
+ };
385
+
386
+ subscribe.open = function() {
387
+ if (subscribe.vex) {
388
+ return subscribe._open();
389
+ }
390
+
391
+ subscribe.vex = vex.dialog.open({
392
+ showCloseButton: true,
393
+ className: 'leadin-subscribe ' + $('#leadin-subscribe-vex-class').val(),
394
+ message: $('#leadin-subscribe-heading').val(),
395
+ input: '<input id="leadin-subscribe-email" name="email" type="email" placeholder="Email address" required />' +
396
+ (($('#leadin-subscribe-name-fields').val()==0) ? '' : '<input id="leadin-subscribe-fname" name="fname" type="text" placeholder="First Name" required /><input id="leadin-subscribe-lname" name="lname" type="text" placeholder="Last Name" required />') +
397
+ (($('#leadin-subscribe-phone-field').val()==0) ? '' : '<input id="leadin-subscribe-phone" name="phone" type="tel" placeholder="Phone" required />'),
398
+ buttons: [$.extend({}, vex.dialog.buttons.YES, { text: ( $('#leadin-subscribe-btn-label').val() ? $('#leadin-subscribe-btn-label').val() : 'SUBSCRIBE' ) })],
399
+ onSubmit: function ( data )
400
+ {
401
+ $('.vex-dialog-form').fadeOut(300, function ( e ) {
402
+ $('.vex-dialog-form').html(
403
+ '<div class="vex-close"></div>' +
404
+ '<h3>Thanks!<br>You should receive a confirmation email in your inbox shortly.</h3>' +
405
+ '<div>' +
406
+ '<span class="powered-by">Powered by LeadIn</span>' +
407
+ '<a href="http://leadin.com/wordpress-subscribe-widget/?utm_campaign=subscribe_widget&utm_medium=email&utm_source=' + window.location.host + '"><img alt="LeadIn" height="20px" width="99px" src="http://leadin.com/wp-content/themes/LeadIn-WP-Theme/library/images/logos/Leadin_logo@2x.png" alt="leadin.com"/></a>' +
408
+ '</div>'
409
+ ).css('text-align', 'center').fadeIn(250);
410
+ });
411
+
412
+ leadin_submit_form($('.leadin-subscribe form'), $, 'subscribe');
413
+ $.cookie("li_subscribe", 'ignore', {path: "/", domain: ""});
414
+ return false;
415
+ },
416
+ callback: function(data) {
417
+ if (data === false) {
418
+ $.cookie("li_subscribe", 'ignore', {path: "/", domain: ""});
419
+ }
420
+
421
+ $.cookie("li_subscribe", 'ignore', {path: "/", domain: ""});
422
+ }
423
+ });
424
+
425
+ //leadin_subscribe_show();
426
+
427
+ $('.leadin-subscribe form.vex-dialog-form').append('<a href="http://leadin.com/pop-subscribe-form-plugin-wordpress/?utm_campaign=subscribe_widget&utm_medium=widget&utm_source=' + document.URL + '" id="leadin-subscribe-powered-by" class="leadin-subscribe-powered-by">Powered by LeadIn</a>');
428
+ };
429
+
430
+ subscribe._open = function() {
431
+ subscribe.vex.parent().removeClass('vex-closing');
432
+ }
433
+
434
+ subscribe.close = function() {
435
+
436
+ if (!subscribe.vex) {
437
+ return;
438
+ }
439
+ subscribe.vex.parent().addClass('vex-closing');
440
+ }
441
+
442
+ subscribe.init();
443
+ window.subscribe = subscribe;
444
+ })();
445
+ }
446
+
447
+ function leadin_subscribe_check_mobile( $ )
448
+ {
449
+ var is_mobile = false;
450
+
451
+ if ( $('#leadin-subscribe-mobile-check').css('display')=='none' )
452
+ is_mobile = true;
453
+
454
+ return is_mobile;
455
+ }
456
+
457
+ function leadin_subscribe_show ()
458
+ {
459
+ jQuery.ajax({
460
+ type: 'POST',
461
+ url: li_ajax.ajax_url,
462
+ data: {
463
+ "action": "leadin_subscribe_show"
464
+ },
465
+ success: function(data){
466
+ },
467
+ error: function ( error_data ) {
468
+ //alert(error_data);
469
+ }
470
+ });
471
+ }
assets/js/build/leadin-subscribe.min.js ADDED
@@ -0,0 +1 @@
 
1
+ function bind_leadin_subscribe_widget(){!function(){var a=jQuery,b={};b.vex=void 0,b.init=function(){a(window).scroll(function(){a(window).scrollTop()+a(window).height()>a(document).height()/2&&b.open()})},b.open=function(){return b.vex?b._open():(b.vex=vex.dialog.open({showCloseButton:!0,className:"leadin-subscribe "+a("#leadin-subscribe-vex-class").val(),message:a("#leadin-subscribe-heading").val(),input:'<input id="leadin-subscribe-email" name="email" type="email" placeholder="Email address" required />'+(0==a("#leadin-subscribe-name-fields").val()?"":'<input id="leadin-subscribe-fname" name="fname" type="text" placeholder="First Name" required /><input id="leadin-subscribe-lname" name="lname" type="text" placeholder="Last Name" required />')+(0==a("#leadin-subscribe-phone-field").val()?"":'<input id="leadin-subscribe-phone" name="phone" type="tel" placeholder="Phone" required />'),buttons:[a.extend({},vex.dialog.buttons.YES,{text:a("#leadin-subscribe-btn-label").val()?a("#leadin-subscribe-btn-label").val():"SUBSCRIBE"})],onSubmit:function(){return a(".vex-dialog-form").fadeOut(300,function(){a(".vex-dialog-form").html('<div class="vex-close"></div><h3>Thanks!<br>You should receive a confirmation email in your inbox shortly.</h3><div><span class="powered-by">Powered by LeadIn</span><a href="http://leadin.com/wordpress-subscribe-widget/?utm_campaign=subscribe_widget&utm_medium=email&utm_source='+window.location.host+'"><img alt="LeadIn" height="20px" width="99px" src="http://leadin.com/wp-content/themes/LeadIn-WP-Theme/library/images/logos/Leadin_logo@2x.png" alt="leadin.com"/></a></div>').css("text-align","center").fadeIn(250)}),leadin_submit_form(a(".leadin-subscribe form"),a,"subscribe"),a.cookie("li_subscribe","ignore",{path:"/",domain:""}),!1},callback:function(b){b===!1&&a.cookie("li_subscribe","ignore",{path:"/",domain:""}),a.cookie("li_subscribe","ignore",{path:"/",domain:""})}}),void a(".leadin-subscribe form.vex-dialog-form").append('<a href="http://leadin.com/pop-subscribe-form-plugin-wordpress/?utm_campaign=subscribe_widget&utm_medium=widget&utm_source='+document.URL+'" id="leadin-subscribe-powered-by" class="leadin-subscribe-powered-by">Powered by LeadIn</a>'))},b._open=function(){b.vex.parent().removeClass("vex-closing")},b.close=function(){b.vex&&b.vex.parent().addClass("vex-closing")},b.init(),window.subscribe=b}()}function leadin_subscribe_check_mobile(a){var b=!1;return"none"==a("#leadin-subscribe-mobile-check").css("display")&&(b=!0),b}function leadin_subscribe_show(){jQuery.ajax({type:"POST",url:li_ajax.ajax_url,data:{action:"leadin_subscribe_show"},success:function(){},error:function(){}})}(function(){var a;a=function(a){var b,c;return b=!1,a(function(){var d;return d=(document.body||document.documentElement).style,b=void 0!==d.animation||void 0!==d.WebkitAnimation||void 0!==d.MozAnimation||void 0!==d.MsAnimation||void 0!==d.OAnimation,a(window).bind("keyup.vex",function(a){return 27===a.keyCode?c.closeByEscape():void 0})}),c={globalID:1,animationEndEvent:"animationend webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend",baseClassNames:{vex:"vex",content:"vex-content",overlay:"vex-overlay",close:"vex-close",closing:"vex-closing",open:"vex-open"},defaultOptions:{content:"",showCloseButton:!0,escapeButtonCloses:!0,overlayClosesOnClick:!0,appendLocation:"body",className:"",css:{},overlayClassName:"",overlayCSS:{},contentClassName:"",contentCSS:{},closeClassName:"",closeCSS:{}},open:function(b){return b=a.extend({},c.defaultOptions,b),b.id=c.globalID,c.globalID+=1,b.$vex=a("<div>").addClass(c.baseClassNames.vex).addClass(b.className).css(b.css).data({vex:b}),b.$vexOverlay=a("<div>").addClass(c.baseClassNames.overlay).addClass(b.overlayClassName).css(b.overlayCSS).data({vex:b}),b.overlayClosesOnClick&&b.$vexOverlay.bind("click.vex",function(b){return b.target===this?c.close(a(this).data().vex.id):void 0}),b.$vex.append(b.$vexOverlay),b.$vexContent=a("<div>").addClass(c.baseClassNames.content).addClass(b.contentClassName).css(b.contentCSS).append(b.content).data({vex:b}),b.$vex.append(b.$vexContent),b.showCloseButton&&(b.$closeButton=a("<div>").addClass(c.baseClassNames.close).addClass(b.closeClassName).css(b.closeCSS).data({vex:b}).bind("click.vex",function(){return c.close(a(this).data().vex.id)}),b.$vexContent.append(b.$closeButton)),a(b.appendLocation).append(b.$vex),c.setupBodyClassName(b.$vex),b.afterOpen&&b.afterOpen(b.$vexContent,b),setTimeout(function(){return b.$vexContent.trigger("vexOpen",b)},0),b.$vexContent},getAllVexes:function(){return a("."+c.baseClassNames.vex+':not(".'+c.baseClassNames.closing+'") .'+c.baseClassNames.content)},getVexByID:function(b){return c.getAllVexes().filter(function(){return a(this).data().vex.id===b})},close:function(a){var b;if(!a){if(b=c.getAllVexes().last(),!b.length)return!1;a=b.data().vex.id}return c.closeByID(a)},closeAll:function(){var b;return b=c.getAllVexes().map(function(){return a(this).data().vex.id}).toArray(),(null!=b?b.length:void 0)?(a.each(b.reverse(),function(a,b){return c.closeByID(b)}),!0):!1},closeByID:function(d){var e,f,g,h,i;return f=c.getVexByID(d),f.length?(e=f.data().vex.$vex,i=a.extend({},f.data().vex),g=function(){return i.beforeClose?i.beforeClose(f,i):void 0},h=function(){return f.trigger("vexClose",i),e.remove(),i.afterClose?i.afterClose(f,i):void 0},b?(g(),e.unbind(c.animationEndEvent).bind(c.animationEndEvent,function(){return h()}).addClass(c.baseClassNames.closing)):(g(),h()),!0):void 0},closeByEscape:function(){var b,d,e;return e=c.getAllVexes().map(function(){return a(this).data().vex.id}).toArray(),(null!=e?e.length:void 0)?(d=Math.max.apply(Math,e),b=c.getVexByID(d),b.data().vex.escapeButtonCloses!==!0?!1:c.closeByID(d)):!1},setupBodyClassName:function(b){return b.bind("vexOpen.vex",function(){return a("body").addClass(c.baseClassNames.open)}).bind("vexClose.vex",function(){return c.getAllVexes().length?void 0:a("body").removeClass(c.baseClassNames.open)})},hideLoading:function(){return a(".vex-loading-spinner").remove()},showLoading:function(){return c.hideLoading(),a("body").append('<div class="vex-loading-spinner '+c.defaultOptions.className+'"></div>')}}},"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):window.vex=a(jQuery)}).call(this),function(){var a;a=function(a,b){var c,d;return null==b?a.error("Vex is required to use vex.dialog"):(c=function(b){var c;return c={},a.each(b.serializeArray(),function(){return c[this.name]?(c[this.name].push||(c[this.name]=[c[this.name]]),c[this.name].push(this.value||"")):c[this.name]=this.value||""}),c},d={},d.buttons={YES:{text:"OK",type:"submit",className:"vex-dialog-button-primary"},NO:{text:"Cancel",type:"button",className:"vex-dialog-button-secondary",click:function(a){return a.data().vex.value=!1,b.close(a.data().vex.id)}}},d.defaultOptions={callback:function(){},afterOpen:function(){},message:"Message",input:'<input name="vex" type="hidden" value="_vex-empty-value" />',value:!1,buttons:[d.buttons.YES,d.buttons.NO],showCloseButton:!1,onSubmit:function(e){var f,g;return f=a(this),g=f.parent(),e.preventDefault(),e.stopPropagation(),g.data().vex.value=d.getFormValueOnSubmit(c(f)),b.close(g.data().vex.id)},focusFirstInput:!0},d.defaultAlertOptions={message:"Alert",buttons:[d.buttons.YES]},d.defaultConfirmOptions={message:"Confirm"},d.open=function(c){var e;return c=a.extend({},b.defaultOptions,d.defaultOptions,c),c.content=d.buildDialogForm(c),c.beforeClose=function(a){return c.callback(a.data().vex.value)},e=b.open(c),c.focusFirstInput&&e.find('input[type="submit"], textarea, input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"]').first().focus(),e},d.alert=function(b){return"string"==typeof b&&(b={message:b}),b=a.extend({},d.defaultAlertOptions,b),d.open(b)},d.confirm=function(b){return"string"==typeof b?a.error("dialog.confirm(options) requires options.callback."):(b=a.extend({},d.defaultConfirmOptions,b),d.open(b))},d.prompt=function(b){var c;return"string"==typeof b?a.error("dialog.prompt(options) requires options.callback."):(c={message:'<label for="vex">'+(b.label||"Prompt:")+"</label>",input:'<input name="vex" type="text" class="vex-dialog-prompt-input" placeholder="'+(b.placeholder||"")+'" value="'+(b.value||"")+'" />'},b=a.extend({},c,b),d.open(b))},d.buildDialogForm=function(b){var c,e,f;return c=a('<form class="vex-dialog-form" />'),f=a('<div class="vex-dialog-message" />'),e=a('<div class="vex-dialog-input" />'),c.append(f.append(b.message)).append(e.append(b.input)).append(d.buttonsToDOM(b.buttons)).bind("submit.vex",b.onSubmit),c},d.getFormValueOnSubmit=function(a){return a.vex||""===a.vex?"_vex-empty-value"===a.vex?!0:a.vex:a},d.buttonsToDOM=function(c){var d;return d=a('<div class="vex-dialog-buttons" />'),a.each(c,function(e,f){return d.append(a('<input type="'+f.type+'" />').val(f.text).addClass(f.className+" vex-dialog-button "+(0===e?"vex-first ":"")+(e===c.length-1?"vex-last ":"")).bind("click.vex",function(c){return f.click?f.click(a(this).parents("."+b.baseClassNames.content),c):void 0}))}),d},d)},"function"==typeof define&&define.amd?define(["jquery","vex"],a):"object"==typeof exports?module.exports=a(require("jquery"),require("vex")):window.vex.dialog=a(window.jQuery,window.vex)}.call(this),jQuery(document).ready(function(a){var b=a.cookie("li_subscribe");leadin_subscribe_check_mobile(a)||(b?"show"==b&&bind_leadin_subscribe_widget():leadin_check_visitor_status(a.cookie("li_hash"),function(b){"subscribe"!=b?(a.cookie("li_subscribe","show",{path:"/",domain:""}),bind_leadin_subscribe_widget()):a.cookie("li_subscribe","ignore",{path:"/",domain:""})}))});
assets/js/build/leadin-tracking.js ADDED
@@ -0,0 +1,590 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * jQuery Cookie Plugin v1.4.0
3
+ * https://github.com/carhartl/jquery-cookie
4
+ *
5
+ * Copyright 2013 Klaus Hartl
6
+ * Released under the MIT license
7
+ */
8
+ (function (factory) {
9
+ if (typeof define === 'function' && define.amd) {
10
+ // AMD. Register as anonymous module.
11
+ define(['jquery'], factory);
12
+ } else {
13
+ // Browser globals.
14
+ factory(jQuery);
15
+ }
16
+ }(function ($) {
17
+
18
+ var pluses = /\+/g;
19
+
20
+ function encode(s) {
21
+ return config.raw ? s : encodeURIComponent(s);
22
+ }
23
+
24
+ function decode(s) {
25
+ return config.raw ? s : decodeURIComponent(s);
26
+ }
27
+
28
+ function stringifyCookieValue(value) {
29
+ return encode(config.json ? JSON.stringify(value) : String(value));
30
+ }
31
+
32
+ function parseCookieValue(s) {
33
+ if (s.indexOf('"') === 0) {
34
+ // This is a quoted cookie as according to RFC2068, unescape...
35
+ s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
36
+ }
37
+
38
+ try {
39
+ // Replace server-side written pluses with spaces.
40
+ // If we can't decode the cookie, ignore it, it's unusable.
41
+ // If we can't parse the cookie, ignore it, it's unusable.
42
+ s = decodeURIComponent(s.replace(pluses, ' '));
43
+ return config.json ? JSON.parse(s) : s;
44
+ } catch(e) {}
45
+ }
46
+
47
+ function read(s, converter) {
48
+ var value = config.raw ? s : parseCookieValue(s);
49
+ return $.isFunction(converter) ? converter(value) : value;
50
+ }
51
+
52
+ var config = $.cookie = function (key, value, options) {
53
+
54
+ // Write
55
+ if (value !== undefined && !$.isFunction(value)) {
56
+ options = $.extend({}, config.defaults, options);
57
+
58
+ if (typeof options.expires === 'number') {
59
+ var days = options.expires, t = options.expires = new Date();
60
+ t.setDate(t.getDate() + days);
61
+ }
62
+
63
+ return (document.cookie = [
64
+ encode(key), '=', stringifyCookieValue(value),
65
+ options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
66
+ options.path ? '; path=' + options.path : '',
67
+ options.domain ? '; domain=' + options.domain : '',
68
+ options.secure ? '; secure' : ''
69
+ ].join(''));
70
+ }
71
+
72
+ // Read
73
+
74
+ var result = key ? undefined : {};
75
+
76
+ // To prevent the for loop in the first place assign an empty array
77
+ // in case there are no cookies at all. Also prevents odd result when
78
+ // calling $.cookie().
79
+ var cookies = document.cookie ? document.cookie.split('; ') : [];
80
+
81
+ for (var i = 0, l = cookies.length; i < l; i++) {
82
+ var parts = cookies[i].split('=');
83
+ var name = decode(parts.shift());
84
+ var cookie = parts.join('=');
85
+
86
+ if (key && key === name) {
87
+ // If second argument (value) is a function it's a converter...
88
+ result = read(cookie, value);
89
+ break;
90
+ }
91
+
92
+ // Prevent storing a cookie that we couldn't decode.
93
+ if (!key && (cookie = read(cookie)) !== undefined) {
94
+ result[name] = cookie;
95
+ }
96
+ }
97
+
98
+ return result;
99
+ };
100
+
101
+ config.defaults = {};
102
+
103
+ $.removeCookie = function (key, options) {
104
+ if ($.cookie(key) === undefined) {
105
+ return false;
106
+ }
107
+
108
+ // Must not alter options, thus extending a fresh object...
109
+ $.cookie(key, '', $.extend({}, options, { expires: -1 }));
110
+ return !$.cookie(key);
111
+ };
112
+
113
+ }));
114
+ var page_title = jQuery(document).find("title").text();
115
+ var page_url = window.location.href;
116
+ var page_referrer = document.referrer;
117
+ var form_saved = false;
118
+
119
+ jQuery(document).ready( function ( $ ) {
120
+
121
+ var hashkey = $.cookie("li_hash");
122
+ var li_submission_cookie = $.cookie("li_submission");
123
+
124
+ // The submission didn't officially finish before the page refresh, so try it again
125
+ if ( li_submission_cookie )
126
+ {
127
+ var submission_data = JSON.parse(li_submission_cookie);
128
+ leadin_insert_form_submission(
129
+ submission_data.submission_hash,
130
+ submission_data.hashkey,
131
+ submission_data.page_title,
132
+ submission_data.page_url,
133
+ submission_data.json_form_fields,
134
+ submission_data.lead_email,
135
+ submission_data.lead_first_name,
136
+ submission_data.lead_last_name,
137
+ submission_data.lead_phone,
138
+ submission_data.form_submission_type,
139
+ function ( data ) {
140
+ // Form was submitted successfully before page reload. Delete cookie for this submission
141
+ $.removeCookie('li_submission', {path: "/", domain: ""});
142
+ }
143
+ );
144
+ }
145
+
146
+ if ( !hashkey )
147
+ {
148
+ hashkey = Math.random().toString(36).slice(2);
149
+ $.cookie("li_hash", hashkey, {path: "/", domain: ""});
150
+ leadin_insert_lead(hashkey, page_referrer);
151
+ }
152
+
153
+ leadin_log_pageview(hashkey, page_title, page_url, page_referrer, $.cookie('li_last_visit'));
154
+
155
+ var date = new Date();
156
+ var current_time = date.getTime();
157
+ date.setTime(date.getTime() + (60 * 60 * 1000));
158
+
159
+ // The li_last_visit has expired, so check to see if this is a stale contact that has been merged
160
+ if ( !$.cookie('li_last_visit') )
161
+ {
162
+ leadin_check_merged_contact(hashkey);
163
+ }
164
+
165
+ $.cookie("li_last_visit", current_time, {path: "/", domain: "", expires: date});
166
+ });
167
+
168
+ jQuery(function($){
169
+
170
+ // Many WordPress sites run outdated version of jQuery. This is a fix to support jQuery < 1.7.0 and futureproof the plugin when bind, live, etc are deprecated
171
+ if ( $.versioncompare($.fn.jquery, '1.7.0') != -1 )
172
+ {
173
+ $(document).on('submit', 'form', function( e ) {
174
+ var $form = $(this).closest('form');
175
+ leadin_submit_form($form, $);
176
+ });
177
+ }
178
+ else
179
+ {
180
+ $(document).bind('submit', 'form', function( e ) {
181
+ var $form = $(this).closest('form');
182
+ leadin_submit_form($form, $);
183
+ });
184
+ }
185
+ });
186
+
187
+ function leadin_submit_form ( $form, $, form_type )
188
+ {
189
+ var $this = $form;
190
+
191
+ var form_fields = [];
192
+ var lead_email = '';
193
+ var lead_first_name = '';
194
+ var lead_last_name = '';
195
+ var lead_phone = '';
196
+ var form_submission_type = ( form_type ? form_type : 'lead' );
197
+
198
+ // Excludes hidden input fields + submit inputs
199
+ $this.find('input[type!="submit"], textarea').not('input[type="hidden"], input[type="radio"], input[type="password"]').each( function ( index ) {
200
+ var $element = $(this);
201
+ var $value = $element.val();
202
+
203
+ if ( !$element.is(':visible' ) )
204
+ return true;
205
+
206
+ // Check if input has an attached lable using for= tag
207
+ var $label = $("label[for='" + $element.attr('id') + "']").text();
208
+
209
+ // Check for label in same container immediately before input
210
+ if ($label.length == 0)
211
+ {
212
+ $label = $element.prev('label').not('.li_used').addClass('li_used').first().text();
213
+
214
+ if ( !$label.length )
215
+ {
216
+ $label = $element.prevAll('b, strong, span').text(); // Find previous closest string
217
+ }
218
+ }
219
+
220
+ // Check for label in same container immediately after input
221
+ if ($label.length == 0)
222
+ {
223
+ $label = $element.next('label').not('.li_used').addClass('li_used').first().text();
224
+
225
+ if ( !$label.length )
226
+ {
227
+ $label = $element.nextAll('b, strong, span').text(); // Find next closest string
228
+ }
229
+ }
230
+
231
+ // Checks the parent for a label or bold text
232
+ if ($label.length == 0)
233
+ {
234
+ $label = $element.parent().find('label, b, strong').not('.li_used').first().text();
235
+ }
236
+
237
+ // Checks the parent's parent for a label or bold text
238
+ if ($label.length == 0)
239
+ {
240
+ if ( $.contains($this, $element.parent().parent()) )
241
+ {
242
+ $label = $element.parent().parent().find('label, b, strong').first().text();
243
+ }
244
+ }
245
+
246
+ // Looks for closests p tag parent, and looks for label inside
247
+ if ( $label.length == 0 )
248
+ {
249
+ $p = $element.closest('p').not('.li_used').addClass('li_used');
250
+
251
+ // This gets the text from the p tag parent if it exists
252
+ if ( $p.length )
253
+ {
254
+ $label = $p.text();
255
+ $label = $.trim($label.replace($value, "")); // Hack to exclude the textarea text from the label text
256
+ }
257
+ }
258
+
259
+ // Check for placeholder attribute
260
+ if ( $label.length == 0 )
261
+ {
262
+ if ( $element.attr('placeholder') !== undefined )
263
+ {
264
+ $label = $element.attr('placeholder').toString();
265
+ }
266
+ }
267
+
268
+ if ( $label.length == 0 )
269
+ {
270
+ if ( $element.attr('name') !== undefined )
271
+ {
272
+ $label = $element.attr('name').toString();
273
+ }
274
+ }
275
+
276
+ if ( $element.is(':checkbox') )
277
+ {
278
+ if ( $element.is(':checked'))
279
+ {
280
+ $value = 'Checked';
281
+ }
282
+ else
283
+ {
284
+ $value = 'Not checked';
285
+ }
286
+ }
287
+
288
+ var $label_text = $.trim($label.replaceArray(["(", ")", "required", "Required", "*", ":"], [""]));
289
+
290
+ push_form_field($label_text, $value, form_fields);
291
+
292
+ if ( $value.indexOf('@') != -1 && $value.indexOf('.') != -1 && !lead_email )
293
+ lead_email = $value;
294
+
295
+ if ( $element.attr('id') == 'leadin-subscribe-fname')
296
+ lead_first_name = $value;
297
+
298
+ if ( $element.attr('id') == 'leadin-subscribe-lname')
299
+ lead_last_name = $value;
300
+
301
+ if ( $element.attr('id') == 'leadin-subscribe-phone')
302
+ lead_phone = $value;
303
+ });
304
+
305
+ var radio_groups = [];
306
+ var rbg_label_values = [];
307
+ $this.find(":radio").each(function(){
308
+ if ( $.inArray(this.name, radio_groups) == -1 )
309
+ radio_groups.push(this.name);
310
+ rbg_label_values.push($(this).val());
311
+ });
312
+
313
+ for ( var i = 0; i < radio_groups.length; i++ )
314
+ {
315
+ var $rbg = $("input:radio[name='" + radio_groups[i] + "']");
316
+ var $rbg_value = $("input:radio[name='" + radio_groups[i] + "']:checked").val();
317
+
318
+ if ( $this.find('.gfield').length ) // Hack for gravity forms
319
+ $p = $rbg.closest('.gfield').not('.li_used').addClass('li_used');
320
+ else if ( $this.find('.frm_form_field').length ) // Hack for Formidable
321
+ $p = $rbg.closest('.frm_form_field').not('.li_used').addClass('li_used');
322
+ else
323
+ $p = $rbg.closest('div, p').not('.li_used').addClass('li_used');
324
+
325
+ // This gets the text from the p tag parent if it exists
326
+ if ( $p.length )
327
+ {
328
+ //$p.find('label, strong, span, b').html();
329
+ $rbg_label = $p.text();
330
+ $rbg_label = $.trim($rbg_label.replaceArray(rbg_label_values, [""]).replace($p.find('.gfield_description').text(), ''));
331
+ // Remove .gfield_description from gravity forms
332
+ }
333
+
334
+ var rgb_selected = ( !$("input:radio[name='" + radio_groups[i] + "']:checked").val() ) ? 'not selected' : $("input:radio[name='" + radio_groups[i] + "']:checked").val();
335
+
336
+ push_form_field($rbg_label, rgb_selected, form_fields);
337
+ }
338
+
339
+ $this.find('select').each( function ( ) {
340
+ var $select = $(this);
341
+ var $select_label = $("label[for='" + $select.attr('id') + "']").text();
342
+
343
+ if ( !$select_label.length )
344
+ {
345
+ var select_values = [];
346
+ $select.find("option").each(function(){
347
+ if ( $.inArray($(this).val(), select_values) == -1 )
348
+ select_values.push($(this).val());
349
+ });
350
+
351
+ $p = $select.closest('div, p').not('.li_used').addClass('li_used');
352
+
353
+ if ( $this.find('.gfield').length ) // Hack for gravity forms
354
+ $p = $select.closest('.gfield').not('.li_used').addClass('li_used');
355
+ else
356
+ {
357
+ $p = $select.closest('div, p').addClass('li_used');
358
+ }
359
+
360
+ if ( $p.length )
361
+ {
362
+ $select_label = $p.text();
363
+ $select_label = $.trim($select_label.replaceArray(select_values, [""]).replace($p.find('.gfield_description').text(), ''));
364
+ }
365
+ }
366
+
367
+ push_form_field($select_label, $select.val(), form_fields);
368
+ });
369
+
370
+ $this.find('.li_used').removeClass('li_used'); // Clean up added classes
371
+
372
+ if ( $this.find('#comment_post_ID').length )
373
+ {
374
+ form_submission_type = 'comment';
375
+ }
376
+
377
+ // Save submission into database, send LeadIn email, and submit form as usual
378
+ if ( lead_email )
379
+ {
380
+ var submission_hash = Math.random().toString(36).slice(2);
381
+ var hashkey = $.cookie("li_hash");
382
+ var json_form_fields = JSON.stringify(form_fields);
383
+
384
+ var form_submission = {};
385
+ form_submission = {
386
+ "submission_hash": submission_hash,
387
+ "hashkey": hashkey,
388
+ "lead_email": lead_email,
389
+ "lead_first_name": lead_first_name,
390
+ "lead_last_name": lead_last_name,
391
+ "lead_phone": lead_phone,
392
+ "page_title": page_title,
393
+ "page_url": page_url,
394
+ "json_form_fields": json_form_fields,
395
+ "form_submission_type": form_submission_type,
396
+ };
397
+
398
+ $.cookie("li_submission", JSON.stringify(form_submission), {path: "/", domain: ""});
399
+
400
+ leadin_insert_form_submission(
401
+ submission_hash,
402
+ hashkey,
403
+ page_title,
404
+ page_url,
405
+ json_form_fields,
406
+ lead_email,
407
+ lead_first_name,
408
+ lead_last_name,
409
+ lead_phone,
410
+ form_submission_type,
411
+ function ( data ) {
412
+ // Form was executed 100% successfully before page reload. Delete cookie for this submission
413
+ $.removeCookie('li_submission', {path: "/", domain: ""});
414
+ }
415
+ );
416
+ }
417
+ else // No lead - submit form as usual
418
+ {
419
+ form_saved = true;
420
+ }
421
+ }
422
+
423
+ function leadin_check_merged_contact ( hashkey )
424
+ {
425
+ jQuery.ajax({
426
+ type: 'POST',
427
+ url: li_ajax.ajax_url,
428
+ data: {
429
+ "action": "leadin_check_merged_contact",
430
+ "li_id": hashkey
431
+ },
432
+ success: function(data){
433
+ // Force override the current tracking with the merged value
434
+ var json_data = jQuery.parseJSON(data);
435
+ if ( json_data )
436
+ jQuery.cookie("li_hash", json_data, {path: "/", domain: ""});
437
+ },
438
+ error: function ( error_data ) {
439
+ //alert(error_data);
440
+ }
441
+ });
442
+ }
443
+
444
+ function leadin_check_visitor_status ( hashkey, callback )
445
+ {
446
+ jQuery.ajax({
447
+ type: 'POST',
448
+ url: li_ajax.ajax_url,
449
+ data: {
450
+ "action": "leadin_check_visitor_status",
451
+ "li_id": hashkey
452
+ },
453
+ success: function(data){
454
+ // Force override the current tracking with the merged value
455
+ var json_data = jQuery.parseJSON(data);
456
+
457
+ if ( callback )
458
+ callback(json_data);
459
+ },
460
+ error: function ( error_data ) {
461
+ //alert(error_data);
462
+ }
463
+ });
464
+ }
465
+
466
+ function leadin_log_pageview ( hashkey, page_title, page_url, page_referrer, last_visit )
467
+ {
468
+ jQuery.ajax({
469
+ type: 'POST',
470
+ url: li_ajax.ajax_url,
471
+ data: {
472
+ "action": "leadin_log_pageview",
473
+ "li_id": hashkey,
474
+ "li_title": page_title,
475
+ "li_url": page_url,
476
+ "li_referrer": page_referrer,
477
+ "li_last_visit": last_visit
478
+ },
479
+ success: function(data){
480
+ },
481
+ error: function ( error_data ) {
482
+ //alert(error_data);
483
+ }
484
+ });
485
+ }
486
+
487
+ function leadin_insert_lead ( hashkey, page_referrer ) {
488
+ jQuery.ajax({
489
+ type: 'POST',
490
+ url: li_ajax.ajax_url,
491
+ data: {
492
+ "action": "leadin_insert_lead",
493
+ "li_id": hashkey,
494
+ "li_referrer": page_referrer
495
+ },
496
+ success: function(data){
497
+ },
498
+ error: function ( error_data ) {
499
+ //alert(error_data);
500
+ }
501
+ });
502
+ }
503
+
504
+ function leadin_insert_form_submission ( submission_haskey, hashkey, page_title, page_url, json_fields, lead_email, lead_first_name, lead_last_name, lead_phone, form_submission_type, Callback )
505
+ {
506
+ jQuery.ajax({
507
+ type: 'POST',
508
+ url: li_ajax.ajax_url,
509
+ data: {
510
+ "action": "leadin_insert_form_submission",
511
+ "li_submission_id": submission_haskey,
512
+ "li_id": hashkey,
513
+ "li_title": page_title,
514
+ "li_url": page_url,
515
+ "li_fields": json_fields,
516
+ "li_email": lead_email,
517
+ "li_first_name": lead_first_name,
518
+ "li_last_name": lead_last_name,
519
+ "li_phone": lead_phone,
520
+ "li_submission_type": form_submission_type
521
+ },
522
+ success: function(data){
523
+ if ( Callback )
524
+ Callback(data);
525
+ },
526
+ error: function ( error_data ) {
527
+ //alert(error_data);
528
+ }
529
+ });
530
+
531
+ }
532
+
533
+ function push_form_field ( label, value, form_fields )
534
+ {
535
+ var field = {
536
+ label: label,
537
+ value: value
538
+ };
539
+
540
+ form_fields.push(field);
541
+ }
542
+
543
+ String.prototype.replaceArray = function(find, replace) {
544
+ var replaceString = this;
545
+ for (var i = 0; i < find.length; i++) {
546
+ if ( replace.length != 1 )
547
+ replaceString = replaceString.replace(find[i], replace[i]);
548
+ else
549
+ replaceString = replaceString.replace(find[i], replace[0]);
550
+ }
551
+ return replaceString;
552
+ };
553
+
554
+ /**
555
+ * Checks the version number of jQuery and compares to string
556
+ *
557
+ * @param string
558
+ * @param string
559
+ *
560
+ * @return bool
561
+ */
562
+
563
+ (function($){
564
+ $.versioncompare = function(version1, version2){
565
+ if ('undefined' === typeof version1) {
566
+ throw new Error("$.versioncompare needs at least one parameter.");
567
+ }
568
+ version2 = version2 || $.fn.jquery;
569
+ if (version1 == version2) {
570
+ return 0;
571
+ }
572
+ var v1 = normalize(version1);
573
+ var v2 = normalize(version2);
574
+ var len = Math.max(v1.length, v2.length);
575
+ for (var i = 0; i < len; i++) {
576
+ v1[i] = v1[i] || 0;
577
+ v2[i] = v2[i] || 0;
578
+ if (v1[i] == v2[i]) {
579
+ continue;
580
+ }
581
+ return v1[i] > v2[i] ? 1 : -1;
582
+ }
583
+ return 0;
584
+ };
585
+ function normalize(version){
586
+ return $.map(version.split('.'), function(value){
587
+ return parseInt(value, 10);
588
+ });
589
+ }
590
+ }(jQuery));
assets/js/build/leadin-tracking.min.js ADDED
@@ -0,0 +1 @@
 
1
+ function leadin_submit_form(a,b,c){var d=a,e=[],f="",g="",h="",i="",j=c?c:"lead";d.find('input[type!="submit"], textarea').not('input[type="hidden"], input[type="radio"], input[type="password"]').each(function(){var a=b(this),c=a.val();if(!a.is(":visible"))return!0;var j=b("label[for='"+a.attr("id")+"']").text();0==j.length&&(j=a.prev("label").not(".li_used").addClass("li_used").first().text(),j.length||(j=a.prevAll("b, strong, span").text())),0==j.length&&(j=a.next("label").not(".li_used").addClass("li_used").first().text(),j.length||(j=a.nextAll("b, strong, span").text())),0==j.length&&(j=a.parent().find("label, b, strong").not(".li_used").first().text()),0==j.length&&b.contains(d,a.parent().parent())&&(j=a.parent().parent().find("label, b, strong").first().text()),0==j.length&&($p=a.closest("p").not(".li_used").addClass("li_used"),$p.length&&(j=$p.text(),j=b.trim(j.replace(c,"")))),0==j.length&&void 0!==a.attr("placeholder")&&(j=a.attr("placeholder").toString()),0==j.length&&void 0!==a.attr("name")&&(j=a.attr("name").toString()),a.is(":checkbox")&&(c=a.is(":checked")?"Checked":"Not checked");var k=b.trim(j.replaceArray(["(",")","required","Required","*",":"],[""]));push_form_field(k,c,e),-1==c.indexOf("@")||-1==c.indexOf(".")||f||(f=c),"leadin-subscribe-fname"==a.attr("id")&&(g=c),"leadin-subscribe-lname"==a.attr("id")&&(h=c),"leadin-subscribe-phone"==a.attr("id")&&(i=c)});var k=[],l=[];d.find(":radio").each(function(){-1==b.inArray(this.name,k)&&k.push(this.name),l.push(b(this).val())});for(var m=0;m<k.length;m++){{var n=b("input:radio[name='"+k[m]+"']");b("input:radio[name='"+k[m]+"']:checked").val()}$p=d.find(".gfield").length?n.closest(".gfield").not(".li_used").addClass("li_used"):d.find(".frm_form_field").length?n.closest(".frm_form_field").not(".li_used").addClass("li_used"):n.closest("div, p").not(".li_used").addClass("li_used"),$p.length&&($rbg_label=$p.text(),$rbg_label=b.trim($rbg_label.replaceArray(l,[""]).replace($p.find(".gfield_description").text(),"")));var o=b("input:radio[name='"+k[m]+"']:checked").val()?b("input:radio[name='"+k[m]+"']:checked").val():"not selected";push_form_field($rbg_label,o,e)}if(d.find("select").each(function(){var a=b(this),c=b("label[for='"+a.attr("id")+"']").text();if(!c.length){var f=[];a.find("option").each(function(){-1==b.inArray(b(this).val(),f)&&f.push(b(this).val())}),$p=a.closest("div, p").not(".li_used").addClass("li_used"),$p=d.find(".gfield").length?a.closest(".gfield").not(".li_used").addClass("li_used"):a.closest("div, p").addClass("li_used"),$p.length&&(c=$p.text(),c=b.trim(c.replaceArray(f,[""]).replace($p.find(".gfield_description").text(),"")))}push_form_field(c,a.val(),e)}),d.find(".li_used").removeClass("li_used"),d.find("#comment_post_ID").length&&(j="comment"),f){var p=Math.random().toString(36).slice(2),q=b.cookie("li_hash"),r=JSON.stringify(e),s={};s={submission_hash:p,hashkey:q,lead_email:f,lead_first_name:g,lead_last_name:h,lead_phone:i,page_title:page_title,page_url:page_url,json_form_fields:r,form_submission_type:j},b.cookie("li_submission",JSON.stringify(s),{path:"/",domain:""}),leadin_insert_form_submission(p,q,page_title,page_url,r,f,g,h,i,j,function(){b.removeCookie("li_submission",{path:"/",domain:""})})}else form_saved=!0}function leadin_check_merged_contact(a){jQuery.ajax({type:"POST",url:li_ajax.ajax_url,data:{action:"leadin_check_merged_contact",li_id:a},success:function(a){var b=jQuery.parseJSON(a);b&&jQuery.cookie("li_hash",b,{path:"/",domain:""})},error:function(){}})}function leadin_check_visitor_status(a,b){jQuery.ajax({type:"POST",url:li_ajax.ajax_url,data:{action:"leadin_check_visitor_status",li_id:a},success:function(a){var c=jQuery.parseJSON(a);b&&b(c)},error:function(){}})}function leadin_log_pageview(a,b,c,d,e){jQuery.ajax({type:"POST",url:li_ajax.ajax_url,data:{action:"leadin_log_pageview",li_id:a,li_title:b,li_url:c,li_referrer:d,li_last_visit:e},success:function(){},error:function(){}})}function leadin_insert_lead(a,b){jQuery.ajax({type:"POST",url:li_ajax.ajax_url,data:{action:"leadin_insert_lead",li_id:a,li_referrer:b},success:function(){},error:function(){}})}function leadin_insert_form_submission(a,b,c,d,e,f,g,h,i,j,k){jQuery.ajax({type:"POST",url:li_ajax.ajax_url,data:{action:"leadin_insert_form_submission",li_submission_id:a,li_id:b,li_title:c,li_url:d,li_fields:e,li_email:f,li_first_name:g,li_last_name:h,li_phone:i,li_submission_type:j},success:function(a){k&&k(a)},error:function(){}})}function push_form_field(a,b,c){var d={label:a,value:b};c.push(d)}!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setDate(k.getDate()+j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}});var page_title=jQuery(document).find("title").text(),page_url=window.location.href,page_referrer=document.referrer,form_saved=!1;jQuery(document).ready(function(a){var b=a.cookie("li_hash"),c=a.cookie("li_submission");if(c){var d=JSON.parse(c);leadin_insert_form_submission(d.submission_hash,d.hashkey,d.page_title,d.page_url,d.json_form_fields,d.lead_email,d.lead_first_name,d.lead_last_name,d.lead_phone,d.form_submission_type,function(){a.removeCookie("li_submission",{path:"/",domain:""})})}b||(b=Math.random().toString(36).slice(2),a.cookie("li_hash",b,{path:"/",domain:""}),leadin_insert_lead(b,page_referrer)),leadin_log_pageview(b,page_title,page_url,page_referrer,a.cookie("li_last_visit"));var e=new Date,f=e.getTime();e.setTime(e.getTime()+36e5),a.cookie("li_last_visit")||leadin_check_merged_contact(b),a.cookie("li_last_visit",f,{path:"/",domain:"",expires:e})}),jQuery(function(a){-1!=a.versioncompare(a.fn.jquery,"1.7.0")?a(document).on("submit","form",function(){var b=a(this).closest("form");leadin_submit_form(b,a)}):a(document).bind("submit","form",function(){var b=a(this).closest("form");leadin_submit_form(b,a)})}),String.prototype.replaceArray=function(a,b){for(var c=this,d=0;d<a.length;d++)c=1!=b.length?c.replace(a[d],b[d]):c.replace(a[d],b[0]);return c},function(a){function b(b){return a.map(b.split("."),function(a){return parseInt(a,10)})}a.versioncompare=function(c,d){if("undefined"==typeof c)throw new Error("$.versioncompare needs at least one parameter.");if(d=d||a.fn.jquery,c==d)return 0;for(var e=b(c),f=b(d),g=Math.max(e.length,f.length),h=0;g>h;h++)if(e[h]=e[h]||0,f[h]=f[h]||0,e[h]!=f[h])return e[h]>f[h]?1:-1;return 0}}(jQuery);
{power-ups/subscribe-widget/frontend/js → assets/js/subscribe}/leadin-subscribe.js RENAMED
@@ -1,3 +1,6 @@
 
 
 
1
  jQuery(document).ready( function ( $ ) {
2
  var li_subscribe_flag = $.cookie('li_subscribe');
3
 
@@ -13,7 +16,8 @@ jQuery(document).ready( function ( $ ) {
13
  }
14
  else
15
  {
16
- $.cookie("li_subscribe", 'ignore', {path: "/", domain: ""});
 
17
  }
18
  });
19
  }
@@ -52,12 +56,28 @@ function bind_leadin_subscribe_widget ()
52
  showCloseButton: true,
53
  className: 'leadin-subscribe ' + $('#leadin-subscribe-vex-class').val(),
54
  message: $('#leadin-subscribe-heading').val(),
55
- input: '<input id="leadin-subscribe-email" name="email" type="email" placeholder="Email address" required />' +
56
- (($('#leadin-subscribe-name-fields').val()==0) ? '' : '<input id="leadin-subscribe-fname" name="fname" type="text" placeholder="First Name" required /><input id="leadin-subscribe-lname" name="lname" type="text" placeholder="Last Name" required />') +
57
- (($('#leadin-subscribe-phone-field').val()==0) ? '' : '<input id="leadin-subscribe-phone" name="phone" type="tel" placeholder="Phone" required />'),
58
  buttons: [$.extend({}, vex.dialog.buttons.YES, { text: ( $('#leadin-subscribe-btn-label').val() ? $('#leadin-subscribe-btn-label').val() : 'SUBSCRIBE' ) })],
59
  onSubmit: function ( data )
60
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  $('.vex-dialog-form').fadeOut(300, function ( e ) {
62
  $('.vex-dialog-form').html(
63
  '<div class="vex-close"></div>' +
@@ -70,15 +90,15 @@ function bind_leadin_subscribe_widget ()
70
  });
71
 
72
  leadin_submit_form($('.leadin-subscribe form'), $, 'subscribe');
73
- $.cookie("li_subscribe", 'ignore', {path: "/", domain: ""});
74
  return false;
75
  },
76
  callback: function(data) {
77
  if (data === false) {
78
- $.cookie("li_subscribe", 'ignore', {path: "/", domain: ""});
79
  }
80
 
81
- $.cookie("li_subscribe", 'ignore', {path: "/", domain: ""});
82
  }
83
  });
84
 
1
+ var ignore_date = new Date();
2
+ ignore_date.setTime(ignore_date.getTime() + (60 * 60 * 24 * 14 * 1000));
3
+
4
  jQuery(document).ready( function ( $ ) {
5
  var li_subscribe_flag = $.cookie('li_subscribe');
6
 
16
  }
17
  else
18
  {
19
+ alert('ignore ' + ignore_date);
20
+ $.cookie("li_subscribe", 'ignore', {path: "/", domain: "", expires: ignore_date});
21
  }
22
  });
23
  }
56
  showCloseButton: true,
57
  className: 'leadin-subscribe ' + $('#leadin-subscribe-vex-class').val(),
58
  message: $('#leadin-subscribe-heading').val(),
59
+ input: '<input id="leadin-subscribe-email" name="email" type="email" placeholder="Email address" />' +
60
+ (($('#leadin-subscribe-name-fields').val()==0) ? '' : '<input id="leadin-subscribe-fname" name="fname" type="text" placeholder="First Name" /><input id="leadin-subscribe-lname" name="lname" type="text" placeholder="Last Name" />') +
61
+ (($('#leadin-subscribe-phone-field').val()==0) ? '' : '<input id="leadin-subscribe-phone" name="phone" type="tel" placeholder="Phone" />'),
62
  buttons: [$.extend({}, vex.dialog.buttons.YES, { text: ( $('#leadin-subscribe-btn-label').val() ? $('#leadin-subscribe-btn-label').val() : 'SUBSCRIBE' ) })],
63
  onSubmit: function ( data )
64
  {
65
+ $subscribe_form = $(this);
66
+ $subscribe_form.find('input.error').removeClass('error');
67
+ var form_validated = true;
68
+
69
+ $subscribe_form.find('input').each( function ( e ) {
70
+ var $input = $(this);
71
+ if ( ! $input.val() )
72
+ {
73
+ $input.addClass('error');
74
+ form_validated = false;
75
+ }
76
+ });
77
+
78
+ if ( ! form_validated )
79
+ return false;
80
+
81
  $('.vex-dialog-form').fadeOut(300, function ( e ) {
82
  $('.vex-dialog-form').html(
83
  '<div class="vex-close"></div>' +
90
  });
91
 
92
  leadin_submit_form($('.leadin-subscribe form'), $, 'subscribe');
93
+ $.cookie("li_subscribe", 'ignore', {path: "/", domain: "", expires: ignore_date});
94
  return false;
95
  },
96
  callback: function(data) {
97
  if (data === false) {
98
+ $.cookie("li_subscribe", 'ignore', {path: "/", domain: "", expires: ignore_date});
99
  }
100
 
101
+ $.cookie("li_subscribe", 'ignore', {path: "/", domain: "", expires: ignore_date});
102
  }
103
  });
104
 
{power-ups/subscribe-widget/frontend/js → assets/js/subscribe}/vex.dialog.js RENAMED
File without changes
{power-ups/subscribe-widget/frontend/js → assets/js/subscribe}/vex.js RENAMED
File without changes
{frontend/js → assets/js/tracking}/jquery.cookie.js RENAMED
File without changes
{frontend/js → assets/js/tracking}/leadin.js RENAMED
@@ -81,6 +81,7 @@ function leadin_submit_form ( $form, $, form_type )
81
  var lead_last_name = '';
82
  var lead_phone = '';
83
  var form_submission_type = ( form_type ? form_type : 'lead' );
 
84
 
85
  // Excludes hidden input fields + submit inputs
86
  $this.find('input[type!="submit"], textarea').not('input[type="hidden"], input[type="radio"], input[type="password"]').each( function ( index ) {
@@ -172,8 +173,14 @@ function leadin_submit_form ( $form, $, form_type )
172
  }
173
  }
174
 
 
 
 
175
  var $label_text = $.trim($label.replaceArray(["(", ")", "required", "Required", "*", ":"], [""]));
176
 
 
 
 
177
  push_form_field($label_text, $value, form_fields);
178
 
179
  if ( $value.indexOf('@') != -1 && $value.indexOf('.') != -1 && !lead_email )
@@ -251,7 +258,24 @@ function leadin_submit_form ( $form, $, form_type )
251
  }
252
  }
253
 
254
- push_form_field($select_label, $select.val(), form_fields);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
  });
256
 
257
  $this.find('.li_used').removeClass('li_used'); // Clean up added classes
@@ -261,8 +285,8 @@ function leadin_submit_form ( $form, $, form_type )
261
  form_submission_type = 'comment';
262
  }
263
 
264
- // Save submission into database, send LeadIn email, and submit form as usual
265
- if ( lead_email )
266
  {
267
  var submission_hash = Math.random().toString(36).slice(2);
268
  var hashkey = $.cookie("li_hash");
81
  var lead_last_name = '';
82
  var lead_phone = '';
83
  var form_submission_type = ( form_type ? form_type : 'lead' );
84
+ var ignore_form = false;
85
 
86
  // Excludes hidden input fields + submit inputs
87
  $this.find('input[type!="submit"], textarea').not('input[type="hidden"], input[type="radio"], input[type="password"]').each( function ( index ) {
173
  }
174
  }
175
 
176
+ // Remove fakepath from input[type="file"]
177
+ $value = $value.replace("C:\\fakepath\\", "");
178
+
179
  var $label_text = $.trim($label.replaceArray(["(", ")", "required", "Required", "*", ":"], [""]));
180
 
181
+ if ( $label_text.toLowerCase().indexOf('credit card') != -1 || $label_text.toLowerCase().indexOf('card number') != -1 )
182
+ ignore_form = true;
183
+
184
  push_form_field($label_text, $value, form_fields);
185
 
186
  if ( $value.indexOf('@') != -1 && $value.indexOf('.') != -1 && !lead_email )
258
  }
259
  }
260
 
261
+ var select_value = '';
262
+ if ( $select.val() instanceof Array )
263
+ {
264
+ var select_vals = $select.val();
265
+
266
+ for ( i = 0; i < select_vals.length; i++ )
267
+ {
268
+ select_value += select_vals[i];
269
+ if ( i != select_vals.length - 1 )
270
+ select_value += ', ';
271
+ }
272
+ }
273
+ else
274
+ {
275
+ select_value = $select.val();
276
+ }
277
+
278
+ push_form_field($select_label, select_value, form_fields);
279
  });
280
 
281
  $this.find('.li_used').removeClass('li_used'); // Clean up added classes
285
  form_submission_type = 'comment';
286
  }
287
 
288
+ // Save submission into database if email is present and form is not ignore, send LeadIn email, and submit form as usual
289
+ if ( lead_email && ! ignore_form )
290
  {
291
  var submission_hash = Math.random().toString(36).slice(2);
292
  var hashkey = $.cookie("li_hash");
{admin/sass → assets/sass/admin}/_contact_detail_page.sass RENAMED
@@ -47,6 +47,10 @@
47
  top: 9px
48
  color: $color-border
49
 
 
 
 
 
50
  .events
51
  background-color: #fff
52
  border: 1px solid $color-border
@@ -58,6 +62,7 @@
58
  border:
59
  bottom: 1px solid $color-border
60
  left: 4px solid
 
61
 
62
  &:first-child
63
  border-top: 0
@@ -79,29 +84,31 @@
79
  font-size: 13px
80
  font-weight: 600
81
 
82
- .event-time-range
83
- float: right
84
  font-weight: 400
85
- font-size: 0.85em
86
- color: $color-text-light
 
 
87
 
88
  .event-detail
89
- margin-top: 20px
 
90
  color: $color-text
91
 
92
  li + li
93
  padding-top: $base-vertical-unit
94
  border-top: 1px solid $color-border-light
95
 
 
 
 
96
  .visit-source
97
  p
98
  margin: 0
99
  color: $blue-dark
100
 
101
- .pageview-url
102
- margin: 0
103
- color: $color-text-lighter
104
-
105
  .field-label
106
  text-transform: uppercase
107
  letter-spacing: 0.05em
47
  top: 9px
48
  color: $color-border
49
 
50
+ .session-time-range
51
+ color: $color-text-light
52
+ font-weight: 400
53
+
54
  .events
55
  background-color: #fff
56
  border: 1px solid $color-border
62
  border:
63
  bottom: 1px solid $color-border
64
  left: 4px solid
65
+ +pie-clearfix()
66
 
67
  &:first-child
68
  border-top: 0
84
  font-size: 13px
85
  font-weight: 600
86
 
87
+ .event-time
88
+ float: left
89
  font-weight: 400
90
+ width: 75px
91
+
92
+ .event-content
93
+ margin-left: 75px
94
 
95
  .event-detail
96
+ margin:
97
+ top: 20px
98
  color: $color-text
99
 
100
  li + li
101
  padding-top: $base-vertical-unit
102
  border-top: 1px solid $color-border-light
103
 
104
+ &.pageview-url
105
+ color: $color-text-lighter
106
+
107
  .visit-source
108
  p
109
  margin: 0
110
  color: $blue-dark
111
 
 
 
 
 
112
  .field-label
113
  text-transform: uppercase
114
  letter-spacing: 0.05em
{admin/sass → assets/sass/admin}/_contacts_list_page.sass RENAMED
@@ -9,5 +9,4 @@
9
  width: 8%
10
 
11
  &#status, &#last_visit, &#date, &#pageviews
12
- width: 10%
13
-
9
  width: 8%
10
 
11
  &#status, &#last_visit, &#date, &#pageviews
12
+ width: 10%
 
{admin/sass → assets/sass/admin}/_grid.sass RENAMED
File without changes
{admin/sass → assets/sass/admin}/_metabox.sass RENAMED
File without changes
{admin/sass → assets/sass/admin}/_powerups_page.sass RENAMED
File without changes
{admin/sass → assets/sass/admin}/_settings_page.sass RENAMED
File without changes
{admin/sass → assets/sass/admin}/_tables.sass RENAMED
File without changes
{admin/sass → assets/sass/admin}/_variables.sass RENAMED
File without changes
{admin → assets}/sass/leadin-admin.sass RENAMED
@@ -1,9 +1,9 @@
1
  @import "compass/utilities/general/clearfix"
2
  @import "compass/css3"
3
 
4
- @import variables.sass
5
- @import grid.sass
6
- @import tables.sass
7
 
8
  //WordPress stuff
9
  #leadin
@@ -78,9 +78,9 @@
78
  background-color: #54CC14
79
 
80
  // Pages
81
- @import settings_page.sass
82
- @import contacts_list_page.sass
83
- @import contact_detail_page.sass
84
- @import powerups_page.sass
85
- @import metabox.sass
86
 
1
  @import "compass/utilities/general/clearfix"
2
  @import "compass/css3"
3
 
4
+ @import admin/variables.sass
5
+ @import admin/grid.sass
6
+ @import admin/tables.sass
7
 
8
  //WordPress stuff
9
  #leadin
78
  background-color: #54CC14
79
 
80
  // Pages
81
+ @import admin/settings_page.sass
82
+ @import admin/contacts_list_page.sass
83
+ @import admin/contact_detail_page.sass
84
+ @import admin/powerups_page.sass
85
+ @import admin/metabox.sass
86
 
assets/sass/leadin-lead-notifcation.sass ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body, .body
2
+ background-color: #F1F1F1
3
+
4
+ h1
5
+ font-size: 26px
6
+ line-height: 60px
7
+
8
+ h2
9
+ font-size: 23px
10
+
11
+ h3
12
+ font-size: 18px
13
+
14
+ h4
15
+ font-size: 14px
16
+ font-weight: bold
17
+
18
+ .submission-detail
19
+ h3
20
+ color: #666666
21
+
22
+ .lead-timeline__pageview-url
23
+ a
24
+ color: #999999
25
+
26
+ .lead-timeline__submission-label
27
+ text-transform: uppercase
28
+ font-size: 12px
29
+ color: #999999
30
+ letter-spacing: 0.05em
31
+
32
+ .lead-timeline__previous-activity
33
+ h2
34
+ margin-top: 15px
35
+
36
+ .lead-timeline__event
37
+ background-color: #FFFFFF
38
+ border:
39
+ top: 1px solid #DEDEDE
40
+ right: 1px solid #DEDEDE
41
+
42
+ &.pageview
43
+ border-left: 4px solid #2288CC
44
+
45
+ .lead-timeline__event-title, .lead-timeline__event-time
46
+ color: #1F6696
47
+
48
+ &.submission
49
+ border-left: 4px solid #F6601D
50
+
51
+ .lead-timeline__event-title, .lead-timeline__event-time
52
+ color: #B34A12
53
+
54
+ &.traffic-source
55
+ border-left: 4px solid #99AA1F
56
+ border-bottom: 1px solid #DEDEDE
57
+ margin-bottom: 20px
58
+
59
+ .lead-timeline__event-title, .lead-timeline__event-time
60
+ color: #727E14
61
+
62
+ .footer
63
+ margin-bottom: 20px
assets/sass/leadin-subscribe.sass ADDED
@@ -0,0 +1 @@
 
1
+ @import subscribe/vex
{power-ups/subscribe-widget/frontend/sass → assets/sass/subscribe}/_keyframes.sass RENAMED
File without changes
{power-ups/subscribe-widget/frontend/sass → assets/sass/subscribe}/_mixins.sass RENAMED
File without changes
{power-ups/subscribe-widget/frontend/sass → assets/sass/subscribe}/_vex-theme-bottom-right-corner.sass RENAMED
File without changes
{power-ups/subscribe-widget/frontend/sass → assets/sass/subscribe}/_vex-theme-default.sass RENAMED
@@ -84,7 +84,7 @@ $blue: #3288e6
84
 
85
  &:focus
86
  +box-shadow(inset 0 0 0 2px lighten($blue, 20%))
87
- outline: none
88
 
89
  .vex-dialog-buttons
90
  +pie-clearfix()
@@ -121,6 +121,8 @@ $blue: #3288e6
121
  background: #e0e0e0
122
  color: #777
123
 
 
 
124
  .vex-loading-spinner.vex-theme-default
125
  +box-shadow(0 0 0 .5em #f0f0f0, 0 0 1px .5em rgba(0, 0, 0, 0.3))
126
  +border-radius(100%)
84
 
85
  &:focus
86
  +box-shadow(inset 0 0 0 2px lighten($blue, 20%))
87
+ outline: none
88
 
89
  .vex-dialog-buttons
90
  +pie-clearfix()
121
  background: #e0e0e0
122
  color: #777
123
 
124
+
125
+
126
  .vex-loading-spinner.vex-theme-default
127
  +box-shadow(0 0 0 .5em #f0f0f0, 0 0 1px .5em rgba(0, 0, 0, 0.3))
128
  +border-radius(100%)
{power-ups/subscribe-widget/frontend/sass → assets/sass/subscribe}/_vex-theme-top.sass RENAMED
File without changes
power-ups/subscribe-widget/frontend/sass/vex.sass → assets/sass/subscribe/_vex.sass RENAMED
@@ -7,10 +7,8 @@
7
  @import vex-theme-bottom-right-corner
8
  @import vex-theme-top
9
 
10
-
11
  +keyframes-vex-fadein
12
  +keyframes-vex-fadeout
13
-
14
  +keyframes-vex-rotation
15
 
16
  .vex, .vex *, .vex *:before, .vex *:after
@@ -79,6 +77,10 @@
79
  .vex-dialog-message
80
  font-weight: bold
81
 
 
 
 
 
82
  .vex-dialog-button
83
  -webkit-appearance: none
84
  cursor: pointer
7
  @import vex-theme-bottom-right-corner
8
  @import vex-theme-top
9
 
 
10
  +keyframes-vex-fadein
11
  +keyframes-vex-fadeout
 
12
  +keyframes-vex-rotation
13
 
14
  .vex, .vex *, .vex *:before, .vex *:after
77
  .vex-dialog-message
78
  font-weight: bold
79
 
80
+ .vex-dialog-input
81
+ .error
82
+ +box-shadow(inset 0 0 0 2px #f33f33)
83
+
84
  .vex-dialog-button
85
  -webkit-appearance: none
86
  cursor: pointer
inc/class-emailer-new.php ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ //=============================================
3
+ // LI_Emailer Class
4
+ //=============================================
5
+ class LI_Emailer_new {
6
+
7
+ /**
8
+ * Class constructor
9
+ */
10
+ function __construct ()
11
+ {
12
+
13
+ }
14
+
15
+ /**
16
+ * Sends the leads history email
17
+ *
18
+ * @param string
19
+ * @return bool $email_sent Whether the email contents were sent successfully. A true return value does not automatically mean that the user received the email successfully. It just only means that the method used was able to process the request without any errors.
20
+ */
21
+ function send_new_lead_email ( $hashkey )
22
+ {
23
+ $li_contact = new LI_Contact();
24
+ $li_contact->hashkey = $hashkey;
25
+ $li_contact->get_contact_history();
26
+ $history = $li_contact->history;
27
+
28
+ $body = "";
29
+
30
+ $body = $this->build_body($li_contact);
31
+
32
+ // Each line in an email can only be 998 characters long, so lines need to be broken with a wordwrap
33
+ $body = wordwrap($body, 900, "\r\n");
34
+
35
+ $from = $history->lead->lead_email;
36
+ $headers = "From: LeadIn <team@leadin.com>\r\n";
37
+ $headers.= "Reply-To: LeadIn <" . $from . ">\r\n";
38
+ $headers.= "X-Mailer: PHP/" . phpversion() . "\r\n";
39
+ $headers.= "MIME-Version: 1.0\r\n";
40
+ $headers.= "Content-type: text/html; charset=utf-8\r\n";
41
+
42
+ // Get email from plugin settings, if none set, use admin email
43
+ $options = get_option('leadin_options');
44
+ $to = ( $options['li_email'] ? $options['li_email'] : get_bloginfo('admin_email') ); // Get email from plugin settings, if none set, use admin email
45
+
46
+ if ( $history->lead->last_submission_type == "comment" )
47
+ {
48
+ $subject = "New comment posted on " . $history->submission->form_page_title;
49
+ $subject .= " by " . $history->lead->lead_email;
50
+ }
51
+ else
52
+ {
53
+ $subject = "New submission on " . get_bloginfo('name') . " - " . $history->lead->lead_email;
54
+ }
55
+
56
+ $email_sent = wp_mail($to, $subject, $body, $headers);
57
+
58
+ return $email_sent;
59
+ }
60
+
61
+ function build_body ( $li_contact )
62
+ {
63
+ $format = '<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><meta name="viewport" content="width=device-width"/></head><body style="width: 100%%;min-width: 100%%;-webkit-text-size-adjust: 100%%;-ms-text-size-adjust: 100%%;margin: 0;padding: 0;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;text-align: left;line-height: 19px;font-size: 14px;background-color: #f1f1f1;"><table class="body" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;height: 100%%;width: 100%%;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;background-color: #f1f1f1;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="center" align="center" valign="top" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: center;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><center style="width: 100%%;min-width: 580px;"><table class="container" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: inherit;width: 580px;margin: 0 auto;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;">%s%s%s%s</td></tr></table></center></td></tr></table></body></html>';
64
+ $built_body = sprintf($format, $this->build_submission_details(get_bloginfo('url')), $this->build_contact_identity($li_contact->history->lead->lead_email), $this->build_sessions($li_contact->history), $this->build_footer($li_contact));
65
+
66
+ return $built_body;
67
+ }
68
+
69
+ function build_submission_details ( $url ) {
70
+ $format = '<table class="row submission-detail" style="border-spacing: 0;border-collapse: collapse;padding: 0px;vertical-align: top;text-align: left;width: 100%%;position: relative;display: block;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="wrapper last" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 10px 20px 0px 0px;vertical-align: top;text-align: left;position: relative;padding-right: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><table class="twelve columns" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;margin: 0 auto;width: 580px;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="text-pad" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0px 0px 10px;vertical-align: top;text-align: left;padding-left: 10px;padding-right: 10px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><h3 style="color: #666;font-family: Helvetica, Arial, sans-serif;font-weight: normal;padding: 0;margin: 0;text-align: left;line-height: 1.3;word-break: normal;font-size: 18px;">New submission on <a href="%s" style="color: #2ba6cb;text-decoration: none;">%s</a></h3></td><td class="expander" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;visibility: hidden;width: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"></td></tr></table></td></tr></table>';
71
+ $built_submission_details = sprintf($format, $url, get_bloginfo('name'));
72
+
73
+ return $built_submission_details;
74
+ }
75
+
76
+ function build_contact_identity ( $email ) {
77
+ $avatar_img = "https://app.getsignals.com/avatar/image/?emails=" . $email;
78
+
79
+ $format = '<table class="row lead-identity" style="border-spacing: 0;border-collapse: collapse;padding: 0px;vertical-align: top;text-align: left;width: 100%%;position: relative;display: block;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="wrapper" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 10px 20px 0px 0px;vertical-align: top;text-align: left;position: relative;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><table class="two columns" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;margin: 0 auto;width: 80px;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="text-pad" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0px 0px 10px;vertical-align: top;text-align: left;padding-left: 10px;padding-right: 10px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><img height="60" width="60" src="%s" style="background-color:#F6601D;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;width: auto;max-width: 100%%;float: left;clear: both;display: block;"/></td><td class="expander" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;visibility: hidden;width: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"></td></tr></table></td><td class="wrapper last" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 10px 20px 0px 0px;vertical-align: top;text-align: left;position: relative;padding-right: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><table class="ten columns" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;margin: 0 auto;width: 480px;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0px 0px 10px;vertical-align: top;text-align: left;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><h1 style="color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;padding: 0;margin: 0;text-align: left;line-height: 60px;word-break: normal;font-size: 26px;">%s</h1></td><td class="expander" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;visibility: hidden;width: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"></td></tr></table></td></tr></table>';
80
+ $built_identity = sprintf($format, $avatar_img, $email);
81
+
82
+ return $built_identity;
83
+ }
84
+
85
+ function build_sessions ( $history ) {
86
+ $built_sessions = "";
87
+
88
+ $sessions = $history->sessions;
89
+
90
+ foreach ( $sessions as &$session ) {
91
+ $first_event = end($session['events']);
92
+ $first_event_date = $first_event['activities'][0]['event_date'];
93
+ $session_date = date('F j, Y, g:i a', strtotime($first_event_date));
94
+
95
+ $last_event = array_values($session['events']);
96
+ $last_event = $last_event[0];
97
+ $last_activity = end($last_event['activities']);
98
+ $session_end_time = date('g:i a', strtotime($last_activity['event_date']));
99
+
100
+ $format = '<table class="row lead-timeline__date" style="border-spacing: 0;border-collapse: collapse;padding: 0px;vertical-align: top;text-align: left;width: 100%%;position: relative;display: block;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="wrapper last" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 10px 20px 0px 0px;vertical-align: top;text-align: left;position: relative;padding-right: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><table class="twelve columns" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;margin: 0 auto;width: 580px;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="text-pad" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0px 0px 10px;vertical-align: top;text-align: left;padding-left: 10px;padding-right: 10px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><h4 style="color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: bold;padding: 0;margin: 0;text-align: left;line-height: 1.3;word-break: normal;font-size: 14px;">%s - %s</h4></td><td class="expander" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;visibility: hidden;width: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"></td></tr></table></td></tr></table>';
101
+ $built_sessions .= sprintf($format, $session_date, $session_end_time);
102
+
103
+ $events = $session['events'];
104
+
105
+ foreach ( $events as &$event ) {
106
+ if ( $event['event_type'] == 'pageview' ) {
107
+ $pageview = $event['activities'][0];
108
+ $pageview_time = date('g:ia', strtotime($pageview['event_date']));
109
+ $pageview_url = $pageview['pageview_url'];
110
+ $pageview_title = $pageview['pageview_title'];
111
+ $pageview_source = $pageview['pageview_source'];
112
+
113
+ $format = '<table class="row lead-timeline__event pageview" style="border-spacing: 0;border-collapse: collapse;padding: 0px;vertical-align: top;text-align: left;width: 100%%;position: relative;display: block;background-color: #fff;border-top: 1px solid #dedede;border-right: 1px solid #dedede;border-left: 4px solid #28c;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="wrapper" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 10px 20px 0px 0px;vertical-align: top;text-align: left;position: relative;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><table class="two columns" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;margin: 0 auto;width: 80px;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="text-pad" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0px 0px 10px;vertical-align: top;text-align: left;padding-left: 10px;padding-right: 10px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><p class="lead-timeline__event-time" style="margin: 0;color: #1f6696;font-family: Helvetica, Arial, sans-serif;font-weight: normal;padding: 0;text-align: left;line-height: 19px;font-size: 14px;margin-bottom: 10px;">%s</p></td><td class="expander" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;visibility: hidden;width: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"></td></tr></table></td><td class="wrapper last" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 10px 20px 0px 0px;vertical-align: top;text-align: left;position: relative;padding-right: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><table class="ten columns" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;margin: 0 auto;width: 480px;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="text-pad" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0px 0px 10px;vertical-align: top;text-align: left;padding-left: 10px;padding-right: 10px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><p class="lead-timeline__event-title" style="margin: 0;color: #1f6696;font-family: Helvetica, Arial, sans-serif;font-weight: normal;padding: 0;text-align: left;line-height: 19px;font-size: 14px;margin-bottom: 10px;">%s</p><p class="lead-timeline__pageview-url" style="margin: 0;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;padding: 0;text-align: left;line-height: 19px;font-size: 14px;margin-bottom: 10px;"><a href="%s" style="color: #999;text-decoration: none;">%s</a></p></td><td class="expander" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;visibility: hidden;width: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"></td></tr></table></td></tr></table>';
114
+ $built_sessions .= sprintf($format, $pageview_time, $pageview_title, $pageview_url, $pageview_url);
115
+
116
+ if ( $pageview['event_date'] == $first_event_date ) {
117
+ $format = '<table class="row lead-timeline__event traffic-source" style="margin-bottom: 20px;border-spacing: 0;border-collapse: collapse;padding: 0px;vertical-align: top;text-align: left;width: 100%%;position: relative;display: block;background-color: #fff;border-top: 1px solid #dedede;border-right: 1px solid #dedede;border-left: 4px solid #99aa1f;border-bottom: 1px solid #dedede;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="wrapper" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 10px 20px 0px 0px;vertical-align: top;text-align: left;position: relative;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><table class="two columns" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;margin: 0 auto;width: 80px;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="text-pad" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0px 0px 10px;vertical-align: top;text-align: left;padding-left: 10px;padding-right: 10px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><p class="lead-timeline__event-time" style="margin: 0;color: #727e14;font-family: Helvetica, Arial, sans-serif;font-weight: normal;padding: 0;text-align: left;line-height: 19px;font-size: 14px;margin-bottom: 10px;">%s</p></td><td class="expander" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;visibility: hidden;width: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"></td></tr></table></td><td class="wrapper last" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 10px 20px 0px 0px;vertical-align: top;text-align: left;position: relative;padding-right: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><table class="ten columns" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;margin: 0 auto;width: 480px;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="text-pad" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0px 0px 10px;vertical-align: top;text-align: left;padding-left: 10px;padding-right: 10px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><p class="lead-timeline__event-title" style="margin: 0;color: #727e14;font-family: Helvetica, Arial, sans-serif;font-weight: normal;padding: 0;text-align: left;line-height: 19px;font-size: 14px;margin-bottom: 10px;">Traffic Source: %s</p></td><td class="expander" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;visibility: hidden;width: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"></td></tr></table></td></tr></table>';
118
+ $built_sessions .= sprintf($format, $pageview_time, ( $pageview_source ? '<a href="' . $pageview_source . '">' . $pageview_source . '</a>' : 'Direct' ));
119
+ }
120
+ }
121
+ else if ( $event['event_type'] == 'form' ) {
122
+ $submission = $event['activities'][0];
123
+ $submission_Time = date('g:ia', strtotime($submission['event_date']));
124
+ $submission_url = $submission['form_page_url'];
125
+ $submission_page_title = $submission['form_page_title'];
126
+ $submission_form_fields = json_decode(stripslashes($submission['form_fields']));
127
+
128
+ $format = '<table class="row lead-timeline__event submission" style="border-spacing: 0;border-collapse: collapse;padding: 0px;vertical-align: top;text-align: left;width: 100%%;position: relative;display: block;background-color: #fff;border-top: 1px solid #dedede;border-right: 1px solid #dedede;border-left: 4px solid #f6601d;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="wrapper" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 10px 20px 0px 0px;vertical-align: top;text-align: left;position: relative;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><table class="two columns" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;margin: 0 auto;width: 80px;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="text-pad" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0px 0px 10px;vertical-align: top;text-align: left;padding-left: 10px;padding-right: 10px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><p class="lead-timeline__event-time" style="margin: 0;color: #b34a12;font-family: Helvetica, Arial, sans-serif;font-weight: normal;padding: 0;text-align: left;line-height: 19px;font-size: 14px;margin-bottom: 10px;">%s</p></td><td class="expander" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;visibility: hidden;width: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"></td></tr></table></td><td class="wrapper last" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 10px 20px 0px 0px;vertical-align: top;text-align: left;position: relative;padding-right: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><table class="ten columns" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;margin: 0 auto;width: 480px;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="text-pad" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0px 0px 10px;vertical-align: top;text-align: left;padding-left: 10px;padding-right: 10px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><p class="lead-timeline__event-title" style="margin: 0;color: #b34a12;font-family: Helvetica, Arial, sans-serif;font-weight: normal;padding: 0;text-align: left;line-height: 19px;font-size: 14px;margin-bottom: 10px;">Filled out form on page <a href="%s" style="color: #2ba6cb;text-decoration: none;">%s</a></p> %s </td><td class="expander" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;visibility: hidden;width: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"></td></tr></table></td></tr></table>';
129
+ $built_sessions .= sprintf($format, $submission_Time, $submission_url, $submission_page_title, $this->build_form_fields($submission_form_fields));
130
+ }
131
+ }
132
+ }
133
+
134
+ return $built_sessions;
135
+ }
136
+
137
+ function build_form_fields ( $form_fields ) {
138
+ $built_form_fields = "";
139
+
140
+ foreach ( $form_fields as $field )
141
+ {
142
+ $format = '<p class="lead-timeline__submission-field" style="margin: 0;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;padding: 0;text-align: left;line-height: 19px;font-size: 14px;margin-bottom: 10px;"><label class="lead-timeline__submission-label" style="text-transform: uppercase;font-size: 12px;color: #999;letter-spacing: 0.05em;">%s</label><br/>%s </p>';
143
+ $built_form_fields .= sprintf($format, $field->label, $field->value);
144
+ }
145
+
146
+ return $built_form_fields;
147
+ }
148
+
149
+ function build_footer ( $li_contact ) {
150
+ $built_footer = "";
151
+ $button_text = "View Contact Record";
152
+ $contactViewUrl = get_bloginfo('wpurl') . "/wp-admin/admin.php?page=leadin_contacts&action=view&lead=" . $li_contact->history->lead->lead_id;
153
+
154
+ $format = '<table class="row footer" style="margin-bottom: 20px;border-spacing: 0;border-collapse: collapse;padding: 0px;vertical-align: top;text-align: left;width: 100%%;position: relative;display: block;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td class="wrapper last" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 10px 20px 0px 0px;vertical-align: top;text-align: left;position: relative;padding-right: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><table class="eight columns" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;margin: 0 auto;width: 380px;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td align="center" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0px 0px 10px;vertical-align: top;text-align: left;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"><center style="width: 100%%;min-width: 380px;"><table class="button medium-button radius" style="border-spacing: 0;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;width: 100%%;overflow: hidden;"><tr style="padding: 0;vertical-align: top;text-align: left;"><td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 12px 0 10px;vertical-align: top;text-align: center;color: #ffffff;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;display: block;width: auto;background: #2ba6cb;border: 1px solid #2284a1;-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;"><a href="%s" style="color: #ffffff;text-decoration: none;font-weight: bold;font-family: Helvetica, Arial, sans-serif;font-size: 20px;display: block;height: 100%%;width: 100%%;">%s</a></td></tr></table></center></td><td class="expander" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse;padding: 0;vertical-align: top;text-align: left;visibility: hidden;width: 0px;color: #222222;font-family: Helvetica, Arial, sans-serif;font-weight: normal;margin: 0;line-height: 19px;font-size: 14px;"></td></tr></table></td></tr></table>';
155
+ $built_footer .= sprintf($format, $contactViewUrl, $button_text);
156
+
157
+ return $built_footer;
158
+ }
159
+
160
+ }
inc/class-emailer.php CHANGED
@@ -114,7 +114,6 @@ class LI_Emailer {
114
  else if ( $history->submission->form_type == "subscribe" )
115
  {
116
  $subject = "New subscriber from " . $history->submission->form_page_title;
117
- $this->send_subscriber_confirmation_email($history);
118
  }
119
  else
120
  {
114
  else if ( $history->submission->form_type == "subscribe" )
115
  {
116
  $subject = "New subscriber from " . $history->submission->form_page_title;
 
117
  }
118
  else
119
  {
inc/leadin-ajax-functions.php CHANGED
@@ -272,7 +272,7 @@ function leadin_insert_form_submission ()
272
  }
273
  }
274
 
275
- $li_emailer = new LI_Emailer();
276
  if ( $li_admin_email )
277
  {
278
  // Send the contact email
@@ -281,15 +281,27 @@ function leadin_insert_form_submission ()
281
 
282
  if ( $contact_status == "comment" )
283
  leadin_track_plugin_activity("New comment");
284
- else if ( $contact_status == "subscribe" )
285
- leadin_track_plugin_activity("New subscriber");
286
  else
287
- {
288
  $history = $li_emailer->get_lead_history($hashkey);
289
- if ( $history->new_contact )
290
- leadin_track_plugin_activity("New lead");
 
 
 
 
 
 
 
 
291
  else
292
- leadin_track_plugin_activity("Returning lead");
 
 
 
 
 
 
293
  }
294
 
295
  return $rows_updated;
272
  }
273
  }
274
 
275
+ $li_emailer = new LI_Emailer_new();
276
  if ( $li_admin_email )
277
  {
278
  // Send the contact email
281
 
282
  if ( $contact_status == "comment" )
283
  leadin_track_plugin_activity("New comment");
 
 
284
  else
285
+ {
286
  $history = $li_emailer->get_lead_history($hashkey);
287
+
288
+ if ( $contact_status == "subscribe" )
289
+ {
290
+ // Send the subscription confirmation kickback email
291
+ $leadin_subscribe_settings = get_option('leadin_subscribe_options');
292
+ if ( !isset($leadin_subscribe_settings['li_subscribe_confirmation']) || $leadin_subscribe_settings['li_subscribe_confirmation'] )
293
+ $li_emailer->send_subscriber_confirmation_email($history);
294
+
295
+ leadin_track_plugin_activity("New subscriber");
296
+ }
297
  else
298
+ {
299
+ if ( $history->new_contact )
300
+ leadin_track_plugin_activity("New lead");
301
+ else
302
+ leadin_track_plugin_activity("Returning lead");
303
+ }
304
+
305
  }
306
 
307
  return $rows_updated;
inc/leadin-functions.php CHANGED
@@ -157,6 +157,20 @@ function leadin_register_user ()
157
  return TRUE;
158
  }
159
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  /**
161
  * Send Mixpanel event when plugin is activated/deactivated
162
  *
@@ -420,4 +434,17 @@ function leadin_encode_quotes ( $string )
420
  $string = str_replace(array("’", "‘", '&#039;', '“', '”'), array("'", "'", "'", '"', '"'), $string);
421
  return $string;
422
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
423
  ?>
157
  return TRUE;
158
  }
159
 
160
+ /**
161
+ * Register LeadIn user
162
+ *
163
+ * @return bool
164
+ */
165
+ function leadin_set_beta_tester_property ( $beta_tester )
166
+ {
167
+ $leadin_user = leadin_get_current_user();
168
+ $mp = new LI_Mixpanel(MIXPANEL_PROJECT_TOKEN);
169
+ $mp->people->set( $leadin_user['user_id'], array(
170
+ '$beta_tester' => $beta_tester
171
+ ));
172
+ }
173
+
174
  /**
175
  * Send Mixpanel event when plugin is activated/deactivated
176
  *
434
  $string = str_replace(array("’", "‘", '&#039;', '“', '”'), array("'", "'", "'", '"', '"'), $string);
435
  return $string;
436
  }
437
+
438
+ /**
439
+ * Strip url get parameters off a url and return the base url
440
+ *
441
+ * @param string
442
+ * @return string
443
+ */
444
+ function leadin_strip_params_from_url ( $url )
445
+ {
446
+ $url_parts = parse_url($url);
447
+ $base_url = urldecode(rtrim($url_parts['host'] . '/' . ltrim($url_parts['path'], '/'), '/'));
448
+ return $base_url;
449
+ }
450
  ?>
leadin.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: LeadIn
4
  Plugin URI: http://leadin.com
5
  Description: LeadIn is an easy-to-use marketing automation and lead tracking plugin for WordPress that helps you better understand your web site visitors.
6
- Version: 0.9.3
7
  Author: Andy Cook, Nelson Joyce
8
  Author URI: http://leadin.com
9
  License: GPL2
@@ -13,8 +13,6 @@ License: GPL2
13
  // Define Constants
14
  //=============================================
15
 
16
-
17
-
18
  if ( !defined('LEADIN_PATH') )
19
  define('LEADIN_PATH', untrailingslashit(plugins_url('', __FILE__ )));
20
 
@@ -28,20 +26,18 @@ if ( !defined('LEADIN_DB_VERSION') )
28
  define('LEADIN_DB_VERSION', '0.8.3');
29
 
30
  if ( !defined('LEADIN_PLUGIN_VERSION') )
31
- define('LEADIN_PLUGIN_VERSION', '0.9.3');
32
 
33
  if ( !defined('MIXPANEL_PROJECT_TOKEN') )
34
  define('MIXPANEL_PROJECT_TOKEN', 'a9615503ec58a6bce2c646a58390eac1');
35
 
36
-
37
-
38
-
39
  //=============================================
40
  // Include Needed Files
41
  //=============================================
42
 
43
  require_once(LEADIN_PLUGIN_DIR . '/admin/leadin-admin.php');
44
  require_once(LEADIN_PLUGIN_DIR . '/inc/class-emailer.php');
 
45
  require_once(LEADIN_PLUGIN_DIR . '/inc/leadin-ajax-functions.php');
46
  require_once(LEADIN_PLUGIN_DIR . '/inc/leadin-functions.php');
47
  require_once(LEADIN_PLUGIN_DIR . '/inc/class-leadin-updater.php');
@@ -214,6 +210,10 @@ class WPLeadIn {
214
  global $wpdb;
215
  $options = $this->options;
216
 
 
 
 
 
217
  // 0.4.0 upgrade - Delete legacy db option version 0.4.0 (remove after beta is launched)
218
  if ( get_option('leadin_db_version') )
219
  delete_option('leadin_db_version');
@@ -294,6 +294,9 @@ class WPLeadIn {
294
  {
295
  leadin_delete_flag_fix();
296
  }
 
 
 
297
  }
298
 
299
  //=============================================
@@ -307,13 +310,9 @@ class WPLeadIn {
307
  {
308
  if ( !is_admin() )
309
  {
310
- wp_register_script('leadin', LEADIN_PATH . '/frontend/js/leadin.js', array ('jquery'), false, true);
311
- wp_register_script('jquery.cookie', LEADIN_PATH . '/frontend/js/jquery.cookie.js', array ('jquery'), false, true);
312
-
313
- wp_enqueue_script('leadin');
314
- wp_enqueue_script('jquery.cookie');
315
-
316
- wp_localize_script('leadin', 'li_ajax', array('ajax_url' => admin_url('admin-ajax.php')));
317
  }
318
  }
319
 
3
  Plugin Name: LeadIn
4
  Plugin URI: http://leadin.com
5
  Description: LeadIn is an easy-to-use marketing automation and lead tracking plugin for WordPress that helps you better understand your web site visitors.
6
+ Version: 0.10.0
7
  Author: Andy Cook, Nelson Joyce
8
  Author URI: http://leadin.com
9
  License: GPL2
13
  // Define Constants
14
  //=============================================
15
 
 
 
16
  if ( !defined('LEADIN_PATH') )
17
  define('LEADIN_PATH', untrailingslashit(plugins_url('', __FILE__ )));
18
 
26
  define('LEADIN_DB_VERSION', '0.8.3');
27
 
28
  if ( !defined('LEADIN_PLUGIN_VERSION') )
29
+ define('LEADIN_PLUGIN_VERSION', '0.10.0');
30
 
31
  if ( !defined('MIXPANEL_PROJECT_TOKEN') )
32
  define('MIXPANEL_PROJECT_TOKEN', 'a9615503ec58a6bce2c646a58390eac1');
33
 
 
 
 
34
  //=============================================
35
  // Include Needed Files
36
  //=============================================
37
 
38
  require_once(LEADIN_PLUGIN_DIR . '/admin/leadin-admin.php');
39
  require_once(LEADIN_PLUGIN_DIR . '/inc/class-emailer.php');
40
+ require_once(LEADIN_PLUGIN_DIR . '/inc/class-emailer-new.php');
41
  require_once(LEADIN_PLUGIN_DIR . '/inc/leadin-ajax-functions.php');
42
  require_once(LEADIN_PLUGIN_DIR . '/inc/leadin-functions.php');
43
  require_once(LEADIN_PLUGIN_DIR . '/inc/class-leadin-updater.php');
210
  global $wpdb;
211
  $options = $this->options;
212
 
213
+ // If the plugin version matches the latest version escape the update function
214
+ if ( isset ($options['leadin_version']) && $options['leadin_version'] == LEADIN_PLUGIN_VERSION )
215
+ return FALSE;
216
+
217
  // 0.4.0 upgrade - Delete legacy db option version 0.4.0 (remove after beta is launched)
218
  if ( get_option('leadin_db_version') )
219
  delete_option('leadin_db_version');
294
  {
295
  leadin_delete_flag_fix();
296
  }
297
+
298
+ // Set the plugin version
299
+ leadin_update_option('leadin_options', 'leadin_version', LEADIN_PLUGIN_VERSION);
300
  }
301
 
302
  //=============================================
310
  {
311
  if ( !is_admin() )
312
  {
313
+ wp_register_script('leadin-tracking', LEADIN_PATH . '/assets/js/build/leadin-tracking.min.js', array ('jquery'), false, true);
314
+ wp_enqueue_script('leadin-tracking');
315
+ wp_localize_script('leadin-tracking', 'li_ajax', array('ajax_url' => admin_url('admin-ajax.php')));
 
 
 
 
316
  }
317
  }
318
 
power-ups/beta-program/admin/beta-program-admin.php CHANGED
@@ -70,7 +70,7 @@ class WPLeadInBetaAdmin extends WPLeadInAdmin {
70
  echo '</div>';
71
 
72
  printf(
73
- '<tr><td><label for="beta_tester"><input id="beta_tester" type="checkbox" name="leadin_options[beta_tester]" value="1"' . checked( 1, $options['beta_tester'], false ) . '/>' .
74
  'Yes, I\'d like to participate in the LeadIn Beta Program</label></td></tr>'
75
  );
76
 
70
  echo '</div>';
71
 
72
  printf(
73
+ '<tr><td><label for="beta_tester"><input id="beta_tester" type="checkbox" name="leadin_options[beta_tester]" value="1"' . checked( 1, ( isset ( $options['beta_tester']) ? $options['beta_tester'] : 0 ), false ) . '/>' .
74
  'Yes, I\'d like to participate in the LeadIn Beta Program</label></td></tr>'
75
  );
76
 
power-ups/constant-contact-list-sync/admin/constant-contact-list-sync-admin.php CHANGED
@@ -72,9 +72,9 @@ class WPConstantContactListSyncAdmin extends WPLeadInAdmin {
72
  function cc_section_callback ( )
73
  {
74
  if ( ! $this->auth_set )
75
- echo 'Sign into your Constant Contact account below to setup Contact Sync';
76
  else if ( $this->bad_api_call )
77
- echo '<div id="message" class="updated below-h2 error"><p>' . $this->constant_contact->cc_exception . '</p></div>';
78
 
79
  $this->print_hidden_settings_fields();
80
  }
72
  function cc_section_callback ( )
73
  {
74
  if ( ! $this->auth_set )
75
+ echo '<div class="leadin-section">Sign into your Constant Contact account below to setup Contact Sync</div>';
76
  else if ( $this->bad_api_call )
77
+ echo '<div class="leadin-section"><p style="color: #f33f33; font-weight: bold;">' . $this->constant_contact->cc_exception . '</p></div>';
78
 
79
  $this->print_hidden_settings_fields();
80
  }
power-ups/contacts/admin/contacts-admin.php CHANGED
@@ -13,7 +13,7 @@ class WPLeadInContactsAdmin extends WPLeadInAdmin {
13
  /**
14
  * Class constructor
15
  */
16
- function __construct ( $power_up_icon_small )
17
  {
18
  //=============================================
19
  // Hooks & Filters
@@ -99,8 +99,8 @@ class WPLeadInContactsAdmin extends WPLeadInAdmin {
99
  $li_contact->get_contact_history();
100
 
101
  $lead_email = $li_contact->history->lead->lead_email;
102
- $url_parts = parse_url($lead->lead_source);
103
- $lead_source = urldecode(rtrim($url_parts['host'] . '/' . $url_parts['path'], '/'));
104
 
105
  if ( isset($_GET['post_id']) )
106
  echo '<a href="' . get_bloginfo('wpurl') . '/wp-admin/post.php?post=' . $_GET['post_id'] . '&action=edit#li_analytics-meta">&larr; All Viewers</a>';
@@ -119,28 +119,23 @@ class WPLeadInContactsAdmin extends WPLeadInAdmin {
119
  echo '<h2>Contact History</h2>';
120
  echo '<div class="col-wrap contact-history">';
121
  echo '<ul class="sessions">';
122
- $sessions = array_reverse($li_contact->history->sessions);
123
  foreach ( $sessions as &$session )
124
  {
125
- $first_event = array_values($session['events']);
126
- $first_event_date = $first_event[0]['activities'][0]['event_date'];
127
- $session_date = date('M j', strtotime($first_event_date));
128
- $session_start_time = date('g:i a', strtotime($first_event_date));
129
-
130
- $last_event = end($session['events']);
131
- $last_activity = end($last_event['activities']);
132
- $session_end_time = date('g:i a', strtotime($last_activity['event_date']));
133
 
134
- if ( $session_end_time != $session_start_time )
135
- $session_time_range = $session_start_time . ' - ' . $session_end_time;
136
- else
137
- $session_time_range = $session_start_time;
138
 
139
  echo '<li class="session">';
140
- echo '<h3 class="session-date">' . $session_date . '<span class="event-time-range">' . $session_time_range . '</span></h3>';
141
 
142
  echo '<ul class="events">';
143
 
 
144
  $events = $session['events'];
145
  foreach ( $events as &$event )
146
  {
@@ -148,18 +143,23 @@ class WPLeadInContactsAdmin extends WPLeadInAdmin {
148
  {
149
  $pageview = $event['activities'][0];
150
 
151
- if ( $pageview['event_date'] == $first_event_date )
 
 
 
 
 
 
 
 
152
  {
153
  echo '<li class="event source">';
154
- echo '<p class="event-title">Traffic Source: ' . ( $pageview['pageview_source'] ? '<a href="' . $pageview['pageview_source'] . '">' . $pageview['pageview_source'] : 'Direct' ) . '</a></p>';
 
 
 
155
  echo '</li>';
156
  }
157
-
158
-
159
- echo '<li class="event pageview">';
160
- echo '<p class="event-title">' . $pageview['pageview_title'] . '<span class="event-time-range">' . date('g:ia', strtotime($pageview['event_date'])) . '</span></p>';
161
- echo '<a class="pageview-url" target="_blank" href="' . $pageview['pageview_url'] . '">' . $pageview['pageview_url'] . '</a>';
162
- echo '</li>';
163
  }
164
  else if ( $event['event_type'] == 'form' )
165
  {
@@ -169,16 +169,19 @@ class WPLeadInContactsAdmin extends WPLeadInAdmin {
169
  $num_form_fieds = count($form_fields);
170
 
171
  echo '<li class="event form-submission">';
172
- echo '<p class="event-title">Filled out form on page <a href="' . $submission['form_page_url'] . '">' . $submission['form_page_title'] . '</a><span class="event-time-range">' . date('g:ia', strtotime($submission['event_date'])) . '</span></p>';
173
- echo '<ul class="event-detail fields">';
174
- foreach ( $form_fields as $field )
175
- {
176
- echo '<li class="field">';
177
- echo '<label class="field-label">' . $field->label . ':</label>';
178
- echo '<p class="field-value">' . $field->value . '</p>';
179
- echo '</li>';
180
- }
181
- echo '</ul>';
 
 
 
182
  echo '</li>';
183
  }
184
  }
@@ -194,16 +197,16 @@ class WPLeadInContactsAdmin extends WPLeadInAdmin {
194
  echo '<div class="contact-info postbox">';
195
  echo '<h3>Contact Information</h3>';
196
  echo '<div class="inside">';
197
- echo '<p><label>Email:</label> <a href="mailto:' . $lead_email . '">' . $lead_email . '</a></p>';
198
- echo '<p><label>Status:</label> ' . $li_contact->history->lead->lead_status . '</p>';
199
- echo '<p><label>Original referrer:</label> <a href="' . $li_contact->history->lead->lead_source . '">' . $li_contact->history->lead->lead_source . '</a></p>';
200
- echo '<p><label>First visit:</label> ' . self::date_format_contact_stat($li_contact->history->lead->first_visit) . '</p>';
201
- echo '<p><label>Last Visit:</label> ' . self::date_format_contact_stat($li_contact->history->lead->last_visit) . '</p>';
202
- echo '<p><label>Total Visits:</label> ' . $li_contact->history->lead->total_visits . '</p>';
203
- echo '<p><label>Total Pageviews:</label> ' . $li_contact->history->lead->total_pageviews . '</p>';
204
- echo '<p><label>First submission:</label> ' . self::date_format_contact_stat($li_contact->history->lead->first_submission) . '</p>';
205
- echo '<p><label>Last submission:</label> ' . self::date_format_contact_stat($li_contact->history->lead->last_submission) . '</p>';
206
- echo '<p><label>Total submissions:</label> ' . $li_contact->history->lead->total_submissions . '</p>';
207
  echo '</div>';
208
  echo '</div>';
209
  echo '</div>';
@@ -324,7 +327,7 @@ class WPLeadInContactsAdmin extends WPLeadInAdmin {
324
  */
325
  function date_format_contact_stat ( $timestamp )
326
  {
327
- return date('M j, Y g:i:a', strtotime($timestamp));
328
  }
329
 
330
  }
13
  /**
14
  * Class constructor
15
  */
16
+ function __construct ()
17
  {
18
  //=============================================
19
  // Hooks & Filters
99
  $li_contact->get_contact_history();
100
 
101
  $lead_email = $li_contact->history->lead->lead_email;
102
+
103
+ $lead_source = leadin_strip_params_from_url($li_contact->history->lead->lead_source);
104
 
105
  if ( isset($_GET['post_id']) )
106
  echo '<a href="' . get_bloginfo('wpurl') . '/wp-admin/post.php?post=' . $_GET['post_id'] . '&action=edit#li_analytics-meta">&larr; All Viewers</a>';
119
  echo '<h2>Contact History</h2>';
120
  echo '<div class="col-wrap contact-history">';
121
  echo '<ul class="sessions">';
122
+ $sessions = $li_contact->history->sessions;
123
  foreach ( $sessions as &$session )
124
  {
125
+ $first_event = end($session['events']);
126
+ $first_event_date = $first_event['event_date'];
127
+ $session_date = date('F j, Y, g:ia', strtotime($first_event['event_date']));
128
+ $session_start_time = date('g:ia', strtotime($first_event['event_date']));
 
 
 
 
129
 
130
+ $last_event = array_values($session['events']);
131
+ $session_end_time = date('g:ia', strtotime($last_event[0]['event_date']));
 
 
132
 
133
  echo '<li class="session">';
134
+ echo '<h3 class="session-date">' . $session_date . ( $session_start_time != $session_end_time ? ' - ' . $session_end_time : '' ) . '</h3>';
135
 
136
  echo '<ul class="events">';
137
 
138
+ //$events = array_reverse($session['events']);
139
  $events = $session['events'];
140
  foreach ( $events as &$event )
141
  {
143
  {
144
  $pageview = $event['activities'][0];
145
 
146
+ echo '<li class="event pageview">';
147
+ echo '<div class="event-time">' . date('g:ia', strtotime($pageview['event_date'])) . '</div>';
148
+ echo '<div class="event-content">';
149
+ echo '<p class="event-title">' . $pageview['pageview_title'] . '</p>';
150
+ echo '<a class="event-detail pageview-url" target="_blank" href="' . $pageview['pageview_url'] . '">' . leadin_strip_params_from_url($pageview['pageview_url']) . '</a>';
151
+ echo '</div>';
152
+ echo '</li>';
153
+
154
+ if ( $pageview['event_date'] == $first_event['event_date'] )
155
  {
156
  echo '<li class="event source">';
157
+ echo '<div class="event-time">' . date('g:ia', strtotime($pageview['event_date'])) . '</div>';
158
+ echo '<div class="event-content">';
159
+ echo '<p class="event-title">Traffic Source: ' . ( $pageview['pageview_source'] ? '<a href="' . $pageview['pageview_source'] . '">' . leadin_strip_params_from_url($pageview['pageview_source']) : 'Direct' ) . '</a></p>';
160
+ echo '</div>';
161
  echo '</li>';
162
  }
 
 
 
 
 
 
163
  }
164
  else if ( $event['event_type'] == 'form' )
165
  {
169
  $num_form_fieds = count($form_fields);
170
 
171
  echo '<li class="event form-submission">';
172
+ echo '<div class="event-time">' . date('g:ia', strtotime($submission['event_date'])) . '</div>';
173
+ echo '<div class="event-content">';
174
+ echo '<p class="event-title">Filled out form on page <a href="' . $submission['form_page_url'] . '">' . $submission['form_page_title'] . '</a></p>';
175
+ echo '<ul class="event-detail fields">';
176
+ foreach ( $form_fields as $field )
177
+ {
178
+ echo '<li class="field">';
179
+ echo '<label class="field-label">' . $field->label . ':</label>';
180
+ echo '<p class="field-value">' . $field->value . '</p>';
181
+ echo '</li>';
182
+ }
183
+ echo '</ul>';
184
+ echo '</div>';
185
  echo '</li>';
186
  }
187
  }
197
  echo '<div class="contact-info postbox">';
198
  echo '<h3>Contact Information</h3>';
199
  echo '<div class="inside">';
200
+ echo '<p><b>Email:</b> <a href="mailto:' . $lead_email . '">' . $lead_email . '</a></p>';
201
+ echo '<p><b>Status:</b> ' . $li_contact->history->lead->lead_status . '</p>';
202
+ echo '<p><b>Original referrer:</b> ' . ( $li_contact->history->lead->lead_source ? '<a href="' . $li_contact->history->lead->lead_source . '">' . $lead_source . '</a></p>' : 'Direct' );
203
+ echo '<p><b>First visit:</b> ' . self::date_format_contact_stat($li_contact->history->lead->first_visit) . '</p>';
204
+ echo '<p><b>Last Visit:</b> ' . self::date_format_contact_stat($li_contact->history->lead->last_visit) . '</p>';
205
+ echo '<p><b>Total Visits:</b> ' . $li_contact->history->lead->total_visits . '</p>';
206
+ echo '<p><b>Total Pageviews:</b> ' . $li_contact->history->lead->total_pageviews . '</p>';
207
+ echo '<p><b>First submission:</b> ' . self::date_format_contact_stat($li_contact->history->lead->first_submission) . '</p>';
208
+ echo '<p><b>Last submission:</b> ' . self::date_format_contact_stat($li_contact->history->lead->last_submission) . '</p>';
209
+ echo '<p><b>Total submissions:</b> ' . $li_contact->history->lead->total_submissions . '</p>';
210
  echo '</div>';
211
  echo '</div>';
212
  echo '</div>';
327
  */
328
  function date_format_contact_stat ( $timestamp )
329
  {
330
+ return date('M j, Y g:ia', strtotime($timestamp));
331
  }
332
 
333
  }
power-ups/contacts/admin/css/leadin-contacts-admin.css DELETED
@@ -1,12 +0,0 @@
1
- #leadin-subscribe-preview{
2
- height: 300px;
3
- border-radius: 5px 0 0 0;
4
- font-family: "Helvetica Neue", sans-serif;
5
- background: #f0f0f0;
6
- color: #444444;
7
- padding: 1em;
8
- max-width: 100%;
9
- width: 450px;
10
- font-size: 1.1em;
11
- line-height: 1.5em;
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
power-ups/subscribe-widget.php CHANGED
@@ -158,16 +158,11 @@ class WPLeadInSubscribe extends WPLeadIn {
158
 
159
  if ( ! is_admin() && $pagenow != 'wp-login.php' )
160
  {
161
- wp_register_script('leadin-subscribe', LEADIN_SUBSCRIBE_WIDGET_PATH . '/frontend/js/leadin-subscribe.js', array ('jquery', 'leadin'), false, true);
162
- wp_register_script('vex', LEADIN_SUBSCRIBE_WIDGET_PATH . '/frontend/js/vex.js', array ('jquery', 'leadin'), false, true);
163
- wp_register_script('vex-dialog', LEADIN_SUBSCRIBE_WIDGET_PATH . '/frontend/js/vex.dialog.js', array ('jquery', 'leadin'), false, true);
164
-
165
  wp_enqueue_script('leadin-subscribe');
166
- wp_enqueue_script('vex');
167
- wp_enqueue_script('vex-dialog');
168
 
169
- wp_register_style('leadin-subscribe-vex-css', LEADIN_SUBSCRIBE_WIDGET_PATH . '/frontend/css/vex.css');
170
- wp_enqueue_style('leadin-subscribe-vex-css');
171
  }
172
  }
173
  }
158
 
159
  if ( ! is_admin() && $pagenow != 'wp-login.php' )
160
  {
161
+ wp_register_script('leadin-subscribe', LEADIN_PATH . '/assets/js/build/leadin-subscribe.min.js', array ('jquery', 'leadin-tracking'), false, true);
 
 
 
162
  wp_enqueue_script('leadin-subscribe');
 
 
163
 
164
+ wp_register_style('leadin-subscribe-css', LEADIN_PATH . '/assets/css/build/leadin-subscribe.css');
165
+ wp_enqueue_style('leadin-subscribe-css');
166
  }
167
  }
168
  }
power-ups/subscribe-widget/admin/subscribe-widget-admin.php CHANGED
@@ -84,6 +84,13 @@ class WPLeadInSubscribeAdmin extends WPLeadInAdmin {
84
  LEADIN_ADMIN_PATH,
85
  $this->power_up_settings_section
86
  );
 
 
 
 
 
 
 
87
  }
88
 
89
  /**
@@ -125,6 +132,11 @@ class WPLeadInSubscribeAdmin extends WPLeadInAdmin {
125
  if( isset( $input['li_subscribe_template_archives'] ) )
126
  $new_input['li_subscribe_template_archives'] = sanitize_text_field( $input['li_subscribe_template_archives'] );
127
 
 
 
 
 
 
128
  return $new_input;
129
  }
130
 
@@ -238,6 +250,19 @@ class WPLeadInSubscribeAdmin extends WPLeadInAdmin {
238
  '<label for="li_subscribe_template_home">Homepage</label></p>'
239
  );
240
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  }
242
 
243
  ?>
84
  LEADIN_ADMIN_PATH,
85
  $this->power_up_settings_section
86
  );
87
+ add_settings_field(
88
+ 'li_subscribe_confirmation',
89
+ 'Subscription confirmation',
90
+ array($this, 'li_subscribe_confirmation_callback'),
91
+ LEADIN_ADMIN_PATH,
92
+ $this->power_up_settings_section
93
+ );
94
  }
95
 
96
  /**
132
  if( isset( $input['li_subscribe_template_archives'] ) )
133
  $new_input['li_subscribe_template_archives'] = sanitize_text_field( $input['li_subscribe_template_archives'] );
134
 
135
+ if( isset( $input['li_subscribe_confirmation'] ) )
136
+ $new_input['li_subscribe_confirmation'] = sanitize_text_field( $input['li_subscribe_template_home'] );
137
+ else
138
+ $new_input['li_subscribe_confirmation'] = '0';
139
+
140
  return $new_input;
141
  }
142
 
250
  '<label for="li_subscribe_template_home">Homepage</label></p>'
251
  );
252
  }
253
+
254
+ /**
255
+ * Prints the options for toggling the widget on posts, pages, archives and homepage
256
+ */
257
+ function li_subscribe_confirmation_callback ()
258
+ {
259
+ $options = $this->options;
260
+
261
+ printf(
262
+ '<p><input id="li_subscribe_confirmation" type="checkbox" name="leadin_subscribe_options[li_subscribe_confirmation]" value="1"' . checked( 1, ( isset($options['li_subscribe_confirmation']) ? $options['li_subscribe_confirmation'] : 1 ) , false ) . '/>' .
263
+ '<label for="li_subscribe_confirmation">Send new subscribers a confirmation email</label></p>'
264
+ );
265
+ }
266
  }
267
 
268
  ?>
power-ups/subscribe-widget/frontend/css/vex.css DELETED
@@ -1,2230 +0,0 @@
1
- @keyframes vex-flyin {
2
- /* line 25, ../sass/_keyframes.sass */
3
- 0% {
4
- opacity: 0;
5
- transform: translateY(-40px);
6
- -webkit-transform: translateY(-40px);
7
- -moz-transform: translateY(-40px);
8
- -ms-transform: translateY(-40px);
9
- -o-transform: translateY(-40px);
10
- }
11
-
12
- /* line 28, ../sass/_keyframes.sass */
13
- 100% {
14
- opacity: 1;
15
- transform: translateY(0);
16
- -webkit-transform: translateY(0);
17
- -moz-transform: translateY(0);
18
- -ms-transform: translateY(0);
19
- -o-transform: translateY(0);
20
- }
21
- }
22
-
23
- @-webkit-keyframes vex-flyin {
24
- /* line 25, ../sass/_keyframes.sass */
25
- 0% {
26
- opacity: 0;
27
- transform: translateY(-40px);
28
- -webkit-transform: translateY(-40px);
29
- -moz-transform: translateY(-40px);
30
- -ms-transform: translateY(-40px);
31
- -o-transform: translateY(-40px);
32
- }
33
-
34
- /* line 28, ../sass/_keyframes.sass */
35
- 100% {
36
- opacity: 1;
37
- transform: translateY(0);
38
- -webkit-transform: translateY(0);
39
- -moz-transform: translateY(0);
40
- -ms-transform: translateY(0);
41
- -o-transform: translateY(0);
42
- }
43
- }
44
-
45
- @-moz-keyframes vex-flyin {
46
- /* line 25, ../sass/_keyframes.sass */
47
- 0% {
48
- opacity: 0;
49
- transform: translateY(-40px);
50
- -webkit-transform: translateY(-40px);
51
- -moz-transform: translateY(-40px);
52
- -ms-transform: translateY(-40px);
53
- -o-transform: translateY(-40px);
54
- }
55
-
56
- /* line 28, ../sass/_keyframes.sass */
57
- 100% {
58
- opacity: 1;
59
- transform: translateY(0);
60
- -webkit-transform: translateY(0);
61
- -moz-transform: translateY(0);
62
- -ms-transform: translateY(0);
63
- -o-transform: translateY(0);
64
- }
65
- }
66
-
67
- @-ms-keyframes vex-flyin {
68
- /* line 25, ../sass/_keyframes.sass */
69
- 0% {
70
- opacity: 0;
71
- transform: translateY(-40px);
72
- -webkit-transform: translateY(-40px);
73
- -moz-transform: translateY(-40px);
74
- -ms-transform: translateY(-40px);
75
- -o-transform: translateY(-40px);
76
- }
77
-
78
- /* line 28, ../sass/_keyframes.sass */
79
- 100% {
80
- opacity: 1;
81
- transform: translateY(0);
82
- -webkit-transform: translateY(0);
83
- -moz-transform: translateY(0);
84
- -ms-transform: translateY(0);
85
- -o-transform: translateY(0);
86
- }
87
- }
88
-
89
- @-o-keyframes vex-flyin {
90
- /* line 25, ../sass/_keyframes.sass */
91
- 0% {
92
- opacity: 0;
93
- transform: translateY(-40px);
94
- -webkit-transform: translateY(-40px);
95
- -moz-transform: translateY(-40px);
96
- -ms-transform: translateY(-40px);
97
- -o-transform: translateY(-40px);
98
- }
99
-
100
- /* line 28, ../sass/_keyframes.sass */
101
- 100% {
102
- opacity: 1;
103
- transform: translateY(0);
104
- -webkit-transform: translateY(0);
105
- -moz-transform: translateY(0);
106
- -ms-transform: translateY(0);
107
- -o-transform: translateY(0);
108
- }
109
- }
110
-
111
- @keyframes vex-flyout {
112
- /* line 34, ../sass/_keyframes.sass */
113
- 0% {
114
- opacity: 1;
115
- transform: translateY(0);
116
- -webkit-transform: translateY(0);
117
- -moz-transform: translateY(0);
118
- -ms-transform: translateY(0);
119
- -o-transform: translateY(0);
120
- }
121
-
122
- /* line 37, ../sass/_keyframes.sass */
123
- 100% {
124
- opacity: 0;
125
- transform: translateY(-40px);
126
- -webkit-transform: translateY(-40px);
127
- -moz-transform: translateY(-40px);
128
- -ms-transform: translateY(-40px);
129
- -o-transform: translateY(-40px);
130
- }
131
- }
132
-
133
- @-webkit-keyframes vex-flyout {
134
- /* line 34, ../sass/_keyframes.sass */
135
- 0% {
136
- opacity: 1;
137
- transform: translateY(0);
138
- -webkit-transform: translateY(0);
139
- -moz-transform: translateY(0);
140
- -ms-transform: translateY(0);
141
- -o-transform: translateY(0);
142
- }
143
-
144
- /* line 37, ../sass/_keyframes.sass */
145
- 100% {
146
- opacity: 0;
147
- transform: translateY(-40px);
148
- -webkit-transform: translateY(-40px);
149
- -moz-transform: translateY(-40px);
150
- -ms-transform: translateY(-40px);
151
- -o-transform: translateY(-40px);
152
- }
153
- }
154
-
155
- @-moz-keyframes vex-flyout {
156
- /* line 34, ../sass/_keyframes.sass */
157
- 0% {
158
- opacity: 1;
159
- transform: translateY(0);
160
- -webkit-transform: translateY(0);
161
- -moz-transform: translateY(0);
162
- -ms-transform: translateY(0);
163
- -o-transform: translateY(0);
164
- }
165
-
166
- /* line 37, ../sass/_keyframes.sass */
167
- 100% {
168
- opacity: 0;
169
- transform: translateY(-40px);
170
- -webkit-transform: translateY(-40px);
171
- -moz-transform: translateY(-40px);
172
- -ms-transform: translateY(-40px);
173
- -o-transform: translateY(-40px);
174
- }
175
- }
176
-
177
- @-ms-keyframes vex-flyout {
178
- /* line 34, ../sass/_keyframes.sass */
179
- 0% {
180
- opacity: 1;
181
- transform: translateY(0);
182
- -webkit-transform: translateY(0);
183
- -moz-transform: translateY(0);
184
- -ms-transform: translateY(0);
185
- -o-transform: translateY(0);
186
- }
187
-
188
- /* line 37, ../sass/_keyframes.sass */
189
- 100% {
190
- opacity: 0;
191
- transform: translateY(-40px);
192
- -webkit-transform: translateY(-40px);
193
- -moz-transform: translateY(-40px);
194
- -ms-transform: translateY(-40px);
195
- -o-transform: translateY(-40px);
196
- }
197
- }
198
-
199
- @-o-keyframes vex-flyout {
200
- /* line 34, ../sass/_keyframes.sass */
201
- 0% {
202
- opacity: 1;
203
- transform: translateY(0);
204
- -webkit-transform: translateY(0);
205
- -moz-transform: translateY(0);
206
- -ms-transform: translateY(0);
207
- -o-transform: translateY(0);
208
- }
209
-
210
- /* line 37, ../sass/_keyframes.sass */
211
- 100% {
212
- opacity: 0;
213
- transform: translateY(-40px);
214
- -webkit-transform: translateY(-40px);
215
- -moz-transform: translateY(-40px);
216
- -ms-transform: translateY(-40px);
217
- -o-transform: translateY(-40px);
218
- }
219
- }
220
-
221
- @keyframes vex-pulse {
222
- /* line 136, ../sass/_keyframes.sass */
223
- 0% {
224
- -webkit-box-shadow: inset 0 0 0 300px transparent;
225
- -moz-box-shadow: inset 0 0 0 300px transparent;
226
- box-shadow: inset 0 0 0 300px transparent;
227
- }
228
-
229
- /* line 138, ../sass/_keyframes.sass */
230
- 70% {
231
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
232
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
233
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
234
- }
235
-
236
- /* line 140, ../sass/_keyframes.sass */
237
- 100% {
238
- -webkit-box-shadow: inset 0 0 0 300px transparent;
239
- -moz-box-shadow: inset 0 0 0 300px transparent;
240
- box-shadow: inset 0 0 0 300px transparent;
241
- }
242
- }
243
-
244
- @-webkit-keyframes vex-pulse {
245
- /* line 136, ../sass/_keyframes.sass */
246
- 0% {
247
- -webkit-box-shadow: inset 0 0 0 300px transparent;
248
- -moz-box-shadow: inset 0 0 0 300px transparent;
249
- box-shadow: inset 0 0 0 300px transparent;
250
- }
251
-
252
- /* line 138, ../sass/_keyframes.sass */
253
- 70% {
254
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
255
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
256
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
257
- }
258
-
259
- /* line 140, ../sass/_keyframes.sass */
260
- 100% {
261
- -webkit-box-shadow: inset 0 0 0 300px transparent;
262
- -moz-box-shadow: inset 0 0 0 300px transparent;
263
- box-shadow: inset 0 0 0 300px transparent;
264
- }
265
- }
266
-
267
- @-moz-keyframes vex-pulse {
268
- /* line 136, ../sass/_keyframes.sass */
269
- 0% {
270
- -webkit-box-shadow: inset 0 0 0 300px transparent;
271
- -moz-box-shadow: inset 0 0 0 300px transparent;
272
- box-shadow: inset 0 0 0 300px transparent;
273
- }
274
-
275
- /* line 138, ../sass/_keyframes.sass */
276
- 70% {
277
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
278
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
279
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
280
- }
281
-
282
- /* line 140, ../sass/_keyframes.sass */
283
- 100% {
284
- -webkit-box-shadow: inset 0 0 0 300px transparent;
285
- -moz-box-shadow: inset 0 0 0 300px transparent;
286
- box-shadow: inset 0 0 0 300px transparent;
287
- }
288
- }
289
-
290
- @-ms-keyframes vex-pulse {
291
- /* line 136, ../sass/_keyframes.sass */
292
- 0% {
293
- -webkit-box-shadow: inset 0 0 0 300px transparent;
294
- -moz-box-shadow: inset 0 0 0 300px transparent;
295
- box-shadow: inset 0 0 0 300px transparent;
296
- }
297
-
298
- /* line 138, ../sass/_keyframes.sass */
299
- 70% {
300
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
301
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
302
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
303
- }
304
-
305
- /* line 140, ../sass/_keyframes.sass */
306
- 100% {
307
- -webkit-box-shadow: inset 0 0 0 300px transparent;
308
- -moz-box-shadow: inset 0 0 0 300px transparent;
309
- box-shadow: inset 0 0 0 300px transparent;
310
- }
311
- }
312
-
313
- @-o-keyframes vex-pulse {
314
- /* line 136, ../sass/_keyframes.sass */
315
- 0% {
316
- -webkit-box-shadow: inset 0 0 0 300px transparent;
317
- -moz-box-shadow: inset 0 0 0 300px transparent;
318
- box-shadow: inset 0 0 0 300px transparent;
319
- }
320
-
321
- /* line 138, ../sass/_keyframes.sass */
322
- 70% {
323
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
324
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
325
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
326
- }
327
-
328
- /* line 140, ../sass/_keyframes.sass */
329
- 100% {
330
- -webkit-box-shadow: inset 0 0 0 300px transparent;
331
- -moz-box-shadow: inset 0 0 0 300px transparent;
332
- box-shadow: inset 0 0 0 300px transparent;
333
- }
334
- }
335
-
336
- /* line 13, ../sass/_vex-theme-default.sass */
337
- .vex.vex-theme-default {
338
- padding-top: 160px;
339
- padding-bottom: 160px;
340
- }
341
- /* line 17, ../sass/_vex-theme-default.sass */
342
- .vex.vex-theme-default.vex-closing .vex-content {
343
- animation: vex-flyout 0.5s;
344
- -webkit-animation: vex-flyout 0.5s;
345
- -moz-animation: vex-flyout 0.5s;
346
- -ms-animation: vex-flyout 0.5s;
347
- -o-animation: vex-flyout 0.5s;
348
- -webkit-backface-visibility: hidden;
349
- }
350
- /* line 20, ../sass/_vex-theme-default.sass */
351
- .vex.vex-theme-default .vex-content {
352
- animation: vex-flyin 0.5s;
353
- -webkit-animation: vex-flyin 0.5s;
354
- -moz-animation: vex-flyin 0.5s;
355
- -ms-animation: vex-flyin 0.5s;
356
- -o-animation: vex-flyin 0.5s;
357
- -webkit-backface-visibility: hidden;
358
- }
359
- /* line 23, ../sass/_vex-theme-default.sass */
360
- .vex.vex-theme-default .vex-content {
361
- -webkit-border-radius: 5px;
362
- -moz-border-radius: 5px;
363
- -ms-border-radius: 5px;
364
- -o-border-radius: 5px;
365
- border-radius: 5px;
366
- font-family: "Helvetica Neue", sans-serif;
367
- background: #f0f0f0;
368
- color: #444444;
369
- padding: 1em;
370
- position: relative;
371
- margin: 0 auto;
372
- max-width: 100%;
373
- width: 450px;
374
- font-size: 1.1em;
375
- line-height: 1.5em;
376
- }
377
- /* line 36, ../sass/_vex-theme-default.sass */
378
- .vex.vex-theme-default .vex-content h1, .vex.vex-theme-default .vex-content h2, .vex.vex-theme-default .vex-content h3, .vex.vex-theme-default .vex-content h4, .vex.vex-theme-default .vex-content h5, .vex.vex-theme-default .vex-content h6, .vex.vex-theme-default .vex-content p, .vex.vex-theme-default .vex-content ul, .vex.vex-theme-default .vex-content li {
379
- color: inherit;
380
- }
381
- /* line 39, ../sass/_vex-theme-default.sass */
382
- .vex.vex-theme-default .vex-close {
383
- -webkit-border-radius: 5px;
384
- -moz-border-radius: 5px;
385
- -ms-border-radius: 5px;
386
- -o-border-radius: 5px;
387
- border-radius: 5px;
388
- position: absolute;
389
- top: 0;
390
- right: 0;
391
- cursor: pointer;
392
- }
393
- /* line 46, ../sass/_vex-theme-default.sass */
394
- .vex.vex-theme-default .vex-close:before {
395
- -webkit-border-radius: 3px;
396
- -moz-border-radius: 3px;
397
- -ms-border-radius: 3px;
398
- -o-border-radius: 3px;
399
- border-radius: 3px;
400
- position: absolute;
401
- content: "\00D7";
402
- font-size: 26px;
403
- font-weight: normal;
404
- line-height: 31px;
405
- height: 30px;
406
- width: 30px;
407
- text-align: center;
408
- top: 3px;
409
- right: 3px;
410
- color: #bbbbbb;
411
- background: transparent;
412
- }
413
- /* line 61, ../sass/_vex-theme-default.sass */
414
- .vex.vex-theme-default .vex-close:hover:before, .vex.vex-theme-default .vex-close:active:before {
415
- color: #777777;
416
- background: #e0e0e0;
417
- }
418
- /* line 67, ../sass/_vex-theme-default.sass */
419
- .vex.vex-theme-default .vex-dialog-form .vex-dialog-message {
420
- margin-bottom: 0.5em;
421
- }
422
- /* line 70, ../sass/_vex-theme-default.sass */
423
- .vex.vex-theme-default .vex-dialog-form .vex-dialog-input {
424
- margin-bottom: 1em;
425
- }
426
- /* line 73, ../sass/_vex-theme-default.sass */
427
- .vex.vex-theme-default .vex-dialog-form .vex-dialog-input textarea, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="date"], .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="datetime"], .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="datetime-local"], .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="email"], .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="month"], .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="number"], .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="password"], .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="search"], .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="tel"], .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="text"], .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="time"], .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="url"], .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="week"] {
428
- -webkit-border-radius: 3px;
429
- -moz-border-radius: 3px;
430
- -ms-border-radius: 3px;
431
- -o-border-radius: 3px;
432
- border-radius: 3px;
433
- background: white;
434
- width: 100%;
435
- padding: 0.25em 0.67em;
436
- border: 0;
437
- font-family: inherit;
438
- font-weight: inherit;
439
- font-size: inherit;
440
- min-height: 2.5em;
441
- margin: 0 0 0.25em;
442
- }
443
- /* line 85, ../sass/_vex-theme-default.sass */
444
- .vex.vex-theme-default .vex-dialog-form .vex-dialog-input textarea:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="date"]:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="datetime"]:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="datetime-local"]:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="email"]:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="month"]:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="number"]:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="password"]:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="search"]:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="tel"]:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="text"]:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="time"]:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="url"]:focus, .vex.vex-theme-default .vex-dialog-form .vex-dialog-input input[type="week"]:focus {
445
- -webkit-box-shadow: inset 0 0 0 2px #8dbdf1;
446
- -moz-box-shadow: inset 0 0 0 2px #8dbdf1;
447
- box-shadow: inset 0 0 0 2px #8dbdf1;
448
- outline: none;
449
- }
450
- /* line 89, ../sass/_vex-theme-default.sass */
451
- .vex.vex-theme-default .vex-dialog-form .vex-dialog-buttons {
452
- *zoom: 1;
453
- }
454
- /* line 38, ../../../../../../../../../.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
455
- .vex.vex-theme-default .vex-dialog-form .vex-dialog-buttons:after {
456
- content: "";
457
- display: table;
458
- clear: both;
459
- }
460
- /* line 92, ../sass/_vex-theme-default.sass */
461
- .vex.vex-theme-default .vex-dialog-button {
462
- -webkit-border-radius: 3px;
463
- -moz-border-radius: 3px;
464
- -ms-border-radius: 3px;
465
- -o-border-radius: 3px;
466
- border-radius: 3px;
467
- border: 0;
468
- float: right;
469
- margin: 0 0 0 0.5em;
470
- font-family: inherit;
471
- text-transform: uppercase;
472
- letter-spacing: 0.1em;
473
- font-size: 0.8em;
474
- line-height: 1em;
475
- padding: 0.75em 2em;
476
- }
477
- /* line 104, ../sass/_vex-theme-default.sass */
478
- .vex.vex-theme-default .vex-dialog-button.vex-last {
479
- margin-left: 0;
480
- }
481
- /* line 107, ../sass/_vex-theme-default.sass */
482
- .vex.vex-theme-default .vex-dialog-button:focus {
483
- animation: vex-pulse 1.1s infinite;
484
- -webkit-animation: vex-pulse 1.1s infinite;
485
- -moz-animation: vex-pulse 1.1s infinite;
486
- -ms-animation: vex-pulse 1.1s infinite;
487
- -o-animation: vex-pulse 1.1s infinite;
488
- -webkit-backface-visibility: hidden;
489
- outline: none;
490
- }
491
- @media (max-width: 568px) {
492
- /* line 107, ../sass/_vex-theme-default.sass */
493
- .vex.vex-theme-default .vex-dialog-button:focus {
494
- animation: none;
495
- -webkit-animation: none;
496
- -moz-animation: none;
497
- -ms-animation: none;
498
- -o-animation: none;
499
- -webkit-backface-visibility: hidden;
500
- }
501
- }
502
- /* line 116, ../sass/_vex-theme-default.sass */
503
- .vex.vex-theme-default .vex-dialog-button.vex-dialog-button-primary {
504
- background: #3288e6;
505
- color: white;
506
- }
507
- /* line 120, ../sass/_vex-theme-default.sass */
508
- .vex.vex-theme-default .vex-dialog-button.vex-dialog-button-secondary {
509
- background: #e0e0e0;
510
- color: #777777;
511
- }
512
-
513
- /* line 124, ../sass/_vex-theme-default.sass */
514
- .vex-loading-spinner.vex-theme-default {
515
- -webkit-box-shadow: 0 0 0 0.5em #f0f0f0, 0 0 1px 0.5em rgba(0, 0, 0, 0.3);
516
- -moz-box-shadow: 0 0 0 0.5em #f0f0f0, 0 0 1px 0.5em rgba(0, 0, 0, 0.3);
517
- box-shadow: 0 0 0 0.5em #f0f0f0, 0 0 1px 0.5em rgba(0, 0, 0, 0.3);
518
- -webkit-border-radius: 100%;
519
- -moz-border-radius: 100%;
520
- -ms-border-radius: 100%;
521
- -o-border-radius: 100%;
522
- border-radius: 100%;
523
- background: #f0f0f0;
524
- border: 0.2em solid transparent;
525
- border-top-color: #bbbbbb;
526
- top: -1.1em;
527
- bottom: auto;
528
- }
529
-
530
- @keyframes vex-slideup {
531
- /* line 83, ../sass/_keyframes.sass */
532
- 0% {
533
- transform: translateY(0);
534
- -webkit-transform: translateY(0);
535
- -moz-transform: translateY(0);
536
- -ms-transform: translateY(0);
537
- -o-transform: translateY(0);
538
- opacity: 0;
539
- }
540
-
541
- /* line 86, ../sass/_keyframes.sass */
542
- 1% {
543
- transform: translateY(800px);
544
- -webkit-transform: translateY(800px);
545
- -moz-transform: translateY(800px);
546
- -ms-transform: translateY(800px);
547
- -o-transform: translateY(800px);
548
- opacity: 0;
549
- }
550
-
551
- /* line 91, ../sass/_keyframes.sass */
552
- 2% {
553
- transform: translateY(800px);
554
- -webkit-transform: translateY(800px);
555
- -moz-transform: translateY(800px);
556
- -ms-transform: translateY(800px);
557
- -o-transform: translateY(800px);
558
- opacity: 1;
559
- }
560
-
561
- /* line 94, ../sass/_keyframes.sass */
562
- 100% {
563
- transform: translateY(0);
564
- -webkit-transform: translateY(0);
565
- -moz-transform: translateY(0);
566
- -ms-transform: translateY(0);
567
- -o-transform: translateY(0);
568
- opacity: 1;
569
- }
570
- }
571
-
572
- @-webkit-keyframes vex-slideup {
573
- /* line 83, ../sass/_keyframes.sass */
574
- 0% {
575
- transform: translateY(0);
576
- -webkit-transform: translateY(0);
577
- -moz-transform: translateY(0);
578
- -ms-transform: translateY(0);
579
- -o-transform: translateY(0);
580
- opacity: 0;
581
- }
582
-
583
- /* line 86, ../sass/_keyframes.sass */
584
- 1% {
585
- transform: translateY(800px);
586
- -webkit-transform: translateY(800px);
587
- -moz-transform: translateY(800px);
588
- -ms-transform: translateY(800px);
589
- -o-transform: translateY(800px);
590
- opacity: 0;
591
- }
592
-
593
- /* line 91, ../sass/_keyframes.sass */
594
- 2% {
595
- transform: translateY(800px);
596
- -webkit-transform: translateY(800px);
597
- -moz-transform: translateY(800px);
598
- -ms-transform: translateY(800px);
599
- -o-transform: translateY(800px);
600
- opacity: 1;
601
- }
602
-
603
- /* line 94, ../sass/_keyframes.sass */
604
- 100% {
605
- transform: translateY(0);
606
- -webkit-transform: translateY(0);
607
- -moz-transform: translateY(0);
608
- -ms-transform: translateY(0);
609
- -o-transform: translateY(0);
610
- opacity: 1;
611
- }
612
- }
613
-
614
- @-moz-keyframes vex-slideup {
615
- /* line 83, ../sass/_keyframes.sass */
616
- 0% {
617
- transform: translateY(0);
618
- -webkit-transform: translateY(0);
619
- -moz-transform: translateY(0);
620
- -ms-transform: translateY(0);
621
- -o-transform: translateY(0);
622
- opacity: 0;
623
- }
624
-
625
- /* line 86, ../sass/_keyframes.sass */
626
- 1% {
627
- transform: translateY(800px);
628
- -webkit-transform: translateY(800px);
629
- -moz-transform: translateY(800px);
630
- -ms-transform: translateY(800px);
631
- -o-transform: translateY(800px);
632
- opacity: 0;
633
- }
634
-
635
- /* line 91, ../sass/_keyframes.sass */
636
- 2% {
637
- transform: translateY(800px);
638
- -webkit-transform: translateY(800px);
639
- -moz-transform: translateY(800px);
640
- -ms-transform: translateY(800px);
641
- -o-transform: translateY(800px);
642
- opacity: 1;
643
- }
644
-
645
- /* line 94, ../sass/_keyframes.sass */
646
- 100% {
647
- transform: translateY(0);
648
- -webkit-transform: translateY(0);
649
- -moz-transform: translateY(0);
650
- -ms-transform: translateY(0);
651
- -o-transform: translateY(0);
652
- opacity: 1;
653
- }
654
- }
655
-
656
- @-ms-keyframes vex-slideup {
657
- /* line 83, ../sass/_keyframes.sass */
658
- 0% {
659
- transform: translateY(0);
660
- -webkit-transform: translateY(0);
661
- -moz-transform: translateY(0);
662
- -ms-transform: translateY(0);
663
- -o-transform: translateY(0);
664
- opacity: 0;
665
- }
666
-
667
- /* line 86, ../sass/_keyframes.sass */
668
- 1% {
669
- transform: translateY(800px);
670
- -webkit-transform: translateY(800px);
671
- -moz-transform: translateY(800px);
672
- -ms-transform: translateY(800px);
673
- -o-transform: translateY(800px);
674
- opacity: 0;
675
- }
676
-
677
- /* line 91, ../sass/_keyframes.sass */
678
- 2% {
679
- transform: translateY(800px);
680
- -webkit-transform: translateY(800px);
681
- -moz-transform: translateY(800px);
682
- -ms-transform: translateY(800px);
683
- -o-transform: translateY(800px);
684
- opacity: 1;
685
- }
686
-
687
- /* line 94, ../sass/_keyframes.sass */
688
- 100% {
689
- transform: translateY(0);
690
- -webkit-transform: translateY(0);
691
- -moz-transform: translateY(0);
692
- -ms-transform: translateY(0);
693
- -o-transform: translateY(0);
694
- opacity: 1;
695
- }
696
- }
697
-
698
- @-o-keyframes vex-slideup {
699
- /* line 83, ../sass/_keyframes.sass */
700
- 0% {
701
- transform: translateY(0);
702
- -webkit-transform: translateY(0);
703
- -moz-transform: translateY(0);
704
- -ms-transform: translateY(0);
705
- -o-transform: translateY(0);
706
- opacity: 0;
707
- }
708
-
709
- /* line 86, ../sass/_keyframes.sass */
710
- 1% {
711
- transform: translateY(800px);
712
- -webkit-transform: translateY(800px);
713
- -moz-transform: translateY(800px);
714
- -ms-transform: translateY(800px);
715
- -o-transform: translateY(800px);
716
- opacity: 0;
717
- }
718
-
719
- /* line 91, ../sass/_keyframes.sass */
720
- 2% {
721
- transform: translateY(800px);
722
- -webkit-transform: translateY(800px);
723
- -moz-transform: translateY(800px);
724
- -ms-transform: translateY(800px);
725
- -o-transform: translateY(800px);
726
- opacity: 1;
727
- }
728
-
729
- /* line 94, ../sass/_keyframes.sass */
730
- 100% {
731
- transform: translateY(0);
732
- -webkit-transform: translateY(0);
733
- -moz-transform: translateY(0);
734
- -ms-transform: translateY(0);
735
- -o-transform: translateY(0);
736
- opacity: 1;
737
- }
738
- }
739
-
740
- @keyframes vex-slidedown {
741
- /* line 100, ../sass/_keyframes.sass */
742
- 0% {
743
- transform: translateY(0);
744
- -webkit-transform: translateY(0);
745
- -moz-transform: translateY(0);
746
- -ms-transform: translateY(0);
747
- -o-transform: translateY(0);
748
- }
749
-
750
- /* line 102, ../sass/_keyframes.sass */
751
- 100% {
752
- transform: translateY(800px);
753
- -webkit-transform: translateY(800px);
754
- -moz-transform: translateY(800px);
755
- -ms-transform: translateY(800px);
756
- -o-transform: translateY(800px);
757
- }
758
- }
759
-
760
- @-webkit-keyframes vex-slidedown {
761
- /* line 100, ../sass/_keyframes.sass */
762
- 0% {
763
- transform: translateY(0);
764
- -webkit-transform: translateY(0);
765
- -moz-transform: translateY(0);
766
- -ms-transform: translateY(0);
767
- -o-transform: translateY(0);
768
- }
769
-
770
- /* line 102, ../sass/_keyframes.sass */
771
- 100% {
772
- transform: translateY(800px);
773
- -webkit-transform: translateY(800px);
774
- -moz-transform: translateY(800px);
775
- -ms-transform: translateY(800px);
776
- -o-transform: translateY(800px);
777
- }
778
- }
779
-
780
- @-moz-keyframes vex-slidedown {
781
- /* line 100, ../sass/_keyframes.sass */
782
- 0% {
783
- transform: translateY(0);
784
- -webkit-transform: translateY(0);
785
- -moz-transform: translateY(0);
786
- -ms-transform: translateY(0);
787
- -o-transform: translateY(0);
788
- }
789
-
790
- /* line 102, ../sass/_keyframes.sass */
791
- 100% {
792
- transform: translateY(800px);
793
- -webkit-transform: translateY(800px);
794
- -moz-transform: translateY(800px);
795
- -ms-transform: translateY(800px);
796
- -o-transform: translateY(800px);
797
- }
798
- }
799
-
800
- @-ms-keyframes vex-slidedown {
801
- /* line 100, ../sass/_keyframes.sass */
802
- 0% {
803
- transform: translateY(0);
804
- -webkit-transform: translateY(0);
805
- -moz-transform: translateY(0);
806
- -ms-transform: translateY(0);
807
- -o-transform: translateY(0);
808
- }
809
-
810
- /* line 102, ../sass/_keyframes.sass */
811
- 100% {
812
- transform: translateY(800px);
813
- -webkit-transform: translateY(800px);
814
- -moz-transform: translateY(800px);
815
- -ms-transform: translateY(800px);
816
- -o-transform: translateY(800px);
817
- }
818
- }
819
-
820
- @-o-keyframes vex-slidedown {
821
- /* line 100, ../sass/_keyframes.sass */
822
- 0% {
823
- transform: translateY(0);
824
- -webkit-transform: translateY(0);
825
- -moz-transform: translateY(0);
826
- -ms-transform: translateY(0);
827
- -o-transform: translateY(0);
828
- }
829
-
830
- /* line 102, ../sass/_keyframes.sass */
831
- 100% {
832
- transform: translateY(800px);
833
- -webkit-transform: translateY(800px);
834
- -moz-transform: translateY(800px);
835
- -ms-transform: translateY(800px);
836
- -o-transform: translateY(800px);
837
- }
838
- }
839
-
840
- @keyframes vex-pulse {
841
- /* line 136, ../sass/_keyframes.sass */
842
- 0% {
843
- -webkit-box-shadow: inset 0 0 0 300px transparent;
844
- -moz-box-shadow: inset 0 0 0 300px transparent;
845
- box-shadow: inset 0 0 0 300px transparent;
846
- }
847
-
848
- /* line 138, ../sass/_keyframes.sass */
849
- 70% {
850
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
851
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
852
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
853
- }
854
-
855
- /* line 140, ../sass/_keyframes.sass */
856
- 100% {
857
- -webkit-box-shadow: inset 0 0 0 300px transparent;
858
- -moz-box-shadow: inset 0 0 0 300px transparent;
859
- box-shadow: inset 0 0 0 300px transparent;
860
- }
861
- }
862
-
863
- @-webkit-keyframes vex-pulse {
864
- /* line 136, ../sass/_keyframes.sass */
865
- 0% {
866
- -webkit-box-shadow: inset 0 0 0 300px transparent;
867
- -moz-box-shadow: inset 0 0 0 300px transparent;
868
- box-shadow: inset 0 0 0 300px transparent;
869
- }
870
-
871
- /* line 138, ../sass/_keyframes.sass */
872
- 70% {
873
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
874
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
875
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
876
- }
877
-
878
- /* line 140, ../sass/_keyframes.sass */
879
- 100% {
880
- -webkit-box-shadow: inset 0 0 0 300px transparent;
881
- -moz-box-shadow: inset 0 0 0 300px transparent;
882
- box-shadow: inset 0 0 0 300px transparent;
883
- }
884
- }
885
-
886
- @-moz-keyframes vex-pulse {
887
- /* line 136, ../sass/_keyframes.sass */
888
- 0% {
889
- -webkit-box-shadow: inset 0 0 0 300px transparent;
890
- -moz-box-shadow: inset 0 0 0 300px transparent;
891
- box-shadow: inset 0 0 0 300px transparent;
892
- }
893
-
894
- /* line 138, ../sass/_keyframes.sass */
895
- 70% {
896
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
897
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
898
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
899
- }
900
-
901
- /* line 140, ../sass/_keyframes.sass */
902
- 100% {
903
- -webkit-box-shadow: inset 0 0 0 300px transparent;
904
- -moz-box-shadow: inset 0 0 0 300px transparent;
905
- box-shadow: inset 0 0 0 300px transparent;
906
- }
907
- }
908
-
909
- @-ms-keyframes vex-pulse {
910
- /* line 136, ../sass/_keyframes.sass */
911
- 0% {
912
- -webkit-box-shadow: inset 0 0 0 300px transparent;
913
- -moz-box-shadow: inset 0 0 0 300px transparent;
914
- box-shadow: inset 0 0 0 300px transparent;
915
- }
916
-
917
- /* line 138, ../sass/_keyframes.sass */
918
- 70% {
919
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
920
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
921
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
922
- }
923
-
924
- /* line 140, ../sass/_keyframes.sass */
925
- 100% {
926
- -webkit-box-shadow: inset 0 0 0 300px transparent;
927
- -moz-box-shadow: inset 0 0 0 300px transparent;
928
- box-shadow: inset 0 0 0 300px transparent;
929
- }
930
- }
931
-
932
- @-o-keyframes vex-pulse {
933
- /* line 136, ../sass/_keyframes.sass */
934
- 0% {
935
- -webkit-box-shadow: inset 0 0 0 300px transparent;
936
- -moz-box-shadow: inset 0 0 0 300px transparent;
937
- box-shadow: inset 0 0 0 300px transparent;
938
- }
939
-
940
- /* line 138, ../sass/_keyframes.sass */
941
- 70% {
942
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
943
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
944
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
945
- }
946
-
947
- /* line 140, ../sass/_keyframes.sass */
948
- 100% {
949
- -webkit-box-shadow: inset 0 0 0 300px transparent;
950
- -moz-box-shadow: inset 0 0 0 300px transparent;
951
- box-shadow: inset 0 0 0 300px transparent;
952
- }
953
- }
954
-
955
- /* line 13, ../sass/_vex-theme-bottom-right-corner.sass */
956
- .vex.vex-theme-bottom-right-corner,
957
- .vex.vex-theme-bottom-left-corner {
958
- top: auto;
959
- bottom: 0;
960
- right: 0;
961
- overflow: visible;
962
- }
963
- /* line 20, ../sass/_vex-theme-bottom-right-corner.sass */
964
- .vex.vex-theme-bottom-right-corner .vex-overlay,
965
- .vex.vex-theme-bottom-left-corner .vex-overlay {
966
- display: none;
967
- }
968
- /* line 23, ../sass/_vex-theme-bottom-right-corner.sass */
969
- .vex.vex-theme-bottom-right-corner.vex-closing .vex-content,
970
- .vex.vex-theme-bottom-left-corner.vex-closing .vex-content {
971
- animation: vex-slidedown 0.5s;
972
- -webkit-animation: vex-slidedown 0.5s;
973
- -moz-animation: vex-slidedown 0.5s;
974
- -ms-animation: vex-slidedown 0.5s;
975
- -o-animation: vex-slidedown 0.5s;
976
- -webkit-backface-visibility: hidden;
977
- }
978
- /* line 26, ../sass/_vex-theme-bottom-right-corner.sass */
979
- .vex.vex-theme-bottom-right-corner .vex-content,
980
- .vex.vex-theme-bottom-left-corner .vex-content {
981
- animation: vex-slideup 0.5s;
982
- -webkit-animation: vex-slideup 0.5s;
983
- -moz-animation: vex-slideup 0.5s;
984
- -ms-animation: vex-slideup 0.5s;
985
- -o-animation: vex-slideup 0.5s;
986
- -webkit-backface-visibility: hidden;
987
- }
988
- /* line 29, ../sass/_vex-theme-bottom-right-corner.sass */
989
- .vex.vex-theme-bottom-right-corner .vex-content,
990
- .vex.vex-theme-bottom-left-corner .vex-content {
991
- font-family: "Helvetica Neue", sans-serif;
992
- background: #f0f0f0;
993
- color: #444444;
994
- padding: 1em;
995
- max-width: 100%;
996
- width: 450px;
997
- font-size: 1.1em;
998
- line-height: 1.5em;
999
- position: fixed;
1000
- bottom: 0;
1001
- }
1002
- /* line 41, ../sass/_vex-theme-bottom-right-corner.sass */
1003
- .vex.vex-theme-bottom-right-corner .vex-content h1, .vex.vex-theme-bottom-right-corner .vex-content h2, .vex.vex-theme-bottom-right-corner .vex-content h3, .vex.vex-theme-bottom-right-corner .vex-content h4, .vex.vex-theme-bottom-right-corner .vex-content h5, .vex.vex-theme-bottom-right-corner .vex-content h6, .vex.vex-theme-bottom-right-corner .vex-content p, .vex.vex-theme-bottom-right-corner .vex-content ul, .vex.vex-theme-bottom-right-corner .vex-content li,
1004
- .vex.vex-theme-bottom-left-corner .vex-content h1,
1005
- .vex.vex-theme-bottom-left-corner .vex-content h2,
1006
- .vex.vex-theme-bottom-left-corner .vex-content h3,
1007
- .vex.vex-theme-bottom-left-corner .vex-content h4,
1008
- .vex.vex-theme-bottom-left-corner .vex-content h5,
1009
- .vex.vex-theme-bottom-left-corner .vex-content h6,
1010
- .vex.vex-theme-bottom-left-corner .vex-content p,
1011
- .vex.vex-theme-bottom-left-corner .vex-content ul,
1012
- .vex.vex-theme-bottom-left-corner .vex-content li {
1013
- color: inherit;
1014
- }
1015
- /* line 44, ../sass/_vex-theme-bottom-right-corner.sass */
1016
- .vex.vex-theme-bottom-right-corner .vex-close,
1017
- .vex.vex-theme-bottom-left-corner .vex-close {
1018
- -webkit-border-radius: 5px;
1019
- -moz-border-radius: 5px;
1020
- -ms-border-radius: 5px;
1021
- -o-border-radius: 5px;
1022
- border-radius: 5px;
1023
- position: absolute;
1024
- top: 0;
1025
- right: 0;
1026
- cursor: pointer;
1027
- }
1028
- /* line 51, ../sass/_vex-theme-bottom-right-corner.sass */
1029
- .vex.vex-theme-bottom-right-corner .vex-close:before,
1030
- .vex.vex-theme-bottom-left-corner .vex-close:before {
1031
- -webkit-border-radius: 3px;
1032
- -moz-border-radius: 3px;
1033
- -ms-border-radius: 3px;
1034
- -o-border-radius: 3px;
1035
- border-radius: 3px;
1036
- position: absolute;
1037
- content: "\00D7";
1038
- font-size: 26px;
1039
- font-weight: normal;
1040
- line-height: 31px;
1041
- height: 30px;
1042
- width: 30px;
1043
- text-align: center;
1044
- top: 3px;
1045
- right: 3px;
1046
- color: #bbbbbb;
1047
- background: transparent;
1048
- }
1049
- /* line 66, ../sass/_vex-theme-bottom-right-corner.sass */
1050
- .vex.vex-theme-bottom-right-corner .vex-close:hover:before, .vex.vex-theme-bottom-right-corner .vex-close:active:before,
1051
- .vex.vex-theme-bottom-left-corner .vex-close:hover:before,
1052
- .vex.vex-theme-bottom-left-corner .vex-close:active:before {
1053
- color: #777777;
1054
- background: #e0e0e0;
1055
- }
1056
- /* line 72, ../sass/_vex-theme-bottom-right-corner.sass */
1057
- .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-message,
1058
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-message {
1059
- margin-bottom: 0.5em;
1060
- }
1061
- /* line 75, ../sass/_vex-theme-bottom-right-corner.sass */
1062
- .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input,
1063
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input {
1064
- margin-bottom: 1em;
1065
- }
1066
- /* line 78, ../sass/_vex-theme-bottom-right-corner.sass */
1067
- .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input textarea, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="date"], .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="datetime"], .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="datetime-local"], .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="email"], .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="month"], .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="number"], .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="password"], .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="search"], .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="tel"], .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="text"], .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="time"], .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="url"], .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="week"],
1068
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input textarea,
1069
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="date"],
1070
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="datetime"],
1071
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="datetime-local"],
1072
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="email"],
1073
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="month"],
1074
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="number"],
1075
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="password"],
1076
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="search"],
1077
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="tel"],
1078
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="text"],
1079
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="time"],
1080
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="url"],
1081
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="week"] {
1082
- -webkit-border-radius: 3px;
1083
- -moz-border-radius: 3px;
1084
- -ms-border-radius: 3px;
1085
- -o-border-radius: 3px;
1086
- border-radius: 3px;
1087
- background: white;
1088
- width: 100%;
1089
- padding: 0.25em 0.67em;
1090
- border: 0;
1091
- font-family: inherit;
1092
- font-weight: inherit;
1093
- font-size: inherit;
1094
- min-height: 2.5em;
1095
- margin: 0 0 0.25em;
1096
- }
1097
- /* line 90, ../sass/_vex-theme-bottom-right-corner.sass */
1098
- .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input textarea:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="date"]:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="datetime"]:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="datetime-local"]:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="email"]:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="month"]:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="number"]:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="password"]:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="search"]:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="tel"]:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="text"]:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="time"]:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="url"]:focus, .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-input input[type="week"]:focus,
1099
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input textarea:focus,
1100
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="date"]:focus,
1101
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="datetime"]:focus,
1102
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="datetime-local"]:focus,
1103
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="email"]:focus,
1104
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="month"]:focus,
1105
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="number"]:focus,
1106
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="password"]:focus,
1107
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="search"]:focus,
1108
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="tel"]:focus,
1109
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="text"]:focus,
1110
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="time"]:focus,
1111
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="url"]:focus,
1112
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-input input[type="week"]:focus {
1113
- -webkit-box-shadow: inset 0 0 0 2px #8dbdf1;
1114
- -moz-box-shadow: inset 0 0 0 2px #8dbdf1;
1115
- box-shadow: inset 0 0 0 2px #8dbdf1;
1116
- outline: none;
1117
- }
1118
- /* line 94, ../sass/_vex-theme-bottom-right-corner.sass */
1119
- .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-buttons,
1120
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-buttons {
1121
- *zoom: 1;
1122
- }
1123
- /* line 38, ../../../../../../../../../.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
1124
- .vex.vex-theme-bottom-right-corner .vex-dialog-form .vex-dialog-buttons:after,
1125
- .vex.vex-theme-bottom-left-corner .vex-dialog-form .vex-dialog-buttons:after {
1126
- content: "";
1127
- display: table;
1128
- clear: both;
1129
- }
1130
-
1131
- /* line 99, ../sass/_vex-theme-bottom-right-corner.sass */
1132
- .vex.vex-theme-bottom-right-corner .vex-content {
1133
- -webkit-border-radius: 5px 0 0 0;
1134
- -moz-border-radius: 5px 0 0 0;
1135
- -ms-border-radius: 5px 0 0 0;
1136
- -o-border-radius: 5px 0 0 0;
1137
- border-radius: 5px 0 0 0;
1138
- right: 0;
1139
- left: auto;
1140
- }
1141
-
1142
- /* line 106, ../sass/_vex-theme-bottom-right-corner.sass */
1143
- .vex.vex-theme-bottom-left-corner .vex-content {
1144
- -webkit-border-radius: 0 5px 0 0;
1145
- -moz-border-radius: 0 5px 0 0;
1146
- -ms-border-radius: 0 5px 0 0;
1147
- -o-border-radius: 0 5px 0 0;
1148
- border-radius: 0 5px 0 0;
1149
- left: 0;
1150
- right: auto;
1151
- }
1152
-
1153
- /* line 111, ../sass/_vex-theme-bottom-right-corner.sass */
1154
- .vex-loading-spinner.vex-theme-bottom-right-corner {
1155
- -webkit-box-shadow: 0 0 0 0.5em #f0f0f0, 0 0 1px 0.5em rgba(0, 0, 0, 0.3);
1156
- -moz-box-shadow: 0 0 0 0.5em #f0f0f0, 0 0 1px 0.5em rgba(0, 0, 0, 0.3);
1157
- box-shadow: 0 0 0 0.5em #f0f0f0, 0 0 1px 0.5em rgba(0, 0, 0, 0.3);
1158
- -webkit-border-radius: 100%;
1159
- -moz-border-radius: 100%;
1160
- -ms-border-radius: 100%;
1161
- -o-border-radius: 100%;
1162
- border-radius: 100%;
1163
- background: #f0f0f0;
1164
- border: 0.2em solid transparent;
1165
- border-top-color: #bbbbbb;
1166
- top: -1.1em;
1167
- bottom: auto;
1168
- }
1169
-
1170
- @keyframes vex-dropin {
1171
- /* line 51, ../sass/_keyframes.sass */
1172
- 0% {
1173
- transform: translateY(0);
1174
- -webkit-transform: translateY(0);
1175
- -moz-transform: translateY(0);
1176
- -ms-transform: translateY(0);
1177
- -o-transform: translateY(0);
1178
- opacity: 0;
1179
- }
1180
-
1181
- /* line 54, ../sass/_keyframes.sass */
1182
- 1% {
1183
- transform: translateY(-800px);
1184
- -webkit-transform: translateY(-800px);
1185
- -moz-transform: translateY(-800px);
1186
- -ms-transform: translateY(-800px);
1187
- -o-transform: translateY(-800px);
1188
- opacity: 0;
1189
- }
1190
-
1191
- /* line 59, ../sass/_keyframes.sass */
1192
- 2% {
1193
- transform: translateY(-800px);
1194
- -webkit-transform: translateY(-800px);
1195
- -moz-transform: translateY(-800px);
1196
- -ms-transform: translateY(-800px);
1197
- -o-transform: translateY(-800px);
1198
- opacity: 1;
1199
- }
1200
-
1201
- /* line 62, ../sass/_keyframes.sass */
1202
- 100% {
1203
- transform: translateY(0);
1204
- -webkit-transform: translateY(0);
1205
- -moz-transform: translateY(0);
1206
- -ms-transform: translateY(0);
1207
- -o-transform: translateY(0);
1208
- opacity: 1;
1209
- }
1210
- }
1211
-
1212
- @-webkit-keyframes vex-dropin {
1213
- /* line 51, ../sass/_keyframes.sass */
1214
- 0% {
1215
- transform: translateY(0);
1216
- -webkit-transform: translateY(0);
1217
- -moz-transform: translateY(0);
1218
- -ms-transform: translateY(0);
1219
- -o-transform: translateY(0);
1220
- opacity: 0;
1221
- }
1222
-
1223
- /* line 54, ../sass/_keyframes.sass */
1224
- 1% {
1225
- transform: translateY(-800px);
1226
- -webkit-transform: translateY(-800px);
1227
- -moz-transform: translateY(-800px);
1228
- -ms-transform: translateY(-800px);
1229
- -o-transform: translateY(-800px);
1230
- opacity: 0;
1231
- }
1232
-
1233
- /* line 59, ../sass/_keyframes.sass */
1234
- 2% {
1235
- transform: translateY(-800px);
1236
- -webkit-transform: translateY(-800px);
1237
- -moz-transform: translateY(-800px);
1238
- -ms-transform: translateY(-800px);
1239
- -o-transform: translateY(-800px);
1240
- opacity: 1;
1241
- }
1242
-
1243
- /* line 62, ../sass/_keyframes.sass */
1244
- 100% {
1245
- transform: translateY(0);
1246
- -webkit-transform: translateY(0);
1247
- -moz-transform: translateY(0);
1248
- -ms-transform: translateY(0);
1249
- -o-transform: translateY(0);
1250
- opacity: 1;
1251
- }
1252
- }
1253
-
1254
- @-moz-keyframes vex-dropin {
1255
- /* line 51, ../sass/_keyframes.sass */
1256
- 0% {
1257
- transform: translateY(0);
1258
- -webkit-transform: translateY(0);
1259
- -moz-transform: translateY(0);
1260
- -ms-transform: translateY(0);
1261
- -o-transform: translateY(0);
1262
- opacity: 0;
1263
- }
1264
-
1265
- /* line 54, ../sass/_keyframes.sass */
1266
- 1% {
1267
- transform: translateY(-800px);
1268
- -webkit-transform: translateY(-800px);
1269
- -moz-transform: translateY(-800px);
1270
- -ms-transform: translateY(-800px);
1271
- -o-transform: translateY(-800px);
1272
- opacity: 0;
1273
- }
1274
-
1275
- /* line 59, ../sass/_keyframes.sass */
1276
- 2% {
1277
- transform: translateY(-800px);
1278
- -webkit-transform: translateY(-800px);
1279
- -moz-transform: translateY(-800px);
1280
- -ms-transform: translateY(-800px);
1281
- -o-transform: translateY(-800px);
1282
- opacity: 1;
1283
- }
1284
-
1285
- /* line 62, ../sass/_keyframes.sass */
1286
- 100% {
1287
- transform: translateY(0);
1288
- -webkit-transform: translateY(0);
1289
- -moz-transform: translateY(0);
1290
- -ms-transform: translateY(0);
1291
- -o-transform: translateY(0);
1292
- opacity: 1;
1293
- }
1294
- }
1295
-
1296
- @-ms-keyframes vex-dropin {
1297
- /* line 51, ../sass/_keyframes.sass */
1298
- 0% {
1299
- transform: translateY(0);
1300
- -webkit-transform: translateY(0);
1301
- -moz-transform: translateY(0);
1302
- -ms-transform: translateY(0);
1303
- -o-transform: translateY(0);
1304
- opacity: 0;
1305
- }
1306
-
1307
- /* line 54, ../sass/_keyframes.sass */
1308
- 1% {
1309
- transform: translateY(-800px);
1310
- -webkit-transform: translateY(-800px);
1311
- -moz-transform: translateY(-800px);
1312
- -ms-transform: translateY(-800px);
1313
- -o-transform: translateY(-800px);
1314
- opacity: 0;
1315
- }
1316
-
1317
- /* line 59, ../sass/_keyframes.sass */
1318
- 2% {
1319
- transform: translateY(-800px);
1320
- -webkit-transform: translateY(-800px);
1321
- -moz-transform: translateY(-800px);
1322
- -ms-transform: translateY(-800px);
1323
- -o-transform: translateY(-800px);
1324
- opacity: 1;
1325
- }
1326
-
1327
- /* line 62, ../sass/_keyframes.sass */
1328
- 100% {
1329
- transform: translateY(0);
1330
- -webkit-transform: translateY(0);
1331
- -moz-transform: translateY(0);
1332
- -ms-transform: translateY(0);
1333
- -o-transform: translateY(0);
1334
- opacity: 1;
1335
- }
1336
- }
1337
-
1338
- @-o-keyframes vex-dropin {
1339
- /* line 51, ../sass/_keyframes.sass */
1340
- 0% {
1341
- transform: translateY(0);
1342
- -webkit-transform: translateY(0);
1343
- -moz-transform: translateY(0);
1344
- -ms-transform: translateY(0);
1345
- -o-transform: translateY(0);
1346
- opacity: 0;
1347
- }
1348
-
1349
- /* line 54, ../sass/_keyframes.sass */
1350
- 1% {
1351
- transform: translateY(-800px);
1352
- -webkit-transform: translateY(-800px);
1353
- -moz-transform: translateY(-800px);
1354
- -ms-transform: translateY(-800px);
1355
- -o-transform: translateY(-800px);
1356
- opacity: 0;
1357
- }
1358
-
1359
- /* line 59, ../sass/_keyframes.sass */
1360
- 2% {
1361
- transform: translateY(-800px);
1362
- -webkit-transform: translateY(-800px);
1363
- -moz-transform: translateY(-800px);
1364
- -ms-transform: translateY(-800px);
1365
- -o-transform: translateY(-800px);
1366
- opacity: 1;
1367
- }
1368
-
1369
- /* line 62, ../sass/_keyframes.sass */
1370
- 100% {
1371
- transform: translateY(0);
1372
- -webkit-transform: translateY(0);
1373
- -moz-transform: translateY(0);
1374
- -ms-transform: translateY(0);
1375
- -o-transform: translateY(0);
1376
- opacity: 1;
1377
- }
1378
- }
1379
-
1380
- @keyframes vex-dropout {
1381
- /* line 68, ../sass/_keyframes.sass */
1382
- 0% {
1383
- transform: translateY(0);
1384
- -webkit-transform: translateY(0);
1385
- -moz-transform: translateY(0);
1386
- -ms-transform: translateY(0);
1387
- -o-transform: translateY(0);
1388
- }
1389
-
1390
- /* line 70, ../sass/_keyframes.sass */
1391
- 100% {
1392
- transform: translateY(-800px);
1393
- -webkit-transform: translateY(-800px);
1394
- -moz-transform: translateY(-800px);
1395
- -ms-transform: translateY(-800px);
1396
- -o-transform: translateY(-800px);
1397
- }
1398
- }
1399
-
1400
- @-webkit-keyframes vex-dropout {
1401
- /* line 68, ../sass/_keyframes.sass */
1402
- 0% {
1403
- transform: translateY(0);
1404
- -webkit-transform: translateY(0);
1405
- -moz-transform: translateY(0);
1406
- -ms-transform: translateY(0);
1407
- -o-transform: translateY(0);
1408
- }
1409
-
1410
- /* line 70, ../sass/_keyframes.sass */
1411
- 100% {
1412
- transform: translateY(-800px);
1413
- -webkit-transform: translateY(-800px);
1414
- -moz-transform: translateY(-800px);
1415
- -ms-transform: translateY(-800px);
1416
- -o-transform: translateY(-800px);
1417
- }
1418
- }
1419
-
1420
- @-moz-keyframes vex-dropout {
1421
- /* line 68, ../sass/_keyframes.sass */
1422
- 0% {
1423
- transform: translateY(0);
1424
- -webkit-transform: translateY(0);
1425
- -moz-transform: translateY(0);
1426
- -ms-transform: translateY(0);
1427
- -o-transform: translateY(0);
1428
- }
1429
-
1430
- /* line 70, ../sass/_keyframes.sass */
1431
- 100% {
1432
- transform: translateY(-800px);
1433
- -webkit-transform: translateY(-800px);
1434
- -moz-transform: translateY(-800px);
1435
- -ms-transform: translateY(-800px);
1436
- -o-transform: translateY(-800px);
1437
- }
1438
- }
1439
-
1440
- @-ms-keyframes vex-dropout {
1441
- /* line 68, ../sass/_keyframes.sass */
1442
- 0% {
1443
- transform: translateY(0);
1444
- -webkit-transform: translateY(0);
1445
- -moz-transform: translateY(0);
1446
- -ms-transform: translateY(0);
1447
- -o-transform: translateY(0);
1448
- }
1449
-
1450
- /* line 70, ../sass/_keyframes.sass */
1451
- 100% {
1452
- transform: translateY(-800px);
1453
- -webkit-transform: translateY(-800px);
1454
- -moz-transform: translateY(-800px);
1455
- -ms-transform: translateY(-800px);
1456
- -o-transform: translateY(-800px);
1457
- }
1458
- }
1459
-
1460
- @-o-keyframes vex-dropout {
1461
- /* line 68, ../sass/_keyframes.sass */
1462
- 0% {
1463
- transform: translateY(0);
1464
- -webkit-transform: translateY(0);
1465
- -moz-transform: translateY(0);
1466
- -ms-transform: translateY(0);
1467
- -o-transform: translateY(0);
1468
- }
1469
-
1470
- /* line 70, ../sass/_keyframes.sass */
1471
- 100% {
1472
- transform: translateY(-800px);
1473
- -webkit-transform: translateY(-800px);
1474
- -moz-transform: translateY(-800px);
1475
- -ms-transform: translateY(-800px);
1476
- -o-transform: translateY(-800px);
1477
- }
1478
- }
1479
-
1480
- @keyframes vex-pulse {
1481
- /* line 136, ../sass/_keyframes.sass */
1482
- 0% {
1483
- -webkit-box-shadow: inset 0 0 0 300px transparent;
1484
- -moz-box-shadow: inset 0 0 0 300px transparent;
1485
- box-shadow: inset 0 0 0 300px transparent;
1486
- }
1487
-
1488
- /* line 138, ../sass/_keyframes.sass */
1489
- 70% {
1490
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1491
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1492
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1493
- }
1494
-
1495
- /* line 140, ../sass/_keyframes.sass */
1496
- 100% {
1497
- -webkit-box-shadow: inset 0 0 0 300px transparent;
1498
- -moz-box-shadow: inset 0 0 0 300px transparent;
1499
- box-shadow: inset 0 0 0 300px transparent;
1500
- }
1501
- }
1502
-
1503
- @-webkit-keyframes vex-pulse {
1504
- /* line 136, ../sass/_keyframes.sass */
1505
- 0% {
1506
- -webkit-box-shadow: inset 0 0 0 300px transparent;
1507
- -moz-box-shadow: inset 0 0 0 300px transparent;
1508
- box-shadow: inset 0 0 0 300px transparent;
1509
- }
1510
-
1511
- /* line 138, ../sass/_keyframes.sass */
1512
- 70% {
1513
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1514
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1515
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1516
- }
1517
-
1518
- /* line 140, ../sass/_keyframes.sass */
1519
- 100% {
1520
- -webkit-box-shadow: inset 0 0 0 300px transparent;
1521
- -moz-box-shadow: inset 0 0 0 300px transparent;
1522
- box-shadow: inset 0 0 0 300px transparent;
1523
- }
1524
- }
1525
-
1526
- @-moz-keyframes vex-pulse {
1527
- /* line 136, ../sass/_keyframes.sass */
1528
- 0% {
1529
- -webkit-box-shadow: inset 0 0 0 300px transparent;
1530
- -moz-box-shadow: inset 0 0 0 300px transparent;
1531
- box-shadow: inset 0 0 0 300px transparent;
1532
- }
1533
-
1534
- /* line 138, ../sass/_keyframes.sass */
1535
- 70% {
1536
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1537
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1538
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1539
- }
1540
-
1541
- /* line 140, ../sass/_keyframes.sass */
1542
- 100% {
1543
- -webkit-box-shadow: inset 0 0 0 300px transparent;
1544
- -moz-box-shadow: inset 0 0 0 300px transparent;
1545
- box-shadow: inset 0 0 0 300px transparent;
1546
- }
1547
- }
1548
-
1549
- @-ms-keyframes vex-pulse {
1550
- /* line 136, ../sass/_keyframes.sass */
1551
- 0% {
1552
- -webkit-box-shadow: inset 0 0 0 300px transparent;
1553
- -moz-box-shadow: inset 0 0 0 300px transparent;
1554
- box-shadow: inset 0 0 0 300px transparent;
1555
- }
1556
-
1557
- /* line 138, ../sass/_keyframes.sass */
1558
- 70% {
1559
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1560
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1561
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1562
- }
1563
-
1564
- /* line 140, ../sass/_keyframes.sass */
1565
- 100% {
1566
- -webkit-box-shadow: inset 0 0 0 300px transparent;
1567
- -moz-box-shadow: inset 0 0 0 300px transparent;
1568
- box-shadow: inset 0 0 0 300px transparent;
1569
- }
1570
- }
1571
-
1572
- @-o-keyframes vex-pulse {
1573
- /* line 136, ../sass/_keyframes.sass */
1574
- 0% {
1575
- -webkit-box-shadow: inset 0 0 0 300px transparent;
1576
- -moz-box-shadow: inset 0 0 0 300px transparent;
1577
- box-shadow: inset 0 0 0 300px transparent;
1578
- }
1579
-
1580
- /* line 138, ../sass/_keyframes.sass */
1581
- 70% {
1582
- -webkit-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1583
- -moz-box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1584
- box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
1585
- }
1586
-
1587
- /* line 140, ../sass/_keyframes.sass */
1588
- 100% {
1589
- -webkit-box-shadow: inset 0 0 0 300px transparent;
1590
- -moz-box-shadow: inset 0 0 0 300px transparent;
1591
- box-shadow: inset 0 0 0 300px transparent;
1592
- }
1593
- }
1594
-
1595
- /* line 13, ../sass/_vex-theme-top.sass */
1596
- .vex.vex-theme-top {
1597
- bottom: inherit;
1598
- }
1599
- /* line 16, ../sass/_vex-theme-top.sass */
1600
- .vex.vex-theme-top .vex-overlay {
1601
- display: none;
1602
- }
1603
- /* line 19, ../sass/_vex-theme-top.sass */
1604
- .vex.vex-theme-top.vex-closing .vex-content {
1605
- animation: vex-dropout 0.5s;
1606
- -webkit-animation: vex-dropout 0.5s;
1607
- -moz-animation: vex-dropout 0.5s;
1608
- -ms-animation: vex-dropout 0.5s;
1609
- -o-animation: vex-dropout 0.5s;
1610
- -webkit-backface-visibility: hidden;
1611
- }
1612
- /* line 22, ../sass/_vex-theme-top.sass */
1613
- .vex.vex-theme-top .vex-content {
1614
- animation: vex-dropin 0.5s;
1615
- -webkit-animation: vex-dropin 0.5s;
1616
- -moz-animation: vex-dropin 0.5s;
1617
- -ms-animation: vex-dropin 0.5s;
1618
- -o-animation: vex-dropin 0.5s;
1619
- -webkit-backface-visibility: hidden;
1620
- *zoom: 1;
1621
- font-family: "Helvetica Neue", sans-serif;
1622
- background: #f0f0f0;
1623
- color: #444444;
1624
- padding: 0.5em 0.5em 0.25em;
1625
- position: relative;
1626
- margin: 0 auto;
1627
- max-width: 100%;
1628
- font-size: 1.1em;
1629
- line-height: 1.5em;
1630
- }
1631
- /* line 38, ../../../../../../../../../.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
1632
- .vex.vex-theme-top .vex-content:after {
1633
- content: "";
1634
- display: table;
1635
- clear: both;
1636
- }
1637
- /* line 35, ../sass/_vex-theme-top.sass */
1638
- .vex.vex-theme-top .vex-content h1, .vex.vex-theme-top .vex-content h2, .vex.vex-theme-top .vex-content h3, .vex.vex-theme-top .vex-content h4, .vex.vex-theme-top .vex-content h5, .vex.vex-theme-top .vex-content h6, .vex.vex-theme-top .vex-content p, .vex.vex-theme-top .vex-content ul, .vex.vex-theme-top .vex-content li {
1639
- color: inherit;
1640
- }
1641
- /* line 38, ../sass/_vex-theme-top.sass */
1642
- .vex.vex-theme-top .vex-close {
1643
- -webkit-border-radius: 5px;
1644
- -moz-border-radius: 5px;
1645
- -ms-border-radius: 5px;
1646
- -o-border-radius: 5px;
1647
- border-radius: 5px;
1648
- position: absolute;
1649
- top: 0;
1650
- right: 0;
1651
- cursor: pointer;
1652
- }
1653
- /* line 45, ../sass/_vex-theme-top.sass */
1654
- .vex.vex-theme-top .vex-close:before {
1655
- -webkit-border-radius: 3px;
1656
- -moz-border-radius: 3px;
1657
- -ms-border-radius: 3px;
1658
- -o-border-radius: 3px;
1659
- border-radius: 3px;
1660
- position: absolute;
1661
- content: "\00D7";
1662
- font-size: 26px;
1663
- font-weight: normal;
1664
- line-height: 31px;
1665
- height: 30px;
1666
- width: 30px;
1667
- text-align: center;
1668
- top: 3px;
1669
- right: 3px;
1670
- color: #bbbbbb;
1671
- background: transparent;
1672
- }
1673
- /* line 60, ../sass/_vex-theme-top.sass */
1674
- .vex.vex-theme-top .vex-close:hover:before, .vex.vex-theme-top .vex-close:active:before {
1675
- color: #777777;
1676
- background: #e0e0e0;
1677
- }
1678
- /* line 64, ../sass/_vex-theme-top.sass */
1679
- .vex.vex-theme-top .vex-dialog-form {
1680
- text-align: center;
1681
- margin: 0 90px;
1682
- }
1683
- @media only screen and (max-width: 760px) {
1684
- /* line 64, ../sass/_vex-theme-top.sass */
1685
- .vex.vex-theme-top .vex-dialog-form {
1686
- margin: 0 auto;
1687
- }
1688
- }
1689
- /* line 71, ../sass/_vex-theme-top.sass */
1690
- .vex.vex-theme-top .vex-dialog-form .vex-dialog-message, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input, .vex.vex-theme-top .vex-dialog-form .vex-dialog-buttons {
1691
- display: inline-block;
1692
- }
1693
- /* line 74, ../sass/_vex-theme-top.sass */
1694
- .vex.vex-theme-top .vex-dialog-form .vex-dialog-input {
1695
- min-width: 200px;
1696
- margin: 0 1em;
1697
- }
1698
- /* line 78, ../sass/_vex-theme-top.sass */
1699
- .vex.vex-theme-top .vex-dialog-form .vex-dialog-input textarea, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="date"], .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="datetime"], .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="datetime-local"], .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="email"], .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="month"], .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="number"], .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="password"], .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="search"], .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="tel"], .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="text"], .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="time"], .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="url"], .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="week"] {
1700
- -webkit-border-radius: 3px;
1701
- -moz-border-radius: 3px;
1702
- -ms-border-radius: 3px;
1703
- -o-border-radius: 3px;
1704
- border-radius: 3px;
1705
- background: white;
1706
- width: 100%;
1707
- padding: 0.25em 0.67em;
1708
- border: 0;
1709
- font-family: inherit;
1710
- font-weight: inherit;
1711
- font-size: inherit;
1712
- min-height: 2.5em;
1713
- margin: 0 0 0 0;
1714
- }
1715
- /* line 90, ../sass/_vex-theme-top.sass */
1716
- .vex.vex-theme-top .vex-dialog-form .vex-dialog-input textarea:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="date"]:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="datetime"]:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="datetime-local"]:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="email"]:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="month"]:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="number"]:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="password"]:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="search"]:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="tel"]:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="text"]:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="time"]:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="url"]:focus, .vex.vex-theme-top .vex-dialog-form .vex-dialog-input input[type="week"]:focus {
1717
- -webkit-box-shadow: inset 0 0 0 2px #8dbdf1;
1718
- -moz-box-shadow: inset 0 0 0 2px #8dbdf1;
1719
- box-shadow: inset 0 0 0 2px #8dbdf1;
1720
- outline: none;
1721
- }
1722
- /* line 94, ../sass/_vex-theme-top.sass */
1723
- .vex.vex-theme-top .vex-dialog-form .vex-dialog-buttons {
1724
- *zoom: 1;
1725
- }
1726
- /* line 38, ../../../../../../../../../.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
1727
- .vex.vex-theme-top .vex-dialog-form .vex-dialog-buttons:after {
1728
- content: "";
1729
- display: table;
1730
- clear: both;
1731
- }
1732
- /* line 97, ../sass/_vex-theme-top.sass */
1733
- .vex.vex-theme-top .vex-dialog-form .vex-dialog-buttons input {
1734
- float: none;
1735
- }
1736
- /* line 100, ../sass/_vex-theme-top.sass */
1737
- .vex.vex-theme-top .leadin-subscribe-powered-by {
1738
- position: absolute;
1739
- bottom: 0.5em;
1740
- right: 0.5em;
1741
- }
1742
- /* line 105, ../sass/_vex-theme-top.sass */
1743
- .vex.vex-theme-top .vex-dialog-button {
1744
- -webkit-border-radius: 3px;
1745
- -moz-border-radius: 3px;
1746
- -ms-border-radius: 3px;
1747
- -o-border-radius: 3px;
1748
- border-radius: 3px;
1749
- border: 0;
1750
- float: right;
1751
- margin: 0 0 0 0.5em;
1752
- font-family: inherit;
1753
- text-transform: uppercase;
1754
- letter-spacing: 0.1em;
1755
- font-size: 0.8em;
1756
- line-height: 1em;
1757
- padding: 0.75em 2em;
1758
- }
1759
- /* line 117, ../sass/_vex-theme-top.sass */
1760
- .vex.vex-theme-top .vex-dialog-button.vex-last {
1761
- margin-left: 0;
1762
- }
1763
- /* line 120, ../sass/_vex-theme-top.sass */
1764
- .vex.vex-theme-top .vex-dialog-button:focus {
1765
- animation: vex-pulse 1.1s infinite;
1766
- -webkit-animation: vex-pulse 1.1s infinite;
1767
- -moz-animation: vex-pulse 1.1s infinite;
1768
- -ms-animation: vex-pulse 1.1s infinite;
1769
- -o-animation: vex-pulse 1.1s infinite;
1770
- -webkit-backface-visibility: hidden;
1771
- outline: none;
1772
- }
1773
- @media (max-width: 568px) {
1774
- /* line 120, ../sass/_vex-theme-top.sass */
1775
- .vex.vex-theme-top .vex-dialog-button:focus {
1776
- animation: none;
1777
- -webkit-animation: none;
1778
- -moz-animation: none;
1779
- -ms-animation: none;
1780
- -o-animation: none;
1781
- -webkit-backface-visibility: hidden;
1782
- }
1783
- }
1784
- /* line 129, ../sass/_vex-theme-top.sass */
1785
- .vex.vex-theme-top .vex-dialog-button.vex-dialog-button-primary {
1786
- background: #3288e6;
1787
- color: white;
1788
- }
1789
- /* line 133, ../sass/_vex-theme-top.sass */
1790
- .vex.vex-theme-top .vex-dialog-button.vex-dialog-button-secondary {
1791
- background: #e0e0e0;
1792
- color: #777777;
1793
- }
1794
-
1795
- /* line 137, ../sass/_vex-theme-top.sass */
1796
- .vex-loading-spinner.vex-theme-top {
1797
- -webkit-box-shadow: 0 0 0 0.5em #f0f0f0, 0 0 1px 0.5em rgba(0, 0, 0, 0.3);
1798
- -moz-box-shadow: 0 0 0 0.5em #f0f0f0, 0 0 1px 0.5em rgba(0, 0, 0, 0.3);
1799
- box-shadow: 0 0 0 0.5em #f0f0f0, 0 0 1px 0.5em rgba(0, 0, 0, 0.3);
1800
- -webkit-border-radius: 100%;
1801
- -moz-border-radius: 100%;
1802
- -ms-border-radius: 100%;
1803
- -o-border-radius: 100%;
1804
- border-radius: 100%;
1805
- background: #f0f0f0;
1806
- border: 0.2em solid transparent;
1807
- border-top-color: #bbbbbb;
1808
- top: -1.1em;
1809
- bottom: auto;
1810
- }
1811
-
1812
- @keyframes vex-fadein {
1813
- /* line 9, ../sass/_keyframes.sass */
1814
- 0% {
1815
- opacity: 0;
1816
- }
1817
-
1818
- /* line 11, ../sass/_keyframes.sass */
1819
- 100% {
1820
- opacity: 1;
1821
- }
1822
- }
1823
-
1824
- @-webkit-keyframes vex-fadein {
1825
- /* line 9, ../sass/_keyframes.sass */
1826
- 0% {
1827
- opacity: 0;
1828
- }
1829
-
1830
- /* line 11, ../sass/_keyframes.sass */
1831
- 100% {
1832
- opacity: 1;
1833
- }
1834
- }
1835
-
1836
- @-moz-keyframes vex-fadein {
1837
- /* line 9, ../sass/_keyframes.sass */
1838
- 0% {
1839
- opacity: 0;
1840
- }
1841
-
1842
- /* line 11, ../sass/_keyframes.sass */
1843
- 100% {
1844
- opacity: 1;
1845
- }
1846
- }
1847
-
1848
- @-ms-keyframes vex-fadein {
1849
- /* line 9, ../sass/_keyframes.sass */
1850
- 0% {
1851
- opacity: 0;
1852
- }
1853
-
1854
- /* line 11, ../sass/_keyframes.sass */
1855
- 100% {
1856
- opacity: 1;
1857
- }
1858
- }
1859
-
1860
- @-o-keyframes vex-fadein {
1861
- /* line 9, ../sass/_keyframes.sass */
1862
- 0% {
1863
- opacity: 0;
1864
- }
1865
-
1866
- /* line 11, ../sass/_keyframes.sass */
1867
- 100% {
1868
- opacity: 1;
1869
- }
1870
- }
1871
-
1872
- @keyframes vex-fadeout {
1873
- /* line 16, ../sass/_keyframes.sass */
1874
- 0% {
1875
- opacity: 1;
1876
- }
1877
-
1878
- /* line 18, ../sass/_keyframes.sass */
1879
- 100% {
1880
- opacity: 0;
1881
- }
1882
- }
1883
-
1884
- @-webkit-keyframes vex-fadeout {
1885
- /* line 16, ../sass/_keyframes.sass */
1886
- 0% {
1887
- opacity: 1;
1888
- }
1889
-
1890
- /* line 18, ../sass/_keyframes.sass */
1891
- 100% {
1892
- opacity: 0;
1893
- }
1894
- }
1895
-
1896
- @-moz-keyframes vex-fadeout {
1897
- /* line 16, ../sass/_keyframes.sass */
1898
- 0% {
1899
- opacity: 1;
1900
- }
1901
-
1902
- /* line 18, ../sass/_keyframes.sass */
1903
- 100% {
1904
- opacity: 0;
1905
- }
1906
- }
1907
-
1908
- @-ms-keyframes vex-fadeout {
1909
- /* line 16, ../sass/_keyframes.sass */
1910
- 0% {
1911
- opacity: 1;
1912
- }
1913
-
1914
- /* line 18, ../sass/_keyframes.sass */
1915
- 100% {
1916
- opacity: 0;
1917
- }
1918
- }
1919
-
1920
- @-o-keyframes vex-fadeout {
1921
- /* line 16, ../sass/_keyframes.sass */
1922
- 0% {
1923
- opacity: 1;
1924
- }
1925
-
1926
- /* line 18, ../sass/_keyframes.sass */
1927
- 100% {
1928
- opacity: 0;
1929
- }
1930
- }
1931
-
1932
- @keyframes vex-rotation {
1933
- /* line 127, ../sass/_keyframes.sass */
1934
- 0% {
1935
- transform: rotate(0deg);
1936
- -webkit-transform: rotate(0deg);
1937
- -moz-transform: rotate(0deg);
1938
- -ms-transform: rotate(0deg);
1939
- -o-transform: rotate(0deg);
1940
- }
1941
-
1942
- /* line 129, ../sass/_keyframes.sass */
1943
- 100% {
1944
- transform: rotate(359deg);
1945
- -webkit-transform: rotate(359deg);
1946
- -moz-transform: rotate(359deg);
1947
- -ms-transform: rotate(359deg);
1948
- -o-transform: rotate(359deg);
1949
- }
1950
- }
1951
-
1952
- @-webkit-keyframes vex-rotation {
1953
- /* line 127, ../sass/_keyframes.sass */
1954
- 0% {
1955
- transform: rotate(0deg);
1956
- -webkit-transform: rotate(0deg);
1957
- -moz-transform: rotate(0deg);
1958
- -ms-transform: rotate(0deg);
1959
- -o-transform: rotate(0deg);
1960
- }
1961
-
1962
- /* line 129, ../sass/_keyframes.sass */
1963
- 100% {
1964
- transform: rotate(359deg);
1965
- -webkit-transform: rotate(359deg);
1966
- -moz-transform: rotate(359deg);
1967
- -ms-transform: rotate(359deg);
1968
- -o-transform: rotate(359deg);
1969
- }
1970
- }
1971
-
1972
- @-moz-keyframes vex-rotation {
1973
- /* line 127, ../sass/_keyframes.sass */
1974
- 0% {
1975
- transform: rotate(0deg);
1976
- -webkit-transform: rotate(0deg);
1977
- -moz-transform: rotate(0deg);
1978
- -ms-transform: rotate(0deg);
1979
- -o-transform: rotate(0deg);
1980
- }
1981
-
1982
- /* line 129, ../sass/_keyframes.sass */
1983
- 100% {
1984
- transform: rotate(359deg);
1985
- -webkit-transform: rotate(359deg);
1986
- -moz-transform: rotate(359deg);
1987
- -ms-transform: rotate(359deg);
1988
- -o-transform: rotate(359deg);
1989
- }
1990
- }
1991
-
1992
- @-ms-keyframes vex-rotation {
1993
- /* line 127, ../sass/_keyframes.sass */
1994
- 0% {
1995
- transform: rotate(0deg);
1996
- -webkit-transform: rotate(0deg);
1997
- -moz-transform: rotate(0deg);
1998
- -ms-transform: rotate(0deg);
1999
- -o-transform: rotate(0deg);
2000
- }
2001
-
2002
- /* line 129, ../sass/_keyframes.sass */
2003
- 100% {
2004
- transform: rotate(359deg);
2005
- -webkit-transform: rotate(359deg);
2006
- -moz-transform: rotate(359deg);
2007
- -ms-transform: rotate(359deg);
2008
- -o-transform: rotate(359deg);
2009
- }
2010
- }
2011
-
2012
- @-o-keyframes vex-rotation {
2013
- /* line 127, ../sass/_keyframes.sass */
2014
- 0% {
2015
- transform: rotate(0deg);
2016
- -webkit-transform: rotate(0deg);
2017
- -moz-transform: rotate(0deg);
2018
- -ms-transform: rotate(0deg);
2019
- -o-transform: rotate(0deg);
2020
- }
2021
-
2022
- /* line 129, ../sass/_keyframes.sass */
2023
- 100% {
2024
- transform: rotate(359deg);
2025
- -webkit-transform: rotate(359deg);
2026
- -moz-transform: rotate(359deg);
2027
- -ms-transform: rotate(359deg);
2028
- -o-transform: rotate(359deg);
2029
- }
2030
- }
2031
-
2032
- /* line 16, ../sass/vex.sass */
2033
- .vex, .vex *, .vex *:before, .vex *:after {
2034
- -webkit-box-sizing: border-box;
2035
- -moz-box-sizing: border-box;
2036
- box-sizing: border-box;
2037
- }
2038
-
2039
- /* line 19, ../sass/vex.sass */
2040
- .vex {
2041
- position: fixed;
2042
- overflow: visible;
2043
- -webkit-overflow-scrolling: touch;
2044
- z-index: 1111;
2045
- top: 0;
2046
- right: 0;
2047
- bottom: 0;
2048
- left: 0;
2049
- }
2050
-
2051
- /* line 30, ../sass/vex.sass */
2052
- .vex-overlay {
2053
- background: black;
2054
- filter: alpha(opacity=40);
2055
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
2056
- }
2057
-
2058
- /* line 35, ../sass/vex.sass */
2059
- .vex-overlay {
2060
- animation: vex-fadein 0.5s;
2061
- -webkit-animation: vex-fadein 0.5s;
2062
- -moz-animation: vex-fadein 0.5s;
2063
- -ms-animation: vex-fadein 0.5s;
2064
- -o-animation: vex-fadein 0.5s;
2065
- -webkit-backface-visibility: hidden;
2066
- position: fixed;
2067
- background: rgba(0, 0, 0, 0.4);
2068
- top: 0;
2069
- right: 0;
2070
- bottom: 0;
2071
- left: 0;
2072
- }
2073
- /* line 44, ../sass/vex.sass */
2074
- .vex.vex-closing .vex-overlay {
2075
- animation: vex-fadeout 0.5s;
2076
- -webkit-animation: vex-fadeout 0.5s;
2077
- -moz-animation: vex-fadeout 0.5s;
2078
- -ms-animation: vex-fadeout 0.5s;
2079
- -o-animation: vex-fadeout 0.5s;
2080
- -webkit-backface-visibility: hidden;
2081
- }
2082
-
2083
- /* line 47, ../sass/vex.sass */
2084
- .vex-content {
2085
- *zoom: 1;
2086
- animation: vex-fadein 0.5s;
2087
- -webkit-animation: vex-fadein 0.5s;
2088
- -moz-animation: vex-fadein 0.5s;
2089
- -ms-animation: vex-fadein 0.5s;
2090
- -o-animation: vex-fadein 0.5s;
2091
- -webkit-backface-visibility: hidden;
2092
- -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
2093
- -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
2094
- box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
2095
- background: white;
2096
- }
2097
- /* line 38, ../../../../../../../../../.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
2098
- .vex-content:after {
2099
- content: "";
2100
- display: table;
2101
- clear: both;
2102
- }
2103
- /* line 53, ../sass/vex.sass */
2104
- .vex.vex-closing .vex-content {
2105
- animation: vex-fadeout 0.5s;
2106
- -webkit-animation: vex-fadeout 0.5s;
2107
- -moz-animation: vex-fadeout 0.5s;
2108
- -ms-animation: vex-fadeout 0.5s;
2109
- -o-animation: vex-fadeout 0.5s;
2110
- -webkit-backface-visibility: hidden;
2111
- }
2112
- /* line 56, ../sass/vex.sass */
2113
- .vex-content .powered-by {
2114
- display: block;
2115
- font-size: 11px;
2116
- color: #888888;
2117
- padding: 10px 0 0 0;
2118
- }
2119
- /* line 62, ../sass/vex.sass */
2120
- .vex-content .vex-dialog-message, .vex-content .vex-dialog-input, .vex-content .vex-dialog-buttons {
2121
- *zoom: 1;
2122
- font-size: 16px;
2123
- }
2124
- /* line 38, ../../../../../../../../../.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
2125
- .vex-content .vex-dialog-message:after, .vex-content .vex-dialog-input:after, .vex-content .vex-dialog-buttons:after {
2126
- content: "";
2127
- display: table;
2128
- clear: both;
2129
- }
2130
- /* line 66, ../sass/vex.sass */
2131
- .vex-content .leadin-subscribe-powered-by {
2132
- float: right;
2133
- font-size: 12px;
2134
- font-weight: bold;
2135
- color: #3288e6;
2136
- }
2137
-
2138
- /* line 72, ../sass/vex.sass */
2139
- .vex-close:before {
2140
- font-family: Arial, sans-serif;
2141
- content: "\00D7";
2142
- }
2143
-
2144
- /* line 76, ../sass/vex.sass */
2145
- .vex-dialog-form {
2146
- margin: 0;
2147
- }
2148
- /* line 79, ../sass/vex.sass */
2149
- .vex-dialog-form .vex-dialog-message {
2150
- font-weight: bold;
2151
- }
2152
-
2153
- /* line 82, ../sass/vex.sass */
2154
- .vex-dialog-button {
2155
- -webkit-appearance: none;
2156
- cursor: pointer;
2157
- -webkit-border-radius: 3px;
2158
- -moz-border-radius: 3px;
2159
- -ms-border-radius: 3px;
2160
- -o-border-radius: 3px;
2161
- border-radius: 3px;
2162
- float: right;
2163
- margin: 0 0 0 0.5em;
2164
- font-family: inherit;
2165
- text-transform: uppercase;
2166
- letter-spacing: 0.1em;
2167
- font-size: 0.8em;
2168
- line-height: 1em;
2169
- padding: 0.75em 2em;
2170
- }
2171
- /* line 95, ../sass/vex.sass */
2172
- .vex-dialog-button.vex-last {
2173
- margin-left: 0;
2174
- }
2175
- /* line 98, ../sass/vex.sass */
2176
- .vex-dialog-button:focus, .vex-dialog-button:hover {
2177
- outline: none;
2178
- }
2179
- /* line 101, ../sass/vex.sass */
2180
- .vex-dialog-button.vex-dialog-button-primary {
2181
- -webkit-box-shadow: none;
2182
- -moz-box-shadow: none;
2183
- box-shadow: none;
2184
- border: 0;
2185
- background: #3288e6;
2186
- color: white;
2187
- }
2188
- /* line 107, ../sass/vex.sass */
2189
- .vex-dialog-button.vex-dialog-button-primary:hover {
2190
- background: #5fa2ec;
2191
- }
2192
- /* line 110, ../sass/vex.sass */
2193
- .vex-dialog-button.vex-dialog-button-secondary {
2194
- -webkit-box-shadow: none;
2195
- -moz-box-shadow: none;
2196
- box-shadow: none;
2197
- border: 0;
2198
- background: #e0e0e0;
2199
- color: #777777;
2200
- }
2201
-
2202
- /* line 116, ../sass/vex.sass */
2203
- .vex-loading-spinner {
2204
- animation: vex-rotation 0.7s linear infinite;
2205
- -webkit-animation: vex-rotation 0.7s linear infinite;
2206
- -moz-animation: vex-rotation 0.7s linear infinite;
2207
- -ms-animation: vex-rotation 0.7s linear infinite;
2208
- -o-animation: vex-rotation 0.7s linear infinite;
2209
- -webkit-backface-visibility: hidden;
2210
- -webkit-box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
2211
- -moz-box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
2212
- box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
2213
- position: fixed;
2214
- z-index: 1112;
2215
- margin: auto;
2216
- top: 0;
2217
- right: 0;
2218
- bottom: 0;
2219
- left: 0;
2220
- height: 2em;
2221
- width: 2em;
2222
- background: white;
2223
- }
2224
-
2225
- @media only screen and (max-width: 760px) {
2226
- /* line 132, ../sass/vex.sass */
2227
- #leadin-subscribe-mobile-check, .leadin-subscribe-powered-by {
2228
- display: none;
2229
- }
2230
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
power-ups/subscribe-widget/frontend/sass/config.rb DELETED
@@ -1,30 +0,0 @@
1
- # Compass is a great cross-platform tool for compiling SASS.
2
- # This compass config file will allow you to
3
- # quickly dive right in.
4
- # For more info about compass + SASS: http://net.tutsplus.com/tutorials/html-css-techniques/using-compass-and-sass-for-css-in-your-next-project/
5
-
6
- require 'susy'
7
-
8
- #########
9
- # 1. Set this to the root of your project when deployed:
10
- http_path = "/"
11
-
12
- # 2. probably don't need to touch these
13
- css_dir = "../css"
14
- sass_dir = "./"
15
- images_dir = "../../images"
16
- environment = :development
17
- relative_assets = true
18
-
19
-
20
- # 3. You can select your preferred output style here (can be overridden via the command line):
21
- output_style = :expanded
22
-
23
- # 4. When you are ready to launch your WP theme comment out (3) and uncomment the line below
24
- # output_style = :compressed
25
-
26
- # To disable debugging comments that display the original location of your selectors. Uncomment:
27
- # line_comments = false
28
-
29
- # don't touch this
30
- preferred_syntax = :sass
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: andygcook, nelsonjoyce
3
  Tags: lead tracking, visitor tracking, analytics, crm, marketing automation, inbound marketing, subscription, marketing, lead generation, mailchimp
4
  Requires at least: 3.7
5
  Tested up to: 3.9.1
6
- Stable tag: 0.9.3
7
 
8
  LeadIn is an easy-to-use marketing automation and lead tracking plugin for WordPress that helps you better understand your web site visitors.
9
 
@@ -89,8 +89,24 @@ To ensure quality we've tested the most popular WordPress form builder plugins.
89
 
90
  == Changelog ==
91
 
92
- - Current version: 0.9.3
93
- - Current version release: 2014-05-19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
 
95
  = 0.9.3 (2014.05.19) =
96
  - Bug fixes
3
  Tags: lead tracking, visitor tracking, analytics, crm, marketing automation, inbound marketing, subscription, marketing, lead generation, mailchimp
4
  Requires at least: 3.7
5
  Tested up to: 3.9.1
6
+ Stable tag: 0.10.0
7
 
8
  LeadIn is an easy-to-use marketing automation and lead tracking plugin for WordPress that helps you better understand your web site visitors.
9
 
89
 
90
  == Changelog ==
91
 
92
+ - Current version: 0.10.0
93
+ - Current version release: 2014-06-03
94
+
95
+ = 0.10.0 (2014.06.03) =
96
+ - Bug fixes
97
+ - Fixed original referrer in contact timeline
98
+ - Fixed unncessary queries on contact timeline
99
+ - Only run the update check if the version number is different than the saved number
100
+ - Remove "fakepath" from file path text in uploaded file input types
101
+
102
+ = Enhancements =
103
+ - Expire the subscribe cookie after a few weeks
104
+ - Ability to disable a subscribe notification
105
+ - Added jQuery validation to the subscribe pop-up
106
+ - Multi-select input support
107
+ - Block forms with credit card fields from capturing contact information
108
+ - Updated contact timeline views
109
+ - Updated new contact notification emails
110
 
111
  = 0.9.3 (2014.05.19) =
112
  - Bug fixes