Contact Form 7 Style - Version 3.1.2

Version Description

  • Small Fix de-activated the possibility to drag boxes around
  • Small Fix added possibility to add transparent background
  • Small Fix added new Force CSS settings possibility to plugin
  • Small Fix customized styling to remove this issue
  • Small Fix added possibility to add 0 padding / 0 margin
  • [Small Improvement] Possible to add negative margins on custom templates
  • [Small Improvement] Possible to add decimal values for "%" and "em" units
  • [Small Improvement] Added tooltip on settings page for better understanding
  • general bugfixing
  • user interface improvements
Download this release

Release Info

Developer mlehelsz
Plugin Icon 128x128 Contact Form 7 Style
Version 3.1.2
Comparing to
See all releases

Code changes from version 3.1.1 to 3.1.2

admin/css/admin.css CHANGED
@@ -1 +1 @@
1
- .clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.hidden,.panel .hidden{display:none}.menu-icon-cf7_style .dashicons-twitter{position:relative}.post-type-cf7_style .wp-list-table td{position:relative;overflow:visible}.post-type-cf7_style #preview-style{width:200px}#cf7_style_meta_box_image img{max-width:100%}.post-type-cf7_style .preview-style{text-align:center}.post-type-cf7_style .thumb-preview{width:50px;display:inline-block}.post-type-cf7_style .thumb-preview:hover .previewed-img{opacity:1;visibility:visible}.post-type-cf7_style .thumb-preview img{width:100%;border:1px solid #e1e1e1;padding:5px}.type-cf7_style .taxonomy-style_category{text-transform:capitalize}.post-type-cf7_style .previewed-img{opacity:0;visibility:hidden;position:absolute;z-index:100;top:-70px;left:0;width:202px;height:auto;border:1px solid #e1e1e1;padding:5px;background-color:#fff;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.cf7-style-slider-wrap .overlay,.cf7slider li{-webkit-transition:.1s ease-in .1s;-moz-transition:.1s ease-in .1s;-o-transition:.1s ease-in .1s}.post-type-cf7_style .previewed-img img{padding:0;border:none}.post-type-cf7_style select[name=cf7_style_font_selector]{float:left;margin-right:10px;width:25%;margin-bottom:15px}.cf7-style.preview-zone{border:1px solid #e5e5e5;padding:8px 4px;width:70%;float:left}.cf7-style.preview-zone h4{margin:5px 0 10px}.cf7-style.preview-zone p{font-size:14px}.menu-icon-cf7_style .dashicons-twitter:after{color:#000;content:".";font-size:10px;left:20px;position:absolute;top:0}.wp-admin .widefat .different-style input{margin:0 10px 0 0;height:21px}.general-settings{float:left;width:32%;margin-right:2%;margin-bottom:10px}.general-settings.full-width{margin-right:0;width:99%;border:1px solid #ddd;padding:5px;-moz-border-size:border-box;-webkit-border-size:border-box;border-size:border-box}.general-settings:nth-of-type(2n+3){margin-right:0}.general-settings h3{text-transform:uppercase}.general-settings:after{clear:both}.general-settings label{line-height:26px}.general-settings label strong{display:block;margin-right:10px}.general-settings label input{margin-right:5px}.general-settings small{display:block;color:#999;margin-top:5px;line-height:12px}.general-settings .element{width:100%;border:1px solid #ddd;padding:10px;box-sizing:border-box;margin-bottom:10px}.general-settings .element table{width:100%}.general-settings .element td{width:50%}.CodeMirror{background:#f8f8ff}@media screen and (max-width:1332px){.general-settings{width:47%}.general-settings.full-width{width:99%;margin-right:0}}@media screen and (max-width:1100px){.general-settings{width:99%;margin-right:0}}.cf7-style-slider,.cf7-style-slider-wrap img{position:relative;margin:0 auto;display:block}.close-cf7-panel{float:right}.cf7style-welcome-panel img{max-width:160px;height:auto}.cf7-style-slider{width:202px;height:300px}.cf7-style-slider-wrap{width:202px;overflow:hidden}.cf7-style-slider-wrap img{width:198px;z-index:1}.cf7-style-slider-wrap .overlay{width:100%;height:100%;position:absolute;display:block;background:rgba(192,192,192,.4);z-index:2;text-align:center;transition:.1s ease-in .1s}.cf7-style-slider-wrap .overlay em{color:#fff;line-height:200px;font-size:20px;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);filter:progid: DXImageTransform.Microsoft.BasicImage(rotation=2);position:relative;display:block;font-weight:700}.cf7slider li{display:block;float:left;width:202px;cursor:pointer;transition:.1s ease-in .1s}.cf7slider li:hover>span em,input.cf7style_template{display:none}.cf7-style-slider .current-saved span,.cf7-style-slider span{width:100%;height:100%;position:relative;padding-top:2px;padding-bottom:2px}.cf7slider li:hover>span .overlay{background:0 0}.cf7slider li:hover>span .overlay em{color:#000}.cf7-style-slider .current-saved span .overlay{background:rgba(255,0,0,.1)}.cf7-style-slider .current-saved span{display:block;background:rgba(255,0,0,.5)}.cf7-style-slider span{background:silver;display:block}.cf7arrows a{position:absolute;display:block;width:90px;height:90px;background-repeat:no-repeat;top:50px;color:transparent;opacity:.7;-webkit-transition:.1s ease-in .1s;-moz-transition:.1s ease-in .1s;-o-transition:.1s ease-in .1s;transition:.1s ease-in .1s;outline:0;background-size:100% auto}.generate-preview,.panel-options{display:block;position:relative}.cf7arrows a:hover{opacity:1}.cf7arrows a.left{left:-145px;background-image:url(../images/left.png)}.cf7arrows a.right{right:-145px;background-image:url(../images/right.png)}.panel-options{width:60%;min-height:685px;float:right}.panel-options .decision,.panel-options .loading{position:absolute;background-color:transparent;width:100%;height:100%;top:0;left:0;display:flex;justify-content:center;align-items:center}.panel-options .decision{background-color:#f2f2f2;top:53px;height:182px}.panel-options .decision.hidden,.panel-options .loading.hidden{display:none}.wp-admin .panel-options .cancel-btn,.wp-admin .panel-options .save-btn{background-color:#e74c3c;height:40px;padding:0 25px;font-weight:400;margin-right:10px;font-size:16px;border:none;text-shadow:none;box-shadow:none}.wp-admin .panel-options .cancel-btn{background-color:#fff;color:#222;line-height:40px}.wp-admin .panel-options .save-btn{border:1px solid #e74c3c}.wp-admin .panel-options .save-btn:hover{color:#e74c3c;background-color:#fff}.panel-header{padding-right:12px;position:relative;width:40%;float:left;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:5}.generate-preview:after,.panel-header:after{display:block;content:"";clear:both}.panel li,.panel-header select,.preview-form-tag{display:inline-block;vertical-align:top}.preview-form-tag{width:100%;box-sizing:border-box;height:630px}#form-tag,.preview-form-tag{background:#f2f2f2;overflow-x:auto;padding:10px}.element-selector{background:#f2f2f2;margin-bottom:7px;margin-top:3px;padding-left:11px;padding-top:7px}#form-tag h4,.element-selector h4{margin-top:0;margin-bottom:12px}.element-selector label{display:block;margin-bottom:10px;width:50%;float:left}#form-tag a{margin-right:5px;border-radius:0;box-shadow:none;background-color:#fff;margin-bottom:5px}#form-tag a:hover{background-color:#E74C3C;color:#FFF;border:1px solid #E74C3C}#advanced-sortables .generate-preview-button,#form-tag a.button-primary,.wp-core-ui .fixed-save-style input.button{background-color:#E74C3C;-webkit-box-shadow:none;box-shadow:none;border:1px solid #E74C3C;border-radius:0;text-shadow:none}#advanced-sortables .generate-preview-button:hover,#advanced-sortables .generate-preview-button[disabled],#form-tag a.button-primary:hover,.wp-core-ui .fixed-save-style input.button:hover{background-color:#fff!important;color:#E74C3C!important;border:1px solid #E74C3C!important}.wp-core-ui .fixed-save-style input.button,.wp-core-ui .fixed-save-style input.button:hover{border-left:none;border-right:none;border-radius:0}#cf7_style_meta_box_font_selector,#cf7_style_meta_box_form_selector{display:inline-block;width:49.5%}.post-type-cf7_style #normal-sortables{display:none}.preview-form-container>h4{text-align:center;margin-top:0}.element-styling{float:left;padding:0 10px;width:100%;border-bottom:1px solid #CCC;box-sizing:border-box}.element-styling.half-size{width:50%}.element-styling label{display:inline-block;position:relative;margin-right:5px}.element-styling label select{width:123px}.element-styling label select[name*=unit]{width:46px;margin-left:3px}.element-styling input[type=number]{height:28px;position:relative;top:2px;width:60px}.wp-picker-container{position:relative;top:10px}.element-styling.background li,.element-styling.font li{width:50%}.element-styling label strong{margin-right:3px;font-weight:400;display:inline-block;min-width:153px}.choose-preview{background-color:#f2f2f2;padding:10px;margin-bottom:3px}.choose-preview h4{margin:0 0 10px}.element-styling.background label,.element-styling.font label{margin-right:0}.element-styling h3{font-size:13px;margin-bottom:10px}.element-styling h3 span{color:#E74C3C;opacity:1}.panel li{width:100%;margin-bottom:10px}.cf7style-status-form,.parser-message{margin-bottom:20px}.fixed-save-style{position:fixed;width:100%;left:0;bottom:0;z-index:9999;text-align:center;display:none}.wp-core-ui .fixed-save-style input.button{width:100%;height:40px;line-height:40px;font-size:18px}.remove_template_notice{float:right}@media all and (max-width:1600px){.element-styling.half-size,.panel-header,.panel-options{width:100%}}.element-styling .icon{display:inline-block;height:26px;border:1px solid #CCC;padding:0 7px;background-color:#f2f2f2;position:relative;top:2px;font-size:13px;line-height:26px;margin-right:-2px}.cf7style-status-table,.generate-preview-option,.multiple-form-generated-preview,.wp-core-ui .button-primary.generate-preview-button{display:none}.element-styling .icon.smaller{height:23px;line-height:23px;top:1px;font-size:13px}.description-title{padding-left:10px}.parser-message{color:red}.cf7style-welcome-panel{background-color:#fff;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);width:100%;padding:10px}.cf7style-input{width:250px}.wp-core-ui .button-primary.cf7style-status-submit,.wp-core-ui .button.cf7style-status-info,.wp-core-ui input:focus,.wp-core-ui input[disabled]{display:inline-block}.wp-core-ui .button.cf7style-status-info{margin-right:10px}span.wpcf7-not-valid-tip{color:red;font-size:1em;display:block}.wpcf7-validation-errors{background:0 0;padding:15px;margin:2em .5em 1em;color:red;border:2px solid red}.wpcf7-response-output.wpcf7-mail-sent-ok{background:0 0;color:green;border:2px solid green;padding:15px;margin:2em .5em 1em}
1
+ .clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.hidden,.panel .hidden{display:none}.menu-icon-cf7_style .dashicons-twitter{position:relative}.post-type-cf7_style .wp-list-table td{position:relative;overflow:visible}.post-type-cf7_style #preview-style{width:200px}#cf7_style_meta_box_image img{max-width:100%}.post-type-cf7_style .preview-style{text-align:center}.post-type-cf7_style .thumb-preview{width:50px;display:inline-block}.post-type-cf7_style .thumb-preview:hover .previewed-img{opacity:1;visibility:visible}.post-type-cf7_style .thumb-preview img{width:100%;border:1px solid #e1e1e1;padding:5px}.type-cf7_style .taxonomy-style_category{text-transform:capitalize}.post-type-cf7_style .previewed-img{opacity:0;visibility:hidden;position:absolute;z-index:100;top:-70px;left:0;width:202px;height:auto;border:1px solid #e1e1e1;padding:5px;background-color:#fff;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.cf7-style-slider-wrap .overlay,.cf7slider li{-webkit-transition:.1s ease-in .1s;-moz-transition:.1s ease-in .1s;-o-transition:.1s ease-in .1s}.post-type-cf7_style .previewed-img img{padding:0;border:none}.post-type-cf7_style select[name=cf7_style_font_selector]{float:left;margin-right:10px;width:25%;margin-bottom:15px}.cf7-style.preview-zone{border:1px solid #e5e5e5;padding:8px 4px;width:70%;float:left}.cf7-style.preview-zone h4{margin:5px 0 10px}.cf7-style.preview-zone p{font-size:14px}.menu-icon-cf7_style .dashicons-twitter:after{color:#000;content:".";font-size:10px;left:20px;position:absolute;top:0}.wp-admin .widefat .different-style input{margin:0 10px 0 0;height:21px}.general-settings{float:left;width:32%;margin-right:2%;margin-bottom:10px}.general-settings.full-width{margin-right:0;width:99%;border:1px solid #ddd;padding:5px;-moz-border-size:border-box;-webkit-border-size:border-box;border-size:border-box}.general-settings:nth-of-type(2n+3){margin-right:0}.general-settings h3{text-transform:uppercase}.general-settings:after{clear:both}.general-settings label{line-height:26px}.general-settings label strong{display:block;margin-right:10px}.general-settings label input{margin-right:5px}.general-settings small{display:block;color:#999;margin-top:5px;line-height:12px}.general-settings .element{width:100%;border:1px solid #ddd;padding:10px;box-sizing:border-box;margin-bottom:10px}.general-settings .element table{width:100%}.general-settings .element td{width:50%}.CodeMirror{background:#f8f8ff}.cf7-style-slider,.cf7-style-slider-wrap img{position:relative;margin:0 auto;display:block}.close-cf7-panel{float:right}.cf7style-welcome-panel img{max-width:160px;height:auto}.cf7-style-slider{width:202px;height:300px}.cf7-style-slider-wrap{width:202px;overflow:hidden}.cf7-style-slider-wrap img{width:198px;z-index:1}.cf7-style-slider-wrap .overlay{width:100%;height:100%;position:absolute;display:block;background:rgba(192,192,192,.4);z-index:2;text-align:center;transition:.1s ease-in .1s}.cf7-style-slider-wrap .overlay em{color:#fff;line-height:200px;font-size:20px;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);position:relative;display:block;font-weight:700}.cf7slider li{display:block;float:left;width:202px;cursor:pointer;transition:.1s ease-in .1s}.cf7slider li:hover>span em,input.cf7style_template{display:none}.cf7-style-slider .current-saved span,.cf7-style-slider span{width:100%;height:100%;position:relative;padding-top:2px;padding-bottom:2px}.cf7slider li:hover>span .overlay{background:0 0}.cf7slider li:hover>span .overlay em{color:#000}.cf7-style-slider .current-saved span .overlay{background:rgba(255,0,0,.1)}.cf7-style-slider .current-saved span{display:block;background:rgba(255,0,0,.5)}.cf7-style-slider span{background:silver;display:block}.cf7arrows a{position:absolute;display:block;width:90px;height:90px;background-repeat:no-repeat;top:50px;color:transparent;opacity:.7;-webkit-transition:.1s ease-in .1s;-moz-transition:.1s ease-in .1s;-o-transition:.1s ease-in .1s;transition:.1s ease-in .1s;outline:0;background-size:100% auto}.generate-preview,.panel-options{display:block;position:relative}.cf7arrows a:hover{opacity:1}.cf7arrows a.left{left:-145px;background-image:url(../images/left.png)}.cf7arrows a.right{right:-145px;background-image:url(../images/right.png)}.panel-options{width:60%;min-height:685px;float:right}.panel-options .decision,.panel-options .loading{position:absolute;background-color:transparent;width:100%;height:100%;top:0;left:0;display:flex;justify-content:center;align-items:center}.panel-options .decision{background-color:#f2f2f2;top:53px;height:182px}.panel-options .decision.hidden,.panel-options .loading.hidden{display:none}.wp-admin .panel-options .cancel-btn,.wp-admin .panel-options .save-btn{background-color:#e74c3c;height:40px;padding:0 25px;font-weight:400;margin-right:10px;font-size:16px;border:none;text-shadow:none;box-shadow:none}.wp-admin .panel-options .cancel-btn{background-color:#fff;color:#222;line-height:40px}.wp-admin .panel-options .save-btn{border:1px solid #e74c3c}.wp-admin .panel-options .save-btn:hover{color:#e74c3c;background-color:#fff}.panel-header{padding-right:12px;position:relative;width:40%;float:left;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:5}.generate-preview:after,.panel-header:after{display:block;content:"";clear:both}.panel li,.panel-header select,.preview-form-tag{display:inline-block;vertical-align:top}.preview-form-tag{width:100%;box-sizing:border-box;height:630px}#form-tag,.preview-form-tag{background:#f2f2f2;overflow-x:auto;padding:10px}.element-selector{background:#f2f2f2;margin-bottom:7px;margin-top:3px;padding-left:11px;padding-top:7px}#form-tag h4,.element-selector h4{margin-top:0;margin-bottom:12px}.element-selector label{display:block;margin-bottom:10px;width:50%;float:left}#form-tag a{margin-right:5px;border-radius:0;box-shadow:none;background-color:#fff;margin-bottom:5px}#form-tag a:hover{background-color:#E74C3C;color:#FFF;border:1px solid #E74C3C}#advanced-sortables .generate-preview-button,#form-tag a.button-primary,.wp-core-ui .fixed-save-style input.button{background-color:#E74C3C;-webkit-box-shadow:none;box-shadow:none;border:1px solid #E74C3C;border-radius:0;text-shadow:none}#advanced-sortables .generate-preview-button:hover,#advanced-sortables .generate-preview-button[disabled],#form-tag a.button-primary:hover,.wp-core-ui .fixed-save-style input.button:hover{background-color:#fff!important;color:#E74C3C!important;border:1px solid #E74C3C!important}.wp-core-ui .fixed-save-style input.button,.wp-core-ui .fixed-save-style input.button:hover{border-left:none;border-right:none;border-radius:0}#cf7_style_meta_box_font_selector,#cf7_style_meta_box_form_selector{display:inline-block;width:49.5%}.post-type-cf7_style #normal-sortables{display:none}.preview-form-container>h4{text-align:center;margin-top:0}.element-styling{float:left;padding:0 10px;width:100%;border-bottom:1px solid #CCC;box-sizing:border-box}.element-styling.half-size{width:50%}.element-styling label{display:inline-block;position:relative;margin-right:5px}.element-styling label select{width:123px}.element-styling label select[name*=unit]{width:46px;margin-left:3px}.element-styling input[type=number]{height:28px;position:relative;top:2px;width:60px}.wp-picker-container{position:relative;top:10px}.element-styling.background li,.element-styling.font li{width:50%}.element-styling label strong{margin-right:3px;font-weight:400;display:inline-block;min-width:153px}.choose-preview{background-color:#f2f2f2;padding:10px;margin-bottom:3px}.choose-preview h4{margin:0 0 10px}.element-styling.background label,.element-styling.font label{margin-right:0}.element-styling h3{font-size:13px;margin-bottom:10px}.element-styling h3 span{color:#E74C3C;opacity:1}.panel li{width:100%;margin-bottom:10px}.cf7style-status-form,.parser-message{margin-bottom:20px}.fixed-save-style{position:fixed;width:100%;left:0;bottom:0;z-index:9999;text-align:center;display:none}.wp-core-ui .fixed-save-style input.button{width:100%;height:40px;line-height:40px;font-size:18px}.remove_template_notice{float:right}.element-styling .icon{display:inline-block;height:26px;border:1px solid #CCC;padding:0 7px;background-color:#f2f2f2;position:relative;top:2px;font-size:13px;line-height:26px;margin-right:-2px}.cf7style-status-table,.generate-preview-option,.multiple-form-generated-preview,.wp-core-ui .button-primary.generate-preview-button{display:none}.element-styling .icon.smaller{height:23px;line-height:23px;top:1px;font-size:13px}.description-title{padding-left:10px}.parser-message{color:red}.cf7style-welcome-panel{background-color:#fff;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);width:100%;padding:10px}.cf7style-input{width:250px}.wp-core-ui .button-primary.cf7style-status-submit,.wp-core-ui .button.cf7style-status-info,.wp-core-ui input:focus,.wp-core-ui input[disabled]{display:inline-block}.wp-core-ui .button.cf7style-status-info{margin-right:10px}span.wpcf7-not-valid-tip{color:red;font-size:1em;display:block}.wpcf7-validation-errors{background:0 0;padding:15px;margin:2em .5em 1em;color:red;border:2px solid red}.wpcf7-response-output.wpcf7-mail-sent-ok{background:0 0;color:green;border:2px solid green;padding:15px;margin:2em .5em 1em}@media all and (max-width:1600px){.post-type-cf7_style #wpwrap .element-styling.half-size,.post-type-cf7_style #wpwrap .panel-header,.post-type-cf7_style #wpwrap .panel-options,.post-type-cf7_style #post-body.columns-2 #postbox-container-1,.post-type-cf7_style #post-body.columns-2 #postbox-container-2{width:100%;margin:0}.post-type-cf7_style #poststuff #post-body.columns-2{margin-right:0}.post-type-cf7_style #poststuff #post-body.columns-2 #side-sortables{width:100%}.post-type-cf7_style #postbox-container-1 .postbox{width:32%;display:inline-block;vertical-align:top}}@media screen and (max-width:1332px){.post-type-cf7_style .general-settings{width:47%}.post-type-cf7_style .general-settings.full-width{width:99%;margin-right:0}}@media screen and (max-width:1100px){.post-type-cf7_style .general-settings{width:99%;margin-right:0}.post-type-cf7_style #postbox-container-1 .postbox,.post-type-cf7_style #postbox-container-2 .postbox{width:100%}.post-type-cf7_style .element-wrapper{display:block;width:100%;text-align:center}.post-type-cf7_style .element-styling input[type=number]{height:36px;top:3px;width:50%}.post-type-cf7_style .element-styling .icon{height:34px;top:2px;width:20px;line-height:34px;text-align:center}.post-type-cf7_style .element-styling label select[name*=unit]{margin-left:-2px}.post-type-cf7_style .element-styling label{width:100%}}
admin/js/admin-min.js CHANGED
@@ -1 +1,52 @@
1
- jQuery(document).ready(function(e){function t(e){var t=/^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;return t.test(e)}function n(e,t){"valid"==t?e.css("border-color","#ddd"):e.css("border-color","red")}function a(t){e(".google-fontos").remove(),"none"!=t&&"undefined"!=typeof t&&(e("head").append('<link class="google-fontos" rel="stylesheet" href="https://fonts.googleapis.com/css?family='+t+':100,200,300,400,500,600,700,800,900&subset=latin,latin-ext,cyrillic,cyrillic-ext,greek-ext,greek,vietnamese" />'),e(".cf7-style.preview-zone p").css("font-family","'"+t+"', sans-serif"),e(".preview-form-container .wpcf7").css("font-family","'"+t+"', sans-serif"))}function i(t){e(window).scroll(function(){if(e(window).width()>1600){var n=(t.find(".panel-header").offset(),e("#cf7_style_meta_box_style_customizer").offset()),a=e(window).scrollTop()-n.top;a>0&&t.find(".panel-header").css("top",a),0>=a&&t.find(".panel-header").css("top",0)}e(window).scrollTop()>700?e(".fixed-save-style").show():e(".fixed-save-style").hide()}).trigger("scroll")}function s(){e("input[type='number']").on("change",function(){var t=e(this).val(),n=e(this).index(),a=e(this).parent().find("input[type=number]");switch(n){case 2:a.val(t);break;case 5:a.eq(3).val(t)}})}function l(t){var n=e('input[name="cf7styleallvalues"]');if(n.length>0){var a=e('input[name="cf7styleallvalues"]').val(),i=e.parseJSON(a.replace(/'/g,'"'));e.each(i,function(n,a){if(n.indexOf("unit")<0&&("hover"==t&&n.indexOf("hover")>0||"hover"!=t&&n.indexOf("hover")<0)){var s=n.split("_"),l=s[0],o=i[n+"_unit"];"submit"==s[0]&&(l="input[type='submit']"),"form"==s[0]&&(l=".wpcf7"),("wpcf7-not-valid-tip"==s[0]||"wpcf7-validation-errors"==s[0]||"wpcf7-mail-sent-ok"==s[0])&&(l="."+s[0]),o="undefined"==typeof o||""==a?"":o;var r=a+o;"background-image"==s[1]&&(r="url("+a+")"),l="radio"==l?'input[type="radio"]':"checkbox"==l?'input[type="checkbox"]':l,e(".preview-form-container "+l).css(s[1],r)}})}}function o(t){t.on("click",function(){e(".cf7style_body_select_all input").prop("checked",e(this).is(":checked")?!0:!1)})}function r(t,n,a,i){var s=t.find(".active"),l=s.index()+1,o=t.find("li"),r=t.find("ul"),c=t.find(".narrow"),d=t.find(".narrow.left"),u=t.find(".narrow.right"),p=t.find("li").length;u.addClass("visible"),r.css("width",p*n),0==i&&t.mouseenter(function(){t.find(".visible").stop().show()}).mouseleave(function(){t.find(".visible").stop().hide()}),c.on("click",function(t){t.stopPropagation(),t.preventDefault();var i=e(this).attr("data-direction");"left"==i&&1!==l&&(r.stop(!0,!0).animate({marginLeft:"+="+n+"px"},a),l--),"right"==i&&l!==p&&(r.stop(!0,!0).animate({marginLeft:-(n*l)+"px"},a),l++),1==l&&(d.hide().removeClass("visible"),u.show().addClass("visible")),l==p&&u.hide().removeClass("visible"),p>l&&u.show().addClass("visible"),l>1&&d.show().addClass("visible"),o.removeClass("active").eq(l-1).addClass("active")}),r.css({"margin-left":"-"+(l-1)*n+"px"})}function c(t){r(t,202,500,!0),t.find("li").on("click",function(){e(this).hasClass("current-saved")||(t.find("li").removeClass("current-saved"),e(this).addClass("current-saved"),t.find(".overlay em").html("Not Active"),e(this).find(".overlay em").html("Active"),e(".cf7style_template").removeAttr("checked"),e(this).find(".cf7style_template").attr("checked","checked"))})}function d(t){var n="",a=e.parseJSON(e('input[name="cf7styleallvalues"]').val().replace(/'/g,'"'));e.each(t.serializeObject(),function(e,t){0==a.length&&(a={}),a[e.replace(/cf7stylecustom\[/g,"").replace(/]/g,"")]=t}),n=JSON.stringify(a),n=n.replace(/cf7stylecustom\[/g,"").replace(/]/g,""),e('input[name="cf7styleallvalues"]').val(n.replace(/"/g,"'")),e('input[name="cf7styleallvalues"]').attr("value",n.replace(/"/g,"'"))}function u(){l(),e("#form-tag a.button").on("click",function(t){t.preventDefault();var n=e(this),a=e("."+n.attr("data-property")+"-panel"),i=0;0==e(".modified-style-here").length?(n.hasClass("button-primary")||(e(".panel").stop(!0,!0).animate({opacity:0},300,function(){0===i&&(i++,e(".panel").addClass("hidden"),e(".panel").html(""),a.css("opacity","0"),a.removeClass("hidden"),e.ajax({url:ajaxurl,method:"POST",data:{action:"cf7_style_load_property",property:n.attr("data-property")},beforeSend:function(){n.parent().find("a").prop("disabled","true"),e(".panel-options .loading").removeClass("hidden")},success:function(t){n.parent().find("a").prop("disabled","false"),i=0,a.html(t),e(".panel-options .loading").addClass("hidden");var l=e('input[name="cf7styleallvalues"]').val(),o=e.parseJSON(l.replace(/'/g,'"'));a.find('[name^="cf7stylecustom"]').each(function(){e(this).attr("id")in o&&""!=o[e(this).attr("id")]&&e(this).val(o[e(this).attr("id")])}),a.find(".cf7-style-color-field").wpColorPicker(A),s(),v(),a.stop(!0,!0).animate({opacity:1},300)}}))}),e(".element-selector input:eq(0)").prop("checked",!0)),e("#form-tag a.button").removeClass("button-primary"),n.addClass("button-primary"),e('input[name="cf7styleactivepane"]').val(n.attr("data-property"))):e(".panel-options .decision").removeClass("hidden")}),e(".panel-options .cancel-btn").on("click",function(t){t.preventDefault(),e(".panel-options .decision").addClass("hidden")}),e(".element-selector input").on("change",function(){e(".element-selector input").prop("checked",!1),e(this).prop("checked",!0),"hover"==e(this).val()?(e(".panel:visible li").addClass("hidden"),e(".panel:visible li.hover-element").removeClass("hidden"),l("hover")):(e(".panel:visible li.hover-element").addClass("hidden"),e(".panel:visible li").not(".hover-element").removeClass("hidden"),l())}),e("#form-preview").on("change",function(){e(".preview-form-container").addClass("hidden"),e(".preview-form-container").eq(e(this).val()).removeClass("hidden")});var t=0;e(document).on("change",'[name^="cf7stylecustom"]',function(){0==t&&(t++,e(this).parents(".panel").addClass("modified-style-here")),d(e(this).parents(".panel").find('[name^="cf7stylecustom"]')),"hover"==e('input[name="element-type"]:checked').val()?l("hover"):l()}),e(document).on("keyup",'[name^="cf7stylecustom"]',function(){d(e(this).parents(".panel").find('[name^="cf7stylecustom"]')),"hover"==e('input[name="element-type"]:checked').val()?l("hover"):l()})}function p(e){e.remove()}function f(e){e.on("click",function(e){e.preventDefault()})}function h(){e('.wpcf7 input[aria-required="true"]').each(function(){e('<span role="alert" class="wpcf7-not-valid-tip">Required field message example.</span>').insertAfter(e(this))}),e(".wpcf7").each(function(){e('<div class="wpcf7-response-output wpcf7-display-none wpcf7-validation-errors" style="display: block;" role="alert">Error message example.</div>').appendTo(e(this)),e('<div class="wpcf7-response-output wpcf7-display-none wpcf7-mail-sent-ok" style="display: block;" role="alert">Thank you message example.</div>').appendTo(e(this))})}function v(){var t=e(".cf7-style-upload-field");t.addClass("hidden"),t.each(function(){var t=e(this);e('<span class="image-info-box"></span>').insertAfter(t),""!=t.val()&&t.parent().find(".image-info-box").text(t.val().filename("yes"))}),e(".upload-btn").length<=0&&(e("<a href='javascript: void(0);' class='remove-btn button'>Remove</a>").insertAfter(t),e("<a href='javascript: void(0);' class='upload-btn button'>Upload</a>").insertAfter(t)),e(".upload-btn").on("click",function(){var t=e(this),n=t.parent().find(".cf7-style-upload-field");tb_show("New Banner","media-upload.php?type=image&TB_iframe=1"),window.send_to_editor=function(a){n.val(e(a).attr("src")),n.trigger("change"),t.parent().find(".image-info-box").text(e(a).attr("src").filename("yes")),tb_remove()}}),e(".remove-btn").on("click",function(){var t=e(this),n=t.parent().find(".cf7-style-upload-field");n.val(" "),n.attr("value"," "),n.trigger("change"),t.parent().find(".image-info-box").text("")})}function m(){if(e("#cf7_style_manual_style").length>0){CodeMirror.fromTextArea(document.getElementById("cf7_style_manual_style"),{lineNumbers:!0,theme:"default",mode:"text/css"})}}var F=e(".cf7style-name"),y=e(".cf7style-email"),g=e(".cf7style-message"),b=e(".cf7style-status-submit");b.on("click",function(a){if(a.preventDefault(),e(".cf7style-input").each(function(t,a){""==e(this).val()?n(e(this),"error"):n(e(this),"valid")}),""!==F.val()&&""!==y.val())if(t(y.val())){n(y,"valid");var i=e("<div />");e(".cf7style-status-table").each(function(t,n){var a=e("<table />");a.html(e(this).html()),i.append(a)}),e.ajax({url:ajaxurl,method:"POST",data:{action:"cf7_style_send_status_report",name:F.val(),email:y.val(),message:g.val(),report:i.html()},beforeSend:function(){b.text("Sending...")},success:function(t){"success"==e.trim(t)?b.text("Report sent").removeClass("cf7style-status-submit").attr("disabled","disabled"):b.text("Something went wrong!").removeClass("cf7style-status-submit").attr("disabled","disabled")}})}else n(y,"error");else console.log("error 1")}),e(".cf7style-status-info").on("click",function(t){t.preventDefault(),e(".cf7style-status-table").toggle()}),String.prototype.filename=function(e){var t=this.replace(/\\/g,"/");return t=t.substring(t.lastIndexOf("/")+1),e?t.replace(/[?#].+$/,""):t.split(".")[0]},e.fn.serializeObject=function(){var t={},n=this.serializeArray();return e.each(n,function(){void 0!==t[this.name]?(t[this.name].push||(t[this.name]=[t[this.name]]),t[this.name].push(this.value||"")):t[this.name]=this.value||""}),t},e(".cf7style-no-forms-added").length>0?e(".generate-preview-button, .generate-preview-option").show():e(".generate-button-hidden").show(),e(".generate-preview-button").on("click",function(t){t.preventDefault(),e(".cf7style-no-forms-added").hide();var n=e(this).attr("data-attr-id"),a=e(this).attr("data-attr-title");e(this).prop("disabled",!0),e(this).parents("tr").find("input").prop("checked",!0);var i=e("<p />");e(".preview-form-tag").prepend(i),e.ajax({url:ajaxurl,method:"POST",data:{action:"cf7_style_generate_preview_dashboard",form_id:n,form_title:a},beforeSend:function(){i.text("Loading..."),e(".multiple-form-generated-preview").hide()},success:function(t){t&&(i.remove(),e(".preview-form-tag").append(t),e(".multiple-form-generated-preview").eq(e(".multiple-form-generated-preview").length-1).show(),l(),h())}})});var w=e(".generate-preview"),x=e(".post-type-cf7_style "),_=e("#select_all"),C=e('select[name="cf7_style_font_selector"]'),D=e(".cf7-style-slider-wrap"),k=e(".preview-form-container"),A={change:function(t,n){d(e(this).parents(".panel").find('[name^="cf7stylecustom"]')),"hover"==e('input[name="element-type"]:checked').val()?l("hover"):l()}};if(e(".cf7-style-color-field").wpColorPicker(A),w.length>0&&i(w),x.length>0){m(),v(),s(),h();var k=e(".preview-form-container").not(".hidden");k.find("label").length<1&&e('.button[data-property="label"]').hide(),k.find("p").length<1&&e('.button[data-property="p"]').hide(),k.find("fieldset").length<1&&e('.button[data-property="fieldset"]').hide(),k.find("select").length<1&&e('.button[data-property="select"]').hide(),k.find('input[type="checkbox"]').length<1&&e('.button[data-property="checkbox"]').hide(),k.find('input[type="radio"]').length<1&&e('.button[data-property="radio"]').hide(),o(_),a(C.val()),C.on("change",function(){a(e(this).val())}),u(),p(k.find('input[type="hidden"]')),f(k.find('input[type="submit"]'))}D.length>0&&c(D),e(".close-cf7-panel").on("click",function(t){t.preventDefault(),e.ajax({url:ajaxurl,method:"POST",data:{action:"cf7_style_remove_welcome_box"},success:function(t){e(".welcome-container").fadeOut("slow")}})})});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function($){function isValidEmailAddress(emailAddress){var pattern=/^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;return pattern.test(emailAddress)}
2
+ function validateInput(elem,result){if(result=='valid'){elem.css('border-color','#ddd')}else{elem.css('border-color','red')}}
3
+ var cf7s_status_name=$('.cf7style-name'),cf7s_status_email=$('.cf7style-email'),cf7s_status_message=$('.cf7style-message'),cf7s_status_submit=$('.cf7style-status-submit');cf7s_status_submit.on('click',function(e){e.preventDefault();$('.cf7style-input').each(function(index,value){if($(this).val()==''){validateInput($(this),'error')}else{validateInput($(this),'valid')}});if(cf7s_status_name.val()!==''&&cf7s_status_email.val()!==''){if(!isValidEmailAddress(cf7s_status_email.val())){validateInput(cf7s_status_email,'error')}else{validateInput(cf7s_status_email,'valid');var status=$('<div />');$('.cf7style-status-table').each(function(index,value){var table=$("<table />");table.html($(this).html());status.append(table)});$.ajax({'url':ajaxurl,'method':'POST','data':{'action':'cf7_style_send_status_report','name':cf7s_status_name.val(),'email':cf7s_status_email.val(),'message':cf7s_status_message.val(),'report':status.html()},'beforeSend':function(){cf7s_status_submit.text('Sending...')},'success':function(data){if($.trim(data)=='success'){cf7s_status_submit.text('Report sent').removeClass('cf7style-status-submit').attr('disabled','disabled')}else{cf7s_status_submit.text('Something went wrong!').removeClass('cf7style-status-submit').attr('disabled','disabled')}}})}}else{console.log('error 1')}});$('.cf7style-status-info').on('click',function(e){e.preventDefault();$('.cf7style-status-table').toggle()});String.prototype.filename=function(extension){var s=this.replace(/\\/g,'/');s=s.substring(s.lastIndexOf('/')+1);return extension?s.replace(/[?#].+$/,''):s.split('.')[0]}
4
+ function changeFont(value){$(".google-fontos").remove();if("none"!=value&&"undefined"!=typeof value){$("head").append('<link class="google-fontos" rel="stylesheet" href="https://fonts.googleapis.com/css?family='+value+':100,200,300,400,500,600,700,800,900&subset=latin,latin-ext,cyrillic,cyrillic-ext,greek-ext,greek,vietnamese" />');$(".cf7-style.preview-zone p").css("font-family","'"+value+"', sans-serif");$('.preview-form-container .wpcf7').css("font-family","'"+value+"', sans-serif")}}
5
+ function scrolling(element){$(window).scroll(function(){if($(window).width()>1600){var offset=element.find('.panel-header').offset(),cf7styleOffset=$('#cf7_style_meta_box_style_customizer').offset(),diff=$(window).scrollTop()-cf7styleOffset.top;if(diff>0){element.find('.panel-header').css('top',diff)}
6
+ if(diff<=0){element.find('.panel-header').css('top',0)}}
7
+ if($(window).scrollTop()>700){$('.fixed-save-style').show()}else{$('.fixed-save-style').hide()}}).trigger('scroll')}
8
+ function autoCompleteOtherValues(){$("input[type='number']").on("change",function(){var _t=$(this),value=_t.val(),indexor=_t.parent().index(),allInput=_t.parent().parent().find("input[type=number]");switch(indexor){case 1:allInput.each(function(){if(parseFloat($(this).attr('step'))==parseFloat(_t.attr('step'))){$(this).val(value)}});break;case 2:if(parseFloat(allInput.eq(3).attr('step'))==parseFloat(_t.attr('step'))){allInput.eq(3).val(value)}
9
+ break}})}
10
+ function initialPreview(previewType){var hiddenInputData=$('input[name="cf7styleallvalues"]');if(hiddenInputData.length>0){var loadedData=$('input[name="cf7styleallvalues"]').val(),loadedArray=$.parseJSON(loadedData.replace(/'/g,'"'));$.each(loadedArray,function(index,value){if(index.indexOf('unit')<0&&((previewType=="hover"&&index.indexOf('hover')>0)||(previewType!="hover"&&index.indexOf('hover')<0))){var splitArray=index.split("_"),newElem=splitArray[0],unit=loadedArray[index+"_unit"];if(splitArray[0]=="submit"){newElem="input[type='submit']"}
11
+ if(splitArray[0]=="form"){newElem=".wpcf7"}
12
+ if(splitArray[0]=='wpcf7-not-valid-tip'||splitArray[0]=='wpcf7-validation-errors'||splitArray[0]=='wpcf7-mail-sent-ok'){newElem="."+splitArray[0]}
13
+ unit=(typeof unit=='undefined'||value=="")?"":unit;var newValue=value+unit;if(splitArray[1]=="background-image"){newValue='url('+value+')'}
14
+ newElem=(newElem=='radio')?'input[type="radio"]':(newElem=='checkbox')?'input[type="checkbox"]':newElem;$('.preview-form-container '+newElem).css(splitArray[1],newValue)}})}}
15
+ function selectAllForms(element){element.on("click",function(){$(".cf7style_body_select_all input").prop('checked',($(this).is(":checked"))?!0:!1)})}
16
+ function cf7_slider(elem,slideWidth,animationSpeed,showArrows){var active=elem.find('.active'),index=active.index()+1,slide=elem.find('li'),sliderViewport=elem.find('ul'),arrow=elem.find('.narrow'),arrowLeft=elem.find('.narrow.left'),arrowRight=elem.find('.narrow.right'),totalSlides=elem.find('li').length;arrowRight.addClass('visible');sliderViewport.css('width',totalSlides*slideWidth);if(showArrows==!1){elem.mouseenter(function(){elem.find('.visible').stop().show()}).mouseleave(function(){elem.find('.visible').stop().hide()})}
17
+ arrow.on('click',function(e){e.stopPropagation();e.preventDefault();var direction=$(this).attr('data-direction');if(direction=="left"&&index!==1){sliderViewport.stop(!0,!0).animate({marginLeft:"+="+(slideWidth)+"px"},animationSpeed);index--}
18
+ if(direction=="right"&&index!==totalSlides){sliderViewport.stop(!0,!0).animate({marginLeft:-(slideWidth*index)+"px"},animationSpeed);index++}
19
+ if(index==1){arrowLeft.hide().removeClass('visible');arrowRight.show().addClass('visible')}
20
+ if(index==totalSlides){arrowRight.hide().removeClass('visible')}
21
+ if(index<totalSlides){arrowRight.show().addClass('visible')}
22
+ if(index>1){arrowLeft.show().addClass('visible')}
23
+ slide.removeClass('active').eq(index-1).addClass('active')});sliderViewport.css({'margin-left':'-'+(index-1)*slideWidth+'px'})}
24
+ function sliderInit(element){cf7_slider(element,202,500,!0);element.find('li').on('click',function(){if(!$(this).hasClass('current-saved')){element.find('li').removeClass('current-saved');$(this).addClass('current-saved');element.find('.overlay em').html('Not Active');$(this).find('.overlay em').html('Active');$('.cf7style_template').removeAttr('checked');$(this).find('.cf7style_template').attr("checked","checked")}})}
25
+ $.fn.serializeObject=function(){var o={};var a=this.serializeArray();$.each(a,function(){if(o[this.name]!==undefined){if(!o[this.name].push){o[this.name]=[o[this.name]]}
26
+ o[this.name].push(this.value||'')}else{o[this.name]=this.value||''}});return o}
27
+ function updateHiddenInput(current){var loadedString="",loadedArray=$.parseJSON($('input[name="cf7styleallvalues"]').val().replace(/'/g,'"'));$.each(current.serializeObject(),function(index,value){if(loadedArray.length==0){loadedArray={}}
28
+ loadedArray[index.replace(/cf7stylecustom\[/g,'').replace(/]/g,'')]=value});loadedString=JSON.stringify(loadedArray);loadedString=loadedString.replace(/cf7stylecustom\[/g,'').replace(/]/g,'').replace(/"/g,"'");$('input[name="cf7styleallvalues"]').val(loadedString);$('input[name="cf7styleallvalues"]').attr('value',loadedString)}
29
+ function showTheOption(){initialPreview();$('#form-tag a.button').on('click',function(e){e.preventDefault();var _t=$(this),currentElement=$('.'+_t.attr('data-property')+'-panel'),onlyOnce=0;if($('.modified-style-here').length==0){if(!_t.hasClass('button-primary')){$('.panel').stop(!0,!0).animate({'opacity':0},300,function(){if(onlyOnce===0){onlyOnce++;$('.panel').addClass('hidden');$('.panel').html('');currentElement.css('opacity','0');currentElement.removeClass('hidden');$.ajax({'url':ajaxurl,'method':'POST','data':{'action':'cf7_style_load_property','property':_t.attr('data-property')},'beforeSend':function(){_t.parent().find('a').prop('disabled','true');$('.panel-options .loading').removeClass('hidden')},'success':function(data){_t.parent().find('a').prop('disabled','false');onlyOnce=0;currentElement.html(data);$('.panel-options .loading').addClass('hidden');var loadedData=$('input[name="cf7styleallvalues"]').val(),loadedArray=$.parseJSON(loadedData.replace(/'/g,'"'));currentElement.find('[name^="cf7stylecustom"]').each(function(){if(($(this).attr('id')in loadedArray)&&loadedArray[$(this).attr('id')]!=""){$(this).val(loadedArray[$(this).attr('id')])}});currentElement.find('.cf7-style-color-field').wpColorPicker(options);autoCompleteOtherValues();addBgImage();currentElement.stop(!0,!0).animate({'opacity':1},300);injectCheckbox();changeInputStep()}})}});$(".element-selector input:eq(0)").prop("checked",!0)}
30
+ $('#form-tag a.button').removeClass('button-primary');_t.addClass('button-primary');$('input[name="cf7styleactivepane"]').val(_t.attr('data-property'))}else{$('.panel-options .decision').removeClass('hidden')}});$('.panel-options .cancel-btn').on('click',function(e){e.preventDefault();$('.panel-options .decision').addClass('hidden')});$('.element-selector input').on('change',function(){$('.element-selector input').prop('checked',!1);$(this).prop('checked',!0);if($(this).val()=="hover"){$('.panel:visible li').addClass('hidden');$('.panel:visible li.hover-element').removeClass('hidden');initialPreview("hover")}else{$('.panel:visible li.hover-element').addClass('hidden');$('.panel:visible li').not('.hover-element').removeClass('hidden');initialPreview()}});$('#form-preview').on('change',function(){$('.preview-form-container').addClass('hidden');$('.preview-form-container').eq($(this).val()).removeClass('hidden')});var once=0;$(document).on("change",'[name^="cf7stylecustom"]',function(){if(once==0){once++;$(this).parents('.panel').addClass('modified-style-here')}
31
+ updateHiddenInput($(this).parents('.panel').find('[name^="cf7stylecustom"]'));if($('input[name="element-type"]:checked').val()=="hover"){initialPreview('hover')}else{initialPreview()}});$(document).on("keyup",'[name^="cf7stylecustom"]',function(){updateHiddenInput($(this).parents('.panel').find('[name^="cf7stylecustom"]'));if($('input[name="element-type"]:checked').val()=="hover"){initialPreview('hover')}else{initialPreview()}})}
32
+ function removePreviewfields(element){element.remove()}
33
+ function disableSubmit(element){element.on('click',function(e){e.preventDefault()})}
34
+ function addDummyElements(){$('.wpcf7 input[aria-required="true"]').each(function(){$('<span role="alert" class="wpcf7-not-valid-tip">Required field message example.</span>').insertAfter($(this))});$('.wpcf7').each(function(){$('<div class="wpcf7-response-output wpcf7-display-none wpcf7-validation-errors" style="display: block;" role="alert">Error message example.</div>').appendTo($(this));$('<div class="wpcf7-response-output wpcf7-display-none wpcf7-mail-sent-ok" style="display: block;" role="alert">Thank you message example.</div>').appendTo($(this))})}
35
+ function addBgImage(){var bgFormInput=$('.cf7-style-upload-field');bgFormInput.addClass('hidden');bgFormInput.each(function(){var _t=$(this);$('<span class="image-info-box"></span>').insertAfter(_t);if(_t.val()!=""){_t.parent().find('.image-info-box').text(_t.val().filename('yes'))}});if($('.upload-btn').length<=0){$("<a href='javascript: void(0);' class='remove-btn button'>Remove</a>").insertAfter(bgFormInput);$("<a href='javascript: void(0);' class='upload-btn button'>Upload</a>").insertAfter(bgFormInput)}
36
+ $('.upload-btn').on('click',function(){var _t=$(this),currentimage=_t.parent().find('.cf7-style-upload-field');tb_show('New Banner','media-upload.php?type=image&TB_iframe=1');window.send_to_editor=function(html){currentimage.val($(html).attr('src'));currentimage.trigger('change');_t.parent().find('.image-info-box').text($(html).attr('src').filename('yes'));tb_remove()}});$('.remove-btn').on('click',function(){var _t=$(this),currentimage=_t.parent().find('.cf7-style-upload-field');currentimage.val(' ');currentimage.attr('value',' ');currentimage.trigger('change');_t.parent().find('.image-info-box').text('')})}
37
+ function codeMirrorInit(){if($("#cf7_style_manual_style").length>0){var editor=CodeMirror.fromTextArea(document.getElementById("cf7_style_manual_style"),{lineNumbers:!0,theme:"default",mode:"text/css"})}}
38
+ if($('.cf7style-no-forms-added').length>0){$('.generate-preview-button, .generate-preview-option').show()}else{$('.generate-button-hidden').show()}
39
+ $('.generate-preview-button').on('click',function(e){e.preventDefault();$('.cf7style-no-forms-added').hide();var form_id=$(this).attr('data-attr-id'),form_title=$(this).attr('data-attr-title');$(this).prop('disabled',!0);$(this).parents('tr').find('input').prop('checked',!0);var paragraph=$("<p />");$('.preview-form-tag').prepend(paragraph);$.ajax({'url':ajaxurl,'method':'POST','data':{'action':'cf7_style_generate_preview_dashboard','form_id':form_id,'form_title':form_title},'beforeSend':function(){paragraph.text("Loading...");$('.multiple-form-generated-preview').hide()},'success':function(data){if(data){paragraph.remove();$('.preview-form-tag').append(data);$('.multiple-form-generated-preview').eq($('.multiple-form-generated-preview').length-1).show();initialPreview();addDummyElements()}}})});function injectCheckbox(){$('<label><input type="checkbox" class="transparent-box" name="transparent-box">Transparent</label>').insertAfter('.wp-picker-container');$('.transparent-box').each(function(){var curParent=$(this).parent().parent();if(curParent.find('.cf7-style-color-field').val()=="transparent"){$(this).prop("checked",!0)}});$('.transparent-box').on('click',function(){var curParent=$(this).parent().parent();if($(this).is(':checked')){curParent.find('.cf7-style-color-field').val('transparent');curParent.find('.cf7-style-color-field').attr('value','transparent');curParent.find('.wp-color-result').css('background-color','transparent')}else{curParent.find('.cf7-style-color-field').val('');curParent.find('.cf7-style-color-field').attr('value','')}
40
+ updateHiddenInput($(this).parents('.panel').find('[name^="cf7stylecustom"]'))})}
41
+ function returnStep(element){return(("%"==element.val()||"em"==element.val())?"0.01":"1")}
42
+ function changeInputStep(){$('.panel input[type="number"]').each(function(){var _t=$(this);_t.attr('step',returnStep(_t.next()))});$('.panel select[name*="unit"]').off("change").on("change",function(){var _t=$(this);_t.prev().attr('step',returnStep(_t));if(_t.val()=="px"){var curVal=Math.floor(_t.prev().val());_t.prev().val(curVal);_t.prev().attr('value',curVal)}})}
43
+ var previewEl=$(".generate-preview"),cf7StylePostType=$(".post-type-cf7_style "),selectAll=$('#select_all'),fontSelectVar=$('select[name="cf7_style_font_selector"]'),sliderWrapper=$('.cf7-style-slider-wrap'),previewForm=$('.preview-form-container'),options={change:function(event,ui){var _t=$(this);_t.parents('.wp-picker-container').parent().find('.transparent-box').prop("checked",!1);setTimeout(function(){updateHiddenInput(_t.parents('.panel').find('[name^="cf7stylecustom"]'))},0);if($('input[name="element-type"]:checked').val()=="hover"){initialPreview('hover')}else{initialPreview()}}};$('.cf7-style-color-field').wpColorPicker(options);if(previewEl.length>0){scrolling(previewEl)}
44
+ if(cf7StylePostType.length>0){codeMirrorInit();addBgImage();autoCompleteOtherValues();addDummyElements();var previewForm=$('.preview-form-container').not('.hidden');if(previewForm.find('label').length<1){$('.button[data-property="label"]').hide()}
45
+ if(previewForm.find('p').length<1){$('.button[data-property="p"]').hide()}
46
+ if(previewForm.find('fieldset').length<1){$('.button[data-property="fieldset"]').hide()}
47
+ if(previewForm.find('select').length<1){$('.button[data-property="select"]').hide()}
48
+ if(previewForm.find('input[type="checkbox"]').length<1){$('.button[data-property="checkbox"]').hide()}
49
+ if(previewForm.find('input[type="radio"]').length<1){$('.button[data-property="radio"]').hide()}
50
+ selectAllForms(selectAll);changeFont(fontSelectVar.val());fontSelectVar.on("change",function(){changeFont($(this).val())});showTheOption();removePreviewfields(previewForm.find('input[type="hidden"]'));disableSubmit(previewForm.find('input[type="submit"]'))}
51
+ if(sliderWrapper.length>0){sliderInit(sliderWrapper)}
52
+ $('.close-cf7-panel').on('click',function(e){e.preventDefault();$.ajax({'url':ajaxurl,'method':'POST','data':{'action':'cf7_style_remove_welcome_box'},'success':function(data){$('.welcome-container').fadeOut('slow')}})});injectCheckbox();changeInputStep()})
admin/js/admin.js CHANGED
@@ -131,15 +131,22 @@ jQuery(document).ready(function($) {
131
 
132
  function autoCompleteOtherValues() {
133
  $("input[type='number']").on("change", function() {
134
- var value = $(this).val(),
135
- indexor = $(this).index(),
136
- allInput = $(this).parent().find("input[type=number]");
 
137
  switch (indexor) {
138
- case 2:
139
- allInput.val(value);
 
 
 
 
140
  break;
141
- case 5:
142
- allInput.eq(3).val(value);
 
 
143
  break;
144
  }
145
  });
@@ -281,18 +288,17 @@ jQuery(document).ready(function($) {
281
 
282
  function updateHiddenInput(current) {
283
  var loadedString = "",
284
- loadedArray = $.parseJSON( $('input[name="cf7styleallvalues"]').val().replace(/'/g, '"'));
285
  $.each(current.serializeObject(), function(index, value) {
286
  if (loadedArray.length == 0) {
287
  loadedArray = {};
288
  }
289
- loadedArray[ index.replace(/cf7stylecustom\[/g, '').replace(/]/g, '') ] = value;
290
  });
291
-
292
  loadedString = JSON.stringify(loadedArray);
293
- loadedString = loadedString.replace(/cf7stylecustom\[/g, '').replace(/]/g, '');
294
- $('input[name="cf7styleallvalues"]').val(loadedString.replace(/"/g, "'"));
295
- $('input[name="cf7styleallvalues"]').attr('value', loadedString.replace(/"/g, "'"));
296
  }
297
 
298
  function showTheOption() {
@@ -344,6 +350,8 @@ jQuery(document).ready(function($) {
344
  currentElement.stop(true, true).animate({
345
  'opacity': 1
346
  }, 300);
 
 
347
  }
348
  });
349
 
@@ -511,6 +519,48 @@ jQuery(document).ready(function($) {
511
  });
512
  });
513
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
514
  var previewEl = $(".generate-preview"),
515
  cf7StylePostType = $(".post-type-cf7_style "),
516
  selectAll = $('#select_all'),
@@ -519,7 +569,11 @@ jQuery(document).ready(function($) {
519
  previewForm = $('.preview-form-container'),
520
  options = {
521
  change: function(event, ui) {
522
- updateHiddenInput($(this).parents('.panel').find('[name^="cf7stylecustom"]'));
 
 
 
 
523
  if ($('input[name="element-type"]:checked').val() == "hover") {
524
  initialPreview('hover');
525
  } else {
@@ -591,4 +645,6 @@ jQuery(document).ready(function($) {
591
  }
592
  });
593
  });
594
- }); /*doc.ready end*/
 
 
131
 
132
  function autoCompleteOtherValues() {
133
  $("input[type='number']").on("change", function() {
134
+ var _t = $(this),
135
+ value = _t.val(),
136
+ indexor = _t.parent().index(),
137
+ allInput = _t.parent().parent().find("input[type=number]");
138
  switch (indexor) {
139
+ case 1:
140
+ allInput.each(function() {
141
+ if (parseFloat($(this).attr('step')) == parseFloat(_t.attr('step'))) {
142
+ $(this).val(value);
143
+ }
144
+ });
145
  break;
146
+ case 2:
147
+ if (parseFloat(allInput.eq(3).attr('step')) == parseFloat(_t.attr('step'))) {
148
+ allInput.eq(3).val(value);
149
+ }
150
  break;
151
  }
152
  });
288
 
289
  function updateHiddenInput(current) {
290
  var loadedString = "",
291
+ loadedArray = $.parseJSON($('input[name="cf7styleallvalues"]').val().replace(/'/g, '"'));
292
  $.each(current.serializeObject(), function(index, value) {
293
  if (loadedArray.length == 0) {
294
  loadedArray = {};
295
  }
296
+ loadedArray[index.replace(/cf7stylecustom\[/g, '').replace(/]/g, '')] = value;
297
  });
 
298
  loadedString = JSON.stringify(loadedArray);
299
+ loadedString = loadedString.replace(/cf7stylecustom\[/g, '').replace(/]/g, '').replace(/"/g, "'");
300
+ $('input[name="cf7styleallvalues"]').val(loadedString);
301
+ $('input[name="cf7styleallvalues"]').attr('value', loadedString);
302
  }
303
 
304
  function showTheOption() {
350
  currentElement.stop(true, true).animate({
351
  'opacity': 1
352
  }, 300);
353
+ injectCheckbox();
354
+ changeInputStep();
355
  }
356
  });
357
 
519
  });
520
  });
521
 
522
+ function injectCheckbox() {
523
+ $('<label><input type="checkbox" class="transparent-box" name="transparent-box">Transparent</label>').insertAfter('.wp-picker-container');
524
+ $('.transparent-box').each(function() {
525
+ var curParent = $(this).parent().parent();
526
+ if (curParent.find('.cf7-style-color-field').val() == "transparent") {
527
+ $(this).prop("checked", true);
528
+ }
529
+ });
530
+ $('.transparent-box').on('click', function() {
531
+ var curParent = $(this).parent().parent();
532
+ if ($(this).is(':checked')) {
533
+ curParent.find('.cf7-style-color-field').val('transparent');
534
+ curParent.find('.cf7-style-color-field').attr('value', 'transparent');
535
+ curParent.find('.wp-color-result').css('background-color', 'transparent');
536
+ } else {
537
+ curParent.find('.cf7-style-color-field').val('');
538
+ curParent.find('.cf7-style-color-field').attr('value', '');
539
+ }
540
+ updateHiddenInput($(this).parents('.panel').find('[name^="cf7stylecustom"]'));
541
+ });
542
+ }
543
+
544
+ function returnStep(element) {
545
+ return (("%" == element.val() || "em" == element.val()) ? "0.01" : "1");
546
+ }
547
+
548
+ function changeInputStep() {
549
+ $('.panel input[type="number"]').each(function() {
550
+ var _t = $(this);
551
+ _t.attr('step', returnStep(_t.next()));
552
+ });
553
+ $('.panel select[name*="unit"]').off("change").on("change", function() {
554
+ var _t = $(this);
555
+ _t.prev().attr('step', returnStep(_t));
556
+ if( _t.val() == "px"){
557
+ var curVal = Math.floor(_t.prev().val());
558
+ _t.prev().val(curVal);
559
+ _t.prev().attr('value',curVal);
560
+ }
561
+ });
562
+ }
563
+
564
  var previewEl = $(".generate-preview"),
565
  cf7StylePostType = $(".post-type-cf7_style "),
566
  selectAll = $('#select_all'),
569
  previewForm = $('.preview-form-container'),
570
  options = {
571
  change: function(event, ui) {
572
+ var _t = $(this);
573
+ _t.parents('.wp-picker-container').parent().find('.transparent-box').prop("checked", false);
574
+ setTimeout(function() {
575
+ updateHiddenInput(_t.parents('.panel').find('[name^="cf7stylecustom"]'));
576
+ }, 0);
577
  if ($('input[name="element-type"]:checked').val() == "hover") {
578
  initialPreview('hover');
579
  } else {
645
  }
646
  });
647
  });
648
+ injectCheckbox();
649
+ changeInputStep();
650
+ }); /*doc.ready end*/
admin/js/overall-min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(e){function t(){e.ajax({url:ajaxurl,method:"POST",data:{action:"cf7_style_remove_box"},success:function(e){}})}e(".remove_template_notice").on("click",function(c){c.preventDefault(),e(".template-message-box").fadeOut("slow"),t()}),e(document).on("click",".cf7style-pointer a.close",function(t){t.preventDefault(),e("#cf7_style_allow_tracking").is(":checked")?e.post(ajaxurl,"action=cf7_style_allow_tracking&cf7_style_allow_tracking=1",function(e){}):e.post(ajaxurl,"action=cf7_style_show_tracking&cf7_style_allow_tracking=0",function(e){})}),e('input[name="custom_template_check"]').on("change",function(){e(this).is(":checked")?e(".double-check").show():e(".double-check").hide()}),e(".confirm-remove-template").on("click",function(c){c.preventDefault();var n=e(this).parent();"no"==e('input[name="double_check_template"]:checked').val()?(n.hide(),e('input[name="custom_template_check"]').attr("checked","checked")):(t(),e.ajax({url:ajaxurl,method:"POST",data:{action:"cf7_style_remove_templates"},success:function(t){t&&(e('<p class="succeded">Predefined templates successfully removed.</p>').appendTo(n),setTimeout(function(){n.fadeOut("slow"),n.parent().fadeOut("slow",function(){setTimeout(function(){window.location.reload(!1)},300)})},2e3))}}))})});
1
+ jQuery(document).ready(function(a){function b(){a.ajax({url:ajaxurl,method:"POST",data:{action:"cf7_style_remove_box"},success:function(a){}})}a(".post-type-cf7_style.post-php").length>0&&a(".meta-box-sortables").sortable({disabled:!0}),a(".cf7_style_page_cf7style-settings .cf7style-tooltip").on("click",function(b){b.preventDefault(),b.stopPropagation(),a(".cf7style-tooltip-content").removeClass("show"),a(this).hasClass("on")?(a(".cf7style-tooltip-content").removeClass("show"),a(".cf7_style_page_cf7style-settings .cf7style-tooltip").removeClass("on")):(a(this).find(".cf7style-tooltip-content").addClass("show"),a(this).addClass("on"))}),a(".cf7_style_page_cf7style-settings").on("click",function(b){a(".cf7style-tooltip-content").removeClass("show"),a(".cf7_style_page_cf7style-settings .cf7style-tooltip").removeClass("on")}),a(".cf7style-tooltip-content").on("click",function(a){a.stopPropagation()}),a(".remove_template_notice").on("click",function(c){c.preventDefault(),a(".template-message-box").fadeOut("slow"),b()}),a(document).on("click",".cf7style-pointer a.close",function(b){b.preventDefault(),a("#cf7_style_allow_tracking").is(":checked")?a.post(ajaxurl,"action=cf7_style_allow_tracking&cf7_style_allow_tracking=1",function(a){}):a.post(ajaxurl,"action=cf7_style_show_tracking&cf7_style_allow_tracking=0",function(a){})}),a('input[name="custom_template_check"]').on("change",function(){a(this).is(":checked")?a(".double-check").show():a(".double-check").hide()}),a(".confirm-remove-template").on("click",function(c){c.preventDefault();var d=a(this).parent();"no"==a('input[name="double_check_template"]:checked').val()?(d.hide(),a('input[name="custom_template_check"]').attr("checked","checked")):(b(),a.ajax({url:ajaxurl,method:"POST",data:{action:"cf7_style_remove_templates"},success:function(b){b&&(a('<p class="succeded">Predefined templates successfully removed.</p>').appendTo(d),setTimeout(function(){d.fadeOut("slow"),d.parent().fadeOut("slow",function(){setTimeout(function(){window.location.reload(!1)},300)})},2e3))}}))})});
admin/js/overall.js CHANGED
@@ -1,4 +1,5 @@
1
- jQuery(document).ready(function($) {
 
2
  function dismissRemoveMessage() {
3
  $.ajax({
4
  'url': ajaxurl,
@@ -9,6 +10,31 @@
9
  'success': function(data) {}
10
  });
11
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  $('.remove_template_notice').on('click', function(e) {
13
  e.preventDefault();
14
  $('.template-message-box').fadeOut('slow');
1
+ jQuery(document).ready(function($) {
2
+
3
  function dismissRemoveMessage() {
4
  $.ajax({
5
  'url': ajaxurl,
10
  'success': function(data) {}
11
  });
12
  }
13
+
14
+ if ($('.post-type-cf7_style.post-php').length > 0) {
15
+ $('.meta-box-sortables').sortable({
16
+ disabled: true
17
+ });
18
+ }
19
+ $('.cf7_style_page_cf7style-settings .cf7style-tooltip').on('click', function(e) {
20
+ e.preventDefault();
21
+ e.stopPropagation();
22
+ $('.cf7style-tooltip-content').removeClass('show');
23
+ if ($(this).hasClass('on')) {
24
+ $('.cf7style-tooltip-content').removeClass('show');
25
+ $('.cf7_style_page_cf7style-settings .cf7style-tooltip').removeClass('on');
26
+ } else {
27
+ $(this).find('.cf7style-tooltip-content').addClass('show');
28
+ $(this).addClass('on');
29
+ }
30
+ });
31
+ $('.cf7_style_page_cf7style-settings').on('click', function(e) {
32
+ $('.cf7style-tooltip-content').removeClass('show');
33
+ $('.cf7_style_page_cf7style-settings .cf7style-tooltip').removeClass('on');
34
+ });
35
+ $('.cf7style-tooltip-content').on('click', function(e){
36
+ e.stopPropagation();
37
+ });
38
  $('.remove_template_notice').on('click', function(e) {
39
  e.preventDefault();
40
  $('.template-message-box').fadeOut('slow');
cf7-style.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Contact Form 7 Style
4
  Plugin URI: http://wordpress.reea.net/contact-form-7-style/
5
  Description: Simple style customization and templating for Contact Form 7 forms. Requires Contact Form 7 plugin installed.
6
- Version: 3.1.1
7
  Author: Johnny, dorumarginean, mlehelsz, MirceaR
8
  Author URI: http://cf7style.com
9
  License: GPL2
@@ -16,7 +16,7 @@ License: GPL2
16
  define( 'WPCF7S_PLUGIN', __FILE__ );
17
  define( 'WPCF7S_PLUGIN_DIR', untrailingslashit( dirname( WPCF7S_PLUGIN ) ) );
18
  define( 'WPCF7S_LOCATION',plugin_dir_url( WPCF7S_PLUGIN ) );
19
- define( 'WPCF7S_PLUGIN_VER', '3.1.1' );
20
 
21
 
22
  function get_predefined_cf7_style_template_data() {
@@ -108,8 +108,10 @@ function cf7_style_custom_css_generator(){
108
  $forms = new WP_Query( $args );
109
  $total_num_posts = $forms->found_posts;
110
  $style = "";
111
- $cf7s_manual_style = html_entity_decode(stripslashes(get_option( 'cf7_style_manual_style', true )),ENT_QUOTES);
112
  $cf7s_manual_style = ( $cf7s_manual_style == '1' ) ? "" : $cf7s_manual_style;
 
 
113
  $active_styles = array();
114
  $style_number = 0;
115
  if( $forms->have_posts() ) :
@@ -117,10 +119,7 @@ function cf7_style_custom_css_generator(){
117
  $id = get_the_ID();
118
  $cf7s_id = get_post_meta( $id, 'cf7_style_id', true );
119
  $form_title = get_the_title($cf7s_id);
120
- if ( ( ! empty( $cf7s_id ) || $cf7s_id !== 0 ) && ! in_array( $cf7s_id, $active_styles ) ) {
121
- /*if( empty( $active_styles ) ) {
122
- $style .= "\n<style class='cf7-style' media='screen' type='text/css'>\n";
123
- }*/
124
  array_push( $active_styles, $cf7s_id );
125
  $cf7_style_data = get_post( $cf7s_id, OBJECT );
126
  $check_custom_style = has_term( 'custom-style', 'style_category', $cf7_style_data );
@@ -134,7 +133,7 @@ function cf7_style_custom_css_generator(){
134
  $groundzero_hover = "";
135
  $groundone = "";
136
  $groundone_hover = "";
137
- $tempSave = "0";
138
  $bleah = array();
139
  $bleah_hover = array();
140
  $i = 0;
@@ -151,9 +150,9 @@ function cf7_style_custom_css_generator(){
151
  $endtag = ( $i == 0 ) ? "" : "}\n";
152
  $endtag_hover = ( $i_hover == 0 ) ? "" : "}\n";
153
  $curr_tag_gen = $classelem.$html_element;
154
- if(!empty( $setting )){
155
  $setting = ($setting_key_part[1] == "background-image") ? 'url("'.$setting.'")' : $setting;
156
- $cur_property_gen = "\t\t".$setting_key_part[1].": ".$setting. ";\n";
157
  }
158
  $the_hover = ( array_key_exists (3,$setting_key_part) && $setting_key_part[3] == "hover" ) ? "yes" :
159
  ( array_key_exists (2,$setting_key_part) && $setting_key_part[2] == "hover" ) ? "yes" : "no";
@@ -166,7 +165,7 @@ function cf7_style_custom_css_generator(){
166
  $groundzero_hover = $setting_key_part[0];
167
  }
168
  $i_hover++;
169
- if(!empty( $setting )){
170
  if ( $groundone_hover != $setting_key_part[1]) {
171
  $groundone_hover = $setting_key_part[1];
172
  $tempSave = $setting;
@@ -174,8 +173,8 @@ function cf7_style_custom_css_generator(){
174
  $bleah_hover[$i_hover] = $cur_property_gen;
175
  }
176
  } else {
177
- $bleah_hover[--$i_hover] = ( $tempSave != "0" ) ? ( "\t\t".$setting_key_part[1].": ".$tempSave.$setting. ";\n") : "";
178
- $tempSave = "0";
179
  }
180
  }
181
  } else {
@@ -188,17 +187,16 @@ function cf7_style_custom_css_generator(){
188
  $groundzero = $setting_key_part[0];
189
  }
190
  $i++;
191
- if(!empty( $setting )){
192
  if ( $groundone != $setting_key_part[1]) {
193
  $groundone = $setting_key_part[1];
194
  $tempSave = $setting;
195
  if( $setting != "px" && $setting != "%" && $setting != "em" ){
196
  $bleah[$i] = $cur_property_gen;
197
  }
198
-
199
  } else {
200
- $bleah[--$i] = ( $tempSave != "0" ) ? ( "\t\t".$setting_key_part[1].": ".$tempSave.$setting. ";\n") : "";
201
- $tempSave = "0";
202
  }
203
  }
204
  }
@@ -241,6 +239,7 @@ function cf7_style_custom_css_generator(){
241
  if( ( $style_number !== 0 ) && $style_number == count( $active_styles ) ) {
242
  $cur_css .= "\n</style>\n";
243
  }
 
244
  echo $cur_css;
245
  wp_reset_postdata();
246
  endif;
@@ -263,7 +262,7 @@ function cf7_style_admin_scripts($hook){
263
  wp_enqueue_style( 'thickbox' );
264
  wp_enqueue_script( 'media-upload' );
265
  }
266
- if( 'plugins.php'== $hook || 'cf7_style' == $post_type || 'toplevel_page_wpcf7' == $hook || 'cf7_style_page_cf7style-css-editor' == $hook || 'cf7_style_page_system-status' == $hook ){
267
  wp_enqueue_style('cf7-style-font-awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.6.2/css/font-awesome.min.css');
268
  wp_enqueue_style( "cf7-style-admin-style", WPCF7S_LOCATION . "admin/css/admin.css", false, WPCF7S_PLUGIN_VER, "all");
269
  wp_enqueue_script( "cf7_style_admin_js", WPCF7S_LOCATION . "admin/js/admin-min.js", array( 'wp-color-picker', 'jquery' ), WPCF7S_PLUGIN_VER, true );
@@ -483,14 +482,14 @@ function cf7style_load_elements(){
483
  );
484
  //register tax
485
  register_taxonomy( 'style_category', array( 'cf7_style' ), $args );
486
- $cf7_style_templates = get_option( 'cf7_style_no_temps' );
487
 
488
  foreach ( get_predefined_cf7_style_template_data() as $style ) {
489
  cf7_style_create_post( strtolower( str_replace( " ", "-", $style['title'] ) ), $style['title'], $style['image'] );
490
  }
491
  if( get_option( 'cf7_style_add_categories', 0 ) == 0 ){
492
  $cf7_style_args = array(
493
- 'post_type' => 'cf7_style'
 
494
  );
495
 
496
  $cf7_style_query = new WP_Query( $cf7_style_args );
3
  Plugin Name: Contact Form 7 Style
4
  Plugin URI: http://wordpress.reea.net/contact-form-7-style/
5
  Description: Simple style customization and templating for Contact Form 7 forms. Requires Contact Form 7 plugin installed.
6
+ Version: 3.1.2
7
  Author: Johnny, dorumarginean, mlehelsz, MirceaR
8
  Author URI: http://cf7style.com
9
  License: GPL2
16
  define( 'WPCF7S_PLUGIN', __FILE__ );
17
  define( 'WPCF7S_PLUGIN_DIR', untrailingslashit( dirname( WPCF7S_PLUGIN ) ) );
18
  define( 'WPCF7S_LOCATION',plugin_dir_url( WPCF7S_PLUGIN ) );
19
+ define( 'WPCF7S_PLUGIN_VER', '3.1.2' );
20
 
21
 
22
  function get_predefined_cf7_style_template_data() {
108
  $forms = new WP_Query( $args );
109
  $total_num_posts = $forms->found_posts;
110
  $style = "";
111
+ $cf7s_manual_style = html_entity_decode( stripslashes(get_option( 'cf7_style_manual_style', true )),ENT_QUOTES );
112
  $cf7s_manual_style = ( $cf7s_manual_style == '1' ) ? "" : $cf7s_manual_style;
113
+ $cf7s_force_css = get_option( 'cf7_style_forcecss', true );
114
+ $cf7s_force_css = (1 == $cf7s_force_css ) ? " !important" : "";
115
  $active_styles = array();
116
  $style_number = 0;
117
  if( $forms->have_posts() ) :
119
  $id = get_the_ID();
120
  $cf7s_id = get_post_meta( $id, 'cf7_style_id', true );
121
  $form_title = get_the_title($cf7s_id);
122
+ if ( ( ! empty( $cf7s_id ) || $cf7s_id !== 0 ) && ! in_array( $cf7s_id, $active_styles ) ) {
 
 
 
123
  array_push( $active_styles, $cf7s_id );
124
  $cf7_style_data = get_post( $cf7s_id, OBJECT );
125
  $check_custom_style = has_term( 'custom-style', 'style_category', $cf7_style_data );
133
  $groundzero_hover = "";
134
  $groundone = "";
135
  $groundone_hover = "";
136
+ $tempSave = "";
137
  $bleah = array();
138
  $bleah_hover = array();
139
  $i = 0;
150
  $endtag = ( $i == 0 ) ? "" : "}\n";
151
  $endtag_hover = ( $i_hover == 0 ) ? "" : "}\n";
152
  $curr_tag_gen = $classelem.$html_element;
153
+ if( $setting != "" ){
154
  $setting = ($setting_key_part[1] == "background-image") ? 'url("'.$setting.'")' : $setting;
155
+ $cur_property_gen = "\t\t".$setting_key_part[1].": ".$setting.$cf7s_force_css. ";\n";
156
  }
157
  $the_hover = ( array_key_exists (3,$setting_key_part) && $setting_key_part[3] == "hover" ) ? "yes" :
158
  ( array_key_exists (2,$setting_key_part) && $setting_key_part[2] == "hover" ) ? "yes" : "no";
165
  $groundzero_hover = $setting_key_part[0];
166
  }
167
  $i_hover++;
168
+ if( $setting != "" ){
169
  if ( $groundone_hover != $setting_key_part[1]) {
170
  $groundone_hover = $setting_key_part[1];
171
  $tempSave = $setting;
173
  $bleah_hover[$i_hover] = $cur_property_gen;
174
  }
175
  } else {
176
+ $bleah_hover[--$i_hover] = ( $tempSave != "done" ) ? ( "\t\t".$setting_key_part[1].": ".$tempSave.$setting.$cf7s_force_css. ";\n") : "";
177
+ $tempSave = "done";
178
  }
179
  }
180
  } else {
187
  $groundzero = $setting_key_part[0];
188
  }
189
  $i++;
190
+ if( $setting != "" ){
191
  if ( $groundone != $setting_key_part[1]) {
192
  $groundone = $setting_key_part[1];
193
  $tempSave = $setting;
194
  if( $setting != "px" && $setting != "%" && $setting != "em" ){
195
  $bleah[$i] = $cur_property_gen;
196
  }
 
197
  } else {
198
+ $bleah[--$i] = ( $tempSave != "done" ) ? ( "\t\t".$setting_key_part[1].": ".$tempSave.$setting.$cf7s_force_css. ";\n") : "";
199
+ $tempSave = "done";
200
  }
201
  }
202
  }
239
  if( ( $style_number !== 0 ) && $style_number == count( $active_styles ) ) {
240
  $cur_css .= "\n</style>\n";
241
  }
242
+ $cur_css = str_replace(' 0px;', ' 0;', $cur_css);
243
  echo $cur_css;
244
  wp_reset_postdata();
245
  endif;
262
  wp_enqueue_style( 'thickbox' );
263
  wp_enqueue_script( 'media-upload' );
264
  }
265
+ if( 'plugins.php'== $hook || 'cf7_style' == $post_type || 'toplevel_page_wpcf7' == $hook || 'cf7_style_page_cf7style-css-editor' == $hook || 'cf7_style_page_system-status' == $hook || 'cf7_style_page_cf7style-settings' == $hook ){
266
  wp_enqueue_style('cf7-style-font-awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.6.2/css/font-awesome.min.css');
267
  wp_enqueue_style( "cf7-style-admin-style", WPCF7S_LOCATION . "admin/css/admin.css", false, WPCF7S_PLUGIN_VER, "all");
268
  wp_enqueue_script( "cf7_style_admin_js", WPCF7S_LOCATION . "admin/js/admin-min.js", array( 'wp-color-picker', 'jquery' ), WPCF7S_PLUGIN_VER, true );
482
  );
483
  //register tax
484
  register_taxonomy( 'style_category', array( 'cf7_style' ), $args );
 
485
 
486
  foreach ( get_predefined_cf7_style_template_data() as $style ) {
487
  cf7_style_create_post( strtolower( str_replace( " ", "-", $style['title'] ) ), $style['title'], $style['image'] );
488
  }
489
  if( get_option( 'cf7_style_add_categories', 0 ) == 0 ){
490
  $cf7_style_args = array(
491
+ 'post_type' => 'cf7_style',
492
+ 'posts_per_page' => '-1'
493
  );
494
 
495
  $cf7_style_query = new WP_Query( $cf7_style_args );
css/admin-bar.css CHANGED
@@ -1 +1 @@
1
- #wp-admin-bar-cf7-style a{display:block;float:right}.remove_template_notice{float:right}#wpadminbar .admin-style-icon{float:right;padding-top:7px;display:block;margin-right:-4px;margin-left:10px}#wpadminbar .admin-style-icon:after{color:#000;content:".";font-size:10px;left:22px;position:absolute;top:-6px}.cf7_style_page_cf7style-settings .form-table td,.cf7_style_page_cf7style-settings .form-table th{padding-top:5px;padding-bottom:5px}.cf7_style_page_cf7style-settings .form-table th{width:auto}.cf7_style_page_cf7style-settings .form-table td label{font-style:italic;text-decoration:underline;padding:5px 0;line-height:150%}
1
+ #wp-admin-bar-cf7-style a{display:block;float:right}.remove_template_notice{float:right}#wpadminbar .admin-style-icon{float:right;padding-top:7px;display:block;margin-right:-4px;margin-left:10px}#wpadminbar .admin-style-icon:after{color:#000;content:".";font-size:10px;left:22px;position:absolute;top:-6px}.cf7_style_page_cf7style-settings .form-table td,.cf7_style_page_cf7style-settings .form-table th{padding-top:5px;padding-bottom:5px}.cf7_style_page_cf7style-settings .form-table th{width:auto}.cf7_style_page_cf7style-settings .form-table td label{font-style:italic;text-decoration:underline;padding:5px 0;position:relative;line-height:150%}.cf7_style_page_cf7style-settings .form-table td .cf7style-tooltip{cursor:pointer;display:inline-block;top:3px;position:relative;margin-left:50px}.cf7style-tooltip i{color:#E74C3C;font-size:16px}.cf7_style_page_cf7style-settings .cf7style-tooltip-content{position:absolute;padding:5px 10px;background-color:#E74C3C;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;color:#FFF;border:1px solid #E74C3C;z-index:100;width:280px;cursor:auto;font-style:normal;top:-380%;left:160%;display:none;flex-direction:column;justify-content:center}.cf7_style_page_cf7style-settings .cf7style-tooltip-content.show{display:flex}.cf7_style_page_cf7style-settings .cf7style-tooltip-content p,.cf7_style_page_cf7style-settings .cf7style-tooltip-content p small{font-size:12px;margin-bottom:10px}.cf7_style_page_cf7style-settings .cf7style-tooltip-content a{color:#FFF;font-weight:700}.post-type-cf7_style .postbox .hndle{cursor:default}
css/frontend.css CHANGED
@@ -1 +1 @@
1
- .cf7-style input[type=text],.cf7-style input[type=email],.cf7-style input[type=url],.cf7-style input[type=password],.cf7-style input[type=search],.cf7-style textarea{width:100%}body .cf7-style input.wpcf7-form-control.wpcf7-submit{text-align:center}body .cf7-style *{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}body .cf7-style div.wpcf7-response-output{padding:15px;text-transform:none}body .cf7-style div.wpcf7-validation-errors{background:0 0;color:red;border:2px solid red}body .cf7-style div.wpcf7-response-output:before{display:none}body .valentines-day-classic span.wpcf7-list-item,body .wpcf7 form.valentines-day-roses span.wpcf7-list-item{display:inline-block}body .cf7-style div.wpcf7-response-output.wpcf7-mail-sent-ok{background:0 0;color:green;border:2px solid green}body .valentines-day-classic input.wpcf7-form-control.wpcf7-date,body .valentines-day-classic input.wpcf7-form-control.wpcf7-file,body .valentines-day-classic input.wpcf7-form-control.wpcf7-number,body .valentines-day-classic input.wpcf7-form-control.wpcf7-quiz,body .valentines-day-classic input.wpcf7-form-control.wpcf7-range,body .valentines-day-classic input.wpcf7-form-control.wpcf7-select,body .valentines-day-classic input.wpcf7-form-control.wpcf7-text,body .valentines-day-classic select.wpcf7-form-control.wpcf7-select,body .valentines-day-classic textarea.wpcf7-form-control.wpcf7-textarea{margin:5px 0 0;padding:15px 10px;border-top:0;border-right:0;border-left:1px solid #AAA;border-bottom:1px solid #AAA;outline:0;resize:none;font-size:13px;line-height:17px;background:rgba(255,255,255,.7);color:#818181;font-family:Raleway;font-weight:400;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .valentines-day-classic input.wpcf7-form-control.wpcf7-submit:not([disabled]){border:none}body .wpcf7 form.valentines-day-classic p{margin-bottom:15px;font-size:16px;color:#222}body .valentines-day-classic{background:url(../images/vday-classic/hearted-bg.png) -45px 0;position:relative;max-width:600px;margin:0 auto 50px;padding-bottom:50px}body .valentines-day-classic .heart{position:absolute;right:0;background:url(../images/vday-classic/big-heart.png) no-repeat;width:136px;height:135px;top:-90px}body .valentines-day-classic p{margin-bottom:10px;text-shadow:1px 1px #FFF}body .valentines-day-classic input,body .valentines-day-classic select,body .valentines-day-classic textarea{background:rgba(255,255,255,.7);border:none;border-left:1px solid #AAA;border-bottom:1px solid #AAA;-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;-webkit-box-shadow:5px 6px 10px -5px #999;-moz-box-shadow:5px 6px 10px -5px #999;box-shadow:5px 6px 10px -5px #999;margin-top:3px}body .valentines-day-classic input:focus,body .valentines-day-classic textarea:focus{background:rgba(255,255,255,.7);border-left:1px solid #AAA;border-bottom:1px solid #AAA}body .cf7-style.valentines-day-classic .wpcf7-submit,body .cf7-style.valentines-day-classic input.wpcf7-form-control.wpcf7-submit:not([disabled]),body .cf7-style.valentines-day-classic input.wpcf7-form-control.wpcf7-submit[disabled]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;border:none;line-height:20px;text-align:center;padding:10px 20px;min-width:90px;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzdkYjllOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjZDU0ZTRlIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMzklIiBzdG9wLWNvbG9yPSIjZDQwMDAwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iODUlIiBzdG9wLWNvbG9yPSIjOTQwYTBhIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);background:-moz-linear-gradient(left,rgba(125,185,232,1) 0,rgba(213,78,78,1) 0,rgba(212,0,0,1) 39%,rgba(148,10,10,1) 85%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(125,185,232,1)),color-stop(0,rgba(213,78,78,1)),color-stop(39%,rgba(212,0,0,1)),color-stop(85%,rgba(148,10,10,1)));background:-webkit-linear-gradient(left,rgba(125,185,232,1) 0,rgba(213,78,78,1) 0,rgba(212,0,0,1) 39%,rgba(148,10,10,1) 85%);background:-o-linear-gradient(left,rgba(125,185,232,1) 0,rgba(213,78,78,1) 0,rgba(212,0,0,1) 39%,rgba(148,10,10,1) 85%);background:-ms-linear-gradient(left,rgba(125,185,232,1) 0,rgba(213,78,78,1) 0,rgba(212,0,0,1) 39%,rgba(148,10,10,1) 85%);background:linear-gradient(to right,rgba(125,185,232,1) 0,rgba(213,78,78,1) 0,rgba(212,0,0,1) 39%,rgba(148,10,10,1) 85%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#940a0a', GradientType=1);color:#FFF;float:right;text-shadow:1px 1px #555;cursor:pointer}body .valentines-day-classic .wpcf7-submit:hover,body .valentines-day-classic input.wpcf7-form-control.wpcf7-submit:not([disabled]):focus,body .valentines-day-classic input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{opacity:.8}body .valentines-day-classic div.wpcf7-response-output.wpcf7-mail-sent-ok,body .valentines-day-classic div.wpcf7-response-output.wpcf7-validation-errors{background:rgba(255,255,255,.6);border:1px solid red;top:30px}body .valentines-day-classic div.wpcf7-response-output.wpcf7-validation-errors{color:red}body .valentines-day-classic div.wpcf7-response-output.wpcf7-mail-sent-ok{color:green;border:1px solid green}body .valentines-day-classic input[type=date],body .valentines-day-classic input[type=file],body .valentines-day-classic input[type=range],body .valentines-day-classic select{width:100%}body .valentines-day-classic input[type=range]::-webkit-slider-runnable-track{height:5px;background:#ddd;border:none;border-radius:3px}body .valentines-day-classic input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;border:none;height:16px;width:16px;border-radius:50%;background:#777;margin-top:-4px;cursor:pointer}body .valentines-day-classic input[type=range]:focus{outline:0}body .valentines-day-classic input[type=range]:focus::-webkit-slider-runnable-track{background:#ccc}body .valentines-day-classic input[type=range]{-webkit-appearance:none;border:1px solid #fff;width:100%}body .valentines-day-classic input[type=range]::-moz-range-track{height:5px;background:#ddd;border:none;border-radius:3px}body .valentines-day-classic input[type=range]::-moz-range-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#777;cursor:pointer}body .valentines-day-classic input[type=range]:-moz-focusring{outline:#fff solid 1px;outline-offset:-1px}body .valentines-day-classic input[type=range]:focus::-moz-range-track{background:#ccc}body .valentines-day-classic input[type=range]::-ms-track{height:5px;background:0 0;border-color:transparent;border-width:6px 0;color:transparent}body .valentines-day-classic input[type=range]::-ms-fill-lower{background:#ddd;border-radius:10px}body .valentines-day-classic input[type=range]::-ms-fill-upper{background:#ddd;border-radius:10px}body .valentines-day-classic input[type=range]::-ms-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#777;cursor:pointer}body .valentines-day-classic input[type=range]:focus::-ms-fill-lower{background:#ccc}body .valentines-day-classic input[type=range]:focus::-ms-fill-upper{background:#ccc}body .valentines-day-roses input.wpcf7-form-control.wpcf7-date,body .valentines-day-roses input.wpcf7-form-control.wpcf7-file,body .valentines-day-roses input.wpcf7-form-control.wpcf7-number,body .valentines-day-roses input.wpcf7-form-control.wpcf7-quiz,body .valentines-day-roses input.wpcf7-form-control.wpcf7-text,body .valentines-day-roses select.wpcf7-form-control.wpcf7-select,body .valentines-day-roses textarea.wpcf7-form-control.wpcf7-textarea{margin:5px 0 0;padding:15px 10px;border-bottom:1px solid #490706;outline:0;resize:none;font-size:13px;line-height:17px;background:0 0;color:#000;font-family:Raleway;font-weight:400;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .valentines-day-roses input.wpcf7-form-control.wpcf7-date,body .valentines-day-roses input.wpcf7-form-control.wpcf7-file,body .valentines-day-roses input.wpcf7-form-control.wpcf7-range,body .valentines-day-roses select.wpcf7-form-control.wpcf7-select{width:100%}body .valentines-day-roses input.wpcf7-form-control.wpcf7-submit:not([disabled]),body .valentines-day-roses textarea.wpcf7-form-control.wpcf7-textarea{border:none}body .wpcf7 form.valentines-day-roses p{margin-bottom:15px;font-size:16px;color:#000}body .valentines-day-roses input.wpcf7-form-control.wpcf7-submit{position:absolute;right:0;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}body .valentines-day-roses input.wpcf7-form-control.wpcf7-submit:not([disabled]):focus,body .valentines-day-roses input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{background:#7F2A3A;border:none}body .valentines-day-roses{background:url(../images/vday-rose/rose-bg-50percent.png) no-repeat;position:relative;min-height:380px;width:270px;padding:12px 0 0 200px;-wekit-box-sizing:initial;-moz-box-sizing:initial;box-sizing:initial;clear:both}body .valentines-day-roses input{padding-bottom:2px}body .valentines-day-roses input,body .valentines-day-roses input:focus,body .valentines-day-roses input:hover{border-bottom:1px solid #490706}body .valentines-day-roses textarea{width:215px;height:140px;resize:none;padding-top:0;line-height:32px}body .valentines-day-roses p{margin-bottom:10px}body .valentines-day-roses .letter-box{background:url(../images/vday-rose/contact-bg.png) no-repeat #826e50;width:285px;margin:32px 0 0 -50px;padding:35px 15px 50px}body .wpcf7 form.valentines-day-roses .letter-box p{color:#000}body .wpcf7 form.valentines-day-roses .wpcf7-submit{position:absolute;bottom:10px;right:20px;border:none;padding:7px 15px;color:#fff;box-shadow:none}body .valentines-day-roses input[type=submit]:focus,body .valentines-day-roses input[type=submit]:hover{background:#490706}body .valentines-day-roses div.wpcf7-mail-sent-ok,body .valentines-day-roses div.wpcf7-validation-errors{background:rgba(255,255,255,.6);border:none;left:115px;position:absolute;top:145px;width:295px}body .valentines-day-roses div.wpcf7-validation-errors{color:red}body .valentines-day-roses div.wpcf7-mail-sent-ok{color:green}body .valentines-day-roses div.wpcf7-response-output.wpcf7-mail-sent-ok,body .valentines-day-roses div.wpcf7-response-output.wpcf7-validation-errors{background:rgba(255,255,255,.6);border:none}body .valentines-day-birds input.wpcf7-form-control.wpcf7-date,body .valentines-day-birds input.wpcf7-form-control.wpcf7-file,body .valentines-day-birds input.wpcf7-form-control.wpcf7-number,body .valentines-day-birds input.wpcf7-form-control.wpcf7-quiz,body .valentines-day-birds input.wpcf7-form-control.wpcf7-range,body .valentines-day-birds input.wpcf7-form-control.wpcf7-text,body .valentines-day-birds select.wpcf7-form-control.wpcf7-select,body .valentines-day-birds textarea.wpcf7-form-control.wpcf7-textarea{margin:0 0 5px;padding:8px 10px;border:2px dashed #000;outline:0;resize:none;font-size:13px;line-height:16px;background:0 0;color:#222;font-family:inherit;font-weight:400;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .valentines-day-birds input.wpcf7-form-control.wpcf7-date,body .valentines-day-birds input.wpcf7-form-control.wpcf7-number,body .valentines-day-birds input.wpcf7-form-control.wpcf7-range,body .valentines-day-birds input.wpcf7-form-control.wpcf7-text,body .valentines-day-birds input[type=text],body .valentines-day-birds input[type=email],body .valentines-day-birds input[type=url],body .valentines-day-birds input[type=password],body .valentines-day-birds input[type=search],body .valentines-day-birds select.wpcf7-form-control.wpcf7-select,body .valentines-day-birds textarea,body .valentines-day-birds textarea.wpcf7-form-control.wpcf7-textarea{width:100%}body .valentines-day-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]),body .valentines-day-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{border:none;background:0 0}body .valentines-day-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]){color:#444}body .valentines-day-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{color:#843A69}body .valentines-day-birds div.wpcf7-response-output{position:relative;padding:17px 42px;font-weight:400;font-size:13px;line-height:17px;text-transform:uppercase;letter-spacing:1px}body .valentines-day-birds div.wpcf7-response-output.wpcf7-validation-errors{background:0 0}body .valentines-day-birds div.wpcf7-response-output.wpcf7-validation-errors:before{display:none}body .valentines-day-birds span.wpcf7-list-item{display:inline-block}body .valentines-day-birds{position:relative;width:280px;margin:234px 0 330px 97px}body .valentines-day-birds-container{background:url(../images/vday-birds/bg-middle.png) 63px 0 repeat-y;width:486px;margin:0 auto}body .valentines-day-birds .bg-bottom,body .valentines-day-birds .bg-header{width:486px}body .valentines-day-birds .bg-header{background:url(../images/vday-birds/bg-top.png) 25px 0 no-repeat;height:234px;left:-97px;position:absolute;top:-234px}body .valentines-day-birds .bg-bottom{background:url(../images/vday-birds/bg-bottom.png) no-repeat;bottom:-301px;height:301px;left:-97px;position:absolute}body .wpcf7 form.valentines-day-birds p{margin-bottom:20px;color:#222;line-height:1.5em}body .valentines-day-birds input,body .valentines-day-birds textarea{background:0 0;border:2px dashed #000;resize:vertical}body .valentines-day-birds textarea{height:120px}body .valentines-day-birds input:focus,body .valentines-day-birds input:hover,body .valentines-day-birds textarea:focus,body .valentines-day-birds textarea:hover{border:2px dashed #000}body .valentines-day-birds input{margin-bottom:5px}body .valentines-day-birds input[type=submit]{font-size:30px;color:#444;text-transform:capitalize;border:none;box-shadow:none;background:0 0;display:block;margin:0 auto}body .valentines-day-birds input[type=submit]:focus,body .valentines-day-birds input[type=submit]:hover{background:0 0;color:#000}body .valentines-day-birds div.wpcf7-response-output{width:265px;margin:0 0 0 -36px;border:none}body .valentines-day-birds .wpcf7-validation-errors{color:red}body .valentines-day-birds .wpcf7-mail-sent-ok{color:green}body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-date,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-file,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-number,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-quiz,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-text,body .valentines-day-blue-birds select.wpcf7-form-control.wpcf7-select,body .valentines-day-blue-birds textarea.wpcf7-form-control.wpcf7-textarea{margin:5px 0 0;padding:15px;border:0;outline:0;resize:none;font-size:13px;line-height:17px;background:#dad3c2;color:#818181;font-family:Raleway;font-weight:400;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-date,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-file,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-range,body .valentines-day-blue-birds select.wpcf7-form-control.wpcf7-select{width:100%}body .valentines-day-blue-birds .wpcf7-list-item,body .valentines-day-blue-birds .wpcf7-list-item-label{display:inline-block}body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]){border:none}body .wpcf7 form.valentines-day-blue-birds p{margin-bottom:15px;font-size:16px}body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-submit:focus,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-submit:hover,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]):focus,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{background:url(../images/vday-blue-birds/submit.png) top right no-repeat;border:none;color:#7F2A3A}body .valentines-day-blue-birds{position:relative;background:url(../images/vday-blue-birds/pattern.jpg);color:#100804}body .valentines-day-blue-birds .header{background:url(../images/vday-blue-birds/header.png) top center no-repeat;height:260px;width:100%}body .valentines-day-blue-birds textarea{width:100%;display:inline-block;background:#dad3c2;border:none;height:75px}body .valentines-day-blue-birds input:focus,body .valentines-day-blue-birds textarea:focus{background:#dad3c2}body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-submit{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none;background:url(../images/vday-blue-birds/submit.png) top right no-repeat;line-height:50px;font-size:30px;display:inline;text-transform:none;width:auto;position:absolute;top:50px;right:20px;color:#100804;box-shadow:none}body .valentines-day-blue-birds .wpcf7-submit:hover,body .valentines-day-blue-birds span.wpcf7-not-valid-tip{color:#7f2a3a}body .valentines-day-blue-birds p{width:290px;margin:7px auto;position:relative}body .valentines-day-blue-birds .footer{background:url(../images/vday-blue-birds/footer.png) bottom center no-repeat;height:145px;width:100%}body .valentines-day-blue-birds div.wpcf7-mail-sent-ok,body .valentines-day-blue-birds div.wpcf7-validation-errors{border:none;background:rgba(127,42,58,.9);position:absolute;bottom:0;color:#fff;margin:0;padding:10px 20px;right:0}body .valentines-day-blue-birds div.wpcf7-mail-sent-ok{background:rgba(9,94,0,.9)}body .christmas-classic input.wpcf7-form-control.wpcf7-date,body .christmas-classic input.wpcf7-form-control.wpcf7-file,body .christmas-classic input.wpcf7-form-control.wpcf7-number,body .christmas-classic input.wpcf7-form-control.wpcf7-quiz,body .christmas-classic input.wpcf7-form-control.wpcf7-text,body .christmas-classic select.wpcf7-form-control.wpcf7-select,body .christmas-classic textarea.wpcf7-form-control.wpcf7-textarea{margin:5px 0 0;padding:3px 10px;border:1px dotted #b2a28e;outline:0;resize:none;font-size:14px;line-height:20px;background:#f3eadf;color:#707070;color:rgba(51,51,51,.7);font-family:Raleway;font-weight:400;height:40px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}body .christmas-classic select.wpcf7-form-control.wpcf7-select[multiple]{height:auto}body .christmas-classic textarea.wpcf7-form-control.wpcf7-textarea{padding:5px 10px;height:140px}body .christmas-classic input.wpcf7-form-control.wpcf7-file{padding:8px 10px}body .christmas-classic span.wpcf7-list-item{margin:.5em;display:inline-block}body .christmas-classic{position:relative}body .christmas-classic-container{background:url(../images/xmas-classic/bg-repeat.png) 1px 1px repeat-y rgba(0,0,0,0);display:block;margin:auto auto 260px;text-align:center;width:403px}body .christmas-classic .header{background:url(../images/xmas-classic/top_border.png) no-repeat rgba(0,0,0,0);height:23px;width:100%}body .christmas-classic .left{background:url(../images/xmas-classic/left_part_bg.png) no-repeat rgba(0,0,0,0);bottom:0;height:129px;left:-73px;position:absolute;width:99px}body .christmas-classic p{color:#482C09;margin-bottom:20px;margin-left:27px;width:350px}body .christmas-classic .footer{background:url(../images/xmas-classic/bottombg.png) no-repeat rgba(0,0,0,0);height:255px;width:474px;position:absolute;bottom:-255px;margin:0 0 0 -70px;padding:0}body .christmas-classic input,body .christmas-classic textarea{display:inline-block;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;background:#f3eadf;border:1px dotted #b2a28e}body .christmas-classic input{height:28px;padding:3px 5px;line-height:28px}body .christmas-classic input:focus,body .christmas-classic textarea:focus{background:#f3eadf;border:1px dotted #b2a28e}body .christmas-classic .wpcf7-form-control-wrap input,body .christmas-classic .wpcf7-form-control-wrap textarea{display:block;width:100%}body .christmas-classic form textarea{resize:vertical;margin-bottom:10px}body .christmas-classic .wpcf7-submit,body .christmas-classic input.wpcf7-form-control.wpcf7-submit:not([disabled]){background:rgba(0,0,0,0);border:none;bottom:-246px;height:86px;left:21px;position:absolute;text-indent:-9999px;width:95px;z-index:10}body .christmas-classic .wpcf7-submit:hover,body .christmas-classic input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{background-color:rgba(255,255,255,.3)}body .christmas-classic div.wpcf7-response-output{width:84%;margin:0 auto}body .christmas-classic span.wpcf7-list-item-label{display:inline-block}body .christmas-red .wpcf7-form-control-wrap{display:inherit}body .christmas-red input.wpcf7-form-control.wpcf7-date,body .christmas-red input.wpcf7-form-control.wpcf7-number,body .christmas-red input.wpcf7-form-control.wpcf7-quiz,body .christmas-red input.wpcf7-form-control.wpcf7-text,body .christmas-red select.wpcf7-form-control.wpcf7-select,body .christmas-red textarea.wpcf7-form-control.wpcf7-textarea{margin:5px 0 0;padding:15px 10px;border:none;outline:0;resize:none;font-size:17px;line-height:normal;background:#fff;background:rgba(255,255,255,.9);color:#818181;font-family:Raleway;font-weight:400;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .christmas-red select.wpcf7-form-control.wpcf7-select[multiple]{height:auto;padding:5px 10px}body .christmas-red input.wpcf7-form-control.wpcf7-acceptance{display:inline-block;width:auto}body .christmas-red input.wpcf7-form-control.wpcf7-submit:not([disabled]),body .christmas-red textarea.wpcf7-form-control.wpcf7-textarea{border:none}body .wpcf7 form.christmas-red p{margin-bottom:15px;font-size:16px;color:#fff}body .christmas-red-container{color:#fff;font-size:17px;width:600px;margin:0 auto;background:url(../images/xmas-red/middle.png) top center repeat-y;position:relative}body .christmas-red{margin:94px 0 125px}body .christmas-red .header{display:block;background:url(../images/xmas-red/header.png) 32px top no-repeat;width:600px;height:94px;position:absolute;top:-94px}body .christmas-red .footer{display:block;background:url(../images/xmas-red/footer.png) top center no-repeat;width:600px;height:94px;bottom:-94px;position:absolute}body .christmas-red p{max-width:370px;margin:0 auto}body .christmas-red input,body .christmas-red textarea{color:#222;width:100%;font-size:16px;margin:0}body .christmas-red input[type=text],body .christmas-red input[type=email],body .christmas-red input[type=url],body .christmas-red input[type=password],body .christmas-red input[type=search],body .christmas-red select,body .christmas-red textarea{width:100%}body .christmas-red input[type=radio],body .christmas-red input[type=checkbox]{width:auto}body .christmas-red input:focus,body .christmas-red textarea:focus{background:#fff}body .christmas-red textarea{height:120px;resize:vertical}body .christmas-red .wpcf7-submit,body .christmas-red input.wpcf7-form-control.wpcf7-submit:not([disabled]){display:block;width:232px;height:126px;background:url(../images/xmas-red/send.png) top center no-repeat;position:absolute;bottom:-125px;right:0;text-indent:-9999px;border:none;z-index:10;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}body .christmas-classic-mail-sent-ok,body .christmas-classic-validation-errors,body .christmas-red .wpcf7-mail-sent-ok,body .christmas-red .wpcf7-validation-errors{border:none;max-width:350px;font-size:22px;color:#FC8181;margin-left:25px;padding:0}body .christmas-classic-mail-sent-ok,body .christmas-red .wpcf7-mail-sent-ok{color:#73C94E}body .christmas-classic span.wpcf7-not-valid-tip,body .christmas-red span.wpcf7-not-valid-tip{left:0;top:0;padding:5px 10px;width:368px;font-size:16px;border:none;display:block;color:#FC8181;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.wpcf7-form-control .wpcf7-radio,body .christmas-red span.wpcf7-list-item{display:inline-block;height:32px;margin-left:1em;position:relative}body .christmas-red .wpcf7-radio .wpcf7-list-item-label:before,body .christmas-red .wpcf7-radio input+.wpcf7-list-item-label:before{content:'';position:absolute;top:0;width:32px;height:32px;background:url(../images/xmas-red/radio.png) 0 2px no-repeat;z-index:1}body .christmas-red .wpcf7-radio .wpcf7-list-item-label:before{right:0}body .christmas-red .wpcf7-radio input+.wpcf7-list-item-label:before{left:0}body .christmas-red .wpcf7-radio .wpcf7-list-item .active .wpcf7-list-item-label:before,body .christmas-red .wpcf7-radio .wpcf7-list-item.active .wpcf7-list-item-label:before{background-position:0 -31px}body .christmas-red .wpcf7-radio .wpcf7-list-item-label{display:inline-block;vertical-align:top}body .christmas-red span.wpcf7-list-item input[type=radio]{position:relative;z-index:2;width:30px;height:30px;cursor:pointer;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0}body .christmas-red .wpcf7-response-output{position:relative;margin:0 auto}body .christmas-red .wpcf7-submit:hover,body .christmas-red input.wpcf7-form-control.wpcf7-submit:not([disabled]):focus,body .christmas-red input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{opacity:.8}body .christmas-red div.wpcf7-response-output.wpcf7-mail-sent-ok,body .christmas-red div.wpcf7-response-output.wpcf7-validation-errors{background:0 0;border:none;font-size:17px}body .christmas-red div.wpcf7-response-output.wpcf7-validation-errors{color:#FC8181}body .christmas-red div.wpcf7-response-output.wpcf7-mail-sent-ok{color:#04c004}body .christmas-red span.wpcf7-not-valid-tip{padding:5px 10px 5px 0}body .christmas-simple{width:410px;padding:50px 20px 15px;color:#1b0a00;position:relative;margin:75px 0 35px}body .christmas-simple-container{width:425px;margin:0 auto;border-left:dashed 2px #542c0e;border-right:dashed 2px #542c0e;background:url(../images/xmas-simple/middle.png) center top repeat-y}body .christmas-simple p{width:325px;margin:15px auto}body .christmas-simple p input[type=text],body .christmas-simple p input[type=text]:focus,body .christmas-simple p input[type=text]:hover,body .christmas-simple p input[type=date],body .christmas-simple p input[type=tel],body .christmas-simple p input[type=tel]:focus,body .christmas-simple p input[type=tel]:hover,body .christmas-simple p input[type=number],body .christmas-simple p input[type=email],body .christmas-simple p input[type=email]:focus,body .christmas-simple p input[type=email]:hover,body .christmas-simple p input[type=url],body .christmas-simple p input[type=file],body .christmas-simple p input[type=range],body .christmas-simple p select,body .christmas-simple p textarea,body .christmas-simple p textarea:focus,body .christmas-simple p textarea:hover{width:94%;background:0 0;border:2px dashed #7d5f48;padding:.625em .4375em}body .christmas-simple span.wpcf7-list-item{display:inline-block;margin-left:1em}body .christmas-simple input[type=radio],body .christmas-simple input[type=checkbox]{margin-right:0}body .christmas-simple textarea{height:110px;resize:vertical}body .christmas-simple .footer,body .christmas-simple .header{width:425px;height:35px;margin:0 auto;background:url(../images/xmas-simple/header.png) center bottom no-repeat;border:2px dashed #542c0e;border-bottom:none;position:absolute;left:-2px}body .christmas-simple .header{background-position:1px 1px;border-radius:12px 12px 0 0;left:-2px;top:-35px;width:421px}body .christmas-simple .footer{background:url(../images/xmas-simple/footer.png) center top no-repeat;border-bottom:2px dashed #542c0e;border-radius:0 0 20px 20px;border-top:medium none;bottom:-35px;padding-bottom:3px;width:425px}body .christmas-simple .ribbon{width:182px;height:202px;position:absolute;background:url(../images/xmas-simple/ribbon.png) no-repeat;right:-118px;top:-85px}body .christmas-simple div.wpcf7-response-output{width:360px;margin:0 auto;border:none;color:#e00}body .christmas-simple .wpcf7-submit,body .christmas-simple input[type=submit]{background:#e7e3d0;color:#555;border-top:solid 1px #fff;font-size:14px;padding:0 40px;height:40px;-webkit-border-radius:15px 18px 7px 9px;-moz-border-radius:15px 18px 7px 9px;border-radius:15px 18px 7px 9px;-webkit-box-shadow:-3px 3px 9px 1px #999;box-shadow:-3px 3px 9px 1px #999}body .christmas-simple input[type=submit]:hover{border-top:solid 1px #fff;background:#e7e3d0;color:#000}body .christmas-simple span.wpcf7-not-valid-tip{top:-4px;left:2px;height:30px;line-height:30px;padding-left:9px;width:335px;color:#e00;background:#fff;border:none}body .christmas-classic .wpcf7-not-valid-tip{width:100%;background:0 0}body .twenty-fifteen-pattern{padding-top:1.6842em}body .twenty-fifteen-pattern p{font-size:1.6rem;margin-bottom:1.6842em;color:rgba(51,51,51,.7);display:block;font-family:"Noto Sans",sans-serif;font-weight:700;letter-spacing:.04em;line-height:1.5;text-transform:uppercase}body .twenty-fifteen-pattern input[type=text],body .twenty-fifteen-pattern input[type=submit],body .twenty-fifteen-pattern input[type=email],body .twenty-fifteen-pattern input[type=url],body .twenty-fifteen-pattern textarea{width:100%;padding:.5278em;line-height:normal;font-size:1.9rem;border:1px solid rgba(51,51,51,.1);color:rgba(51,51,51,.7);background:#f7f7f7;border-radius:0;margin:0;max-width:100%;vertical-align:baseline;font-family:"Noto Serif",serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .twenty-fifteen-pattern input:focus,body .twenty-fifteen-pattern textarea:focus{border:1px solid rgba(51,51,51,.3);color:#333;background:#fff}body .twenty-fifteen-pattern button,body .twenty-fifteen-pattern input[type=submit],body .twenty-fifteen-pattern input[type=button],body .twenty-fifteen-pattern input[type=reset]{font-size:1.6rem;padding:.8125em 1.625em;background:#333;border:none;color:#fff;cursor:pointer;font-family:"Noto Sans",sans-serif;font-weight:700;text-transform:uppercase;width:100%}body .twenty-fifteen-pattern button:hover,body .twenty-fifteen-pattern input[type=submit]:hover,body .twenty-fifteen-pattern input[type=button]:hover,body .twenty-fifteen-pattern input[type=reset]:hover{background:rgba(51,51,51,.7);outline:0}body .monochrome input::-webkit-input-placeholder,body .monochrome textarea::-webkit-input-placeholder{opacity:1;color:#FFF}body .monochrome input::-moz-placeholder,body .monochrome textarea::-moz-placeholder{opacity:1;color:#FFF}body .monochrome input:-ms-input-placeholder,body .monochrome textarea:-ms-input-placeholder{opacity:1;color:#FFF}body .monochrome input:-moz-placeholder,body .monochrome textarea:-moz-placeholder{opacity:1;color:#FFF}body .monochrome p{margin-bottom:0}body .monochrome input.wpcf7-form-control.wpcf7-date,body .monochrome input.wpcf7-form-control.wpcf7-number,body .monochrome input.wpcf7-form-control.wpcf7-quiz,body .monochrome input.wpcf7-form-control.wpcf7-text,body .monochrome select.wpcf7-form-control.wpcf7-select,body .monochrome textarea.wpcf7-form-control.wpcf7-textarea{background-color:#0d0d0d;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#fff;font-size:14px;font-style:normal;font-weight:700;letter-spacing:0;text-transform:none;margin-top:0;margin-bottom:5px;width:100%;padding:24px 29px}body .monochrome input.wpcf7-form-control.wpcf7-submit,body .monochrome input.wpcf7-form-control.wpcf7-submit:not([disabled]){background-color:#fff;border:2px solid #303030;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#0d0d0d;font-size:14px;line-height:65px;height:65px;font-style:normal;font-weight:700;letter-spacing:0;text-transform:none;padding:0 34px}body .monochrome input.wpcf7-form-control.wpcf7-submit:hover,body .monochrome input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{color:#fff;background-color:#0d0d0d}body .minimal-brown input::-webkit-input-placeholder,body .minimal-brown textarea::-webkit-input-placeholder{opacity:1;color:#828282}body .minimal-brown input::-moz-placeholder,body .minimal-brown textarea::-moz-placeholder{opacity:1;color:#828282}body .minimal-brown input:-ms-input-placeholder,body .minimal-brown textarea:-ms-input-placeholder{opacity:1;color:#828282}body .minimal-brown input:-moz-placeholder,body .minimal-brown textarea:-moz-placeholder{opacity:1;color:#828282}body .minimal-brown p{margin-bottom:-1px}body .minimal-brown input.wpcf7-form-control.wpcf7-date,body .minimal-brown input.wpcf7-form-control.wpcf7-number,body .minimal-brown input.wpcf7-form-control.wpcf7-quiz,body .minimal-brown input.wpcf7-form-control.wpcf7-text,body .minimal-brown select.wpcf7-form-control.wpcf7-select,body .minimal-brown textarea.wpcf7-form-control.wpcf7-textarea{background-color:#fff;border:1px solid #ededed;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;color:#828282;font-size:14px;font-style:normal;font-weight:400;text-transform:none;padding:17px 19px;margin:0;display:block;outline:0;resize:none;line-height:17px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}body .minimal-brown input.wpcf7-form-control.wpcf7-date:focus,body .minimal-brown input.wpcf7-form-control.wpcf7-number:focus,body .minimal-brown input.wpcf7-form-control.wpcf7-quiz:focus,body .minimal-brown input.wpcf7-form-control.wpcf7-text:focus,body .minimal-brown select.wpcf7-form-control.wpcf7-select:focus,body .minimal-brown textarea.wpcf7-form-control.wpcf7-textarea:focus{color:#828282;background-color:#fcfcfc;border-color:#ededed}body .minimal-brown input.wpcf7-form-control.wpcf7-submit,body .minimal-brown input.wpcf7-form-control.wpcf7-submit:not([disabled]){background-color:#fff;border:1px solid #ededed;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;color:#303030;font-size:12px;font-style:normal;font-weight:700;letter-spacing:0;text-transform:uppercase;height:51px;line-height:51px;padding:0 54px;margin-top:5px}body .minimal-brown input.wpcf7-form-control.wpcf7-submit:hover,body .minimal-brown input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{color:#fff;background-color:#b08d58;border-color:#b08d58}body .transparent-two-columns input::-webkit-input-placeholder,body .transparent-two-columns textarea::-webkit-input-placeholder{opacity:1;color:#FFF}body .transparent-two-columns input::-moz-placeholder,body .transparent-two-columns textarea::-moz-placeholder{opacity:1;color:#FFF}body .transparent-two-columns input:-ms-input-placeholder,body .transparent-two-columns textarea:-ms-input-placeholder{opacity:1;color:#FFF}body .transparent-two-columns input:-moz-placeholder,body .transparent-two-columns textarea:-moz-placeholder{opacity:1;color:#FFF}body .transparent-two-columns p{text-align:center;margin-bottom:5px}body .transparent-two-columns p:nth-of-type(1),body .transparent-two-columns p:nth-of-type(2){display:inline-block;width:48%;margin:0 10px 0 0}body .transparent-two-columns p:nth-of-type(2){margin:0 0 0 8px}body .transparent-two-columns input.wpcf7-form-control.wpcf7-date,body .transparent-two-columns input.wpcf7-form-control.wpcf7-number,body .transparent-two-columns input.wpcf7-form-control.wpcf7-quiz,body .transparent-two-columns input.wpcf7-form-control.wpcf7-text,body .transparent-two-columns select.wpcf7-form-control.wpcf7-select,body .transparent-two-columns textarea.wpcf7-form-control.wpcf7-textarea{background-color:rgba(255,255,255,0);border:1px solid #f6f6f6;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;color:#fff;font-size:14px;font-style:normal;font-weight:400;letter-spacing:0;text-transform:none;padding:14px 20px;margin:0 0 14px;outline:0;resize:none;line-height:17px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}body .transparent-two-columns textarea.wpcf7-form-control.wpcf7-textarea{height:92px}body .transparent-two-columns input.wpcf7-form-control.wpcf7-date:focus,body .transparent-two-columns input.wpcf7-form-control.wpcf7-number:focus,body .transparent-two-columns input.wpcf7-form-control.wpcf7-quiz:focus,body .transparent-two-columns input.wpcf7-form-control.wpcf7-text:focus,body .transparent-two-columns select.wpcf7-form-control.wpcf7-select:focus,body .transparent-two-columns textarea.wpcf7-form-control.wpcf7-textarea:focus{color:#303030;background-color:#fff}body .transparent-two-columns input.wpcf7-form-control.wpcf7-submit,body .transparent-two-columns input.wpcf7-form-control.wpcf7-submit:not([disabled]){background-color:#f6f6f6;border-width:0;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;color:#222;font-size:13px;font-style:normal;font-weight:400;letter-spacing:2.9px;text-transform:uppercase;height:50px;line-height:50px;padding:0 26px;margin-top:22px;display:inline-block}body .transparent-two-columns input.wpcf7-form-control.wpcf7-submit:hover,body .transparent-two-columns input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{color:#222;background-color:#fff}body .transparent-two-columns div.wpcf7-response-output.wpcf7-validation-errors{background-color:#f1c40f;color:#FFF;border-color:#f1c40f}body .transparent-two-columns div.wpcf7-response-output.wpcf7-mail-sent-ok{background-color:#1abc9c;color:#FFF;border-color:#1abc9c}body .monochrome-light input::-webkit-input-placeholder,body .monochrome-light textarea::-webkit-input-placeholder{opacity:1;color:#303030}body .monochrome-light input::-moz-placeholder,body .monochrome-light textarea::-moz-placeholder{opacity:1;color:#303030}body .monochrome-light input:-ms-input-placeholder,body .monochrome-light textarea:-ms-input-placeholder{opacity:1;color:#303030}body .monochrome-light input:-moz-placeholder,body .monochrome-light textarea:-moz-placeholder{opacity:1;color:#303030}body .monochrome-light p{margin-bottom:20px}body .monochrome-light input.wpcf7-form-control.wpcf7-date,body .monochrome-light input.wpcf7-form-control.wpcf7-number,body .monochrome-light input.wpcf7-form-control.wpcf7-quiz,body .monochrome-light input.wpcf7-form-control.wpcf7-text,body .monochrome-light select.wpcf7-form-control.wpcf7-select,body .monochrome-light textarea.wpcf7-form-control.wpcf7-textarea{background-color:#FFF;border:2px solid #303030;color:#303030;font-size:15px;line-height:15px;font-style:normal;font-weight:600;letter-spacing:1px;text-transform:uppercase;padding:21px 22px 17px;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;outline:0;resize:none}body .monochrome-light textarea.wpcf7-form-control.wpcf7-textarea{height:150px}body .monochrome-light input.wpcf7-form-control.wpcf7-submit,body .monochrome-light input.wpcf7-form-control.wpcf7-submit:not([disabled]){background-color:#303030;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;color:#fff;font-size:13px;font-style:normal;font-weight:700;letter-spacing:1px;text-transform:uppercase;height:45px;line-height:45px;padding:0 35px}body .monochrome-light input.wpcf7-form-control.wpcf7-submit:hover,body .monochrome-light input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{color:#fff;background-color:#3a3a3a;border-color:#3a3a3a}body .monochrome-light div.wpcf7-response-output.wpcf7-mail-sent-ok{background-color:#1abc9c}.logged-in div.wpcf7{position:relative;margin-top:70px}.logged-in .frontend-edit-style-link{position:absolute;left:0;top:-50px;z-index:9;display:block;padding:5px 10px;-webkit-box-shadow:none;box-shadow:none;text-decoration:none;background:#E74C3C;color:#FFF;-webkit-border-radius:5px;border-radius:5px;border:1px solid #E74C3C;font-size:13px;line-height:135%}.logged-in .frontend-edit-style-link:hover{background-color:#fff;color:#E74C3C}
1
+ .cf7-style input[type=email],.cf7-style input[type=password],.cf7-style input[type=search],.cf7-style input[type=text],.cf7-style input[type=url],.cf7-style textarea{width:100%}body .cf7-style input.wpcf7-form-control.wpcf7-submit{text-align:center}body .cf7-style *{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}body .cf7-style div.wpcf7-response-output{padding:15px;text-transform:none}body .cf7-style div.wpcf7-validation-errors{background:0 0;color:red;border:2px solid red}body .cf7-style div.wpcf7-response-output:before{display:none}body .valentines-day-classic span.wpcf7-list-item,body .wpcf7 form.valentines-day-roses span.wpcf7-list-item{display:inline-block}body .valentines-day-classic input.wpcf7-form-control.wpcf7-date,body .valentines-day-classic input.wpcf7-form-control.wpcf7-file,body .valentines-day-classic input.wpcf7-form-control.wpcf7-number,body .valentines-day-classic input.wpcf7-form-control.wpcf7-quiz,body .valentines-day-classic input.wpcf7-form-control.wpcf7-range,body .valentines-day-classic input.wpcf7-form-control.wpcf7-select,body .valentines-day-classic input.wpcf7-form-control.wpcf7-text,body .valentines-day-classic select.wpcf7-form-control.wpcf7-select,body .valentines-day-classic textarea.wpcf7-form-control.wpcf7-textarea{margin:5px 0 0;padding:15px 10px;border-top:0;border-right:0;border-left:1px solid #AAA;border-bottom:1px solid #AAA;outline:0;resize:none;font-size:13px;line-height:17px;background:rgba(255,255,255,.7);color:#818181;font-family:Raleway;font-weight:400;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .valentines-day-classic input.wpcf7-form-control.wpcf7-submit:not([disabled]){border:none}body .wpcf7 form.valentines-day-classic p{margin-bottom:15px;font-size:16px;color:#222}body .valentines-day-classic{background:url(../images/vday-classic/hearted-bg.png) -45px 0;position:relative;max-width:600px;margin:0 auto 50px;padding-bottom:50px}body .valentines-day-classic .heart{position:absolute;right:0;background:url(../images/vday-classic/big-heart.png) no-repeat;width:136px;height:135px;top:-90px}body .valentines-day-classic p{margin-bottom:10px;text-shadow:1px 1px #FFF}body .valentines-day-classic input,body .valentines-day-classic select,body .valentines-day-classic textarea{background:rgba(255,255,255,.7);border:none;border-left:1px solid #AAA;border-bottom:1px solid #AAA;-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;-webkit-box-shadow:5px 6px 10px -5px #999;-moz-box-shadow:5px 6px 10px -5px #999;box-shadow:5px 6px 10px -5px #999;margin-top:3px}body .valentines-day-classic input:focus,body .valentines-day-classic textarea:focus{background:rgba(255,255,255,.7);border-left:1px solid #AAA;border-bottom:1px solid #AAA}body .cf7-style.valentines-day-classic .wpcf7-submit,body .cf7-style.valentines-day-classic input.wpcf7-form-control.wpcf7-submit:not([disabled]),body .cf7-style.valentines-day-classic input.wpcf7-form-control.wpcf7-submit[disabled]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;border:none;line-height:20px;text-align:center;padding:10px 20px;min-width:90px;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzdkYjllOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjZDU0ZTRlIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMzklIiBzdG9wLWNvbG9yPSIjZDQwMDAwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iODUlIiBzdG9wLWNvbG9yPSIjOTQwYTBhIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);background:-moz-linear-gradient(left,rgba(125,185,232,1) 0,rgba(213,78,78,1) 0,rgba(212,0,0,1) 39%,rgba(148,10,10,1) 85%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(125,185,232,1)),color-stop(0,rgba(213,78,78,1)),color-stop(39%,rgba(212,0,0,1)),color-stop(85%,rgba(148,10,10,1)));background:-webkit-linear-gradient(left,rgba(125,185,232,1) 0,rgba(213,78,78,1) 0,rgba(212,0,0,1) 39%,rgba(148,10,10,1) 85%);background:-o-linear-gradient(left,rgba(125,185,232,1) 0,rgba(213,78,78,1) 0,rgba(212,0,0,1) 39%,rgba(148,10,10,1) 85%);background:-ms-linear-gradient(left,rgba(125,185,232,1) 0,rgba(213,78,78,1) 0,rgba(212,0,0,1) 39%,rgba(148,10,10,1) 85%);background:linear-gradient(to right,rgba(125,185,232,1) 0,rgba(213,78,78,1) 0,rgba(212,0,0,1) 39%,rgba(148,10,10,1) 85%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#940a0a', GradientType=1);color:#FFF;float:right;text-shadow:1px 1px #555;cursor:pointer}body .valentines-day-classic .wpcf7-submit:hover,body .valentines-day-classic input.wpcf7-form-control.wpcf7-submit:not([disabled]):focus,body .valentines-day-classic input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{opacity:.8}body .valentines-day-classic div.wpcf7-response-output.wpcf7-mail-sent-ok,body .valentines-day-classic div.wpcf7-response-output.wpcf7-validation-errors{background:rgba(255,255,255,.6);border:1px solid red;top:30px}body .valentines-day-classic div.wpcf7-response-output.wpcf7-validation-errors{color:red}body .valentines-day-classic div.wpcf7-response-output.wpcf7-mail-sent-ok{color:green;border:1px solid green}body .valentines-day-classic input[type=date],body .valentines-day-classic input[type=file],body .valentines-day-classic input[type=range],body .valentines-day-classic select{width:100%}body .valentines-day-classic input[type=range]::-webkit-slider-runnable-track{height:5px;background:#ddd;border:none;border-radius:3px}body .valentines-day-classic input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;border:none;height:16px;width:16px;border-radius:50%;background:#777;margin-top:-4px;cursor:pointer}body .valentines-day-classic input[type=range]:focus{outline:0}body .valentines-day-classic input[type=range]:focus::-webkit-slider-runnable-track{background:#ccc}body .valentines-day-classic input[type=range]{-webkit-appearance:none;border:1px solid #fff;width:100%}body .valentines-day-classic input[type=range]::-moz-range-track{height:5px;background:#ddd;border:none;border-radius:3px}body .valentines-day-classic input[type=range]::-moz-range-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#777;cursor:pointer}body .valentines-day-classic input[type=range]:-moz-focusring{outline:#fff solid 1px;outline-offset:-1px}body .valentines-day-classic input[type=range]:focus::-moz-range-track{background:#ccc}body .valentines-day-classic input[type=range]::-ms-track{height:5px;background:0 0;border-color:transparent;border-width:6px 0;color:transparent}body .valentines-day-classic input[type=range]::-ms-fill-lower{background:#ddd;border-radius:10px}body .valentines-day-classic input[type=range]::-ms-fill-upper{background:#ddd;border-radius:10px}body .valentines-day-classic input[type=range]::-ms-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#777;cursor:pointer}body .valentines-day-classic input[type=range]:focus::-ms-fill-lower{background:#ccc}body .valentines-day-classic input[type=range]:focus::-ms-fill-upper{background:#ccc}body .valentines-day-roses input.wpcf7-form-control.wpcf7-date,body .valentines-day-roses input.wpcf7-form-control.wpcf7-file,body .valentines-day-roses input.wpcf7-form-control.wpcf7-number,body .valentines-day-roses input.wpcf7-form-control.wpcf7-quiz,body .valentines-day-roses input.wpcf7-form-control.wpcf7-text,body .valentines-day-roses select.wpcf7-form-control.wpcf7-select,body .valentines-day-roses textarea.wpcf7-form-control.wpcf7-textarea{margin:5px 0 0;padding:15px 10px;border-bottom:1px solid #490706;outline:0;resize:none;font-size:13px;line-height:17px;background:0 0;color:#000;font-family:Raleway;font-weight:400;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .valentines-day-roses input.wpcf7-form-control.wpcf7-date,body .valentines-day-roses input.wpcf7-form-control.wpcf7-file,body .valentines-day-roses input.wpcf7-form-control.wpcf7-range,body .valentines-day-roses select.wpcf7-form-control.wpcf7-select{width:100%}body .valentines-day-roses input.wpcf7-form-control.wpcf7-submit:not([disabled]),body .valentines-day-roses textarea.wpcf7-form-control.wpcf7-textarea{border:none}body .wpcf7 form.valentines-day-roses p{margin-bottom:15px;font-size:16px;color:#000}body .valentines-day-roses input.wpcf7-form-control.wpcf7-submit{position:absolute;right:0;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}body .valentines-day-roses input.wpcf7-form-control.wpcf7-submit:not([disabled]):focus,body .valentines-day-roses input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{background:#7F2A3A;border:none}body .valentines-day-roses{background:url(../images/vday-rose/rose-bg-50percent.png) no-repeat;position:relative;min-height:380px;width:270px;padding:12px 0 0 200px;-wekit-box-sizing:initial;-moz-box-sizing:initial;box-sizing:initial;clear:both}body .valentines-day-roses input{padding-bottom:2px}body .valentines-day-roses input,body .valentines-day-roses input:focus,body .valentines-day-roses input:hover{border-bottom:1px solid #490706}body .valentines-day-roses textarea{width:215px;height:140px;resize:none;padding-top:0;line-height:32px}body .valentines-day-roses p{margin-bottom:10px}body .valentines-day-roses .letter-box{background:url(../images/vday-rose/contact-bg.png) no-repeat #826e50;width:285px;margin:32px 0 0 -50px;padding:35px 15px 50px}body .wpcf7 form.valentines-day-roses .letter-box p{color:#000}body .wpcf7 form.valentines-day-roses .wpcf7-submit{position:absolute;bottom:10px;right:20px;border:none;padding:7px 15px;color:#fff;box-shadow:none}body .valentines-day-roses input[type=submit]:focus,body .valentines-day-roses input[type=submit]:hover{background:#490706}body .valentines-day-roses div.wpcf7-mail-sent-ok,body .valentines-day-roses div.wpcf7-validation-errors{background:rgba(255,255,255,.6);border:none;left:115px;position:absolute;top:145px;width:295px}body .valentines-day-roses div.wpcf7-validation-errors{color:red}body .valentines-day-roses div.wpcf7-mail-sent-ok{color:green}body .valentines-day-roses div.wpcf7-response-output.wpcf7-mail-sent-ok,body .valentines-day-roses div.wpcf7-response-output.wpcf7-validation-errors{background:rgba(255,255,255,.6);border:none}body .valentines-day-birds input.wpcf7-form-control.wpcf7-date,body .valentines-day-birds input.wpcf7-form-control.wpcf7-file,body .valentines-day-birds input.wpcf7-form-control.wpcf7-number,body .valentines-day-birds input.wpcf7-form-control.wpcf7-quiz,body .valentines-day-birds input.wpcf7-form-control.wpcf7-range,body .valentines-day-birds input.wpcf7-form-control.wpcf7-text,body .valentines-day-birds select.wpcf7-form-control.wpcf7-select,body .valentines-day-birds textarea.wpcf7-form-control.wpcf7-textarea{margin:0 0 5px;padding:8px 10px;border:2px dashed #000;outline:0;resize:none;font-size:13px;line-height:16px;background:0 0;color:#222;font-family:inherit;font-weight:400;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .valentines-day-birds input.wpcf7-form-control.wpcf7-date,body .valentines-day-birds input.wpcf7-form-control.wpcf7-number,body .valentines-day-birds input.wpcf7-form-control.wpcf7-range,body .valentines-day-birds input.wpcf7-form-control.wpcf7-text,body .valentines-day-birds input[type=email],body .valentines-day-birds input[type=password],body .valentines-day-birds input[type=search],body .valentines-day-birds input[type=text],body .valentines-day-birds input[type=url],body .valentines-day-birds select.wpcf7-form-control.wpcf7-select,body .valentines-day-birds textarea,body .valentines-day-birds textarea.wpcf7-form-control.wpcf7-textarea{width:100%}body .valentines-day-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]),body .valentines-day-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{border:none;background:0 0}body .valentines-day-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]){color:#444}body .valentines-day-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{color:#843A69}body .valentines-day-birds div.wpcf7-response-output{position:relative;padding:17px 42px;font-weight:400;font-size:13px;line-height:17px;text-transform:uppercase;letter-spacing:1px}body .valentines-day-birds div.wpcf7-response-output.wpcf7-validation-errors{background:0 0}body .valentines-day-birds div.wpcf7-response-output.wpcf7-validation-errors:before{display:none}body .valentines-day-birds span.wpcf7-list-item{display:inline-block}body .valentines-day-birds{position:relative;width:280px;margin:234px 0 330px 97px}body .valentines-day-birds-container{background:url(../images/vday-birds/bg-middle.png) 63px 0 repeat-y;width:486px;margin:0 auto}body .valentines-day-birds .bg-bottom,body .valentines-day-birds .bg-header{width:486px}body .valentines-day-birds .bg-header{background:url(../images/vday-birds/bg-top.png) 25px 0 no-repeat;height:234px;left:-97px;position:absolute;top:-234px}body .valentines-day-birds .bg-bottom{background:url(../images/vday-birds/bg-bottom.png) no-repeat;bottom:-301px;height:301px;left:-97px;position:absolute}body .wpcf7 form.valentines-day-birds p{margin-bottom:20px;color:#222;line-height:1.5em}body .valentines-day-birds input,body .valentines-day-birds textarea{background:0 0;border:2px dashed #000;resize:vertical}body .valentines-day-birds textarea{height:120px}body .valentines-day-birds input:focus,body .valentines-day-birds input:hover,body .valentines-day-birds textarea:focus,body .valentines-day-birds textarea:hover{border:2px dashed #000}body .valentines-day-birds input{margin-bottom:5px}body .valentines-day-birds input[type=submit]{font-size:30px;color:#444;text-transform:capitalize;border:none;box-shadow:none;background:0 0;display:block;margin:0 auto}body .valentines-day-birds input[type=submit]:focus,body .valentines-day-birds input[type=submit]:hover{background:0 0;color:#000}body .valentines-day-birds div.wpcf7-response-output{width:265px;margin:0 0 0 -36px;border:none}body .valentines-day-birds .wpcf7-validation-errors{color:red}body .valentines-day-birds .wpcf7-mail-sent-ok{color:green}body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-date,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-file,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-number,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-quiz,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-text,body .valentines-day-blue-birds select.wpcf7-form-control.wpcf7-select,body .valentines-day-blue-birds textarea.wpcf7-form-control.wpcf7-textarea{margin:5px 0 0;padding:15px;border:0;outline:0;resize:none;font-size:13px;line-height:17px;background:#dad3c2;color:#818181;font-family:Raleway;font-weight:400;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-date,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-file,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-range,body .valentines-day-blue-birds select.wpcf7-form-control.wpcf7-select{width:100%}body .valentines-day-blue-birds .wpcf7-list-item,body .valentines-day-blue-birds .wpcf7-list-item-label{display:inline-block}body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]){border:none}body .wpcf7 form.valentines-day-blue-birds p{margin-bottom:15px;font-size:16px}body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-submit:focus,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-submit:hover,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]):focus,body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{background:url(../images/vday-blue-birds/submit.png) top right no-repeat;border:none;color:#7F2A3A}body .valentines-day-blue-birds{position:relative;background:url(../images/vday-blue-birds/pattern.jpg);color:#100804}body .valentines-day-blue-birds .header{background:url(../images/vday-blue-birds/header.png) top center no-repeat;height:260px;width:100%}body .valentines-day-blue-birds textarea{width:100%;display:inline-block;background:#dad3c2;border:none;height:75px}body .valentines-day-blue-birds input:focus,body .valentines-day-blue-birds textarea:focus{background:#dad3c2}body .valentines-day-blue-birds input.wpcf7-form-control.wpcf7-submit{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none;background:url(../images/vday-blue-birds/submit.png) top right no-repeat;line-height:50px;font-size:30px;display:inline;text-transform:none;width:auto;position:absolute;top:50px;right:20px;color:#100804;box-shadow:none}body .valentines-day-blue-birds .wpcf7-submit:hover,body .valentines-day-blue-birds span.wpcf7-not-valid-tip{color:#7f2a3a}body .valentines-day-blue-birds p{width:290px;margin:7px auto;position:relative}body .valentines-day-blue-birds .footer{background:url(../images/vday-blue-birds/footer.png) bottom center no-repeat;height:145px;width:100%}body .valentines-day-blue-birds div.wpcf7-mail-sent-ok,body .valentines-day-blue-birds div.wpcf7-validation-errors{border:none;background:rgba(127,42,58,.9);position:absolute;bottom:0;color:#fff;margin:0;padding:10px 20px;right:0}body .valentines-day-blue-birds div.wpcf7-mail-sent-ok{background:rgba(9,94,0,.9)}body .christmas-classic input.wpcf7-form-control.wpcf7-date,body .christmas-classic input.wpcf7-form-control.wpcf7-file,body .christmas-classic input.wpcf7-form-control.wpcf7-number,body .christmas-classic input.wpcf7-form-control.wpcf7-quiz,body .christmas-classic input.wpcf7-form-control.wpcf7-text,body .christmas-classic select.wpcf7-form-control.wpcf7-select,body .christmas-classic textarea.wpcf7-form-control.wpcf7-textarea{margin:5px 0 0;padding:3px 10px;border:1px dotted #b2a28e;outline:0;resize:none;font-size:14px;line-height:20px;background:#f3eadf;color:#707070;color:rgba(51,51,51,.7);font-family:Raleway;font-weight:400;height:40px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}body .christmas-classic select.wpcf7-form-control.wpcf7-select[multiple]{height:auto}body .christmas-classic textarea.wpcf7-form-control.wpcf7-textarea{padding:5px 10px;height:140px}body .christmas-classic input.wpcf7-form-control.wpcf7-file{padding:8px 10px}body .christmas-classic span.wpcf7-list-item{margin:.5em;display:inline-block}body .christmas-classic{position:relative}body .christmas-classic-container{background:url(../images/xmas-classic/bg-repeat.png) 1px 1px repeat-y rgba(0,0,0,0);display:block;margin:auto auto 260px;text-align:center;width:403px}body .christmas-classic .header{background:url(../images/xmas-classic/top_border.png) no-repeat rgba(0,0,0,0);height:23px;width:100%}body .christmas-classic .left{background:url(../images/xmas-classic/left_part_bg.png) no-repeat rgba(0,0,0,0);bottom:0;height:129px;left:-73px;position:absolute;width:99px}body .christmas-classic p{color:#482C09;margin-bottom:20px;margin-left:27px;width:350px}body .christmas-classic .footer{background:url(../images/xmas-classic/bottombg.png) no-repeat rgba(0,0,0,0);height:255px;width:474px;position:absolute;bottom:-255px;margin:0 0 0 -70px;padding:0}body .christmas-classic input,body .christmas-classic textarea{display:inline-block;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;background:#f3eadf;border:1px dotted #b2a28e}body .christmas-classic input{height:28px;padding:3px 5px;line-height:28px}body .christmas-classic input:focus,body .christmas-classic textarea:focus{background:#f3eadf;border:1px dotted #b2a28e}body .christmas-classic .wpcf7-form-control-wrap input,body .christmas-classic .wpcf7-form-control-wrap textarea{display:block;width:100%}body .christmas-classic form textarea{resize:vertical;margin-bottom:10px}body .christmas-classic .wpcf7-submit,body .christmas-classic input.wpcf7-form-control.wpcf7-submit:not([disabled]){background:rgba(0,0,0,0);border:none;bottom:-246px;height:86px;left:21px;position:absolute;text-indent:-9999px;width:95px;z-index:10}body .christmas-classic .wpcf7-submit:hover,body .christmas-classic input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{background-color:rgba(255,255,255,.3)}body .christmas-classic div.wpcf7-response-output{width:84%;margin:0 auto}body .christmas-classic span.wpcf7-list-item-label{display:inline-block}body .christmas-red .wpcf7-form-control-wrap{display:inherit}body .christmas-red input.wpcf7-form-control.wpcf7-date,body .christmas-red input.wpcf7-form-control.wpcf7-number,body .christmas-red input.wpcf7-form-control.wpcf7-quiz,body .christmas-red input.wpcf7-form-control.wpcf7-text,body .christmas-red select.wpcf7-form-control.wpcf7-select,body .christmas-red textarea.wpcf7-form-control.wpcf7-textarea{margin:5px 0 0;padding:15px 10px;border:none;outline:0;resize:none;font-size:17px;line-height:normal;background:#fff;background:rgba(255,255,255,.9);color:#818181;font-family:Raleway;font-weight:400;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .christmas-red select.wpcf7-form-control.wpcf7-select[multiple]{height:auto;padding:5px 10px}body .christmas-red input.wpcf7-form-control.wpcf7-acceptance{display:inline-block;width:auto}body .christmas-red input.wpcf7-form-control.wpcf7-submit:not([disabled]),body .christmas-red textarea.wpcf7-form-control.wpcf7-textarea{border:none}body .wpcf7 form.christmas-red p{margin-bottom:15px;font-size:16px;color:#fff}body .christmas-red-container{color:#fff;font-size:17px;width:600px;margin:0 auto;background:url(../images/xmas-red/middle.png) top center repeat-y;position:relative}body .christmas-red{margin:94px 0 125px}body .christmas-red .header{display:block;background:url(../images/xmas-red/header.png) 32px top no-repeat;width:600px;height:94px;position:absolute;top:-94px}body .christmas-red .footer{display:block;background:url(../images/xmas-red/footer.png) top center no-repeat;width:600px;height:94px;bottom:-94px;position:absolute}body .christmas-red p{max-width:370px;margin:0 auto}body .christmas-red input,body .christmas-red textarea{color:#222;width:100%;font-size:16px;margin:0}body .christmas-red input[type=email],body .christmas-red input[type=password],body .christmas-red input[type=search],body .christmas-red input[type=text],body .christmas-red input[type=url],body .christmas-red select,body .christmas-red textarea{width:100%}body .christmas-red input[type=checkbox],body .christmas-red input[type=radio]{width:auto}body .christmas-red input:focus,body .christmas-red textarea:focus{background:#fff}body .christmas-red textarea{height:120px;resize:vertical}body .christmas-red .wpcf7-submit,body .christmas-red input.wpcf7-form-control.wpcf7-submit:not([disabled]){display:block;width:232px;height:126px;background:url(../images/xmas-red/send.png) top center no-repeat;position:absolute;bottom:-125px;right:0;text-indent:-9999px;border:none;z-index:10;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}body .christmas-classic-mail-sent-ok,body .christmas-classic-validation-errors,body .christmas-red .wpcf7-mail-sent-ok,body .christmas-red .wpcf7-validation-errors{border:none;max-width:350px;font-size:22px;color:#FC8181;margin-left:25px;padding:0}body .christmas-classic-mail-sent-ok,body .christmas-red .wpcf7-mail-sent-ok{color:#73C94E}body .christmas-classic span.wpcf7-not-valid-tip,body .christmas-red span.wpcf7-not-valid-tip{left:0;top:0;padding:5px 10px;width:368px;font-size:16px;border:none;display:block;color:#FC8181;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.wpcf7-form-control .wpcf7-radio,body .christmas-red span.wpcf7-list-item{display:inline-block;height:32px;margin-left:1em;position:relative}body .christmas-red .wpcf7-radio .wpcf7-list-item-label:before,body .christmas-red .wpcf7-radio input+.wpcf7-list-item-label:before{content:'';position:absolute;top:0;width:32px;height:32px;background:url(../images/xmas-red/radio.png) 0 2px no-repeat;z-index:1}body .christmas-red .wpcf7-radio .wpcf7-list-item-label:before{right:0}body .christmas-red .wpcf7-radio input+.wpcf7-list-item-label:before{left:0}body .christmas-red .wpcf7-radio .wpcf7-list-item .active .wpcf7-list-item-label:before,body .christmas-red .wpcf7-radio .wpcf7-list-item.active .wpcf7-list-item-label:before{background-position:0 -31px}body .christmas-red .wpcf7-radio .wpcf7-list-item-label{display:inline-block;vertical-align:top}body .christmas-red span.wpcf7-list-item input[type=radio]{position:relative;z-index:2;width:30px;height:30px;cursor:pointer;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0}body .christmas-red .wpcf7-response-output{position:relative;margin:0 auto}body .christmas-red .wpcf7-submit:hover,body .christmas-red input.wpcf7-form-control.wpcf7-submit:not([disabled]):focus,body .christmas-red input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{opacity:.8}body .christmas-red div.wpcf7-response-output.wpcf7-mail-sent-ok,body .christmas-red div.wpcf7-response-output.wpcf7-validation-errors{background:0 0;border:none;font-size:17px}body .christmas-red div.wpcf7-response-output.wpcf7-validation-errors{color:#FC8181}body .christmas-red div.wpcf7-response-output.wpcf7-mail-sent-ok{color:#04c004}body .christmas-red span.wpcf7-not-valid-tip{padding:5px 10px 5px 0}body .christmas-simple{width:410px;padding:50px 20px 15px;color:#1b0a00;position:relative;margin:75px 0 35px}body .christmas-simple-container{width:425px;margin:0 auto;border-left:dashed 2px #542c0e;border-right:dashed 2px #542c0e;background:url(../images/xmas-simple/middle.png) center top repeat-y}body .christmas-simple p{width:325px;margin:15px auto}body .christmas-simple p input[type=date],body .christmas-simple p input[type=email],body .christmas-simple p input[type=email]:focus,body .christmas-simple p input[type=email]:hover,body .christmas-simple p input[type=file],body .christmas-simple p input[type=number],body .christmas-simple p input[type=range],body .christmas-simple p input[type=tel],body .christmas-simple p input[type=tel]:focus,body .christmas-simple p input[type=tel]:hover,body .christmas-simple p input[type=text],body .christmas-simple p input[type=text]:focus,body .christmas-simple p input[type=text]:hover,body .christmas-simple p input[type=url],body .christmas-simple p select,body .christmas-simple p textarea,body .christmas-simple p textarea:focus,body .christmas-simple p textarea:hover{width:94%;background:0 0;border:2px dashed #7d5f48;padding:.625em .4375em}body .christmas-simple span.wpcf7-list-item{display:inline-block;margin-left:1em}body .christmas-simple input[type=checkbox],body .christmas-simple input[type=radio]{margin-right:0}body .christmas-simple textarea{height:110px;resize:vertical}body .christmas-simple .footer,body .christmas-simple .header{width:425px;height:35px;margin:0 auto;background:url(../images/xmas-simple/header.png) center bottom no-repeat;border:2px dashed #542c0e;border-bottom:none;position:absolute;left:-2px}body .christmas-simple .header{background-position:1px 1px;border-radius:12px 12px 0 0;left:-2px;top:-35px;width:421px}body .christmas-simple .footer{background:url(../images/xmas-simple/footer.png) center top no-repeat;border-bottom:2px dashed #542c0e;border-radius:0 0 20px 20px;border-top:medium none;bottom:-35px;padding-bottom:3px;width:425px}body .christmas-simple .ribbon{width:182px;height:202px;position:absolute;background:url(../images/xmas-simple/ribbon.png) no-repeat;right:-118px;top:-85px}body .christmas-simple div.wpcf7-response-output{width:360px;margin:0 auto;border:none;color:#e00}body .christmas-simple .wpcf7-submit,body .christmas-simple input[type=submit]{background:#e7e3d0;color:#555;border-top:solid 1px #fff;font-size:14px;padding:0 40px;height:40px;-webkit-border-radius:15px 18px 7px 9px;-moz-border-radius:15px 18px 7px 9px;border-radius:15px 18px 7px 9px;-webkit-box-shadow:-3px 3px 9px 1px #999;box-shadow:-3px 3px 9px 1px #999}body .christmas-simple input[type=submit]:hover{border-top:solid 1px #fff;background:#e7e3d0;color:#000}body .christmas-simple span.wpcf7-not-valid-tip{top:-4px;left:2px;height:30px;line-height:30px;padding-left:9px;width:335px;color:#e00;background:#fff;border:none}body .christmas-classic .wpcf7-not-valid-tip{width:100%;background:0 0}body .twenty-fifteen-pattern{padding-top:1.6842em}body .twenty-fifteen-pattern p{font-size:1.6rem;margin-bottom:1.6842em;color:rgba(51,51,51,.7);display:block;font-family:"Noto Sans",sans-serif;font-weight:700;letter-spacing:.04em;line-height:1.5;text-transform:uppercase}body .twenty-fifteen-pattern input[type=email],body .twenty-fifteen-pattern input[type=submit],body .twenty-fifteen-pattern input[type=text],body .twenty-fifteen-pattern input[type=url],body .twenty-fifteen-pattern textarea{width:100%;padding:.5278em;line-height:normal;font-size:1.9rem;border:1px solid rgba(51,51,51,.1);color:rgba(51,51,51,.7);background:#f7f7f7;border-radius:0;margin:0;max-width:100%;vertical-align:baseline;font-family:"Noto Serif",serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body .twenty-fifteen-pattern input:focus,body .twenty-fifteen-pattern textarea:focus{border:1px solid rgba(51,51,51,.3);color:#333;background:#fff}body .twenty-fifteen-pattern button,body .twenty-fifteen-pattern input[type=button],body .twenty-fifteen-pattern input[type=reset],body .twenty-fifteen-pattern input[type=submit]{font-size:1.6rem;padding:.8125em 1.625em;background:#333;border:none;color:#fff;cursor:pointer;font-family:"Noto Sans",sans-serif;font-weight:700;text-transform:uppercase;width:100%}body .twenty-fifteen-pattern button:hover,body .twenty-fifteen-pattern input[type=button]:hover,body .twenty-fifteen-pattern input[type=reset]:hover,body .twenty-fifteen-pattern input[type=submit]:hover{background:rgba(51,51,51,.7);outline:0}body .monochrome input::-webkit-input-placeholder,body .monochrome textarea::-webkit-input-placeholder{opacity:1;color:#FFF}body .monochrome input::-moz-placeholder,body .monochrome textarea::-moz-placeholder{opacity:1;color:#FFF}body .monochrome input:-ms-input-placeholder,body .monochrome textarea:-ms-input-placeholder{opacity:1;color:#FFF}body .monochrome input:-moz-placeholder,body .monochrome textarea:-moz-placeholder{opacity:1;color:#FFF}body .monochrome p{margin-bottom:0}body .monochrome input.wpcf7-form-control.wpcf7-date,body .monochrome input.wpcf7-form-control.wpcf7-number,body .monochrome input.wpcf7-form-control.wpcf7-quiz,body .monochrome input.wpcf7-form-control.wpcf7-text,body .monochrome select.wpcf7-form-control.wpcf7-select,body .monochrome textarea.wpcf7-form-control.wpcf7-textarea{background-color:#0d0d0d;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#fff;font-size:14px;font-style:normal;font-weight:700;letter-spacing:0;text-transform:none;margin-top:0;margin-bottom:5px;width:100%;padding:24px 29px}body .monochrome input.wpcf7-form-control.wpcf7-submit,body .monochrome input.wpcf7-form-control.wpcf7-submit:not([disabled]){background-color:#fff;border:2px solid #303030;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#0d0d0d;font-size:14px;line-height:65px;height:65px;font-style:normal;font-weight:700;letter-spacing:0;text-transform:none;padding:0 34px}body .monochrome input.wpcf7-form-control.wpcf7-submit:hover,body .monochrome input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{color:#fff;background-color:#0d0d0d}body .minimal-brown input::-webkit-input-placeholder,body .minimal-brown textarea::-webkit-input-placeholder{opacity:1;color:#828282}body .minimal-brown input::-moz-placeholder,body .minimal-brown textarea::-moz-placeholder{opacity:1;color:#828282}body .minimal-brown input:-ms-input-placeholder,body .minimal-brown textarea:-ms-input-placeholder{opacity:1;color:#828282}body .minimal-brown input:-moz-placeholder,body .minimal-brown textarea:-moz-placeholder{opacity:1;color:#828282}body .minimal-brown p{margin-bottom:-1px}body .minimal-brown input.wpcf7-form-control.wpcf7-date,body .minimal-brown input.wpcf7-form-control.wpcf7-number,body .minimal-brown input.wpcf7-form-control.wpcf7-quiz,body .minimal-brown input.wpcf7-form-control.wpcf7-text,body .minimal-brown select.wpcf7-form-control.wpcf7-select,body .minimal-brown textarea.wpcf7-form-control.wpcf7-textarea{background-color:#fff;border:1px solid #ededed;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;color:#828282;font-size:14px;font-style:normal;font-weight:400;text-transform:none;padding:17px 19px;margin:0;display:block;outline:0;resize:none;line-height:17px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}body .minimal-brown input.wpcf7-form-control.wpcf7-date:focus,body .minimal-brown input.wpcf7-form-control.wpcf7-number:focus,body .minimal-brown input.wpcf7-form-control.wpcf7-quiz:focus,body .minimal-brown input.wpcf7-form-control.wpcf7-text:focus,body .minimal-brown select.wpcf7-form-control.wpcf7-select:focus,body .minimal-brown textarea.wpcf7-form-control.wpcf7-textarea:focus{color:#828282;background-color:#fcfcfc;border-color:#ededed}body .minimal-brown input.wpcf7-form-control.wpcf7-submit,body .minimal-brown input.wpcf7-form-control.wpcf7-submit:not([disabled]){background-color:#fff;border:1px solid #ededed;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;color:#303030;font-size:12px;font-style:normal;font-weight:700;letter-spacing:0;text-transform:uppercase;height:51px;line-height:51px;padding:0 54px;margin-top:5px}body .minimal-brown input.wpcf7-form-control.wpcf7-submit:hover,body .minimal-brown input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{color:#fff;background-color:#b08d58;border-color:#b08d58}body .transparent-two-columns input::-webkit-input-placeholder,body .transparent-two-columns textarea::-webkit-input-placeholder{opacity:1;color:#FFF}body .transparent-two-columns input::-moz-placeholder,body .transparent-two-columns textarea::-moz-placeholder{opacity:1;color:#FFF}body .transparent-two-columns input:-ms-input-placeholder,body .transparent-two-columns textarea:-ms-input-placeholder{opacity:1;color:#FFF}body .transparent-two-columns input:-moz-placeholder,body .transparent-two-columns textarea:-moz-placeholder{opacity:1;color:#FFF}body .transparent-two-columns p{text-align:center;margin-bottom:5px}body .transparent-two-columns p:nth-of-type(1),body .transparent-two-columns p:nth-of-type(2){display:inline-block;width:48%;margin:0 10px 0 0}body .transparent-two-columns p:nth-of-type(2){margin:0 0 0 8px}body .transparent-two-columns input.wpcf7-form-control.wpcf7-date,body .transparent-two-columns input.wpcf7-form-control.wpcf7-number,body .transparent-two-columns input.wpcf7-form-control.wpcf7-quiz,body .transparent-two-columns input.wpcf7-form-control.wpcf7-text,body .transparent-two-columns select.wpcf7-form-control.wpcf7-select,body .transparent-two-columns textarea.wpcf7-form-control.wpcf7-textarea{background-color:rgba(255,255,255,0);border:1px solid #f6f6f6;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;color:#fff;font-size:14px;font-style:normal;font-weight:400;letter-spacing:0;text-transform:none;padding:14px 20px;margin:0 0 14px;outline:0;resize:none;line-height:17px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}body .transparent-two-columns textarea.wpcf7-form-control.wpcf7-textarea{height:92px}body .transparent-two-columns input.wpcf7-form-control.wpcf7-date:focus,body .transparent-two-columns input.wpcf7-form-control.wpcf7-number:focus,body .transparent-two-columns input.wpcf7-form-control.wpcf7-quiz:focus,body .transparent-two-columns input.wpcf7-form-control.wpcf7-text:focus,body .transparent-two-columns select.wpcf7-form-control.wpcf7-select:focus,body .transparent-two-columns textarea.wpcf7-form-control.wpcf7-textarea:focus{color:#303030;background-color:#fff}body .transparent-two-columns input.wpcf7-form-control.wpcf7-submit,body .transparent-two-columns input.wpcf7-form-control.wpcf7-submit:not([disabled]){background-color:#f6f6f6;border-width:0;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;color:#222;font-size:13px;font-style:normal;font-weight:400;letter-spacing:2.9px;text-transform:uppercase;height:50px;line-height:50px;padding:0 26px;margin-top:22px;display:inline-block}body .transparent-two-columns input.wpcf7-form-control.wpcf7-submit:hover,body .transparent-two-columns input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{color:#222;background-color:#fff}body .transparent-two-columns div.wpcf7-response-output.wpcf7-validation-errors{background-color:#f1c40f;color:#FFF;border-color:#f1c40f}body .transparent-two-columns div.wpcf7-response-output.wpcf7-mail-sent-ok{background-color:#1abc9c;color:#FFF;border-color:#1abc9c}body .monochrome-light input::-webkit-input-placeholder,body .monochrome-light textarea::-webkit-input-placeholder{opacity:1;color:#303030}body .monochrome-light input::-moz-placeholder,body .monochrome-light textarea::-moz-placeholder{opacity:1;color:#303030}body .monochrome-light input:-ms-input-placeholder,body .monochrome-light textarea:-ms-input-placeholder{opacity:1;color:#303030}body .monochrome-light input:-moz-placeholder,body .monochrome-light textarea:-moz-placeholder{opacity:1;color:#303030}body .monochrome-light p{margin-bottom:20px}body .monochrome-light input.wpcf7-form-control.wpcf7-date,body .monochrome-light input.wpcf7-form-control.wpcf7-number,body .monochrome-light input.wpcf7-form-control.wpcf7-quiz,body .monochrome-light input.wpcf7-form-control.wpcf7-text,body .monochrome-light select.wpcf7-form-control.wpcf7-select,body .monochrome-light textarea.wpcf7-form-control.wpcf7-textarea{background-color:#FFF;border:2px solid #303030;color:#303030;font-size:15px;line-height:15px;font-style:normal;font-weight:600;letter-spacing:1px;text-transform:uppercase;padding:21px 22px 17px;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;outline:0;resize:none}body .monochrome-light textarea.wpcf7-form-control.wpcf7-textarea{height:150px}body .monochrome-light input.wpcf7-form-control.wpcf7-submit,body .monochrome-light input.wpcf7-form-control.wpcf7-submit:not([disabled]){background-color:#303030;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;color:#fff;font-size:13px;font-style:normal;font-weight:700;letter-spacing:1px;text-transform:uppercase;height:45px;line-height:45px;padding:0 35px}body .monochrome-light input.wpcf7-form-control.wpcf7-submit:hover,body .monochrome-light input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover{color:#fff;background-color:#3a3a3a;border-color:#3a3a3a}body .monochrome-light div.wpcf7-response-output.wpcf7-mail-sent-ok{background-color:#1abc9c}.logged-in div.wpcf7{position:relative;margin-top:70px}.logged-in .frontend-edit-style-link{position:absolute;left:0;top:-50px;z-index:9;display:block;padding:5px 10px;-webkit-box-shadow:none;box-shadow:none;text-decoration:none;background:#E74C3C;color:#FFF;-webkit-border-radius:5px;border-radius:5px;border:1px solid #E74C3C;font-size:13px;line-height:135%}.logged-in .frontend-edit-style-link:hover{background-color:#fff;color:#E74C3C}
inc/editor_page.php CHANGED
@@ -29,7 +29,7 @@ if ( !function_exists( 'cf7style_settings_view' ) ) {
29
  <form method="POST" action="">
30
  <?php
31
  do_settings_sections( 'cf7style-settings' );
32
- submit_button( 'Save Settings', 'primary' , 'cf7styletracking');?>
33
  </form>
34
  <?php }
35
  }
@@ -44,13 +44,17 @@ class init_sections_register_fields {
44
  function init_sections_register_fields( ) {
45
  add_filter( 'admin_init' , array( $this , 'register_new_fields' ) );
46
  }
 
 
 
 
47
  function cf7style_collection_structure( $args ) {
48
  $html = "";
49
  $html .= '</tr>';
50
- $html .= '<tr><td colspan="2"><p>'.__( "Want to help make Contact Form 7 Style even more better? Allow Us to collect non-sensitive diagnostic data.", "contact-form-7-style" ).'</p><p>'.__( "We will only collect your website URL, WordPress version, Contact Form 7 Style plugin version and active status.", "contact-form-7-style" ).'</p></td></tr>';
51
  $html .= '<tr><td colspan="2">';
52
  $option = get_option( $args[0] );
53
- $html .= '<label>'.__('Allow collecting data:', 'contact-form-7-style').' <input type="checkbox" value="1" '.checked( 1, $option,false).' id="'.$args[0].'[' . $args[0] . ']" name="'.$args[0].'" /></label>';
54
  $html .= '</td></tr><tr><td colspan="2">';
55
 
56
  return $html;
@@ -58,8 +62,8 @@ class init_sections_register_fields {
58
  function cf7style_templates_structure ( $args) {
59
  $html = "";
60
  $html .= '</tr>';
61
- $html .= '<tr><td colspan="2"><p>'.__( "From here you will be able to import the Contact Form 7 Style predefined templates.", "contact-form-7-style" ).'</p></td></tr>';
62
- $html .= '<tr><td colspan="2"><p><small>'.__( "This works only if the predefined templates are Deleted Permanently (they don't appear in", "contact-form-7-style" ).' <a href="'.admin_url('edit.php?post_status=trash&post_type=cf7_style').'">'.__( "Trash", "contact-form-7-style" ).'</a> ).</small></p></td></tr>';
63
  $html .= '<tr><td colspan="2">';
64
  $option = get_option( $args[0] );
65
  if( $option == '1'){
@@ -68,7 +72,7 @@ class init_sections_register_fields {
68
  if( isset($_POST[ 'cf7styletracking' ]) ){
69
  update_option( 'cf7_style_no_temps', 'show_box' );
70
  }
71
- $html .= '<label>'.__('Install predefined templates:', 'contact-form-7-style').' <input type="checkbox" value="1" '.checked( 1, $option,false).' id="'.$args[0].'[' . $args[0] . ']" name="'.$args[0].'" /></label>';
72
  $html .= '</td></tr><tr><td colspan="2">';
73
  return $html;
74
  }
@@ -81,7 +85,20 @@ class init_sections_register_fields {
81
  if( isset( $_POST[ 'cf7_style_form_tooltip' ] ) ) {
82
  update_option( 'cf7_style_form_tooltip', '1' );
83
  }
84
- $html .= '<label>'. __( 'Show the frontend form edit button:', 'contact-form-7-style' ) . ' <input type="checkbox" value="1" ' . checked( 1, $option, false ) .' id="' . $args[0] . '[' . $args[0] . ']" name="' . $args[0] . '" /></label>';
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  $html .= '</td></tr><tr><td colspan="2">';
86
  return $html;
87
  }
@@ -107,6 +124,7 @@ class init_sections_register_fields {
107
  'cf7_style_allow_tracking' => __('Data collection', 'contact-form-7-style'),
108
  'cf7_style_deleted' => __('Import predefined Contact Form 7 Style templates', 'contact-form-7-style'),
109
  'cf7_style_form_tooltip' => __( 'Display form edit tooltip on frontend?', 'contact-form-7-style' ),
 
110
  );
111
  foreach ( $set_fields as $field => $value ) {
112
  add_settings_field(
@@ -155,6 +173,9 @@ class init_sections_register_fields {
155
  case 'cf7_style_form_tooltip' :
156
  echo $this->cf7style_tooltip_structure( $args );
157
  break;
 
 
 
158
  }
159
  }
160
  function text_inputs( $args ) {
29
  <form method="POST" action="">
30
  <?php
31
  do_settings_sections( 'cf7style-settings' );
32
+ submit_button( __( "Save Settings", "contact-form-7-style" ), 'primary' , 'cf7styletracking');?>
33
  </form>
34
  <?php }
35
  }
44
  function init_sections_register_fields( ) {
45
  add_filter( 'admin_init' , array( $this , 'register_new_fields' ) );
46
  }
47
+ function cf7style_render_checkbox( $option, $args, $description, $tulip ){
48
+ $tulip = $tulip ? '<div class="cf7style-tooltip" title="more info"><i class="fa fa-question-circle" aria-hidden="true"></i><div class="cf7style-tooltip-content">'.$tulip.'<div/></div>' : '';
49
+ return '<label><input type="checkbox" value="1" '.checked( 1, $option,false).' id="'.$args[0].'[' . $args[0] . ']" name="'.$args[0].'" />'.__( $description, 'contact-form-7-style' ).'</label>'.$tulip;
50
+ }
51
  function cf7style_collection_structure( $args ) {
52
  $html = "";
53
  $html .= '</tr>';
54
+ /*$html .= '<tr><td colspan="2"><p>'.__( "Want to help make Contact Form 7 Style even more better? Allow Us to collect non-sensitive diagnostic data.", "contact-form-7-style" ).'</p><p>'.__( "We will only collect your website URL, WordPress version, Contact Form 7 Style plugin version and active status.", "contact-form-7-style" ).'</p></td></tr>';*/
55
  $html .= '<tr><td colspan="2">';
56
  $option = get_option( $args[0] );
57
+ $html .= $this->cf7style_render_checkbox( $option, $args, 'Allow collecting data', '<p>'.__( "Want to help make Contact Form 7 Style even more better? Allow Us to collect non-sensitive diagnostic data.", "contact-form-7-style" ).'</p><p>'.__( "We will only collect your website URL, WordPress version, Contact Form 7 Style plugin version and active status.", "contact-form-7-style" ).'</p>' );
58
  $html .= '</td></tr><tr><td colspan="2">';
59
 
60
  return $html;
62
  function cf7style_templates_structure ( $args) {
63
  $html = "";
64
  $html .= '</tr>';
65
+ /*$html .= '<tr><td colspan="2"><p>'.__( "From here you will be able to import the Contact Form 7 Style predefined templates.", "contact-form-7-style" ).'</p></td></tr>';
66
+ $html .= '<tr><td colspan="2"><p><small>'.__( "This works only if the predefined templates are Deleted Permanently (they don't appear in", "contact-form-7-style" ).' <a href="'.admin_url('edit.php?post_status=trash&post_type=cf7_style').'">'.__( "Trash", "contact-form-7-style" ).'</a> ).</small></p></td></tr>';*/
67
  $html .= '<tr><td colspan="2">';
68
  $option = get_option( $args[0] );
69
  if( $option == '1'){
72
  if( isset($_POST[ 'cf7styletracking' ]) ){
73
  update_option( 'cf7_style_no_temps', 'show_box' );
74
  }
75
+ $html .= $this->cf7style_render_checkbox( $option, $args, 'Install predefined templates', '<p>'.__( "From here you will be able to import the Contact Form 7 Style predefined templates.", "contact-form-7-style" ).'</p><p><small>'.__( "This works only if the predefined templates are Deleted Permanently (they don't appear in", "contact-form-7-style" ).' <a href="'.admin_url('edit.php?post_status=trash&post_type=cf7_style').'">'.__( "Trash", "contact-form-7-style" ).'</a> ).</small></p>' );
76
  $html .= '</td></tr><tr><td colspan="2">';
77
  return $html;
78
  }
85
  if( isset( $_POST[ 'cf7_style_form_tooltip' ] ) ) {
86
  update_option( 'cf7_style_form_tooltip', '1' );
87
  }
88
+ $html .= $this->cf7style_render_checkbox( $option, $args, 'Show the frontend form edit button', '' );
89
+ $html .= '</td></tr><tr><td colspan="2">';
90
+ return $html;
91
+ }
92
+
93
+ function cf7style_forcecss_structure( $args ) {
94
+ $html = "";
95
+ $html .= '</tr>';
96
+ $html .= '<tr><td colspan="2">';
97
+ $option = get_option( $args[0] );
98
+ if( isset( $_POST[ 'cf7_style_forcecss' ] ) ) {
99
+ update_option( 'cf7_style_forcecss', '1' );
100
+ }
101
+ $html .= $this->cf7style_render_checkbox( $option, $args, 'Force CSS', '' );
102
  $html .= '</td></tr><tr><td colspan="2">';
103
  return $html;
104
  }
124
  'cf7_style_allow_tracking' => __('Data collection', 'contact-form-7-style'),
125
  'cf7_style_deleted' => __('Import predefined Contact Form 7 Style templates', 'contact-form-7-style'),
126
  'cf7_style_form_tooltip' => __( 'Display form edit tooltip on frontend?', 'contact-form-7-style' ),
127
+ 'cf7_style_forcecss' => __( 'Active theme overrides your form styling?', 'contact-form-7-style' ),
128
  );
129
  foreach ( $set_fields as $field => $value ) {
130
  add_settings_field(
173
  case 'cf7_style_form_tooltip' :
174
  echo $this->cf7style_tooltip_structure( $args );
175
  break;
176
+ case 'cf7_style_forcecss' :
177
+ echo $this->cf7style_forcecss_structure( $args );
178
+ break;
179
  }
180
  }
181
  function text_inputs( $args ) {
plugin-options.php CHANGED
@@ -400,22 +400,31 @@ function generate_property_fields( $key, $std, $name, $type, $saved_values, $sel
400
  $test = ( $std["style"] == "border-top" || $std["style"] == "border-right" || $std["style"] == "border-bottom" || $std["style"] == "border-left") ? '-width' : '' ;
401
  $saved_one = ( array_key_exists( $name . "_". $std["style"].$test.$selector_type, $saved_values)) ? $saved_values [ $name . "_". $std["style"].$test.$selector_type ] : "";
402
  switch ($type){
403
- case "width" : $temp .= '<span class="icon"><i class="fa fa-arrows-h" aria-hidden="true"></i></span>'; break;
404
- case "height" : $temp .= '<span class="icon"><i class="fa fa-arrows-v" aria-hidden="true"></i></span>'; break;
405
  case "border" :
406
  case "margin" :
407
- case "padding": $temp .= '<span class="icon"><i class="fa fa-long-arrow-'.$arrows[$indexer++].'" aria-hidden="true"></i></span>'; break;
408
- case "font" : $temp .= '<span class="icon"><i class="fa fa-'.$fonts[$std["style"]].'" aria-hidden="true"></i></span>';break;
409
  }
410
- $temp .= "<input type='number' min='0' max='1000' id='". $name . "_". $std["style"].$test.$selector_type."' name='cf7stylecustom[". $name . "_". $std["style"].$test.$selector_type."]' value='". $saved_one ."' />";
 
411
 
412
  $temp .= "<select id='". $name . "_". $std["style"] .$test . "_unit".$selector_type."' name='cf7stylecustom[". $name . "_". $std["style"] .$test ."_unit".$selector_type."]'>";
 
413
  foreach( $std["unit"] as $unit_val ) {
414
  $saved_one_unit = ( array_key_exists( $name . "_". $std["style"]. "_unit".$selector_type, $saved_values) ) ? $saved_values[ $name . "_". $std["style"]. "_unit".$selector_type ] : "";
415
  $temp .= "<option ". selected( $saved_one_unit , $unit_val, false ) . ">". $unit_val ."</option>";
416
  }
417
  $temp .= "</select>";
418
-
 
 
 
 
 
 
 
419
  }
420
  $temp .= "</label></li>";
421
  return $temp;
400
  $test = ( $std["style"] == "border-top" || $std["style"] == "border-right" || $std["style"] == "border-bottom" || $std["style"] == "border-left") ? '-width' : '' ;
401
  $saved_one = ( array_key_exists( $name . "_". $std["style"].$test.$selector_type, $saved_values)) ? $saved_values [ $name . "_". $std["style"].$test.$selector_type ] : "";
402
  switch ($type){
403
+ case "width" : $temp .= '<span class="element-wrapper"><span class="icon"><i class="fa fa-arrows-h" aria-hidden="true"></i></span>'; break;
404
+ case "height" : $temp .= '<span class="element-wrapper"><span class="icon"><i class="fa fa-arrows-v" aria-hidden="true"></i></span>'; break;
405
  case "border" :
406
  case "margin" :
407
+ case "padding": $temp .= '<span class="element-wrapper"><span class="icon"><i class="fa fa-long-arrow-'.$arrows[$indexer++].'" aria-hidden="true"></i></span>'; break;
408
+ case "font" : $temp .= '<span class="element-wrapper"><span class="icon"><i class="fa fa-'.$fonts[$std["style"]].'" aria-hidden="true"></i></span>';break;
409
  }
410
+ $min_val = ("margin" == $type) ? '-1000' : '0';
411
+ $temp .= "<input type='number' min='".$min_val."' max='1000' id='". $name . "_". $std["style"].$test.$selector_type."' name='cf7stylecustom[". $name . "_". $std["style"].$test.$selector_type."]' value='". $saved_one ."' />";
412
 
413
  $temp .= "<select id='". $name . "_". $std["style"] .$test . "_unit".$selector_type."' name='cf7stylecustom[". $name . "_". $std["style"] .$test ."_unit".$selector_type."]'>";
414
+
415
  foreach( $std["unit"] as $unit_val ) {
416
  $saved_one_unit = ( array_key_exists( $name . "_". $std["style"]. "_unit".$selector_type, $saved_values) ) ? $saved_values[ $name . "_". $std["style"]. "_unit".$selector_type ] : "";
417
  $temp .= "<option ". selected( $saved_one_unit , $unit_val, false ) . ">". $unit_val ."</option>";
418
  }
419
  $temp .= "</select>";
420
+ switch ($type){
421
+ case "width" :
422
+ case "height" :
423
+ case "border" :
424
+ case "margin" :
425
+ case "padding":
426
+ case "font" : $temp .= '</span>';break;
427
+ }
428
  }
429
  $temp .= "</label></li>";
430
  return $temp;
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: ionut.iclanzan, dorumarginean, mlehelsz, mircear
3
  Donate link: http://cf7style.com/back-this-project/
4
  Tags: contact form 7, contact form 7 style, contact form 7 css, contact form 7 styling, CF7, CF7 style, styling contact form, styling contact form 7, multiple form styling, custom form styling, CF7 addon, customize, templates, valentine's day templates, Christmas templates, manual styling, live preview, hover state styling, CF7 form messages styling
5
  Requires at least: 3.0.1
6
- Tested up to: 4.7
7
- Stable tag: 3.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -12,12 +12,15 @@ Simple style customization and templating for Contact Form 7 forms. Requires Con
12
 
13
  == Description ==
14
 
15
- [Contact Form 7 Style](http://cf7style.com/) plugin is an addon for [Contact Form 7](http://wordpress.org/plugins/contact-form-7/) which needs to be installed on your wordpress blog.
 
 
 
 
 
 
16
  Supports custom styling, which can be easily managed via admin dashboard. Also has predefined templates like Simple Pattern, Valentine's Day, Christmas that can be activated on your Contact Form 7. <BR>
17
 
18
- > This plugin requires the <a href="http://wordpress.org/extend/plugins/contact-form-7/" rel="nofollow">Contact Form 7 plugin</a><BR>
19
-
20
- [youtube https://www.youtube.com/watch?v=dByaDeVlmAc]
21
 
22
  **Custom style options: <BR>**
23
  - color styling, <BR>
@@ -25,6 +28,7 @@ Supports custom styling, which can be easily managed via admin dashboard. Also h
25
  - styling for input fields, text, textarea, labels, submit button, messages <BR>
26
  - border-color, <BR>
27
  - form background-color, <BR>
 
28
  - form background-image, <BR>
29
  - form container styling, <BR>
30
  - form container background-image styling, <BR>
@@ -61,9 +65,23 @@ You will find 'Contact Style' menu in your WordPress admin panel.
61
  6. Manual CSS Editor on the pages/posts which contains one or more Contact Form 7 forms.
62
  7. Form Selector on the new Custom Style Setup Page.
63
  8. Google Font Selector with all the Google Fonts included in one Dropdown with preview on the right side of the Dropdown.
 
 
64
 
65
  == Changelog ==
66
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  = 3.1.1 =
68
  * [Major Fix](https://wordpress.org/support/topic/custom-styles-not-working/) for custom styles
69
  * [Small Fix] Styling issue on buttons
@@ -210,8 +228,15 @@ You will find 'Contact Style' menu in your WordPress admin panel.
210
  * First plugin version.
211
 
212
  == Upgrade Notice ==
213
- = Contact Form 7 Style Version 3.1.1 =
214
-
215
- * [Major Fix](https://wordpress.org/support/topic/custom-styles-not-working/) for custom styles
216
- * [Small Fix] Styling issue on buttons
217
- * [Small Fix] CSS generator core upgraded
 
 
 
 
 
 
 
3
  Donate link: http://cf7style.com/back-this-project/
4
  Tags: contact form 7, contact form 7 style, contact form 7 css, contact form 7 styling, CF7, CF7 style, styling contact form, styling contact form 7, multiple form styling, custom form styling, CF7 addon, customize, templates, valentine's day templates, Christmas templates, manual styling, live preview, hover state styling, CF7 form messages styling
5
  Requires at least: 3.0.1
6
+ Tested up to: 4.8
7
+ Stable tag: 3.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ [Contact Form 7 Style](http://cf7style.com/) plugin is an addon for [Contact Form 7](http://wordpress.org/plugins/contact-form-7/) which needs to be installed on your WordPress website.
16
+ > This plugin requires the <a href="http://wordpress.org/extend/plugins/contact-form-7/" rel="nofollow">Contact Form 7 plugin</a><BR>
17
+ <BR>
18
+ > <a href="http://cf7style.com/downloads-history/" target="_blank">Downloads history</a> can be checked out on the cf7style.com website.<BR>
19
+
20
+ [youtube https://www.youtube.com/watch?v=dByaDeVlmAc]
21
+
22
  Supports custom styling, which can be easily managed via admin dashboard. Also has predefined templates like Simple Pattern, Valentine's Day, Christmas that can be activated on your Contact Form 7. <BR>
23
 
 
 
 
24
 
25
  **Custom style options: <BR>**
26
  - color styling, <BR>
28
  - styling for input fields, text, textarea, labels, submit button, messages <BR>
29
  - border-color, <BR>
30
  - form background-color, <BR>
31
+ - form transparent background-color, <BR>
32
  - form background-image, <BR>
33
  - form container styling, <BR>
34
  - form container background-image styling, <BR>
65
  6. Manual CSS Editor on the pages/posts which contains one or more Contact Form 7 forms.
66
  7. Form Selector on the new Custom Style Setup Page.
67
  8. Google Font Selector with all the Google Fonts included in one Dropdown with preview on the right side of the Dropdown.
68
+ 9. Enable / disable forcing the CSS on the actual setup (it adds !important to every style property changed on the form)
69
+ 10. Transparent background
70
 
71
  == Changelog ==
72
 
73
+ = 3.1.2 =
74
+ * [Small Fix](https://wordpress.org/support/topic/block-disappeared/) de-activated the possibility to drag boxes around
75
+ * [Small Fix](https://wordpress.org/support/topic/transparentclear-input-background/) added possibility to add transparent background
76
+ * [Small Fix](https://wordpress.org/support/topic/custom-submit-button-settings-not-working/) added new Force CSS settings possibility to plugin
77
+ * [Small Fix](https://wordpress.org/support/topic/successfully-sent-message-styles-not-working-properly/) customized styling to remove this issue
78
+ * [Small Fix](https://wordpress.org/support/topic/changing-default-padding-and-margins/) added possibility to add 0 padding / 0 margin
79
+ * [Small Improvement] Possible to add negative margins on custom templates
80
+ * [Small Improvement] Possible to add decimal values for "%" and "em" units
81
+ * [Small Improvement] Added tooltip on settings page for better understanding
82
+ * general bugfixing
83
+ * user interface improvements
84
+
85
  = 3.1.1 =
86
  * [Major Fix](https://wordpress.org/support/topic/custom-styles-not-working/) for custom styles
87
  * [Small Fix] Styling issue on buttons
228
  * First plugin version.
229
 
230
  == Upgrade Notice ==
231
+ = Contact Form 7 Style Version 3.1.2 =
232
+
233
+ * [Small Fix](https://wordpress.org/support/topic/block-disappeared/) de-activated the possibility to drag boxes around
234
+ * [Small Fix](https://wordpress.org/support/topic/transparentclear-input-background/) added possibility to add transparent background
235
+ * [Small Fix](https://wordpress.org/support/topic/custom-submit-button-settings-not-working/) added new Force CSS settings possibility to plugin
236
+ * [Small Fix](https://wordpress.org/support/topic/successfully-sent-message-styles-not-working-properly/) customized styling to remove this issue
237
+ * [Small Fix](https://wordpress.org/support/topic/changing-default-padding-and-margins/) added possibility to add 0 padding / 0 margin
238
+ * [Small Improvement] Possible to add negative margins on custom templates
239
+ * [Small Improvement] Possible to add decimal values for "%" and "em" units
240
+ * [Small Improvement] Added tooltip settings for better explanations
241
+ * general bugfixing
242
+ * user interface improvements
screenshot-1.jpg CHANGED
Binary file
screenshot-10.jpg ADDED
Binary file
screenshot-2.jpg CHANGED
Binary file
screenshot-3.jpg CHANGED
Binary file
screenshot-4.jpg CHANGED
Binary file
screenshot-5.jpg CHANGED
Binary file
screenshot-6.jpg CHANGED
Binary file
screenshot-7.jpg CHANGED
Binary file
screenshot-8.jpg CHANGED
Binary file
screenshot-9.jpg ADDED
Binary file