Version Description
- April 15, 2015 =
Fixes
- Menu item for settings page not appearing on Google App Engine (#88)
Improvements
- Updated Italian, Russian & Turkish translations. Want to help translate the plugin? Full translations get a free Pro license.
Download this release
Release Info
Developer | DvanKooten |
Plugin | MailChimp for WordPress |
Version | 2.2.9 |
Comparing to | |
See all releases |
Code changes from version 2.2.3 to 2.2.9
- README.md +0 -39
- assets/css/checkbox.css +13 -3
- assets/css/checkbox.css.map +1 -1
- assets/css/checkbox.min.css +1 -1
- assets/css/form-theme-blue.css +20 -26
- assets/css/form-theme-blue.css.map +1 -1
- assets/css/form-theme-blue.min.css +1 -1
- assets/css/form-theme-dark.css +20 -26
- assets/css/form-theme-dark.css.map +1 -1
- assets/css/form-theme-dark.min.css +1 -1
- assets/css/form-theme-green.css +20 -26
- assets/css/form-theme-green.css.map +1 -1
- assets/css/form-theme-green.min.css +1 -1
- assets/css/form-theme-light.css +20 -26
- assets/css/form-theme-light.css.map +1 -1
- assets/css/form-theme-light.min.css +1 -1
- assets/css/form-theme-red.css +20 -26
- assets/css/form-theme-red.css.map +1 -1
- assets/css/form-theme-red.min.css +1 -1
- assets/css/form.css +15 -26
- assets/css/form.css.map +1 -1
- assets/css/form.min.css +1 -1
- assets/css/index.php +6 -6
- assets/img/index.php +6 -6
- assets/index.php +6 -6
- assets/js/admin.js +124 -43
- assets/js/admin.min.js +1 -1
- assets/js/form-request.js +66 -50
- assets/js/form-request.min.js +1 -1
- assets/js/index.php +6 -6
- assets/js/{beautify-html.js → third-party/beautify-html.js} +0 -0
- assets/js/{beautify-html.min.js → third-party/beautify-html.min.js} +0 -0
- assets/js/{placeholders.min.js → third-party/placeholders.min.js} +0 -0
- assets/sass/checkbox.scss +15 -1
- assets/sass/index.php +6 -6
- assets/sass/partials/_form-reset.scss +79 -74
- assets/sass/partials/_form-theme-base.scss +5 -0
- assets/sass/partials/index.php +6 -6
- includes/class-admin.php +134 -146
- includes/class-api.php +66 -33
- includes/class-checkbox-manager.php +31 -31
- includes/class-form-manager.php +248 -115
- includes/class-form-request.php +94 -70
- includes/class-mailchimp.php +73 -7
- includes/class-plugin.php +54 -27
- includes/class-widget.php +94 -94
- includes/functions/general.php +13 -11
- includes/functions/template.php +146 -146
- includes/index.php +6 -6
- includes/integrations/class-bbpress.php +4 -4
- includes/integrations/class-buddypress.php +3 -3
- includes/integrations/class-cf7.php +3 -3
- includes/integrations/class-comment-form.php +6 -6
- includes/integrations/class-edd.php +2 -2
- includes/integrations/class-events-manager.php +1 -1
- includes/integrations/class-general.php +9 -7
- includes/integrations/class-integration.php +37 -40
- includes/integrations/class-multisite.php +6 -5
- includes/integrations/class-registration-form.php +6 -6
- includes/integrations/class-woocommerce.php +4 -5
- includes/views/api-settings.php +14 -14
- includes/views/checkbox-settings.php +8 -8
- includes/views/form-settings.php +46 -48
- includes/views/index.php +6 -6
- includes/views/parts/admin-field-wizard.php +4 -4
- includes/views/parts/admin-footer.php +2 -2
- includes/views/parts/admin-need-support.php +4 -4
- includes/views/parts/admin-upgrade-to-pro.php +2 -2
- includes/views/parts/index.php +6 -6
- index.php +6 -6
- languages/mailchimp-for-wp-cs_CZ.po +525 -369
- languages/mailchimp-for-wp-de_DE.po +696 -539
- languages/mailchimp-for-wp-es_ES.po +517 -360
- languages/mailchimp-for-wp-fr_FR.po +533 -379
- languages/mailchimp-for-wp-hu_HU.po +534 -380
- languages/mailchimp-for-wp-it_IT.po +513 -359
- languages/mailchimp-for-wp-nl_NL.po +514 -360
- languages/mailchimp-for-wp-pt_BR.po +517 -361
- languages/mailchimp-for-wp-ru_RU.po +360 -311
README.md
DELETED
@@ -1,39 +0,0 @@
|
|
1 |
-
MailChimp for WordPress
|
2 |
-
======================
|
3 |
-
|
4 |
-
Here, you can browse the source of the [MailChimp for WordPress Plugin](https://wordpress.org/plugins/mailchimp-for-wp/) project, find and discuss open issues or contribute code to the plugin yourself.
|
5 |
-
|
6 |
-
Installation
|
7 |
-
------------
|
8 |
-
|
9 |
-
Here's a [guide on how to install the plugin in your WordPress site](https://wordpress.org/plugins/mailchimp-for-wp/installation/).
|
10 |
-
If you want to run the latest development version, you have two options:
|
11 |
-
|
12 |
-
* You can download the repository .zip file: [mailchimp-for-wordpress.zip](https://github.com/dannyvankooten/mailchimp-for-wordpress/archive/master.zip)
|
13 |
-
* You can clone the GitHub repository using Git
|
14 |
-
|
15 |
-
This will download the latest development version of the MailChimp for WordPress plugin. While this version is usually stable,
|
16 |
-
it is not recommended for use in a production environment.
|
17 |
-
|
18 |
-
Bugs
|
19 |
-
----
|
20 |
-
If you think you've found a bug, [please raise an issue here](https://github.com/dannyvankooten/mailchimp-for-wordpress/issues?state=open)!
|
21 |
-
|
22 |
-
Translations
|
23 |
-
-------------
|
24 |
-
It's easy to translate the plugin into your own language. Head over to the [translation project on Transifex](https://www.transifex.com/projects/p/mailchimp-for-wordpress/) and click on "[Help translate MailChimp for WordPress](https://www.transifex.com/signup/?join_project=mailchimp-for-wordpress)".
|
25 |
-
|
26 |
-
Support
|
27 |
-
-------
|
28 |
-
This is a developer's portal for the MailChimp for WordPress plugin and should not be used for support. Please visit the
|
29 |
-
[MailChimp for WordPress support forum on WordPress.org](https://wordpress.org/support/plugin/mailchimp-for-wp).
|
30 |
-
|
31 |
-
If you need priority support, please upgrade to [MailChimp for WordPress Pro](https://mc4wp.com/).
|
32 |
-
|
33 |
-
Contributions
|
34 |
-
-------------
|
35 |
-
Anyone is welcome to contribute to the plugin. There are various ways you can contribute:
|
36 |
-
|
37 |
-
* [Raise an issue](https://github.com/dannyvankooten/mailchimp-for-wordpress/issues) on GitHub.
|
38 |
-
* Send us a Pull Request with your bug fixes and/or new features.
|
39 |
-
* Provide feedback and [suggestions on enhancements](https://github.com/dannyvankooten/mailchimp-for-wordpress/issues?direction=desc&labels=Enhancement&page=1&sort=created&state=open).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/css/checkbox.css
CHANGED
@@ -1,11 +1,13 @@
|
|
1 |
/* MailChimp for WP - Checkbox Styles */
|
2 |
-
|
3 |
clear: both;
|
4 |
display: block;
|
5 |
position: static;
|
6 |
width: auto;
|
7 |
}
|
8 |
-
|
|
|
|
|
9 |
position: static;
|
10 |
margin: 0 6px 0 0;
|
11 |
padding: 0;
|
@@ -14,13 +16,21 @@ p#mc4wp-checkbox input {
|
|
14 |
max-width: 21px;
|
15 |
-webkit-appearance: checkbox;
|
16 |
}
|
17 |
-
|
|
|
18 |
display: block;
|
19 |
cursor: pointer;
|
20 |
width: auto;
|
21 |
position: static;
|
22 |
}
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
#registerform #mc4wp-checkbox {
|
25 |
margin-bottom: 10px;
|
26 |
}
|
1 |
/* MailChimp for WP - Checkbox Styles */
|
2 |
+
#mc4wp-checkbox {
|
3 |
clear: both;
|
4 |
display: block;
|
5 |
position: static;
|
6 |
width: auto;
|
7 |
}
|
8 |
+
#mc4wp-checkbox input {
|
9 |
+
float: none;
|
10 |
+
width: auto;
|
11 |
position: static;
|
12 |
margin: 0 6px 0 0;
|
13 |
padding: 0;
|
16 |
max-width: 21px;
|
17 |
-webkit-appearance: checkbox;
|
18 |
}
|
19 |
+
#mc4wp-checkbox label {
|
20 |
+
float: none;
|
21 |
display: block;
|
22 |
cursor: pointer;
|
23 |
width: auto;
|
24 |
position: static;
|
25 |
}
|
26 |
|
27 |
+
#_mc4wp_subscribe_woocommerce_checkout_field label,
|
28 |
+
#_mc4wp_subscribe_woocommerce_checkout_field input {
|
29 |
+
float: none !important;
|
30 |
+
width: auto !important;
|
31 |
+
display: inline-block !important;
|
32 |
+
}
|
33 |
+
|
34 |
#registerform #mc4wp-checkbox {
|
35 |
margin-bottom: 10px;
|
36 |
}
|
assets/css/checkbox.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AACA,
|
4 |
"sources": ["../sass/checkbox.scss"],
|
5 |
"names": [],
|
6 |
"file": "checkbox.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AACA,eAAgB;EAEf,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,QAAQ,EAAE,MAAM;EAChB,KAAK,EAAE,IAAI;;AAEX,qBAAM;EACL,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,IAAI;EACX,QAAQ,EAAE,MAAM;EAChB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,CAAC;EACV,cAAc,EAAE,MAAM;EACtB,OAAO,EAAE,uBAAuB;EAChC,SAAS,EAAE,IAAI;EACf,kBAAkB,EAAE,QAAQ;;AAG7B,qBAAM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,IAAI;EACX,QAAQ,EAAE,MAAM;;;AAMjB;kDACK;EACJ,KAAK,EAAE,eAAe;EACtB,KAAK,EAAE,eAAe;EACtB,OAAO,EAAE,uBAAuB;;;AAMlC,6BAA6B;EAC5B,aAAa,EAAE,IAAI",
|
4 |
"sources": ["../sass/checkbox.scss"],
|
5 |
"names": [],
|
6 |
"file": "checkbox.css"
|
assets/css/checkbox.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
1 |
+
#mc4wp-checkbox{clear:both;display:block;position:static;width:auto}#mc4wp-checkbox input{float:none;width:auto;position:static;margin:0 6px 0 0;padding:0;vertical-align:middle;display:inline-block!important;max-width:21px;-webkit-appearance:checkbox}#mc4wp-checkbox label{float:none;display:block;cursor:pointer;width:auto;position:static}#_mc4wp_subscribe_woocommerce_checkout_field input,#_mc4wp_subscribe_woocommerce_checkout_field label{float:none!important;width:auto!important;display:inline-block!important}#registerform #mc4wp-checkbox{margin-bottom:10px}
|
assets/css/form-theme-blue.css
CHANGED
@@ -1,43 +1,23 @@
|
|
1 |
/* MailChimp for WP - Default Form Styles */
|
2 |
.mc4wp-form {
|
3 |
margin: 1em 0;
|
|
|
|
|
4 |
}
|
5 |
-
|
6 |
-
form.mc4wp-form,
|
7 |
.mc4wp-form form {
|
8 |
width: auto;
|
9 |
}
|
10 |
-
|
11 |
.mc4wp-form label {
|
12 |
display: block;
|
13 |
font-weight: bold;
|
14 |
margin-bottom: 5px;
|
15 |
}
|
16 |
-
|
17 |
-
.mc4wp-form ul,
|
18 |
-
.mc4wp-form li {
|
19 |
-
list-style: none;
|
20 |
-
margin: 0;
|
21 |
-
padding: 0;
|
22 |
-
}
|
23 |
-
|
24 |
-
.mc4wp-form label > span,
|
25 |
-
.mc4wp-form li > label {
|
26 |
-
font-weight: normal;
|
27 |
-
}
|
28 |
-
|
29 |
-
.mc4wp-form p > label:nth-child(2) {
|
30 |
-
margin-top: 10px;
|
31 |
-
}
|
32 |
-
|
33 |
.mc4wp-form input {
|
34 |
vertical-align: baseline;
|
35 |
}
|
36 |
-
|
37 |
.mc4wp-form input.placeholdersjs {
|
38 |
color: #aaa !important;
|
39 |
}
|
40 |
-
|
41 |
.mc4wp-form input[type="text"],
|
42 |
.mc4wp-form input[type="email"],
|
43 |
.mc4wp-form input[type="tel"],
|
@@ -53,7 +33,6 @@ form.mc4wp-form,
|
|
53 |
-webkit-box-sizing: border-box;
|
54 |
-moz-box-sizing: border-box;
|
55 |
}
|
56 |
-
|
57 |
.mc4wp-form input[type="checkbox"],
|
58 |
.mc4wp-form input[type="radio"] {
|
59 |
position: relative;
|
@@ -64,21 +43,31 @@ form.mc4wp-form,
|
|
64 |
display: inline-block;
|
65 |
border: 0;
|
66 |
}
|
67 |
-
|
68 |
.mc4wp-form input[type="checkbox"] {
|
69 |
-webkit-appearance: checkbox;
|
70 |
}
|
71 |
-
|
72 |
.mc4wp-form input[type="radio"] {
|
73 |
-webkit-appearance: radio;
|
74 |
}
|
75 |
-
|
|
|
|
|
76 |
.mc4wp-form input[type="submit"],
|
77 |
.mc4wp-form button,
|
78 |
.mc4wp-form input[type="button"] {
|
79 |
cursor: pointer;
|
80 |
display: inline-block;
|
81 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
.mc4wp-alert {
|
84 |
margin: 1em 0;
|
@@ -183,6 +172,7 @@ form.mc4wp-form,
|
|
183 |
}
|
184 |
|
185 |
.mc4wp-form input[type="submit"],
|
|
|
186 |
.mc4wp-form button {
|
187 |
display: inline-block;
|
188 |
padding: 6px 12px;
|
@@ -210,6 +200,7 @@ form.mc4wp-form,
|
|
210 |
}
|
211 |
|
212 |
.mc4wp-form input[type="submit"]:focus,
|
|
|
213 |
.mc4wp-form button:focus {
|
214 |
outline: thin dotted #333;
|
215 |
outline: 5px auto -webkit-focus-ring-color;
|
@@ -217,8 +208,10 @@ form.mc4wp-form,
|
|
217 |
}
|
218 |
|
219 |
.mc4wp-form input[type="submit"]:hover,
|
|
|
220 |
.mc4wp-form button:hover,
|
221 |
.mc4wp-form input[type="submit"]:focus,
|
|
|
222 |
.mc4wp-form button:focus {
|
223 |
color: #333333;
|
224 |
text-decoration: none;
|
@@ -226,6 +219,7 @@ form.mc4wp-form,
|
|
226 |
}
|
227 |
|
228 |
.mc4wp-form input[type="submit"]:active,
|
|
|
229 |
.mc4wp-form button:active {
|
230 |
background-image: none;
|
231 |
outline: 0;
|
1 |
/* MailChimp for WP - Default Form Styles */
|
2 |
.mc4wp-form {
|
3 |
margin: 1em 0;
|
4 |
+
/* Form Elements */
|
5 |
+
/* Other elements */
|
6 |
}
|
|
|
|
|
7 |
.mc4wp-form form {
|
8 |
width: auto;
|
9 |
}
|
|
|
10 |
.mc4wp-form label {
|
11 |
display: block;
|
12 |
font-weight: bold;
|
13 |
margin-bottom: 5px;
|
14 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
.mc4wp-form input {
|
16 |
vertical-align: baseline;
|
17 |
}
|
|
|
18 |
.mc4wp-form input.placeholdersjs {
|
19 |
color: #aaa !important;
|
20 |
}
|
|
|
21 |
.mc4wp-form input[type="text"],
|
22 |
.mc4wp-form input[type="email"],
|
23 |
.mc4wp-form input[type="tel"],
|
33 |
-webkit-box-sizing: border-box;
|
34 |
-moz-box-sizing: border-box;
|
35 |
}
|
|
|
36 |
.mc4wp-form input[type="checkbox"],
|
37 |
.mc4wp-form input[type="radio"] {
|
38 |
position: relative;
|
43 |
display: inline-block;
|
44 |
border: 0;
|
45 |
}
|
|
|
46 |
.mc4wp-form input[type="checkbox"] {
|
47 |
-webkit-appearance: checkbox;
|
48 |
}
|
|
|
49 |
.mc4wp-form input[type="radio"] {
|
50 |
-webkit-appearance: radio;
|
51 |
}
|
52 |
+
.mc4wp-form input[name="_mc4wp_required_but_not_really"] {
|
53 |
+
display: none !important;
|
54 |
+
}
|
55 |
.mc4wp-form input[type="submit"],
|
56 |
.mc4wp-form button,
|
57 |
.mc4wp-form input[type="button"] {
|
58 |
cursor: pointer;
|
59 |
display: inline-block;
|
60 |
}
|
61 |
+
.mc4wp-form ul,
|
62 |
+
.mc4wp-form li {
|
63 |
+
list-style: none;
|
64 |
+
margin: 0;
|
65 |
+
padding: 0;
|
66 |
+
}
|
67 |
+
.mc4wp-form label > span,
|
68 |
+
.mc4wp-form li > label {
|
69 |
+
font-weight: normal;
|
70 |
+
}
|
71 |
|
72 |
.mc4wp-alert {
|
73 |
margin: 1em 0;
|
172 |
}
|
173 |
|
174 |
.mc4wp-form input[type="submit"],
|
175 |
+
.mc4wp-form input[type="button"],
|
176 |
.mc4wp-form button {
|
177 |
display: inline-block;
|
178 |
padding: 6px 12px;
|
200 |
}
|
201 |
|
202 |
.mc4wp-form input[type="submit"]:focus,
|
203 |
+
.mc4wp-form input[type="button"]:focus,
|
204 |
.mc4wp-form button:focus {
|
205 |
outline: thin dotted #333;
|
206 |
outline: 5px auto -webkit-focus-ring-color;
|
208 |
}
|
209 |
|
210 |
.mc4wp-form input[type="submit"]:hover,
|
211 |
+
.mc4wp-form input[type="button"]:hover,
|
212 |
.mc4wp-form button:hover,
|
213 |
.mc4wp-form input[type="submit"]:focus,
|
214 |
+
.mc4wp-form input[type="button"]:focus,
|
215 |
.mc4wp-form button:focus {
|
216 |
color: #333333;
|
217 |
text-decoration: none;
|
219 |
}
|
220 |
|
221 |
.mc4wp-form input[type="submit"]:active,
|
222 |
+
.mc4wp-form input[type="button"]:active,
|
223 |
.mc4wp-form button:active {
|
224 |
background-image: none;
|
225 |
outline: 0;
|
assets/css/form-theme-blue.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-blue.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-blue.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAGb,gBAAI;EACF,KAAK,EAAE,IAAI;;AAGb,iBAAM;EACJ,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,IAAI;EACjB,aAAa,EAAE,GAAG;;AAGpB,iBAAM;EACJ,cAAc,EAAE,QAAQ;;AAGxB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B;;;;;;kBAMO;EACL,MAAM,EAAE,IAAI;EACZ,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,UAAU;EACtB,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;;AAG7B;+BACoB;EAClB,QAAQ,EAAE,QAAQ;EAClB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;EACX,OAAO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MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;;;AAGb;;wBAEyB;EACvB,OAAO,EAAE,gBAAgB;EACzB,OAAO,EAAE,iCAAiC;EAC1C,cAAc,EAAE,IAAI;;;AAGtB;;;;;wBAKyB;EACvB,KAAK,EAAE,OAAO;EACd,eAAe,EAAE,IAAI;EACtB,UAAU,EAAE,IAAI;;;AAGjB;;yBAE0B;EACxB,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,CAAC;EACV,eAAe,EAAE,oCAAoC;EACrD,kBAAkB,EAAE,oCAAoC;EACxD,UAAU,EAAE,oCAAoC;;;AC1HlD;kBACmB;EACjB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;wBAKyB;EACvB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;;wBAMyB;EACvB,YAAY,EAAE,OAAO",
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-blue.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-blue.css"
|
assets/css/form-theme-blue.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:700}.mc4wp-form
|
1 |
+
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:700}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{cursor:auto;display:block;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type=checkbox],.mc4wp-form input[type=radio]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type=checkbox]{-webkit-appearance:checkbox}.mc4wp-form input[type=radio]{-webkit-appearance:radio}.mc4wp-form input[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form li,.mc4wp-form ul{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.mc4wp-form form,form.mc4wp-form{box-shadow:none!important;-webkit-box-shadow:none;-moz-box-shadow:none;width:auto}.mc4wp-form p{margin:0 0 15px!important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;background-image:none;text-shadow:none}.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[disabled],.mc4wp-form input[readonly]{background-color:#eee}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:0 0;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form button:focus,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=submit]:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=button]:hover,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#333;text-decoration:none;background:0 0}.mc4wp-form button:active,.mc4wp-form input[type=button]:active,.mc4wp-form input[type=submit]:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.mc4wp-form button,.mc4wp-form input[type=submit]{color:#fff!important;background-color:#428bca!important;border-color:#357ebd}.mc4wp-form button:active,.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=submit]:active,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#fff!important;background-color:#3276b1!important;border-color:#285e8e}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#428bca}
|
assets/css/form-theme-dark.css
CHANGED
@@ -1,43 +1,23 @@
|
|
1 |
/* MailChimp for WP - Default Form Styles */
|
2 |
.mc4wp-form {
|
3 |
margin: 1em 0;
|
|
|
|
|
4 |
}
|
5 |
-
|
6 |
-
form.mc4wp-form,
|
7 |
.mc4wp-form form {
|
8 |
width: auto;
|
9 |
}
|
10 |
-
|
11 |
.mc4wp-form label {
|
12 |
display: block;
|
13 |
font-weight: bold;
|
14 |
margin-bottom: 5px;
|
15 |
}
|
16 |
-
|
17 |
-
.mc4wp-form ul,
|
18 |
-
.mc4wp-form li {
|
19 |
-
list-style: none;
|
20 |
-
margin: 0;
|
21 |
-
padding: 0;
|
22 |
-
}
|
23 |
-
|
24 |
-
.mc4wp-form label > span,
|
25 |
-
.mc4wp-form li > label {
|
26 |
-
font-weight: normal;
|
27 |
-
}
|
28 |
-
|
29 |
-
.mc4wp-form p > label:nth-child(2) {
|
30 |
-
margin-top: 10px;
|
31 |
-
}
|
32 |
-
|
33 |
.mc4wp-form input {
|
34 |
vertical-align: baseline;
|
35 |
}
|
36 |
-
|
37 |
.mc4wp-form input.placeholdersjs {
|
38 |
color: #aaa !important;
|
39 |
}
|
40 |
-
|
41 |
.mc4wp-form input[type="text"],
|
42 |
.mc4wp-form input[type="email"],
|
43 |
.mc4wp-form input[type="tel"],
|
@@ -53,7 +33,6 @@ form.mc4wp-form,
|
|
53 |
-webkit-box-sizing: border-box;
|
54 |
-moz-box-sizing: border-box;
|
55 |
}
|
56 |
-
|
57 |
.mc4wp-form input[type="checkbox"],
|
58 |
.mc4wp-form input[type="radio"] {
|
59 |
position: relative;
|
@@ -64,21 +43,31 @@ form.mc4wp-form,
|
|
64 |
display: inline-block;
|
65 |
border: 0;
|
66 |
}
|
67 |
-
|
68 |
.mc4wp-form input[type="checkbox"] {
|
69 |
-webkit-appearance: checkbox;
|
70 |
}
|
71 |
-
|
72 |
.mc4wp-form input[type="radio"] {
|
73 |
-webkit-appearance: radio;
|
74 |
}
|
75 |
-
|
|
|
|
|
76 |
.mc4wp-form input[type="submit"],
|
77 |
.mc4wp-form button,
|
78 |
.mc4wp-form input[type="button"] {
|
79 |
cursor: pointer;
|
80 |
display: inline-block;
|
81 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
.mc4wp-alert {
|
84 |
margin: 1em 0;
|
@@ -183,6 +172,7 @@ form.mc4wp-form,
|
|
183 |
}
|
184 |
|
185 |
.mc4wp-form input[type="submit"],
|
|
|
186 |
.mc4wp-form button {
|
187 |
display: inline-block;
|
188 |
padding: 6px 12px;
|
@@ -210,6 +200,7 @@ form.mc4wp-form,
|
|
210 |
}
|
211 |
|
212 |
.mc4wp-form input[type="submit"]:focus,
|
|
|
213 |
.mc4wp-form button:focus {
|
214 |
outline: thin dotted #333;
|
215 |
outline: 5px auto -webkit-focus-ring-color;
|
@@ -217,8 +208,10 @@ form.mc4wp-form,
|
|
217 |
}
|
218 |
|
219 |
.mc4wp-form input[type="submit"]:hover,
|
|
|
220 |
.mc4wp-form button:hover,
|
221 |
.mc4wp-form input[type="submit"]:focus,
|
|
|
222 |
.mc4wp-form button:focus {
|
223 |
color: #333333;
|
224 |
text-decoration: none;
|
@@ -226,6 +219,7 @@ form.mc4wp-form,
|
|
226 |
}
|
227 |
|
228 |
.mc4wp-form input[type="submit"]:active,
|
|
|
229 |
.mc4wp-form button:active {
|
230 |
background-image: none;
|
231 |
outline: 0;
|
1 |
/* MailChimp for WP - Default Form Styles */
|
2 |
.mc4wp-form {
|
3 |
margin: 1em 0;
|
4 |
+
/* Form Elements */
|
5 |
+
/* Other elements */
|
6 |
}
|
|
|
|
|
7 |
.mc4wp-form form {
|
8 |
width: auto;
|
9 |
}
|
|
|
10 |
.mc4wp-form label {
|
11 |
display: block;
|
12 |
font-weight: bold;
|
13 |
margin-bottom: 5px;
|
14 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
.mc4wp-form input {
|
16 |
vertical-align: baseline;
|
17 |
}
|
|
|
18 |
.mc4wp-form input.placeholdersjs {
|
19 |
color: #aaa !important;
|
20 |
}
|
|
|
21 |
.mc4wp-form input[type="text"],
|
22 |
.mc4wp-form input[type="email"],
|
23 |
.mc4wp-form input[type="tel"],
|
33 |
-webkit-box-sizing: border-box;
|
34 |
-moz-box-sizing: border-box;
|
35 |
}
|
|
|
36 |
.mc4wp-form input[type="checkbox"],
|
37 |
.mc4wp-form input[type="radio"] {
|
38 |
position: relative;
|
43 |
display: inline-block;
|
44 |
border: 0;
|
45 |
}
|
|
|
46 |
.mc4wp-form input[type="checkbox"] {
|
47 |
-webkit-appearance: checkbox;
|
48 |
}
|
|
|
49 |
.mc4wp-form input[type="radio"] {
|
50 |
-webkit-appearance: radio;
|
51 |
}
|
52 |
+
.mc4wp-form input[name="_mc4wp_required_but_not_really"] {
|
53 |
+
display: none !important;
|
54 |
+
}
|
55 |
.mc4wp-form input[type="submit"],
|
56 |
.mc4wp-form button,
|
57 |
.mc4wp-form input[type="button"] {
|
58 |
cursor: pointer;
|
59 |
display: inline-block;
|
60 |
}
|
61 |
+
.mc4wp-form ul,
|
62 |
+
.mc4wp-form li {
|
63 |
+
list-style: none;
|
64 |
+
margin: 0;
|
65 |
+
padding: 0;
|
66 |
+
}
|
67 |
+
.mc4wp-form label > span,
|
68 |
+
.mc4wp-form li > label {
|
69 |
+
font-weight: normal;
|
70 |
+
}
|
71 |
|
72 |
.mc4wp-alert {
|
73 |
margin: 1em 0;
|
172 |
}
|
173 |
|
174 |
.mc4wp-form input[type="submit"],
|
175 |
+
.mc4wp-form input[type="button"],
|
176 |
.mc4wp-form button {
|
177 |
display: inline-block;
|
178 |
padding: 6px 12px;
|
200 |
}
|
201 |
|
202 |
.mc4wp-form input[type="submit"]:focus,
|
203 |
+
.mc4wp-form input[type="button"]:focus,
|
204 |
.mc4wp-form button:focus {
|
205 |
outline: thin dotted #333;
|
206 |
outline: 5px auto -webkit-focus-ring-color;
|
208 |
}
|
209 |
|
210 |
.mc4wp-form input[type="submit"]:hover,
|
211 |
+
.mc4wp-form input[type="button"]:hover,
|
212 |
.mc4wp-form button:hover,
|
213 |
.mc4wp-form input[type="submit"]:focus,
|
214 |
+
.mc4wp-form input[type="button"]:focus,
|
215 |
.mc4wp-form button:focus {
|
216 |
color: #333333;
|
217 |
text-decoration: none;
|
219 |
}
|
220 |
|
221 |
.mc4wp-form input[type="submit"]:active,
|
222 |
+
.mc4wp-form input[type="button"]:active,
|
223 |
.mc4wp-form button:active {
|
224 |
background-image: none;
|
225 |
outline: 0;
|
assets/css/form-theme-dark.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-dark.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-dark.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAGb,gBAAI;EACF,KAAK,EAAE,IAAI;;AAGb,iBAAM;EACJ,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,IAAI;EACjB,aAAa,EAAE,GAAG;;AAGpB,iBAAM;EACJ,cAAc,EAAE,QAAQ;;AAGxB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B;;;;;;kBAMO;EACL,MAAM,EAAE,IAAI;EACZ,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,UAAU;EACtB,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;;AAG7B;+BACoB;EAClB,QAAQ,EAAE,QA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,IAAI;EACjB,UAAU,EAAE,IAAI;EAChB,UAAU,EAAE,IAAI;EAChB,WAAW,EAAE,IAAI;EACjB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;;;AAGb;;wBAEyB;EACvB,OAAO,EAAE,gBAAgB;EACzB,OAAO,EAAE,iCAAiC;EAC1C,cAAc,EAAE,IAAI;;;AAGtB;;;;;wBAKyB;EACvB,KAAK,EAAE,OAAO;EACd,eAAe,EAAE,IAAI;EACtB,UAAU,EAAE,IAAI;;;AAGjB;;yBAE0B;EACxB,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,CAAC;EACV,eAAe,EAAE,oCAAoC;EACrD,kBAAkB,EAAE,oCAAoC;EACxD,UAAU,EAAE,oCAAoC;;;AC1HlD;kBACmB;EACjB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;wBAKyB;EACvB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;;wBAMyB;EACvB,YAAY,EAAE,OAAO",
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-dark.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-dark.css"
|
assets/css/form-theme-dark.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:700}.mc4wp-form
|
1 |
+
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:700}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{cursor:auto;display:block;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type=checkbox],.mc4wp-form input[type=radio]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type=checkbox]{-webkit-appearance:checkbox}.mc4wp-form input[type=radio]{-webkit-appearance:radio}.mc4wp-form input[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form li,.mc4wp-form ul{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.mc4wp-form form,form.mc4wp-form{box-shadow:none!important;-webkit-box-shadow:none;-moz-box-shadow:none;width:auto}.mc4wp-form p{margin:0 0 15px!important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;background-image:none;text-shadow:none}.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[disabled],.mc4wp-form input[readonly]{background-color:#eee}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:0 0;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form button:focus,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=submit]:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=button]:hover,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#333;text-decoration:none;background:0 0}.mc4wp-form button:active,.mc4wp-form input[type=button]:active,.mc4wp-form input[type=submit]:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.mc4wp-form button,.mc4wp-form input[type=submit]{color:#fff!important;background-color:#444!important;border-color:#282828}.mc4wp-form button:active,.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=submit]:active,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#fff!important;background-color:#282828!important;border-color:#111}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#444}
|
assets/css/form-theme-green.css
CHANGED
@@ -1,43 +1,23 @@
|
|
1 |
/* MailChimp for WP - Default Form Styles */
|
2 |
.mc4wp-form {
|
3 |
margin: 1em 0;
|
|
|
|
|
4 |
}
|
5 |
-
|
6 |
-
form.mc4wp-form,
|
7 |
.mc4wp-form form {
|
8 |
width: auto;
|
9 |
}
|
10 |
-
|
11 |
.mc4wp-form label {
|
12 |
display: block;
|
13 |
font-weight: bold;
|
14 |
margin-bottom: 5px;
|
15 |
}
|
16 |
-
|
17 |
-
.mc4wp-form ul,
|
18 |
-
.mc4wp-form li {
|
19 |
-
list-style: none;
|
20 |
-
margin: 0;
|
21 |
-
padding: 0;
|
22 |
-
}
|
23 |
-
|
24 |
-
.mc4wp-form label > span,
|
25 |
-
.mc4wp-form li > label {
|
26 |
-
font-weight: normal;
|
27 |
-
}
|
28 |
-
|
29 |
-
.mc4wp-form p > label:nth-child(2) {
|
30 |
-
margin-top: 10px;
|
31 |
-
}
|
32 |
-
|
33 |
.mc4wp-form input {
|
34 |
vertical-align: baseline;
|
35 |
}
|
36 |
-
|
37 |
.mc4wp-form input.placeholdersjs {
|
38 |
color: #aaa !important;
|
39 |
}
|
40 |
-
|
41 |
.mc4wp-form input[type="text"],
|
42 |
.mc4wp-form input[type="email"],
|
43 |
.mc4wp-form input[type="tel"],
|
@@ -53,7 +33,6 @@ form.mc4wp-form,
|
|
53 |
-webkit-box-sizing: border-box;
|
54 |
-moz-box-sizing: border-box;
|
55 |
}
|
56 |
-
|
57 |
.mc4wp-form input[type="checkbox"],
|
58 |
.mc4wp-form input[type="radio"] {
|
59 |
position: relative;
|
@@ -64,21 +43,31 @@ form.mc4wp-form,
|
|
64 |
display: inline-block;
|
65 |
border: 0;
|
66 |
}
|
67 |
-
|
68 |
.mc4wp-form input[type="checkbox"] {
|
69 |
-webkit-appearance: checkbox;
|
70 |
}
|
71 |
-
|
72 |
.mc4wp-form input[type="radio"] {
|
73 |
-webkit-appearance: radio;
|
74 |
}
|
75 |
-
|
|
|
|
|
76 |
.mc4wp-form input[type="submit"],
|
77 |
.mc4wp-form button,
|
78 |
.mc4wp-form input[type="button"] {
|
79 |
cursor: pointer;
|
80 |
display: inline-block;
|
81 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
.mc4wp-alert {
|
84 |
margin: 1em 0;
|
@@ -183,6 +172,7 @@ form.mc4wp-form,
|
|
183 |
}
|
184 |
|
185 |
.mc4wp-form input[type="submit"],
|
|
|
186 |
.mc4wp-form button {
|
187 |
display: inline-block;
|
188 |
padding: 6px 12px;
|
@@ -210,6 +200,7 @@ form.mc4wp-form,
|
|
210 |
}
|
211 |
|
212 |
.mc4wp-form input[type="submit"]:focus,
|
|
|
213 |
.mc4wp-form button:focus {
|
214 |
outline: thin dotted #333;
|
215 |
outline: 5px auto -webkit-focus-ring-color;
|
@@ -217,8 +208,10 @@ form.mc4wp-form,
|
|
217 |
}
|
218 |
|
219 |
.mc4wp-form input[type="submit"]:hover,
|
|
|
220 |
.mc4wp-form button:hover,
|
221 |
.mc4wp-form input[type="submit"]:focus,
|
|
|
222 |
.mc4wp-form button:focus {
|
223 |
color: #333333;
|
224 |
text-decoration: none;
|
@@ -226,6 +219,7 @@ form.mc4wp-form,
|
|
226 |
}
|
227 |
|
228 |
.mc4wp-form input[type="submit"]:active,
|
|
|
229 |
.mc4wp-form button:active {
|
230 |
background-image: none;
|
231 |
outline: 0;
|
1 |
/* MailChimp for WP - Default Form Styles */
|
2 |
.mc4wp-form {
|
3 |
margin: 1em 0;
|
4 |
+
/* Form Elements */
|
5 |
+
/* Other elements */
|
6 |
}
|
|
|
|
|
7 |
.mc4wp-form form {
|
8 |
width: auto;
|
9 |
}
|
|
|
10 |
.mc4wp-form label {
|
11 |
display: block;
|
12 |
font-weight: bold;
|
13 |
margin-bottom: 5px;
|
14 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
.mc4wp-form input {
|
16 |
vertical-align: baseline;
|
17 |
}
|
|
|
18 |
.mc4wp-form input.placeholdersjs {
|
19 |
color: #aaa !important;
|
20 |
}
|
|
|
21 |
.mc4wp-form input[type="text"],
|
22 |
.mc4wp-form input[type="email"],
|
23 |
.mc4wp-form input[type="tel"],
|
33 |
-webkit-box-sizing: border-box;
|
34 |
-moz-box-sizing: border-box;
|
35 |
}
|
|
|
36 |
.mc4wp-form input[type="checkbox"],
|
37 |
.mc4wp-form input[type="radio"] {
|
38 |
position: relative;
|
43 |
display: inline-block;
|
44 |
border: 0;
|
45 |
}
|
|
|
46 |
.mc4wp-form input[type="checkbox"] {
|
47 |
-webkit-appearance: checkbox;
|
48 |
}
|
|
|
49 |
.mc4wp-form input[type="radio"] {
|
50 |
-webkit-appearance: radio;
|
51 |
}
|
52 |
+
.mc4wp-form input[name="_mc4wp_required_but_not_really"] {
|
53 |
+
display: none !important;
|
54 |
+
}
|
55 |
.mc4wp-form input[type="submit"],
|
56 |
.mc4wp-form button,
|
57 |
.mc4wp-form input[type="button"] {
|
58 |
cursor: pointer;
|
59 |
display: inline-block;
|
60 |
}
|
61 |
+
.mc4wp-form ul,
|
62 |
+
.mc4wp-form li {
|
63 |
+
list-style: none;
|
64 |
+
margin: 0;
|
65 |
+
padding: 0;
|
66 |
+
}
|
67 |
+
.mc4wp-form label > span,
|
68 |
+
.mc4wp-form li > label {
|
69 |
+
font-weight: normal;
|
70 |
+
}
|
71 |
|
72 |
.mc4wp-alert {
|
73 |
margin: 1em 0;
|
172 |
}
|
173 |
|
174 |
.mc4wp-form input[type="submit"],
|
175 |
+
.mc4wp-form input[type="button"],
|
176 |
.mc4wp-form button {
|
177 |
display: inline-block;
|
178 |
padding: 6px 12px;
|
200 |
}
|
201 |
|
202 |
.mc4wp-form input[type="submit"]:focus,
|
203 |
+
.mc4wp-form input[type="button"]:focus,
|
204 |
.mc4wp-form button:focus {
|
205 |
outline: thin dotted #333;
|
206 |
outline: 5px auto -webkit-focus-ring-color;
|
208 |
}
|
209 |
|
210 |
.mc4wp-form input[type="submit"]:hover,
|
211 |
+
.mc4wp-form input[type="button"]:hover,
|
212 |
.mc4wp-form button:hover,
|
213 |
.mc4wp-form input[type="submit"]:focus,
|
214 |
+
.mc4wp-form input[type="button"]:focus,
|
215 |
.mc4wp-form button:focus {
|
216 |
color: #333333;
|
217 |
text-decoration: none;
|
219 |
}
|
220 |
|
221 |
.mc4wp-form input[type="submit"]:active,
|
222 |
+
.mc4wp-form input[type="button"]:active,
|
223 |
.mc4wp-form button:active {
|
224 |
background-image: none;
|
225 |
outline: 0;
|
assets/css/form-theme-green.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-green.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-green.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAGb,gBAAI;EACF,KAAK,EAAE,IAAI;;AAGb,iBAAM;EACJ,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,IAAI;EACjB,aAAa,EAAE,GAAG;;AAGpB,iBAAM;EACJ,cAAc,EAAE,QAAQ;;AAGxB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B;;;;;;kBAMO;EACL,MAAM,EAAE,IAAI;EACZ,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,UAA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EACzB,gBAAgB,EAAE,IAAI;EACtB,eAAe,EAAE,IAAI;EACrB,cAAc,EAAE,IAAI;EACpB,WAAW,EAAE,IAAI;EACjB,UAAU,EAAE,IAAI;EAChB,UAAU,EAAE,IAAI;EAChB,WAAW,EAAE,IAAI;EACjB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;;;AAGb;;wBAEyB;EACvB,OAAO,EAAE,gBAAgB;EACzB,OAAO,EAAE,iCAAiC;EAC1C,cAAc,EAAE,IAAI;;;AAGtB;;;;;wBAKyB;EACvB,KAAK,EAAE,OAAO;EACd,eAAe,EAAE,IAAI;EACtB,UAAU,EAAE,IAAI;;;AAGjB;;yBAE0B;EACxB,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,CAAC;EACV,eAAe,EAAE,oCAAoC;EACrD,kBAAkB,EAAE,oCAAoC;EACxD,UAAU,EAAE,oCAAoC;;;AC1HlD;kBACmB;EACjB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;wBAKyB;EACvB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;;wBAMyB;EACvB,YAAY,EAAE,OAAO",
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-green.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-green.css"
|
assets/css/form-theme-green.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:700}.mc4wp-form
|
1 |
+
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:700}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{cursor:auto;display:block;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type=checkbox],.mc4wp-form input[type=radio]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type=checkbox]{-webkit-appearance:checkbox}.mc4wp-form input[type=radio]{-webkit-appearance:radio}.mc4wp-form input[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form li,.mc4wp-form ul{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.mc4wp-form form,form.mc4wp-form{box-shadow:none!important;-webkit-box-shadow:none;-moz-box-shadow:none;width:auto}.mc4wp-form p{margin:0 0 15px!important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;background-image:none;text-shadow:none}.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[disabled],.mc4wp-form input[readonly]{background-color:#eee}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:0 0;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form button:focus,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=submit]:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=button]:hover,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#333;text-decoration:none;background:0 0}.mc4wp-form button:active,.mc4wp-form input[type=button]:active,.mc4wp-form input[type=submit]:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.mc4wp-form button,.mc4wp-form input[type=submit]{color:#fff!important;background-color:#5cb85c!important;border-color:#4cae4c}.mc4wp-form button:active,.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=submit]:active,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#fff!important;background-color:#47a447!important;border-color:#398439}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#5cb85c}
|
assets/css/form-theme-light.css
CHANGED
@@ -1,43 +1,23 @@
|
|
1 |
/* MailChimp for WP - Default Form Styles */
|
2 |
.mc4wp-form {
|
3 |
margin: 1em 0;
|
|
|
|
|
4 |
}
|
5 |
-
|
6 |
-
form.mc4wp-form,
|
7 |
.mc4wp-form form {
|
8 |
width: auto;
|
9 |
}
|
10 |
-
|
11 |
.mc4wp-form label {
|
12 |
display: block;
|
13 |
font-weight: bold;
|
14 |
margin-bottom: 5px;
|
15 |
}
|
16 |
-
|
17 |
-
.mc4wp-form ul,
|
18 |
-
.mc4wp-form li {
|
19 |
-
list-style: none;
|
20 |
-
margin: 0;
|
21 |
-
padding: 0;
|
22 |
-
}
|
23 |
-
|
24 |
-
.mc4wp-form label > span,
|
25 |
-
.mc4wp-form li > label {
|
26 |
-
font-weight: normal;
|
27 |
-
}
|
28 |
-
|
29 |
-
.mc4wp-form p > label:nth-child(2) {
|
30 |
-
margin-top: 10px;
|
31 |
-
}
|
32 |
-
|
33 |
.mc4wp-form input {
|
34 |
vertical-align: baseline;
|
35 |
}
|
36 |
-
|
37 |
.mc4wp-form input.placeholdersjs {
|
38 |
color: #aaa !important;
|
39 |
}
|
40 |
-
|
41 |
.mc4wp-form input[type="text"],
|
42 |
.mc4wp-form input[type="email"],
|
43 |
.mc4wp-form input[type="tel"],
|
@@ -53,7 +33,6 @@ form.mc4wp-form,
|
|
53 |
-webkit-box-sizing: border-box;
|
54 |
-moz-box-sizing: border-box;
|
55 |
}
|
56 |
-
|
57 |
.mc4wp-form input[type="checkbox"],
|
58 |
.mc4wp-form input[type="radio"] {
|
59 |
position: relative;
|
@@ -64,21 +43,31 @@ form.mc4wp-form,
|
|
64 |
display: inline-block;
|
65 |
border: 0;
|
66 |
}
|
67 |
-
|
68 |
.mc4wp-form input[type="checkbox"] {
|
69 |
-webkit-appearance: checkbox;
|
70 |
}
|
71 |
-
|
72 |
.mc4wp-form input[type="radio"] {
|
73 |
-webkit-appearance: radio;
|
74 |
}
|
75 |
-
|
|
|
|
|
76 |
.mc4wp-form input[type="submit"],
|
77 |
.mc4wp-form button,
|
78 |
.mc4wp-form input[type="button"] {
|
79 |
cursor: pointer;
|
80 |
display: inline-block;
|
81 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
.mc4wp-alert {
|
84 |
margin: 1em 0;
|
@@ -183,6 +172,7 @@ form.mc4wp-form,
|
|
183 |
}
|
184 |
|
185 |
.mc4wp-form input[type="submit"],
|
|
|
186 |
.mc4wp-form button {
|
187 |
display: inline-block;
|
188 |
padding: 6px 12px;
|
@@ -210,6 +200,7 @@ form.mc4wp-form,
|
|
210 |
}
|
211 |
|
212 |
.mc4wp-form input[type="submit"]:focus,
|
|
|
213 |
.mc4wp-form button:focus {
|
214 |
outline: thin dotted #333;
|
215 |
outline: 5px auto -webkit-focus-ring-color;
|
@@ -217,8 +208,10 @@ form.mc4wp-form,
|
|
217 |
}
|
218 |
|
219 |
.mc4wp-form input[type="submit"]:hover,
|
|
|
220 |
.mc4wp-form button:hover,
|
221 |
.mc4wp-form input[type="submit"]:focus,
|
|
|
222 |
.mc4wp-form button:focus {
|
223 |
color: #333333;
|
224 |
text-decoration: none;
|
@@ -226,6 +219,7 @@ form.mc4wp-form,
|
|
226 |
}
|
227 |
|
228 |
.mc4wp-form input[type="submit"]:active,
|
|
|
229 |
.mc4wp-form button:active {
|
230 |
background-image: none;
|
231 |
outline: 0;
|
1 |
/* MailChimp for WP - Default Form Styles */
|
2 |
.mc4wp-form {
|
3 |
margin: 1em 0;
|
4 |
+
/* Form Elements */
|
5 |
+
/* Other elements */
|
6 |
}
|
|
|
|
|
7 |
.mc4wp-form form {
|
8 |
width: auto;
|
9 |
}
|
|
|
10 |
.mc4wp-form label {
|
11 |
display: block;
|
12 |
font-weight: bold;
|
13 |
margin-bottom: 5px;
|
14 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
.mc4wp-form input {
|
16 |
vertical-align: baseline;
|
17 |
}
|
|
|
18 |
.mc4wp-form input.placeholdersjs {
|
19 |
color: #aaa !important;
|
20 |
}
|
|
|
21 |
.mc4wp-form input[type="text"],
|
22 |
.mc4wp-form input[type="email"],
|
23 |
.mc4wp-form input[type="tel"],
|
33 |
-webkit-box-sizing: border-box;
|
34 |
-moz-box-sizing: border-box;
|
35 |
}
|
|
|
36 |
.mc4wp-form input[type="checkbox"],
|
37 |
.mc4wp-form input[type="radio"] {
|
38 |
position: relative;
|
43 |
display: inline-block;
|
44 |
border: 0;
|
45 |
}
|
|
|
46 |
.mc4wp-form input[type="checkbox"] {
|
47 |
-webkit-appearance: checkbox;
|
48 |
}
|
|
|
49 |
.mc4wp-form input[type="radio"] {
|
50 |
-webkit-appearance: radio;
|
51 |
}
|
52 |
+
.mc4wp-form input[name="_mc4wp_required_but_not_really"] {
|
53 |
+
display: none !important;
|
54 |
+
}
|
55 |
.mc4wp-form input[type="submit"],
|
56 |
.mc4wp-form button,
|
57 |
.mc4wp-form input[type="button"] {
|
58 |
cursor: pointer;
|
59 |
display: inline-block;
|
60 |
}
|
61 |
+
.mc4wp-form ul,
|
62 |
+
.mc4wp-form li {
|
63 |
+
list-style: none;
|
64 |
+
margin: 0;
|
65 |
+
padding: 0;
|
66 |
+
}
|
67 |
+
.mc4wp-form label > span,
|
68 |
+
.mc4wp-form li > label {
|
69 |
+
font-weight: normal;
|
70 |
+
}
|
71 |
|
72 |
.mc4wp-alert {
|
73 |
margin: 1em 0;
|
172 |
}
|
173 |
|
174 |
.mc4wp-form input[type="submit"],
|
175 |
+
.mc4wp-form input[type="button"],
|
176 |
.mc4wp-form button {
|
177 |
display: inline-block;
|
178 |
padding: 6px 12px;
|
200 |
}
|
201 |
|
202 |
.mc4wp-form input[type="submit"]:focus,
|
203 |
+
.mc4wp-form input[type="button"]:focus,
|
204 |
.mc4wp-form button:focus {
|
205 |
outline: thin dotted #333;
|
206 |
outline: 5px auto -webkit-focus-ring-color;
|
208 |
}
|
209 |
|
210 |
.mc4wp-form input[type="submit"]:hover,
|
211 |
+
.mc4wp-form input[type="button"]:hover,
|
212 |
.mc4wp-form button:hover,
|
213 |
.mc4wp-form input[type="submit"]:focus,
|
214 |
+
.mc4wp-form input[type="button"]:focus,
|
215 |
.mc4wp-form button:focus {
|
216 |
color: #333333;
|
217 |
text-decoration: none;
|
219 |
}
|
220 |
|
221 |
.mc4wp-form input[type="submit"]:active,
|
222 |
+
.mc4wp-form input[type="button"]:active,
|
223 |
.mc4wp-form button:active {
|
224 |
background-image: none;
|
225 |
outline: 0;
|
assets/css/form-theme-light.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-light.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-light.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAGb,gBAAI;EACF,KAAK,EAAE,IAAI;;AAGb,iBAAM;EACJ,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,IAAI;EACjB,aAAa,EAAE,GAAG;;AAGpB,iBAAM;EACJ,cAAc,EAAE,QAAQ;;AAGxB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B;;;;;;kBAMO;EACL,MAAM,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M;EACtB,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,qBAAqB;EAC7B,aAAa,EAAE,GAAG;EAClB,mBAAmB,EAAE,IAAI;EACzB,gBAAgB,EAAE,IAAI;EACtB,eAAe,EAAE,IAAI;EACrB,cAAc,EAAE,IAAI;EACpB,WAAW,EAAE,IAAI;EACjB,UAAU,EAAE,IAAI;EAChB,UAAU,EAAE,IAAI;EAChB,WAAW,EAAE,IAAI;EACjB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;;;AAGb;;wBAEyB;EACvB,OAAO,EAAE,gBAAgB;EACzB,OAAO,EAAE,iCAAiC;EAC1C,cAAc,EAAE,IAAI;;;AAGtB;;;;;wBAKyB;EACvB,KAAK,EAAE,OAAO;EACd,eAAe,EAAE,IAAI;EACtB,UAAU,EAAE,IAAI;;;AAGjB;;yBAE0B;EACxB,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,CAAC;EACV,eAAe,EAAE,oCAAoC;EACrD,kBAAkB,EAAE,oCAAoC;EACxD,UAAU,EAAE,oCAAoC;;;AC1HlD;kBACmB;EACjB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;wBAKyB;EACvB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO",
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-light.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-light.css"
|
assets/css/form-theme-light.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:700}.mc4wp-form
|
1 |
+
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:700}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{cursor:auto;display:block;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type=checkbox],.mc4wp-form input[type=radio]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type=checkbox]{-webkit-appearance:checkbox}.mc4wp-form input[type=radio]{-webkit-appearance:radio}.mc4wp-form input[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form li,.mc4wp-form ul{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.mc4wp-form form,form.mc4wp-form{box-shadow:none!important;-webkit-box-shadow:none;-moz-box-shadow:none;width:auto}.mc4wp-form p{margin:0 0 15px!important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;background-image:none;text-shadow:none}.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[disabled],.mc4wp-form input[readonly]{background-color:#eee}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:0 0;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form button:focus,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=submit]:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=button]:hover,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#333;text-decoration:none;background:0 0}.mc4wp-form button:active,.mc4wp-form input[type=button]:active,.mc4wp-form input[type=submit]:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.mc4wp-form button,.mc4wp-form input[type=submit]{color:#333!important;background-color:#fff!important;border-color:#E6E6E6}.mc4wp-form button:active,.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=submit]:active,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#E6E6E6!important;background-color:#ebebeb!important;border-color:#CCC}
|
assets/css/form-theme-red.css
CHANGED
@@ -1,43 +1,23 @@
|
|
1 |
/* MailChimp for WP - Default Form Styles */
|
2 |
.mc4wp-form {
|
3 |
margin: 1em 0;
|
|
|
|
|
4 |
}
|
5 |
-
|
6 |
-
form.mc4wp-form,
|
7 |
.mc4wp-form form {
|
8 |
width: auto;
|
9 |
}
|
10 |
-
|
11 |
.mc4wp-form label {
|
12 |
display: block;
|
13 |
font-weight: bold;
|
14 |
margin-bottom: 5px;
|
15 |
}
|
16 |
-
|
17 |
-
.mc4wp-form ul,
|
18 |
-
.mc4wp-form li {
|
19 |
-
list-style: none;
|
20 |
-
margin: 0;
|
21 |
-
padding: 0;
|
22 |
-
}
|
23 |
-
|
24 |
-
.mc4wp-form label > span,
|
25 |
-
.mc4wp-form li > label {
|
26 |
-
font-weight: normal;
|
27 |
-
}
|
28 |
-
|
29 |
-
.mc4wp-form p > label:nth-child(2) {
|
30 |
-
margin-top: 10px;
|
31 |
-
}
|
32 |
-
|
33 |
.mc4wp-form input {
|
34 |
vertical-align: baseline;
|
35 |
}
|
36 |
-
|
37 |
.mc4wp-form input.placeholdersjs {
|
38 |
color: #aaa !important;
|
39 |
}
|
40 |
-
|
41 |
.mc4wp-form input[type="text"],
|
42 |
.mc4wp-form input[type="email"],
|
43 |
.mc4wp-form input[type="tel"],
|
@@ -53,7 +33,6 @@ form.mc4wp-form,
|
|
53 |
-webkit-box-sizing: border-box;
|
54 |
-moz-box-sizing: border-box;
|
55 |
}
|
56 |
-
|
57 |
.mc4wp-form input[type="checkbox"],
|
58 |
.mc4wp-form input[type="radio"] {
|
59 |
position: relative;
|
@@ -64,21 +43,31 @@ form.mc4wp-form,
|
|
64 |
display: inline-block;
|
65 |
border: 0;
|
66 |
}
|
67 |
-
|
68 |
.mc4wp-form input[type="checkbox"] {
|
69 |
-webkit-appearance: checkbox;
|
70 |
}
|
71 |
-
|
72 |
.mc4wp-form input[type="radio"] {
|
73 |
-webkit-appearance: radio;
|
74 |
}
|
75 |
-
|
|
|
|
|
76 |
.mc4wp-form input[type="submit"],
|
77 |
.mc4wp-form button,
|
78 |
.mc4wp-form input[type="button"] {
|
79 |
cursor: pointer;
|
80 |
display: inline-block;
|
81 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
.mc4wp-alert {
|
84 |
margin: 1em 0;
|
@@ -183,6 +172,7 @@ form.mc4wp-form,
|
|
183 |
}
|
184 |
|
185 |
.mc4wp-form input[type="submit"],
|
|
|
186 |
.mc4wp-form button {
|
187 |
display: inline-block;
|
188 |
padding: 6px 12px;
|
@@ -210,6 +200,7 @@ form.mc4wp-form,
|
|
210 |
}
|
211 |
|
212 |
.mc4wp-form input[type="submit"]:focus,
|
|
|
213 |
.mc4wp-form button:focus {
|
214 |
outline: thin dotted #333;
|
215 |
outline: 5px auto -webkit-focus-ring-color;
|
@@ -217,8 +208,10 @@ form.mc4wp-form,
|
|
217 |
}
|
218 |
|
219 |
.mc4wp-form input[type="submit"]:hover,
|
|
|
220 |
.mc4wp-form button:hover,
|
221 |
.mc4wp-form input[type="submit"]:focus,
|
|
|
222 |
.mc4wp-form button:focus {
|
223 |
color: #333333;
|
224 |
text-decoration: none;
|
@@ -226,6 +219,7 @@ form.mc4wp-form,
|
|
226 |
}
|
227 |
|
228 |
.mc4wp-form input[type="submit"]:active,
|
|
|
229 |
.mc4wp-form button:active {
|
230 |
background-image: none;
|
231 |
outline: 0;
|
1 |
/* MailChimp for WP - Default Form Styles */
|
2 |
.mc4wp-form {
|
3 |
margin: 1em 0;
|
4 |
+
/* Form Elements */
|
5 |
+
/* Other elements */
|
6 |
}
|
|
|
|
|
7 |
.mc4wp-form form {
|
8 |
width: auto;
|
9 |
}
|
|
|
10 |
.mc4wp-form label {
|
11 |
display: block;
|
12 |
font-weight: bold;
|
13 |
margin-bottom: 5px;
|
14 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
.mc4wp-form input {
|
16 |
vertical-align: baseline;
|
17 |
}
|
|
|
18 |
.mc4wp-form input.placeholdersjs {
|
19 |
color: #aaa !important;
|
20 |
}
|
|
|
21 |
.mc4wp-form input[type="text"],
|
22 |
.mc4wp-form input[type="email"],
|
23 |
.mc4wp-form input[type="tel"],
|
33 |
-webkit-box-sizing: border-box;
|
34 |
-moz-box-sizing: border-box;
|
35 |
}
|
|
|
36 |
.mc4wp-form input[type="checkbox"],
|
37 |
.mc4wp-form input[type="radio"] {
|
38 |
position: relative;
|
43 |
display: inline-block;
|
44 |
border: 0;
|
45 |
}
|
|
|
46 |
.mc4wp-form input[type="checkbox"] {
|
47 |
-webkit-appearance: checkbox;
|
48 |
}
|
|
|
49 |
.mc4wp-form input[type="radio"] {
|
50 |
-webkit-appearance: radio;
|
51 |
}
|
52 |
+
.mc4wp-form input[name="_mc4wp_required_but_not_really"] {
|
53 |
+
display: none !important;
|
54 |
+
}
|
55 |
.mc4wp-form input[type="submit"],
|
56 |
.mc4wp-form button,
|
57 |
.mc4wp-form input[type="button"] {
|
58 |
cursor: pointer;
|
59 |
display: inline-block;
|
60 |
}
|
61 |
+
.mc4wp-form ul,
|
62 |
+
.mc4wp-form li {
|
63 |
+
list-style: none;
|
64 |
+
margin: 0;
|
65 |
+
padding: 0;
|
66 |
+
}
|
67 |
+
.mc4wp-form label > span,
|
68 |
+
.mc4wp-form li > label {
|
69 |
+
font-weight: normal;
|
70 |
+
}
|
71 |
|
72 |
.mc4wp-alert {
|
73 |
margin: 1em 0;
|
172 |
}
|
173 |
|
174 |
.mc4wp-form input[type="submit"],
|
175 |
+
.mc4wp-form input[type="button"],
|
176 |
.mc4wp-form button {
|
177 |
display: inline-block;
|
178 |
padding: 6px 12px;
|
200 |
}
|
201 |
|
202 |
.mc4wp-form input[type="submit"]:focus,
|
203 |
+
.mc4wp-form input[type="button"]:focus,
|
204 |
.mc4wp-form button:focus {
|
205 |
outline: thin dotted #333;
|
206 |
outline: 5px auto -webkit-focus-ring-color;
|
208 |
}
|
209 |
|
210 |
.mc4wp-form input[type="submit"]:hover,
|
211 |
+
.mc4wp-form input[type="button"]:hover,
|
212 |
.mc4wp-form button:hover,
|
213 |
.mc4wp-form input[type="submit"]:focus,
|
214 |
+
.mc4wp-form input[type="button"]:focus,
|
215 |
.mc4wp-form button:focus {
|
216 |
color: #333333;
|
217 |
text-decoration: none;
|
219 |
}
|
220 |
|
221 |
.mc4wp-form input[type="submit"]:active,
|
222 |
+
.mc4wp-form input[type="button"]:active,
|
223 |
.mc4wp-form button:active {
|
224 |
background-image: none;
|
225 |
outline: 0;
|
assets/css/form-theme-red.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-red.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-red.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAGb,gBAAI;EACF,KAAK,EAAE,IAAI;;AAGb,iBAAM;EACJ,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,IAAI;EACjB,aAAa,EAAE,GAAG;;AAGpB,iBAAM;EACJ,cAAc,EAAE,QAAQ;;AAGxB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B;;;;;;kBAMO;EACL,MAAM,EAAE,IAAI;EACZ,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EAC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BAAmB,EAAE,IAAI;EACzB,gBAAgB,EAAE,IAAI;EACtB,eAAe,EAAE,IAAI;EACrB,cAAc,EAAE,IAAI;EACpB,WAAW,EAAE,IAAI;EACjB,UAAU,EAAE,IAAI;EAChB,UAAU,EAAE,IAAI;EAChB,WAAW,EAAE,IAAI;EACjB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;;;AAGb;;wBAEyB;EACvB,OAAO,EAAE,gBAAgB;EACzB,OAAO,EAAE,iCAAiC;EAC1C,cAAc,EAAE,IAAI;;;AAGtB;;;;;wBAKyB;EACvB,KAAK,EAAE,OAAO;EACd,eAAe,EAAE,IAAI;EACtB,UAAU,EAAE,IAAI;;;AAGjB;;yBAE0B;EACxB,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,CAAC;EACV,eAAe,EAAE,oCAAoC;EACrD,kBAAkB,EAAE,oCAAoC;EACxD,UAAU,EAAE,oCAAoC;;;AC1HlD;kBACmB;EACjB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;wBAKyB;EACvB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;;wBAMyB;EACvB,YAAY,EAAE,OAAO",
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-red.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-red.css"
|
assets/css/form-theme-red.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:700}.mc4wp-form
|
1 |
+
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:700}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{cursor:auto;display:block;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type=checkbox],.mc4wp-form input[type=radio]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type=checkbox]{-webkit-appearance:checkbox}.mc4wp-form input[type=radio]{-webkit-appearance:radio}.mc4wp-form input[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form li,.mc4wp-form ul{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.mc4wp-form form,form.mc4wp-form{box-shadow:none!important;-webkit-box-shadow:none;-moz-box-shadow:none;width:auto}.mc4wp-form p{margin:0 0 15px!important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;background-image:none;text-shadow:none}.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[disabled],.mc4wp-form input[readonly]{background-color:#eee}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:0 0;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form button:focus,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=submit]:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=button]:hover,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#333;text-decoration:none;background:0 0}.mc4wp-form button:active,.mc4wp-form input[type=button]:active,.mc4wp-form input[type=submit]:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.mc4wp-form button,.mc4wp-form input[type=submit]{color:#fff!important;background-color:#d9534f!important;border-color:#d43f3a}.mc4wp-form button:active,.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=submit]:active,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#fff!important;background-color:#d2322d!important;border-color:#ac2925}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#d9534f}
|
assets/css/form.css
CHANGED
@@ -1,43 +1,23 @@
|
|
1 |
/* MailChimp for WP - Default Form Styles */
|
2 |
.mc4wp-form {
|
3 |
margin: 1em 0;
|
|
|
|
|
4 |
}
|
5 |
-
|
6 |
-
form.mc4wp-form,
|
7 |
.mc4wp-form form {
|
8 |
width: auto;
|
9 |
}
|
10 |
-
|
11 |
.mc4wp-form label {
|
12 |
display: block;
|
13 |
font-weight: bold;
|
14 |
margin-bottom: 5px;
|
15 |
}
|
16 |
-
|
17 |
-
.mc4wp-form ul,
|
18 |
-
.mc4wp-form li {
|
19 |
-
list-style: none;
|
20 |
-
margin: 0;
|
21 |
-
padding: 0;
|
22 |
-
}
|
23 |
-
|
24 |
-
.mc4wp-form label > span,
|
25 |
-
.mc4wp-form li > label {
|
26 |
-
font-weight: normal;
|
27 |
-
}
|
28 |
-
|
29 |
-
.mc4wp-form p > label:nth-child(2) {
|
30 |
-
margin-top: 10px;
|
31 |
-
}
|
32 |
-
|
33 |
.mc4wp-form input {
|
34 |
vertical-align: baseline;
|
35 |
}
|
36 |
-
|
37 |
.mc4wp-form input.placeholdersjs {
|
38 |
color: #aaa !important;
|
39 |
}
|
40 |
-
|
41 |
.mc4wp-form input[type="text"],
|
42 |
.mc4wp-form input[type="email"],
|
43 |
.mc4wp-form input[type="tel"],
|
@@ -53,7 +33,6 @@ form.mc4wp-form,
|
|
53 |
-webkit-box-sizing: border-box;
|
54 |
-moz-box-sizing: border-box;
|
55 |
}
|
56 |
-
|
57 |
.mc4wp-form input[type="checkbox"],
|
58 |
.mc4wp-form input[type="radio"] {
|
59 |
position: relative;
|
@@ -64,21 +43,31 @@ form.mc4wp-form,
|
|
64 |
display: inline-block;
|
65 |
border: 0;
|
66 |
}
|
67 |
-
|
68 |
.mc4wp-form input[type="checkbox"] {
|
69 |
-webkit-appearance: checkbox;
|
70 |
}
|
71 |
-
|
72 |
.mc4wp-form input[type="radio"] {
|
73 |
-webkit-appearance: radio;
|
74 |
}
|
75 |
-
|
|
|
|
|
76 |
.mc4wp-form input[type="submit"],
|
77 |
.mc4wp-form button,
|
78 |
.mc4wp-form input[type="button"] {
|
79 |
cursor: pointer;
|
80 |
display: inline-block;
|
81 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
.mc4wp-alert {
|
84 |
margin: 1em 0;
|
1 |
/* MailChimp for WP - Default Form Styles */
|
2 |
.mc4wp-form {
|
3 |
margin: 1em 0;
|
4 |
+
/* Form Elements */
|
5 |
+
/* Other elements */
|
6 |
}
|
|
|
|
|
7 |
.mc4wp-form form {
|
8 |
width: auto;
|
9 |
}
|
|
|
10 |
.mc4wp-form label {
|
11 |
display: block;
|
12 |
font-weight: bold;
|
13 |
margin-bottom: 5px;
|
14 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
.mc4wp-form input {
|
16 |
vertical-align: baseline;
|
17 |
}
|
|
|
18 |
.mc4wp-form input.placeholdersjs {
|
19 |
color: #aaa !important;
|
20 |
}
|
|
|
21 |
.mc4wp-form input[type="text"],
|
22 |
.mc4wp-form input[type="email"],
|
23 |
.mc4wp-form input[type="tel"],
|
33 |
-webkit-box-sizing: border-box;
|
34 |
-moz-box-sizing: border-box;
|
35 |
}
|
|
|
36 |
.mc4wp-form input[type="checkbox"],
|
37 |
.mc4wp-form input[type="radio"] {
|
38 |
position: relative;
|
43 |
display: inline-block;
|
44 |
border: 0;
|
45 |
}
|
|
|
46 |
.mc4wp-form input[type="checkbox"] {
|
47 |
-webkit-appearance: checkbox;
|
48 |
}
|
|
|
49 |
.mc4wp-form input[type="radio"] {
|
50 |
-webkit-appearance: radio;
|
51 |
}
|
52 |
+
.mc4wp-form input[name="_mc4wp_required_but_not_really"] {
|
53 |
+
display: none !important;
|
54 |
+
}
|
55 |
.mc4wp-form input[type="submit"],
|
56 |
.mc4wp-form button,
|
57 |
.mc4wp-form input[type="button"] {
|
58 |
cursor: pointer;
|
59 |
display: inline-block;
|
60 |
}
|
61 |
+
.mc4wp-form ul,
|
62 |
+
.mc4wp-form li {
|
63 |
+
list-style: none;
|
64 |
+
margin: 0;
|
65 |
+
padding: 0;
|
66 |
+
}
|
67 |
+
.mc4wp-form label > span,
|
68 |
+
.mc4wp-form li > label {
|
69 |
+
font-weight: normal;
|
70 |
+
}
|
71 |
|
72 |
.mc4wp-alert {
|
73 |
margin: 1em 0;
|
assets/css/form.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK
|
4 |
"sources": ["../sass/partials/_form-reset.scss"],
|
5 |
"names": [],
|
6 |
"file": "form.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAGb,gBAAI;EACF,KAAK,EAAE,IAAI;;AAGb,iBAAM;EACJ,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,IAAI;EACjB,aAAa,EAAE,GAAG;;AAGpB,iBAAM;EACJ,cAAc,EAAE,QAAQ;;AAGxB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B;;;;;;kBAMO;EACL,MAAM,EAAE,IAAI;EACZ,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,UAAU;EACtB,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;;AAG7B;+BACoB;EAClB,QAAQ,EAAE,QAAQ;EAClB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,YAAY;EACrB,MAAM,EAAE,CAAC;;AAGX,kCAAuB;EACrB,kBAAkB,EAAE,QAAQ;;AAG9B,+BAAoB;EAClB,kBAAkB,EAAE,KAAK;;AAG3B,wDAA6C;EAC3C,OAAO,EAAE,eAAe;;AAG1B;;gCAEqB;EACnB,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,YAAY;;AAIvB;cACG;EACD,UAAU,EAAE,IAAI;EAChB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;;AAGZ;sBACW;EACT,WAAW,EAAE,MAAM;;;AAMvB,YAAY;EACV,MAAM,EAAE,KAAK;EACb,OAAO,EAAE,SAAS;EAClB,KAAK,EAAE,OAAO;EACd,gBAAgB,EAAE,OAAO;EACzB,MAAM,EAAE,iBAAiB;EACzB,aAAa,EAAE,GAAG;EAClB,kBAAkB,EAAE,GAAG;EACvB,qBAAqB,EAAE,GAAG;EAC1B,OAAO,EAAE,KAAK;EACd,QAAQ,EAAE,QAAQ;;;AAGpB,cAAe;EACb,KAAK,EAAE,OAAO;EACd,gBAAgB,EAAE,OAAO;EACzB,YAAY,EAAE,OAAO;;;AAGvB,aAAc;EACZ,KAAK,EAAE,OAAO;EACd,gBAAgB,EAAE,OAAO;EACzB,YAAY,EAAE,OAAO;;;AAGvB,YAAa;EACX,KAAK,EAAE,OAAO;EACd,gBAAgB,EAAE,OAAO;EACzB,YAAY,EAAE,OAAO",
|
4 |
"sources": ["../sass/partials/_form-reset.scss"],
|
5 |
"names": [],
|
6 |
"file": "form.css"
|
assets/css/form.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form form
|
1 |
+
.mc4wp-form{margin:1em 0}.mc4wp-form form{width:auto}.mc4wp-form label{display:block;font-weight:700;margin-bottom:5px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type=checkbox],.mc4wp-form input[type=radio]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type=checkbox]{-webkit-appearance:checkbox}.mc4wp-form input[type=radio]{-webkit-appearance:radio}.mc4wp-form input[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{cursor:pointer;display:inline-block}.mc4wp-form li,.mc4wp-form ul{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}
|
assets/css/index.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
<?php
|
2 |
-
if( ! defined(
|
3 |
-
header( 'Status: 403 Forbidden' );
|
4 |
-
header( 'HTTP/1.1 403 Forbidden' );
|
5 |
-
exit;
|
6 |
-
}
|
1 |
+
<?php
|
2 |
+
if( ! defined( 'MC4WP_LITE_VERSION' ) ) {
|
3 |
+
header( 'Status: 403 Forbidden' );
|
4 |
+
header( 'HTTP/1.1 403 Forbidden' );
|
5 |
+
exit;
|
6 |
+
}
|
assets/img/index.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
<?php
|
2 |
-
if( ! defined(
|
3 |
-
header( 'Status: 403 Forbidden' );
|
4 |
-
header( 'HTTP/1.1 403 Forbidden' );
|
5 |
-
exit;
|
6 |
-
}
|
1 |
+
<?php
|
2 |
+
if( ! defined( 'MC4WP_LITE_VERSION' ) ) {
|
3 |
+
header( 'Status: 403 Forbidden' );
|
4 |
+
header( 'HTTP/1.1 403 Forbidden' );
|
5 |
+
exit;
|
6 |
+
}
|
assets/index.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
<?php
|
2 |
-
if( ! defined(
|
3 |
-
header( 'Status: 403 Forbidden' );
|
4 |
-
header( 'HTTP/1.1 403 Forbidden' );
|
5 |
-
exit;
|
6 |
-
}
|
1 |
+
<?php
|
2 |
+
if( ! defined( 'MC4WP_LITE_VERSION' ) ) {
|
3 |
+
header( 'Status: 403 Forbidden' );
|
4 |
+
header( 'HTTP/1.1 403 Forbidden' );
|
5 |
+
exit;
|
6 |
+
}
|
assets/js/admin.js
CHANGED
@@ -1,8 +1,19 @@
|
|
1 |
(function($) {
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
-
|
|
|
|
|
|
|
6 |
|
7 |
// prevent checking of radio buttons
|
8 |
if( typeof this.checked === 'boolean' ) {
|
@@ -13,50 +24,47 @@
|
|
13 |
event.stopPropagation();
|
14 |
}
|
15 |
|
16 |
-
|
17 |
|
18 |
-
|
19 |
-
$context.find('tr#woocommerce-settings').toggle( $(this).prop( 'checked') );
|
20 |
-
});
|
21 |
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
$(".mc4wp-notice.no-lists-selected").toggle( ! hasListSelected );
|
27 |
-
$( document.getElementById( 'mc4wp-fw-fields')).toggle( hasListSelected );
|
28 |
-
$( document.getElementById( 'mc4wp-fw-mailchimp-fields' )).toggle( hasListSelected );
|
29 |
}
|
30 |
-
|
31 |
-
|
32 |
|
|
|
|
|
|
|
|
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
-
|
36 |
-
$(document).delegate('#mc4wpformmarkup', 'keydown', function(e) {
|
37 |
var keyCode = e.keyCode || e.which;
|
38 |
|
39 |
-
if (keyCode
|
40 |
e.preventDefault();
|
41 |
var start = this.selectionStart;
|
42 |
var end = this.selectionEnd;
|
43 |
|
44 |
// set textarea value to: text before caret + tab + text after caret
|
45 |
-
$(this).val($(this).val().substring(0, start)
|
46 |
-
+ "\t"
|
47 |
-
+ $(this).val().substring(end));
|
48 |
|
49 |
// put caret at right position again
|
50 |
-
this.selectionStart =
|
51 |
-
this.selectionEnd = start + 1;
|
52 |
}
|
53 |
-
}
|
54 |
-
|
55 |
-
|
56 |
-
// Add buttons to QTags editor
|
57 |
-
(function() {
|
58 |
|
59 |
-
|
|
|
60 |
return;
|
61 |
}
|
62 |
|
@@ -65,10 +73,31 @@
|
|
65 |
QTags.addButton( 'mc4wp_response', 'form response', '{response}', '', 'response', 'Shows the form response' );
|
66 |
QTags.addButton( 'mc4wp_subscriber_count', '# of subscribers', '{subscriber_count}', '', 'subscribers', 'Shows number of subscribers of selected list(s)' );
|
67 |
|
68 |
-
if( window.mc4wp.hasCaptchaPlugin
|
69 |
QTags.addButton( 'mc4wp_captcha', 'CAPTCHA', '{captcha}', '', 'captcha', 'Display a CAPTCHA field' );
|
70 |
}
|
71 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
|
73 |
|
74 |
/**
|
@@ -94,13 +123,47 @@
|
|
94 |
var fieldType, fieldName;
|
95 |
var $codePreview = $("#mc4wp-fw-preview");
|
96 |
var strings = mc4wp.strings.fieldWizard;
|
|
|
|
|
97 |
// functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
|
99 |
// set the fields the user can choose from
|
100 |
function setMailChimpFields()
|
101 |
{
|
102 |
// empty field select
|
103 |
$mailchimpFields.find('option').not('.default').remove();
|
|
|
|
|
|
|
104 |
|
105 |
// loop through checked lists
|
106 |
$lists.filter(':checked').each(function() {
|
@@ -109,10 +172,15 @@
|
|
109 |
|
110 |
// loop through merge fields from this list
|
111 |
for(var i = 0, fieldCount = list.merge_vars.length; i < fieldCount; i++) {
|
|
|
112 |
var listField = list.merge_vars[i];
|
113 |
|
|
|
|
|
|
|
|
|
114 |
// add field to select if no similar option exists yet
|
115 |
-
if($mailchimpMergeFields.find("option[value='"+ listField.tag +"']").length
|
116 |
|
117 |
var text = (listField.name.length > 25) ? listField.name.substring(0, 25) + '..' : listField.name;
|
118 |
if(listField.req) { text += '*'; }
|
@@ -138,7 +206,7 @@
|
|
138 |
var listGrouping = list.interest_groupings[i];
|
139 |
|
140 |
// add field to select if no similar option exists yet
|
141 |
-
if($mailchimpGroupings.find("option[value='"+ listGrouping.id +"']").length
|
142 |
var text = (listGrouping.name.length > 25) ? listGrouping.name.substring(0, 25) + '..' : listGrouping.name;
|
143 |
|
144 |
// build option HTML
|
@@ -160,6 +228,9 @@
|
|
160 |
|
161 |
|
162 |
});
|
|
|
|
|
|
|
163 |
}
|
164 |
|
165 |
/**
|
@@ -324,13 +395,13 @@
|
|
324 |
'dropdown': 'select', 'date': 'date', 'birthday': 'date', 'radio': 'radio', 'checkbox': 'checkbox'
|
325 |
};
|
326 |
|
327 |
-
if(fieldTypesMap[data.field_type]
|
328 |
fieldType = fieldTypesMap[data.field_type];
|
329 |
} else {
|
330 |
fieldType = 'text';
|
331 |
}
|
332 |
-
|
333 |
-
if(visibleRowsMap[fieldType]
|
334 |
var visibleRows = visibleRowsMap[fieldType];
|
335 |
} else {
|
336 |
var visibleRows = visibleRowsMap["default"];
|
@@ -443,7 +514,7 @@
|
|
443 |
}
|
444 |
|
445 |
// only do this piece when we're not adding radio inputs
|
446 |
-
if(fieldType
|
447 |
|
448 |
// set name attribute
|
449 |
if(fieldName.length > 0) {
|
@@ -452,7 +523,7 @@
|
|
452 |
|
453 |
// set value
|
454 |
if($value.is(":visible") && $value.val().length > 0) {
|
455 |
-
if(fieldType
|
456 |
$input.text($value.val());
|
457 |
} else {
|
458 |
$input.attr('value', $value.val());
|
@@ -482,8 +553,7 @@
|
|
482 |
$code.wrapInner($("<p />"));
|
483 |
}
|
484 |
|
485 |
-
|
486 |
-
setCodePreview(html);
|
487 |
}
|
488 |
|
489 |
/**
|
@@ -494,15 +564,17 @@
|
|
494 |
var result = false;
|
495 |
|
496 |
// try to insert in QuickTags editor at cursor position
|
497 |
-
if(typeof wpActiveEditor
|
498 |
result = QTags.insertContent($codePreview.val());
|
499 |
}
|
500 |
|
501 |
// fallback, just append
|
502 |
if(!result) {
|
503 |
-
|
504 |
-
$formContent.val($formContent.val() + "\n" + $codePreview.val());
|
505 |
}
|
|
|
|
|
|
|
506 |
}
|
507 |
|
508 |
/**
|
@@ -520,6 +592,15 @@
|
|
520 |
$wizardFields.change(updateCodePreview);
|
521 |
$("#mc4wp-fw-add-to-form").click(addCodeToFormMarkup);
|
522 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
523 |
// init
|
524 |
setMailChimpFields();
|
525 |
|
1 |
(function($) {
|
2 |
+
'use strict';
|
3 |
|
4 |
+
/**
|
5 |
+
* Variables
|
6 |
+
*/
|
7 |
+
var $context = $(document.getElementById('mc4wp-admin'));
|
8 |
+
var $listInputs = $(document.getElementById('mc4wp-lists')).find(':input');
|
9 |
+
var $formMarkup = $(document.getElementById('mc4wpformmarkup'));
|
10 |
+
var $missingFieldsNotice = $(document.getElementById('missing-fields-notice'));
|
11 |
+
var $missingFieldsList = $(document.getElementById('missing-fields-list'));
|
12 |
|
13 |
+
/**
|
14 |
+
* Functions
|
15 |
+
*/
|
16 |
+
function showProNotice() {
|
17 |
|
18 |
// prevent checking of radio buttons
|
19 |
if( typeof this.checked === 'boolean' ) {
|
24 |
event.stopPropagation();
|
25 |
}
|
26 |
|
27 |
+
function toggleSendWelcomeFields() {
|
28 |
|
29 |
+
var $el = $(document.getElementById('mc4wp-send-welcome'));
|
|
|
|
|
30 |
|
31 |
+
if($(this).val() == 0) {
|
32 |
+
$el.removeClass('hidden').find(':input').removeAttr('disabled');
|
33 |
+
} else {
|
34 |
+
$el.addClass('hidden').find(':input').attr('disabled', 'disabled').prop('checked', false);
|
|
|
|
|
|
|
35 |
}
|
36 |
+
}
|
|
|
37 |
|
38 |
+
function toggleWooCommerceSettings() {
|
39 |
+
var $el = $(document.getElementById('woocommerce-settings'));
|
40 |
+
$el.toggle( $(this).prop('checked'));
|
41 |
+
}
|
42 |
|
43 |
+
function toggleFieldWizard() {
|
44 |
+
var hasListSelected = $listInputs.filter(':checked').length > 0;
|
45 |
+
$(".mc4wp-notice.no-lists-selected").toggle( ! hasListSelected );
|
46 |
+
$( document.getElementById( 'mc4wp-fw-fields')).toggle( hasListSelected );
|
47 |
+
$( document.getElementById( 'mc4wp-fw-mailchimp-fields' )).toggle( hasListSelected );
|
48 |
+
}
|
49 |
|
50 |
+
function allowTabKey(e) {
|
|
|
51 |
var keyCode = e.keyCode || e.which;
|
52 |
|
53 |
+
if (keyCode === 9) {
|
54 |
e.preventDefault();
|
55 |
var start = this.selectionStart;
|
56 |
var end = this.selectionEnd;
|
57 |
|
58 |
// set textarea value to: text before caret + tab + text after caret
|
59 |
+
$(this).val($(this).val().substring(0, start) + "\t" + $(this).val().substring(end));
|
|
|
|
|
60 |
|
61 |
// put caret at right position again
|
62 |
+
this.selectionStart = this.selectionEnd = start + 1;
|
|
|
63 |
}
|
64 |
+
}
|
|
|
|
|
|
|
|
|
65 |
|
66 |
+
function addQTagsButtons() {
|
67 |
+
if ( typeof(QTags) === 'undefined' ) {
|
68 |
return;
|
69 |
}
|
70 |
|
73 |
QTags.addButton( 'mc4wp_response', 'form response', '{response}', '', 'response', 'Shows the form response' );
|
74 |
QTags.addButton( 'mc4wp_subscriber_count', '# of subscribers', '{subscriber_count}', '', 'subscribers', 'Shows number of subscribers of selected list(s)' );
|
75 |
|
76 |
+
if( window.mc4wp.hasCaptchaPlugin === true ) {
|
77 |
QTags.addButton( 'mc4wp_captcha', 'CAPTCHA', '{captcha}', '', 'captcha', 'Display a CAPTCHA field' );
|
78 |
}
|
79 |
+
}
|
80 |
+
|
81 |
+
/**
|
82 |
+
* Bind Event Handlers
|
83 |
+
*/
|
84 |
+
|
85 |
+
// show a notice when clicking a pro feature
|
86 |
+
$context.find(".pro-feature, .pro-feature label, .pro-feature :radio").click(showProNotice);
|
87 |
+
|
88 |
+
// Show send-welcome field only when double opt-in is disabled
|
89 |
+
$context.find('input[name$="[double_optin]"]').change(toggleSendWelcomeFields);
|
90 |
+
|
91 |
+
// show woocommerce settings only when `show at woocommerce checkout` is checked.
|
92 |
+
$context.find('input[name$="[show_at_woocommerce_checkout]"]').change(toggleWooCommerceSettings());
|
93 |
+
|
94 |
+
// only show fieldwizard when a list is selected
|
95 |
+
$listInputs.change(toggleFieldWizard);
|
96 |
+
|
97 |
+
// Allow tabs inside the form mark-up
|
98 |
+
$(document).delegate('#mc4wpformmarkup', 'keydown', allowTabKey);
|
99 |
+
|
100 |
+
addQTagsButtons();
|
101 |
|
102 |
|
103 |
/**
|
123 |
var fieldType, fieldName;
|
124 |
var $codePreview = $("#mc4wp-fw-preview");
|
125 |
var strings = mc4wp.strings.fieldWizard;
|
126 |
+
var requiredFields = [];
|
127 |
+
|
128 |
// functions
|
129 |
+
function checkRequiredFields() {
|
130 |
+
|
131 |
+
// check presence of reach required field
|
132 |
+
var missingFields = {};
|
133 |
+
for(var i=0; i<requiredFields.length; i++) {
|
134 |
+
var htmlString = 'name="' + requiredFields[i].tag.toLowerCase();
|
135 |
+
if( $formMarkup.val().toLowerCase().indexOf( htmlString ) == -1 ) {
|
136 |
+
missingFields[requiredFields[i].tag] = requiredFields[i];
|
137 |
+
}
|
138 |
+
}
|
139 |
+
|
140 |
+
// do nothing if no fields are missing
|
141 |
+
if($.isEmptyObject(missingFields)) {
|
142 |
+
$missingFieldsNotice.hide();
|
143 |
+
return;
|
144 |
+
}
|
145 |
+
|
146 |
+
// show notice
|
147 |
+
$missingFieldsList.html('');
|
148 |
+
for( var key in missingFields ) {
|
149 |
+
var field = missingFields[key];
|
150 |
+
var $listItem = $("<li></li>");
|
151 |
+
$listItem.html( field.name + " (<code>" + field.tag + "</code>)");
|
152 |
+
$listItem.appendTo( $missingFieldsList );
|
153 |
+
}
|
154 |
+
|
155 |
+
$missingFieldsNotice.show();
|
156 |
+
return;
|
157 |
+
}
|
158 |
|
159 |
// set the fields the user can choose from
|
160 |
function setMailChimpFields()
|
161 |
{
|
162 |
// empty field select
|
163 |
$mailchimpFields.find('option').not('.default').remove();
|
164 |
+
|
165 |
+
// empty required fields array
|
166 |
+
requiredFields = [];
|
167 |
|
168 |
// loop through checked lists
|
169 |
$lists.filter(':checked').each(function() {
|
172 |
|
173 |
// loop through merge fields from this list
|
174 |
for(var i = 0, fieldCount = list.merge_vars.length; i < fieldCount; i++) {
|
175 |
+
|
176 |
var listField = list.merge_vars[i];
|
177 |
|
178 |
+
if( listField.req ) {
|
179 |
+
requiredFields.push( listField );
|
180 |
+
}
|
181 |
+
|
182 |
// add field to select if no similar option exists yet
|
183 |
+
if($mailchimpMergeFields.find("option[value='"+ listField.tag +"']").length === 0) {
|
184 |
|
185 |
var text = (listField.name.length > 25) ? listField.name.substring(0, 25) + '..' : listField.name;
|
186 |
if(listField.req) { text += '*'; }
|
206 |
var listGrouping = list.interest_groupings[i];
|
207 |
|
208 |
// add field to select if no similar option exists yet
|
209 |
+
if($mailchimpGroupings.find("option[value='"+ listGrouping.id +"']").length === 0) {
|
210 |
var text = (listGrouping.name.length > 25) ? listGrouping.name.substring(0, 25) + '..' : listGrouping.name;
|
211 |
|
212 |
// build option HTML
|
228 |
|
229 |
|
230 |
});
|
231 |
+
|
232 |
+
// check required fields with new selected lists
|
233 |
+
checkRequiredFields();
|
234 |
}
|
235 |
|
236 |
/**
|
395 |
'dropdown': 'select', 'date': 'date', 'birthday': 'date', 'radio': 'radio', 'checkbox': 'checkbox'
|
396 |
};
|
397 |
|
398 |
+
if( typeof(fieldTypesMap[data.field_type]) !== "undefined") {
|
399 |
fieldType = fieldTypesMap[data.field_type];
|
400 |
} else {
|
401 |
fieldType = 'text';
|
402 |
}
|
403 |
+
|
404 |
+
if( typeof(visibleRowsMap[fieldType]) !== "undefined") {
|
405 |
var visibleRows = visibleRowsMap[fieldType];
|
406 |
} else {
|
407 |
var visibleRows = visibleRowsMap["default"];
|
514 |
}
|
515 |
|
516 |
// only do this piece when we're not adding radio inputs
|
517 |
+
if(fieldType !== 'radio' && fieldType !== 'checkbox') {
|
518 |
|
519 |
// set name attribute
|
520 |
if(fieldName.length > 0) {
|
523 |
|
524 |
// set value
|
525 |
if($value.is(":visible") && $value.val().length > 0) {
|
526 |
+
if(fieldType === 'textarea') {
|
527 |
$input.text($value.val());
|
528 |
} else {
|
529 |
$input.attr('value', $value.val());
|
553 |
$code.wrapInner($("<p />"));
|
554 |
}
|
555 |
|
556 |
+
setCodePreview($code.html());
|
|
|
557 |
}
|
558 |
|
559 |
/**
|
564 |
var result = false;
|
565 |
|
566 |
// try to insert in QuickTags editor at cursor position
|
567 |
+
if(typeof wpActiveEditor !== 'undefined' && typeof QTags !== 'undefined' && QTags.insertContent) {
|
568 |
result = QTags.insertContent($codePreview.val());
|
569 |
}
|
570 |
|
571 |
// fallback, just append
|
572 |
if(!result) {
|
573 |
+
$formMarkup.val($formMarkup.val() + "\n" + $codePreview.val());
|
|
|
574 |
}
|
575 |
+
|
576 |
+
// trigger change event
|
577 |
+
$formMarkup.change();
|
578 |
}
|
579 |
|
580 |
/**
|
592 |
$wizardFields.change(updateCodePreview);
|
593 |
$("#mc4wp-fw-add-to-form").click(addCodeToFormMarkup);
|
594 |
|
595 |
+
// Validate the form fields after every change
|
596 |
+
$formMarkup.bind({
|
597 |
+
'input': function() {
|
598 |
+
$formMarkup.unbind('keydown');
|
599 |
+
checkRequiredFields.call(this);
|
600 |
+
},
|
601 |
+
'keydown': checkRequiredFields
|
602 |
+
});
|
603 |
+
|
604 |
// init
|
605 |
setMailChimpFields();
|
606 |
|
assets/js/admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(a){function b(){"boolean"==typeof this.checked&&(this.checked=!1),alert(mc4wp.strings.proOnlyNotice),event.stopPropagation()}var
|
1 |
+
!function(a){"use strict";function b(){"boolean"==typeof this.checked&&(this.checked=!1),alert(mc4wp.strings.proOnlyNotice),event.stopPropagation()}function c(){var b=a(document.getElementById("mc4wp-send-welcome"));0==a(this).val()?b.removeClass("hidden").find(":input").removeAttr("disabled"):b.addClass("hidden").find(":input").attr("disabled","disabled").prop("checked",!1)}function d(){var b=a(document.getElementById("woocommerce-settings"));b.toggle(a(this).prop("checked"))}function e(){var b=i.filter(":checked").length>0;a(".mc4wp-notice.no-lists-selected").toggle(!b),a(document.getElementById("mc4wp-fw-fields")).toggle(b),a(document.getElementById("mc4wp-fw-mailchimp-fields")).toggle(b)}function f(b){var c=b.keyCode||b.which;if(9===c){b.preventDefault();var d=this.selectionStart,e=this.selectionEnd;a(this).val(a(this).val().substring(0,d)+" "+a(this).val().substring(e)),this.selectionStart=this.selectionEnd=d+1}}function g(){"undefined"!=typeof QTags&&(QTags.addButton("mc4wp_paragraph","<p>","<p>","</p>","paragraph","Paragraph tag",1),QTags.addButton("mc4wp_label","label","<label>","</label>","label","Label tag",2),QTags.addButton("mc4wp_response","form response","{response}","","response","Shows the form response"),QTags.addButton("mc4wp_subscriber_count","# of subscribers","{subscriber_count}","","subscribers","Shows number of subscribers of selected list(s)"),window.mc4wp.hasCaptchaPlugin===!0&&QTags.addButton("mc4wp_captcha","CAPTCHA","{captcha}","","captcha","Display a CAPTCHA field"))}var h=a(document.getElementById("mc4wp-admin")),i=a(document.getElementById("mc4wp-lists")).find(":input"),j=a(document.getElementById("mc4wpformmarkup")),k=a(document.getElementById("missing-fields-notice")),l=a(document.getElementById("missing-fields-list"));h.find(".pro-feature, .pro-feature label, .pro-feature :radio").click(b),h.find('input[name$="[double_optin]"]').change(c),h.find('input[name$="[show_at_woocommerce_checkout]"]').change(d()),i.change(e),a(document).delegate("#mc4wpformmarkup","keydown",f),g(),function(){function b(){for(var b={},c=0;c<G.length;c++){var d='name="'+G[c].tag.toLowerCase();-1==j.val().toLowerCase().indexOf(d)&&(b[G[c].tag]=G[c])}if(a.isEmptyObject(b))return void k.hide();l.html("");for(var e in b){var f=b[e],g=a("<li></li>");g.html(f.name+" (<code>"+f.tag+"</code>)"),g.appendTo(l)}k.show()}function c(){t.find("option").not(".default").remove(),G=[],s.filter(":checked").each(function(){for(var b=a(this).val(),c=mc4wp.mailchimpLists[b],d=0,e=c.merge_vars.length;e>d;d++){var f=c.merge_vars[d];if(f.req&&G.push(f),0===u.find("option[value='"+f.tag+"']").length){var g=f.name.length>25?f.name.substring(0,25)+"..":f.name;f.req&&(g+="*");var h=a("<option />").text(g).val(f.tag).data("list-field",f);d>3&&h.text(F.proOnly+" "+g).attr("disabled","disabled").data("field",null),u.append(h)}}for(var d=0,i=c.interest_groupings.length;i>d;d++){var j=c.interest_groupings[d];if(0===v.find("option[value='"+j.id+"']").length){var g=j.name.length>25?j.name.substring(0,25)+"..":j.name,h=a("<option />").text(g).val(j.id).data("list-grouping",j);d>=1&&h.text(F.proOnly+" "+g).attr("disabled","disabled").data("list-grouping",null),v.append(h)}}}),b()}function d(){e();var b=a(this).find(":selected");switch(b.val()){case"submit":q="submit",y.text(F.buttonText),x.val(F.subscribe),w.find("p.row").filter(".value, .wrap-p").show();break;case"lists":q="lists",w.find(".wrap-p").show();break;default:var c=b.data("list-field");if(c)return i(c);var c=b.data("list-grouping");if(c)return g(c)}n()}function e(){w.find(".row :input").each(function(){a(this).is(":checkbox")?this.checked=!0:this.value=""}),w.find("p.row").hide(),z.find(":input").remove(),w.show(),q="text",r="",y.html(F.initialValue+" <small>"+F.optional+"</small>")}function f(b){for(var c=0,d=b.length;d>c;c++)a("<input />").attr("type","text").addClass("widefat").data("value",b[c].name).attr("placeholder",F.labelFor+' "'+b[c].name+'" '+F.orLeaveEmpty).attr("value",b[c].name).appendTo(z)}function g(a){switch(w.find("p.row").filter(".values, .label, .wrap-p").show(),A.val(a.name+":"),r="GROUPINGS["+a.id+"]",f(a.groups),a.form_field){case"radio":q="radio";break;case"hidden":w.find("p.row").filter(".values, .label, .wrap-p").hide(),w.find("p.row.value").show();for(var b=0,c=a.groups.length;c>b;b++)x.val(x.val()+a.groups[b].name+",");q="hidden";break;case"dropdown":q="select";break;default:q="checkbox",r+="[]"}n()}function h(){var b="";return s.each(function(){var c=a(this).val(),d=a(this).parent("label").text(),e="";a(this).is(":checked")&&(e+="checked "),b+="<label>\n",b+=' <input type="checkbox" name="_mc4wp_lists[]" value="'+c+'" '+e+" /> "+d+"\n",b+="</label>\n"}),b}function i(b){var c={"default":["label","value","placeholder","required","wrap-p"],select:["label","required","wrap-p","values"],radio:["label","required","wrap-p","values"],date:["label","required","wrap-p","value"]},d={text:"text",email:"email",phone:"tel",address:"text",number:"number",dropdown:"select",date:"date",birthday:"date",radio:"radio",checkbox:"checkbox"};if(q="undefined"!=typeof d[b.field_type]?d[b.field_type]:"text","undefined"!=typeof c[q])var e=c[q];else var e=c["default"];for(var f=0;f<e.length;f++)w.find("p.row."+e[f]).show();if(q=q,r=b.tag,B.val("Your "+b.name.toLowerCase()),A.val(b.name+":"),C.attr("checked",b.req),z.is(":visible")&&b.choices)for(var f=0;f<b.choices.length;f++)a("<input />").attr("type","text").addClass("widefat").data("value",b.choices[f]).attr("placeholder",F.labelFor+' "'+b.choices[f]+'" '+F.orLeaveEmpty).attr("value",b.choices[f]).appendTo(z);n()}function m(a){a=html_beautify(a),E.val(a)}function n(){var b,c=a("<div></div>");switch(q){case"lists":var d=h();return p()&&(d="<p>"+d+"</p>"),m(d);case"select":b=a("<select />"),z.find(":input").each(function(){a(this).val().length>0&&a("<option />").val(a(this).data("value")).text(a(this).val()).appendTo(b)});break;case"radio":case"checkbox":z.find(":input").each(function(){a(this).val().length>0&&(b=a("<input />").attr("type",q).attr("name",r).val(a(this).data("value")),C.is(":visible:checked")&&b.attr("required",!0),c.append(b),b.wrap("<label />"),a("<span />").text(a(this).val()+" ").insertAfter(b))});break;case"textarea":b=a("<textarea />");break;default:b=a("<input />").attr("type",q)}"radio"!==q&&"checkbox"!==q&&(r.length>0&&b.attr("name",r),x.is(":visible")&&x.val().length>0&&("textarea"===q?b.text(x.val()):b.attr("value",x.val())),B.is(":visible")&&B.val().length>0&&b.attr("placeholder",B.val()),C.is(":visible:checked")&&b.attr("required",!0),c.append(b)),A.is(":visible")&&A.val().length>0&&a("<label />").text(A.val()).prependTo(c),p()&&c.wrapInner(a("<p />")),m(c.html())}function o(){var a=!1;"undefined"!=typeof wpActiveEditor&&"undefined"!=typeof QTags&&QTags.insertContent&&(a=QTags.insertContent(E.val())),a||j.val(j.val()+"\n"+E.val()),j.change()}function p(){return D.is(":visible:checked")?!0:!1}var q,r,s=a("#mc4wp-lists :input"),t=a("#mc4wp-fw-mailchimp-fields"),u=t.find(".merge-fields"),v=t.find(".groupings"),w=a("#mc4wp-fw-fields"),x=a("#mc4wp-fw-value"),y=a("#mc4wp-fw-value-label"),z=a("#mc4wp-fw-values"),A=a("#mc4wp-fw-label"),B=a("#mc4wp-fw-placeholder"),C=a("#mc4wp-fw-required"),D=a("#mc4wp-fw-wrap-p"),E=a("#mc4wp-fw-preview"),F=mc4wp.strings.fieldWizard,G=[];s.change(c),t.change(d),w.change(n),a("#mc4wp-fw-add-to-form").click(o),j.bind({input:function(){j.unbind("keydown"),b.call(this)},keydown:b}),c()}()}(jQuery);
|
assets/js/form-request.js
CHANGED
@@ -1,57 +1,79 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
var formElement;
|
4 |
|
5 |
/**
|
6 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
*/
|
8 |
-
function
|
9 |
-
addEvent( window, 'load', act );
|
10 |
-
}
|
11 |
|
12 |
-
|
|
|
13 |
|
14 |
-
//
|
15 |
-
|
16 |
-
if( ! formElement ) {
|
17 |
-
return;
|
18 |
-
}
|
19 |
|
20 |
-
|
21 |
-
// only populate fields on error
|
22 |
-
if( mc4wpFormRequestData.success == false ) {
|
23 |
-
populateFields( formElement, mc4wpFormRequestData.postData );
|
24 |
-
}
|
25 |
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
var windowHeight = window.innerHeight;
|
30 |
|
31 |
-
|
32 |
-
do {
|
33 |
-
scrollToHeight += obj.offsetTop;
|
34 |
-
} while (obj = obj.offsetParent);
|
35 |
-
} else {
|
36 |
-
scrollToHeight = formElement.offsetTop;
|
37 |
}
|
38 |
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
//
|
44 |
-
|
45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
53 |
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
/**
|
57 |
* Adds a browser event, IE compatible.
|
@@ -118,6 +140,7 @@ window.mc4wpFormRequest = (function() {
|
|
118 |
case 'email':
|
119 |
case 'date':
|
120 |
case 'tel':
|
|
|
121 |
element.value = value;
|
122 |
|
123 |
// remove IE placeholder fallback class
|
@@ -171,11 +194,4 @@ window.mc4wpFormRequest = (function() {
|
|
171 |
|
172 |
}
|
173 |
|
174 |
-
|
175 |
-
init: function() {
|
176 |
-
init();
|
177 |
-
}
|
178 |
-
}
|
179 |
-
|
180 |
-
})();
|
181 |
-
mc4wpFormRequest.init();
|
1 |
+
(function() {
|
|
|
|
|
2 |
|
3 |
/**
|
4 |
+
* A formrequest. Should be passed an array of data in the following format.
|
5 |
+
*
|
6 |
+
* {
|
7 |
+
* formId: 0,
|
8 |
+
* success: 1,
|
9 |
+
* data: {}
|
10 |
+
* }
|
11 |
+
*
|
12 |
+
* @param request
|
13 |
*/
|
14 |
+
var formRequest = function( request ) {
|
|
|
|
|
15 |
|
16 |
+
// vars
|
17 |
+
var self = this;
|
18 |
|
19 |
+
// Functions
|
20 |
+
function init() {
|
|
|
|
|
|
|
21 |
|
22 |
+
self.element = document.getElementById('mc4wp-form-' + request.formId );
|
|
|
|
|
|
|
|
|
23 |
|
24 |
+
if( request.success != 1 ) {
|
25 |
+
self.repopulate();
|
26 |
+
}
|
|
|
27 |
|
28 |
+
self.scrollTo();
|
|
|
|
|
|
|
|
|
|
|
29 |
}
|
30 |
|
31 |
+
/**
|
32 |
+
* Scrolls to the form element
|
33 |
+
*/
|
34 |
+
this.scrollTo = function() {
|
35 |
+
// Scroll to form element
|
36 |
+
var formElement = self.element;
|
37 |
+
var scrollToHeight = 0;
|
38 |
+
var obj = formElement;
|
39 |
+
var windowHeight = window.innerHeight;
|
40 |
+
|
41 |
+
if (obj.offsetParent) {
|
42 |
+
do {
|
43 |
+
scrollToHeight += obj.offsetTop;
|
44 |
+
} while (obj = obj.offsetParent);
|
45 |
+
} else {
|
46 |
+
scrollToHeight = formElement.offsetTop;
|
47 |
+
}
|
48 |
|
49 |
+
if((windowHeight - 80) > formElement.clientHeight) {
|
50 |
+
// vertically center the form, but only if there's enough space for a decent margin
|
51 |
+
scrollToHeight = scrollToHeight - ((windowHeight - formElement.clientHeight) / 2);
|
52 |
+
} else {
|
53 |
+
// the form doesn't fit, scroll a little above the form
|
54 |
+
scrollToHeight = scrollToHeight - 80;
|
55 |
+
}
|
56 |
|
57 |
+
// scroll there. if jQuery is loaded, do it with an animation.
|
58 |
+
if(window.jQuery !== undefined) {
|
59 |
+
jQuery('html, body').animate({ scrollTop: scrollToHeight }, 800);
|
60 |
+
} else {
|
61 |
+
window.scrollTo(0, scrollToHeight);
|
62 |
+
}
|
63 |
+
};
|
64 |
+
|
65 |
+
/**
|
66 |
+
* Repopulates the form fields
|
67 |
+
*/
|
68 |
+
this.repopulate = function() {
|
<