Version Description
- 2022-02-15 =
- Fixed saving values for fields from custom sections
- Fixed field translations
- Fixed validation classes for field templates
- Fixed template of HTML field
Download this release
Release Info
Developer | wpdesk |
Plugin | Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager |
Version | 3.2.1 |
Comparing to | |
See all releases |
Code changes from version 3.2.0 to 3.2.1
- assets/css/new-admin.css +1 -1
- assets/css/new-front.css +1 -1
- classes/plugin.php +4 -5
- flexible-checkout-fields.php +3 -3
- lang/flexible-checkout-fields.pot +7 -7
- readme.txt +6 -0
- src/Field/FieldTranslator.php +47 -0
- src/Plugin.php +2 -0
- src/Validator/FieldValidator.php +35 -0
- src/Validator/ValidationClassGenerator.php +54 -0
- templates/fields/info.php +2 -2
- vendor/autoload.php +1 -1
- vendor/composer/autoload_classmap.php +2 -0
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +6 -4
assets/css/new-admin.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@font-face{font-family:fcf-icomoon;font-style:normal;font-weight:400;src:url(../fonts/icons/icomoon.eot?ver=11080925);src:url(../fonts/icons/icomoon.woff?ver=11080925) format("woff"),url(../fonts/icons/icomoon.eot?ver=11080925#iefix) format("embedded-opentype"),url(../fonts/icons/icomoon.ttf?ver=11080925) format("truetype"),url(../fonts/icons/icomoon.svg?ver=11080925#icomoon) format("svg")}.icon-align-left:before{content:"\e900"!important}.icon-align-left:before,.icon-at-email:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-at-email:before{content:"\e92b"!important}.icon-bookmark:before{content:"\e920"!important}.icon-bookmark:before,.icon-brush:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-brush:before{content:"\e901"!important}.icon-calendar-alt:before{content:"\e902"!important}.icon-calendar-alt:before,.icon-caret-down:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-caret-down:before{content:"\e903"!important}.icon-caret-left:before{content:"\e904"!important}.icon-caret-left:before,.icon-caret-right:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-caret-right:before{content:"\e905"!important}.icon-caret-up:before{content:"\e906"!important}.icon-caret-up:before,.icon-check:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-check:before{content:"\e907"!important}.icon-check-double:before{content:"\e92a"!important}.icon-check-double:before,.icon-check-square:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-check-square:before{content:"\e908"!important}.icon-check-square-multi:before{content:"\e92f"!important}.icon-check-square-multi:before,.icon-clock:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-clock:before{content:"\e909"!important}.icon-code:before{content:"\e90a"!important}.icon-code:before,.icon-cog:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-cog:before{content:"\e90b"!important}.icon-cogs:before{content:"\e90c"!important}.icon-cogs:before,.icon-digits:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-digits:before{content:"\e929"!important}.icon-dollar-sign:before{content:"\e90d"!important}.icon-dollar-sign:before,.icon-ellipsis-v:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-ellipsis-v:before{content:"\e90e"!important}.icon-exchange-alt:before{content:"\e90f"!important}.icon-exchange-alt:before,.icon-exclamation-triangle:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-exclamation-triangle:before{content:"\e926"!important}.icon-eye:before{content:"\e910"!important}.icon-eye:before,.icon-font:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-font:before{content:"\e911"!important}.icon-heading:before{content:"\e912"!important}.icon-heading:before,.icon-heart:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-heart:before{content:"\e921"!important}.icon-image:before{content:"\e927"!important}.icon-image:before,.icon-images:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-images:before{content:"\e928"!important}.icon-link:before{content:"\e92d"!important}.icon-link:before,.icon-list-ul:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-list-ul:before{content:"\e913"!important}.icon-long-arrow-alt-down:before{content:"\e914"!important}.icon-long-arrow-alt-down:before,.icon-long-arrow-alt-left:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-long-arrow-alt-left:before{content:"\e915"!important}.icon-long-arrow-alt-right:before{content:"\e916"!important}.icon-long-arrow-alt-right:before,.icon-long-arrow-alt-up:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-long-arrow-alt-up:before{content:"\e917"!important}.icon-magic:before{content:"\e918"!important}.icon-magic:before,.icon-paint-brush:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-paint-brush:before{content:"\e92e"!important}.icon-palette:before{content:"\e919"!important}.icon-palette:before,.icon-paragraph:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-paragraph:before{content:"\e92c"!important}.icon-phone:before{content:"\e930"!important}.icon-phone:before,.icon-plugin-symbol:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-plugin-symbol:before{content:"\e923"!important}.icon-plus:before{content:"\e91a"!important}.icon-plus:before,.icon-question-circle:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-question-circle:before{content:"\e91b"!important}.icon-spinner:before{content:"\e925"!important}.icon-spinner:before,.icon-star:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-star:before{content:"\e922"!important}.icon-tasks:before{content:"\e91d"!important}.icon-tasks-alt:before,.icon-tasks:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-tasks-alt:before{content:"\e91c"!important}.icon-times:before{content:"\e91e"!important}.icon-times:before,.icon-trash-alt:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-trash-alt:before{content:"\e924"!important}.icon-upload:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e91f"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfSettings{overflow-x:hidden;width:100%}.fcfSettings,.fcfSettings *,.fcfSettings :after,.fcfSettings :before{box-shadow:none;box-sizing:border-box;text-decoration:none}.fcfSettings *,.fcfSettings :after,.fcfSettings :before{margin:0;padding:0}.fcfSettings a,.fcfSettings a:focus{box-shadow:none;outline:0}.fcfSettings__headline{color:#1e1e1e;font-size:24px;font-weight:400;line-height:1.375;padding:2px 0 2px 50px;position:relative}.fcfSettings__headline:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2271b1;content:"\e923"!important;font-family:fcf-icomoon!important;font-size:30px;font-style:normal;font-variant:normal;font-weight:400;left:0;line-height:1;position:absolute;text-transform:none;top:50%;transform:translateY(-50%)}.fcfSettings__footer{font-size:14px;line-height:1.8571428571;padding:2px 0;text-align:center}.fcfSettings__footer a{color:inherit;font-weight:500}.fcfSettings__footerIcon{display:inline-block;padding:0 3px}.fcfSettings__footerIcon+.fcfSettings__footerIcon{margin-left:-6px}.fcfSettings__footerIcon--heart:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#dc3232;content:"\e921"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfSettings__footerIcon--star:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#ffb900;content:"\e922"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfSettings__columns{display:flex;flex-wrap:wrap;margin:0 -10px;width:calc(100% + 20px)}.fcfSettings__columns--reverse{flex-direction:row-reverse}.fcfSettings__columns--margin{margin-top:20px}.fcfSettings__column{padding:10px;width:40%}.fcfSettings__column--wide,.fcfSettings__column:first-child:last-child{flex:1}.fcf-admin-fields .form-row label,.fcf-admin-fields .form-row legend{display:block;margin-bottom:.5em}#your-profile .fcf-admin-fields label,#your-profile .fcf-admin-fields legend{font-size:13px}.fcf-admin-fields .form-row{float:none;width:100%}.fcfButton{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:1px solid transparent;color:#1e1e1e;cursor:pointer;display:inline-block;font-size:14px;font-weight:500;line-height:1.8571428571;outline:none;overflow:hidden;padding:7px 20px;position:relative;text-align:center;transition:color .3s;z-index:1}.fcfButton[disabled]{pointer-events:none}.fcfButton:after{content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s;width:100%;z-index:-1}.fcfButton--bg:after{opacity:1}.fcfButton--bg:hover:after{opacity:0}.fcfButton--border:hover:after{opacity:1}.fcfButton--wide{width:100%}.fcfButton--small{padding:2px 20px}.fcfButton--bg{color:#fff}.fcfButton--border:hover{color:#fff!important}.fcfButton--green{border-color:#46b450}.fcfButton--green:after{background-color:#46b450}.fcfButton--green.fcfButton--bg:hover,.fcfButton--green.fcfButton--border{color:#46b450}.fcfButton--blue{border-color:#2271b1}.fcfButton--blue:after{background-color:#2271b1}.fcfButton--blue.fcfButton--bg:hover,.fcfButton--blue.fcfButton--border{color:#2271b1}.fcfButton--red{border-color:#dc3232}.fcfButton--red:after{background-color:#dc3232}.fcfButton--red.fcfButton--bg:hover,.fcfButton--red.fcfButton--border{color:#dc3232}.fcfFields__items{padding:10px}.fcfFields__item{margin:0;outline:none;padding:10px;pointer-events:none}.fcfFields__itemInner{background-color:#fff;border:1px solid #e2e4e7;pointer-events:auto}.fcfFields__itemHeader{position:relative}.fcfFields__itemHeader:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:rgba(30,30,30,.25);content:"\e90f"!important;font-family:fcf-icomoon!important;font-size:16px;font-style:normal;font-variant:normal;font-weight:400;left:20px;line-height:1;position:absolute;text-transform:none;top:50%;transform:translateY(-50%)}.fcfFields__itemHeaderOuter{align-items:center;display:flex;justify-content:space-between;padding:0 20px 0 56px}.fcfFields__itemHeaderInner{align-items:center;display:flex;flex:1;min-width:0}.fcfFields__itemHeaderTitle{color:#1e1e1e;flex:1;font-size:14px;font-weight:500;line-height:1.8571428571;overflow:hidden;padding:12px 20px 12px 0;text-overflow:ellipsis;white-space:nowrap}.fcfFields__item--disabled .fcfFields__itemHeaderTitle{color:rgba(30,30,30,.25);font-style:italic}.fcfFields__itemHeaderDesc{color:rgba(30,30,30,.5);font-size:12px;line-height:1.8571428571;padding:12px 0}.fcfFields__itemHeaderDesc--flag{padding-left:30px;position:relative}.fcfFields__itemHeaderDesc--flag:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2271b1;content:"\e923"!important;font-family:fcf-icomoon!important;font-size:16px;font-style:normal;font-variant:normal;font-weight:400;left:0;line-height:1;margin-top:1px;position:absolute;text-transform:none;top:50%;transform:translateY(-50%)}.fcfFields__itemHeaderButtons{display:flex;padding-left:20px}.fcfFields__itemHeaderButton{position:relative}.fcfFields__itemHeaderButtonInner{background:none;border:0;cursor:pointer;height:36px;line-height:0;outline:0;padding:10px;position:relative;text-align:center;width:36px;z-index:1}.fcfFields__itemHeaderButtonInner:before{color:#1e1e1e;content:"";font-size:16px;line-height:1}.fcfFields__itemHeaderButtonInner:after{background-color:#f0f0f0;border-radius:50%;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s;width:100%;z-index:-1}.fcfFields__item--disabled .fcfFields__itemHeaderButtonInner:after{background-color:#fff}.fcfFields__itemHeaderButtonInner--open:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e903"!important;font-family:fcf-icomoon!important;font-size:6px;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfFields__itemHeaderButtonInner--close:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e906"!important;font-family:fcf-icomoon!important;font-size:6px;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfFields__itemHeaderButtonInner--remove:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#dc3232;content:"\e924"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfFields__itemHeaderButtonInner:hover:after{opacity:1}.fcfFields__itemContent{border-top:1px solid #f0f0f0}.fcfFields__itemTabs{background-color:rgba(0,0,0,.025);border-bottom:1px solid #f0f0f0}.fcfOptions__rows{padding:5px 20px}.fcfOptions__column .fcfOptions__rows{padding:0}.fcfOptions__row{padding:5px 0}.fcfOptions__column .fcfOptions__row{padding:0}.fcfOptions__row--padding{padding:15px 0}.fcfOptions__row--sub{padding-left:30px}.fcfOptions__columns{display:flex;flex-wrap:wrap;position:relative}.fcfOptions__columns--button{padding-right:30px}.fcfOptions__columns--button+.fcfOptions__columns--button:before{background-color:#e2e4e7;content:"";height:1px;left:50%;position:absolute;top:0;transform:translateX(-50%);width:calc(100% - 20px)}.fcfOptions__column{flex:1;max-width:100%;padding:0 10px;position:relative}.fcfOptions__column--small{min-width:auto!important;padding:0!important;position:absolute;right:0;top:50%;transform:translateY(-50%)}.fcfOptions__column--center{padding:5px 0 10px;text-align:center}.fcfOptions__columnButton{background:none;border:0;cursor:pointer;font-size:0;margin-top:20px;outline:0;padding:10px;position:relative;z-index:1}.fcfOptions__columnButton:after{background-color:#f0f0f0;border-radius:50%;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s;width:100%;z-index:-1}.fcfOptions__columnButton:hover:after{opacity:1}.fcfOptions__columnButton--remove:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#dc3232;content:"\e91e"!important;font-family:fcf-icomoon!important;font-size:10px;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none}.fcfOptions__error,.fcfOptions__label,.fcfOptions__labelInner,.fcfOptions__rowLabel{color:#1e1e1e;display:block;font-size:14px;line-height:1.8571428571;padding:2px 0}.fcfOptions__label{display:inline-block;font-weight:500;position:relative;z-index:1}.fcfOptions__label--line{display:block;font-size:0;overflow:hidden}.fcfOptions__labelInner{background-color:#fff;color:#1e1e1e;display:inline-block;margin-left:20px;max-width:calc(100% - 30px);overflow:hidden;padding:0 10px;text-overflow:ellipsis;white-space:nowrap}.fcfOptions__labelInner:before{background-color:hsla(216,9%,90%,.75);content:"";height:1px;left:0;position:absolute;top:50%;width:100%;z-index:-1}.fcfOptions__error{background-color:#dc3232;color:#fff;font-weight:500;margin-bottom:10px;padding-left:36px;padding-right:10px;position:relative}.fcfOptions__checkbox~.fcfOptions__error{margin-top:5px}.fcfOptions__error:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e926"!important;font-family:fcf-icomoon!important;font-size:16px;font-style:normal;font-variant:normal;font-weight:400;left:10px;line-height:1;position:absolute;text-transform:none;top:50%;transform:translateY(-50%)}.fcfOptions__labelHelp,.fcfOptions__labelHelpIcon{display:inline-block;position:relative}.fcfOptions__labelHelpIcon{padding:0 10px;z-index:1}.fcfOptions__labelHelpIcon:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2271b1;content:"\e91b"!important;display:block;font-family:fcf-icomoon!important;font-size:14px;font-style:normal;font-variant:normal;font-weight:400;line-height:1.8571428571;text-transform:none;transition:transform .3s}.fcfOptions__labelHelpIcon:hover:before{transform:scale(1.5)}.fcfOptions__input,.fcfOptions__select,.fcfOptions__textarea{margin-bottom:10px}.fcfSettings .fcfOptions__input,.fcfSettings .fcfOptions__textarea{border:1px solid #e2e4e7;border-radius:0;color:#1e1e1e;display:block;font-size:14px;line-height:1.8571428571;max-width:none;padding:7px 10px;width:100%}.fcfSettings .fcfOptions__input:focus,.fcfSettings .fcfOptions__textarea:focus{border-color:#e2e4e7;box-shadow:none;color:#1e1e1e;outline:0}.fcfSettings .fcfOptions__input[disabled],.fcfSettings .fcfOptions__textarea[disabled]{background-color:hsla(216,9%,90%,.5);border-color:#e2e4e7;color:#1e1e1e;text-shadow:none}.fcfSettings .fcfOptions__checkbox,.fcfSettings .fcfOptions__radio{display:none}.fcfOptions__checkbox+.fcfOptions__label,.fcfOptions__radio+.fcfOptions__label{padding-left:30px;transition:color .3s}.fcfOptions__checkbox+.fcfOptions__label:after,.fcfOptions__checkbox+.fcfOptions__label:before,.fcfOptions__radio+.fcfOptions__label:after,.fcfOptions__radio+.fcfOptions__label:before{content:"";height:20px;left:0;position:absolute;top:calc(50% - 10px);width:20px}.fcfOptions__checkbox+.fcfOptions__label:before,.fcfOptions__radio+.fcfOptions__label:before{border:1px solid #e2e4e7}.fcfOptions__checkbox+.fcfOptions__label:after,.fcfOptions__radio+.fcfOptions__label:after{color:#46b450;font-size:10px;line-height:2;text-align:center;transform:scale(0);transition:transform .3s}.fcfOptions__checkbox:hover+.fcfOptions__label,.fcfOptions__radio:hover+.fcfOptions__label{color:rgba(30,30,30,.5)}.fcfOptions__checkbox[disabled]+.fcfOptions__label:before,.fcfOptions__radio[disabled]+.fcfOptions__label:before{background-color:hsla(216,9%,90%,.5);border-color:#e2e4e7}.fcfOptions__checkbox+.fcfOptions__label:after{content:"\e907"!important}.fcfOptions__checkbox+.fcfOptions__label:after,.fcfOptions__radio+.fcfOptions__label:after{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfOptions__radio+.fcfOptions__label:after{content:"\e91e"!important}.fcfOptions__checkbox[checked]+.fcfOptions__label:after,.fcfOptions__radio[checked]+.fcfOptions__label:after{transform:scale(1)}.fcfOptions__color,.fcfOptions__media{align-items:center;display:flex;margin-bottom:10px;min-height:42px}.fcfOptions__colorInner,.fcfOptions__mediaInner{width:100%}.fcfOptions__mediaImage{border:1px solid #e2e4e7;display:block;margin:0 auto 10px;max-height:100px;max-width:100px}.fcfOptions__colorPreview{display:block;height:100px;margin:0 auto 10px;width:100px}.fcfOptions__colorButton,.fcfOptions__mediaButton{width:100%}.fcfOptions__boxes{padding-bottom:10px}.fcfOptions__boxesTitle{background-color:#e2e4e7;font-size:14px;line-height:1.4285714286;margin:10px 0;padding:5px 10px;text-align:center}.fcfOptions__boxesTitle:first-child{margin-top:0}.fcfOptions__boxesItems{display:flex;flex-wrap:wrap;margin:-5px}.fcfOptions__boxesItem{padding:5px;width:50%}.fcfSettings .fcfOptions__boxesItemInput{display:none}.fcfOptions__boxesItemLabel{align-items:center;border:1px solid #e2e4e7;color:#1e1e1e;display:flex;font-size:14px;justify-content:center;line-height:1.4285714286;min-height:100%;padding:10px 10px 10px 42px;position:relative;text-align:center;transition:color .3s}.fcfOptions__boxesItemLabel:hover{color:rgba(30,30,30,.5)}.fcfOptions__boxesItemLabel:before{color:rgba(30,30,30,.75)!important;font-size:22px;left:10px;line-height:1;position:absolute;top:calc(50% - 11px)}.fcfOptions__boxesItemLabel:after{border:2px solid #2271b1;content:"";height:calc(100% + 2px);left:-1px;opacity:0;position:absolute;top:-1px;transition:opacity .3s;width:calc(100% + 2px)}.fcfOptions__boxesItemInput:checked+.fcfOptions__boxesItemLabel{color:#1e1e1e}.fcfOptions__boxesItemInput:checked+.fcfOptions__boxesItemLabel:after{opacity:1}.fcfOptions__info{margin:0 -20px;padding:10px 0}.fcfOptions__row:first-child .fcfOptions__info{margin-top:-20px}.fcfOptions__row:last-child .fcfOptions__info{margin-bottom:-20px}.fcfOptions__infoInner{background-color:#2271b1;color:#fff;font-size:14px;line-height:1.8571428571;padding:12px 20px}.fcfOptions__info--green .fcfOptions__infoInner{background-color:#46b450}.fcfOptions__info--yellow .fcfOptions__infoInner{background-color:#dba617}.fcfOptions__infoInner a{color:inherit;display:inline-block;font-weight:500;position:relative;transition:opacity .3s;white-space:nowrap}.fcfOptions__infoInner a:hover{opacity:.5}.fcfOptions__infoInner a:after{background-color:#fff;bottom:0;content:"";height:1px;left:0;position:absolute;width:100%}.fcfOptions__infoInner a.fcfArrowLink{letter-spacing:1px;opacity:1;padding-right:18px;text-transform:uppercase}.fcfOptions__infoInner a.fcfArrowLink:after{transition:width .3s;width:0}.fcfOptions__infoInner a.fcfArrowLink:hover:after{width:100%}.fcfOptions__infoInner a.fcfArrowLink:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e916"!important;font-family:fcf-icomoon!important;font-size:6px;font-style:normal;font-variant:normal;font-weight:400;line-height:1;position:absolute;right:0;text-transform:none;top:50%;transform:translateY(-50%)}.fcfOptions__infoInner p{font-size:14px;line-height:1.8571428571}.fcfOptions__infoInner p strong{font-size:20px;font-weight:400;line-height:1.75}.fcfOptions__infoInner ul{padding-left:10px}.fcfOptions__infoInner ul li{padding-left:20px;position:relative}.fcfOptions__infoInner ul li:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e907"!important;font-family:fcf-icomoon!important;font-size:10px;font-style:normal;font-variant:normal;font-weight:400;left:0;line-height:1;position:absolute;text-transform:none;top:50%;transform:translateY(-50%)}.fcfOptions__infoInner p,.fcfOptions__infoInner ul{margin-top:10px}.fcfOptions__infoInner p:first-child,.fcfOptions__infoInner ul:first-child{margin-top:0}.fcfSelect__control{background:none!important;border:1px solid #e2e4e7!important;border-radius:0!important;box-shadow:none!important;min-height:42px!important}.fcfSelect__indicators{border-left:1px solid #e2e4e7!important;position:relative;width:42px}.fcfSelect__indicators:after{color:#1e1e1e;content:"\e903"!important;font-size:6px;left:50%;line-height:1;position:absolute;top:50%;transform:translate(-50%,-50%)}.fcfSelect__control--menu-is-open .fcfSelect__indicators:after,.fcfSelect__indicators:after{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfSelect__control--menu-is-open .fcfSelect__indicators:after{content:"\e906"!important}.fcfSelect__indicators *{display:none!important}.fcfSelect__value-container{padding:4px 10px!important}.fcfSelect__input input{box-shadow:none!important;color:#1e1e1e!important;font-size:14px!important;line-height:1.5714285714!important;margin:0 2px!important;min-height:auto!important}.fcfSelect__single-value{max-width:calc(100% - 20px)!important}.fcfSelect__multi-value{background-color:#e2e4e7!important;border-radius:0!important}.fcfSelect__multi-value__label{color:#1e1e1e!important;font-size:12px!important;line-height:2!important;padding:2px 0 2px 10px!important}.fcfSelect__multi-value__remove{background:none!important;cursor:pointer;position:relative;width:30px}.fcfSelect__multi-value__remove:after{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#1e1e1e;content:"\e91e"!important;font-family:fcf-icomoon!important;font-size:10px;font-style:normal;font-variant:normal;font-weight:400;left:50%;line-height:1;position:absolute;text-transform:none;top:50%;transform:translate(-50%,-50%);transition:color .3s}.fcfSelect__multi-value__remove:hover:after{color:#dc3232}.fcfSelect__multi-value__remove *{display:none!important}.fcfSelect__menu{border-radius:0!important;box-shadow:none!important;margin:0!important;z-index:10!important}.fcfSelect__menu-notice{background-color:#1e1e1e!important;color:#fff!important;font-size:14px!important;line-height:1.8571428571!important;padding:7px 10px!important}.fcfSelect__menu-list{padding:0!important}.fcfSelect__option{background-color:#1e1e1e!important;border:1px solid #1e1e1e;color:#fff!important;cursor:pointer!important;font-size:14px!important;line-height:1.8571428571!important;padding:7px 10px!important;position:relative;transition:background-color .3s}.fcfSelect__option+.fcfSelect__option{border-top:1px solid hsla(0,0%,100%,.25);margin-top:-1px}.fcfSelect__option--is-focused{background-color:#2271b1!important}.fcfSelect__option--is-selected{background-color:#1e1e1e!important;cursor:auto!important;padding-right:42px!important}.fcfSelect__option--is-selected:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#46b450;content:"\e907"!important;font-family:fcf-icomoon!important;font-size:16px;font-style:normal;font-variant:normal;font-weight:400;line-height:1;position:absolute;right:0;text-align:center;text-transform:none;top:50%;transform:translateY(-50%);width:42px}.fcfTabs__items{display:flex;flex-wrap:wrap;margin:0;padding:0}.fcfTabs--lines .fcfTabs__items{margin-bottom:-10px;margin-top:10px}.fcfTabs__item{border-bottom:1px solid #f0f0f0;margin:0 0 -1px;padding:0;position:relative}.fcfTabs--lines .fcfTabs__item{padding-right:3px}.fcfTabs--lines .fcfTabs__item:after{background-color:#2271b1;border-radius:50%;content:"";height:6px;position:absolute;right:0;top:calc(50% - 3px);width:6px}.fcfTabs__item:last-child:after{display:none}.fcfTabs__itemLink{color:#1e1e1e;display:block;font-size:16px;font-weight:500;line-height:1.75;padding:12px 20px;position:relative;text-align:center;transition:color .3s}.fcfTabs--small .fcfTabs__itemLink{font-size:14px}.fcfTabs--lines .fcfTabs__itemLink{font-weight:400;padding:2px 20px}.fcfTabs__itemLink:after{background-color:#2271b1;bottom:0;content:"";height:3px;left:50%;position:absolute;transform:translateX(-50%);transition:width .3s;width:0}.fcfTabs--lines .fcfTabs__itemLink:after{display:none}.fcfTabs__itemLink[class*=icon-]{padding:12px 15px 12px 41px}.fcfTabs__itemLink[class*=icon-]:before{color:rgba(30,30,30,.5);font-size:16px;left:15px;line-height:1;position:absolute;top:calc(50% - 8px);transition:color .3s}.fcfTabs__itemLink:hover,.fcfTabs__itemLink:hover:before{color:#2271b1}.fcfTabs__itemLink--active{pointer-events:none}.fcfTabs__itemLink--active:after{width:100%}.fcfTabs--lines .fcfTabs__itemLink--active{color:#2271b1;font-weight:500}.fcfTooltip{cursor:default;opacity:0;transition:opacity .3s}.fcfTooltip--open{opacity:1}.fcfTooltip__outer{bottom:calc(100% + 10px);z-index:10000}.fcfTooltip__outer,.fcfTooltip__outer:before{left:50%;position:absolute;transform:translateX(-50%)}.fcfTooltip__outer:before{border-color:#1e1e1e transparent transparent;border-style:solid;border-width:5px 5px 0;content:"";height:0;top:100%;width:0}.fcfTooltip__inner{background-color:#1e1e1e;max-width:calc(100vw - 40px);width:400px}.fcfTooltip__text{color:#fff;font-size:14px;font-weight:400;line-height:1.4285714286;padding:5px 10px;text-align:center}.fcfTooltip__buttons{display:flex;justify-content:center;padding:5px}.fcfTooltip__button{padding:5px}.fcfWidget+.fcfWidget{margin-top:30px}.fcfWidget__inner{background-color:#fff;border:1px solid #e2e4e7;border-radius:3px}.fcfWidget__header{align-items:center;border-bottom:1px solid #e2e4e7;display:flex;flex-wrap:wrap;justify-content:space-between}.fcfWidget__headerTitle{color:#1e1e1e;font-size:20px;font-weight:400;line-height:1.75;padding:12px 20px}.fcfWidget__headerButtons{padding:0 10px}.fcfWidget__contentPlaceholder{color:#1e1e1e;font-size:14px;font-weight:500;line-height:1.8571428571;padding:12px 20px;text-align:center}.fcfWidget__footer{border-top:1px solid #f0f0f0;padding:10px}.fcfWidget__buttons{display:flex;flex-wrap:wrap;justify-content:space-between}.fcfWidget__button{min-width:250px;padding:10px;position:relative}.fcfWidget__buttonIcon{position:absolute;top:50%;transform:translateY(-50%);z-index:1}.fcfWidget__buttonIcon:first-child{right:calc(100% + 10px)}.fcfWidget__buttonIcon:last-child{left:calc(100% + 10px)}.fcfWidget__buttonIconInner:before{display:block;font-size:20px;line-height:1}.fcfWidget__buttonIcon--loading .fcfWidget__buttonIconInner:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;animation:rotate 1s ease-out infinite;color:#1e1e1e;content:"\e925"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfWidget__buttonIcon--success .fcfWidget__buttonIconInner:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#46b450;content:"\e907"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfWidget__buttonIcon--error .fcfWidget__buttonIconInner:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#dc3232;content:"\e926"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.picker_wrapper.popup{background-color:#fff!important;border:1px solid #e2e4e7!important;bottom:auto!important;box-shadow:none!important;left:0!important;margin:0!important;right:auto!important;top:0!important}.picker_wrapper.popup .picker_arrow,.picker_wrapper.popup .picker_done{display:none!important}.fpf-image img{height:auto;max-width:100%}@media (max-width:1366px){.fcfSettings__column{width:100%}.fcfSettings__column+.fcfSettings__column{margin-top:10px}.fcfFields__items{padding:0}}@media (max-width:768px){.fcfOptions__columns{display:block}}@media (max-width:600px){.fcfFields__itemHeaderInner{display:block}.fcfFields__itemHeaderDesc{margin-top:-20px}.fcfOptions__boxesItem{width:100%}.fcfWidget__header{display:block}.fcfWidget__button{padding:10px 40px;width:100%}.fcfWidget__buttonIcon:first-child{right:0}.fcfWidget__buttonIcon:last-child{left:0}}@media (max-width:1024px),(min-width:1367px) and (max-width:1600px){.fcfOptions__row--sub{padding-left:0}.fcfOptions__columns--button{padding-right:35px}.fcfOptions__column{min-width:50%}}
|
1 |
+
@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@font-face{font-family:fcf-icomoon;font-style:normal;font-weight:400;src:url(../fonts/icons/icomoon.eot?ver=15297003);src:url(../fonts/icons/icomoon.woff?ver=15297003) format("woff"),url(../fonts/icons/icomoon.eot?ver=15297003#iefix) format("embedded-opentype"),url(../fonts/icons/icomoon.ttf?ver=15297003) format("truetype"),url(../fonts/icons/icomoon.svg?ver=15297003#icomoon) format("svg")}.icon-align-left:before{content:"\e900"!important}.icon-align-left:before,.icon-at-email:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-at-email:before{content:"\e92b"!important}.icon-bookmark:before{content:"\e920"!important}.icon-bookmark:before,.icon-brush:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-brush:before{content:"\e901"!important}.icon-calendar-alt:before{content:"\e902"!important}.icon-calendar-alt:before,.icon-caret-down:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-caret-down:before{content:"\e903"!important}.icon-caret-left:before{content:"\e904"!important}.icon-caret-left:before,.icon-caret-right:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-caret-right:before{content:"\e905"!important}.icon-caret-up:before{content:"\e906"!important}.icon-caret-up:before,.icon-check:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-check:before{content:"\e907"!important}.icon-check-double:before{content:"\e92a"!important}.icon-check-double:before,.icon-check-square:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-check-square:before{content:"\e908"!important}.icon-check-square-multi:before{content:"\e92f"!important}.icon-check-square-multi:before,.icon-clock:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-clock:before{content:"\e909"!important}.icon-code:before{content:"\e90a"!important}.icon-code:before,.icon-cog:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-cog:before{content:"\e90b"!important}.icon-cogs:before{content:"\e90c"!important}.icon-cogs:before,.icon-digits:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-digits:before{content:"\e929"!important}.icon-dollar-sign:before{content:"\e90d"!important}.icon-dollar-sign:before,.icon-ellipsis-v:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-ellipsis-v:before{content:"\e90e"!important}.icon-exchange-alt:before{content:"\e90f"!important}.icon-exchange-alt:before,.icon-exclamation-triangle:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-exclamation-triangle:before{content:"\e926"!important}.icon-eye:before{content:"\e910"!important}.icon-eye:before,.icon-font:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-font:before{content:"\e911"!important}.icon-heading:before{content:"\e912"!important}.icon-heading:before,.icon-heart:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-heart:before{content:"\e921"!important}.icon-image:before{content:"\e927"!important}.icon-image:before,.icon-images:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-images:before{content:"\e928"!important}.icon-link:before{content:"\e92d"!important}.icon-link:before,.icon-list-ul:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-list-ul:before{content:"\e913"!important}.icon-long-arrow-alt-down:before{content:"\e914"!important}.icon-long-arrow-alt-down:before,.icon-long-arrow-alt-left:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-long-arrow-alt-left:before{content:"\e915"!important}.icon-long-arrow-alt-right:before{content:"\e916"!important}.icon-long-arrow-alt-right:before,.icon-long-arrow-alt-up:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-long-arrow-alt-up:before{content:"\e917"!important}.icon-magic:before{content:"\e918"!important}.icon-magic:before,.icon-paint-brush:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-paint-brush:before{content:"\e92e"!important}.icon-palette:before{content:"\e919"!important}.icon-palette:before,.icon-paragraph:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-paragraph:before{content:"\e92c"!important}.icon-phone:before{content:"\e930"!important}.icon-phone:before,.icon-plugin-symbol:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-plugin-symbol:before{content:"\e923"!important}.icon-plus:before{content:"\e91a"!important}.icon-plus:before,.icon-question-circle:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-question-circle:before{content:"\e91b"!important}.icon-spinner:before{content:"\e925"!important}.icon-spinner:before,.icon-star:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-star:before{content:"\e922"!important}.icon-tasks:before{content:"\e91d"!important}.icon-tasks-alt:before,.icon-tasks:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-tasks-alt:before{content:"\e91c"!important}.icon-times:before{content:"\e91e"!important}.icon-times:before,.icon-trash-alt:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-trash-alt:before{content:"\e924"!important}.icon-upload:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e91f"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfSettings{overflow-x:hidden;width:100%}.fcfSettings,.fcfSettings *,.fcfSettings :after,.fcfSettings :before{box-shadow:none;box-sizing:border-box;text-decoration:none}.fcfSettings *,.fcfSettings :after,.fcfSettings :before{margin:0;padding:0}.fcfSettings a,.fcfSettings a:focus{box-shadow:none;outline:0}.fcfSettings__headline{color:#1e1e1e;font-size:24px;font-weight:400;line-height:1.375;padding:2px 0 2px 50px;position:relative}.fcfSettings__headline:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2271b1;content:"\e923"!important;font-family:fcf-icomoon!important;font-size:30px;font-style:normal;font-variant:normal;font-weight:400;left:0;line-height:1;position:absolute;text-transform:none;top:50%;transform:translateY(-50%)}.fcfSettings__footer{font-size:14px;line-height:1.8571428571;padding:2px 0;text-align:center}.fcfSettings__footer a{color:inherit;font-weight:500}.fcfSettings__footerIcon{display:inline-block;padding:0 3px}.fcfSettings__footerIcon+.fcfSettings__footerIcon{margin-left:-6px}.fcfSettings__footerIcon--heart:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#dc3232;content:"\e921"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfSettings__footerIcon--star:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#ffb900;content:"\e922"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfSettings__columns{display:flex;flex-wrap:wrap;margin:0 -10px;width:calc(100% + 20px)}.fcfSettings__columns--reverse{flex-direction:row-reverse}.fcfSettings__columns--margin{margin-top:20px}.fcfSettings__column{padding:10px;width:40%}.fcfSettings__column--wide,.fcfSettings__column:first-child:last-child{flex:1}.fcf-admin-fields .form-row label,.fcf-admin-fields .form-row legend{display:block;margin-bottom:.5em}#your-profile .fcf-admin-fields label,#your-profile .fcf-admin-fields legend{font-size:13px}.fcf-admin-fields .form-row{float:none;width:100%}.fcfButton{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:1px solid transparent;color:#1e1e1e;cursor:pointer;display:inline-block;font-size:14px;font-weight:500;line-height:1.8571428571;outline:none;overflow:hidden;padding:7px 20px;position:relative;text-align:center;transition:color .3s;z-index:1}.fcfButton[disabled]{pointer-events:none}.fcfButton:after{content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s;width:100%;z-index:-1}.fcfButton--bg:after{opacity:1}.fcfButton--bg:hover:after{opacity:0}.fcfButton--border:hover:after{opacity:1}.fcfButton--wide{width:100%}.fcfButton--small{padding:2px 20px}.fcfButton--bg{color:#fff}.fcfButton--border:hover{color:#fff!important}.fcfButton--green{border-color:#46b450}.fcfButton--green:after{background-color:#46b450}.fcfButton--green.fcfButton--bg:hover,.fcfButton--green.fcfButton--border{color:#46b450}.fcfButton--blue{border-color:#2271b1}.fcfButton--blue:after{background-color:#2271b1}.fcfButton--blue.fcfButton--bg:hover,.fcfButton--blue.fcfButton--border{color:#2271b1}.fcfButton--red{border-color:#dc3232}.fcfButton--red:after{background-color:#dc3232}.fcfButton--red.fcfButton--bg:hover,.fcfButton--red.fcfButton--border{color:#dc3232}.fcfFields__items{padding:10px}.fcfFields__item{margin:0;outline:none;padding:10px;pointer-events:none}.fcfFields__itemInner{background-color:#fff;border:1px solid #e2e4e7;pointer-events:auto}.fcfFields__itemHeader{position:relative}.fcfFields__itemHeader:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:rgba(30,30,30,.25);content:"\e90f"!important;font-family:fcf-icomoon!important;font-size:16px;font-style:normal;font-variant:normal;font-weight:400;left:20px;line-height:1;position:absolute;text-transform:none;top:50%;transform:translateY(-50%)}.fcfFields__itemHeaderOuter{align-items:center;display:flex;justify-content:space-between;padding:0 20px 0 56px}.fcfFields__itemHeaderInner{align-items:center;display:flex;flex:1;min-width:0}.fcfFields__itemHeaderTitle{color:#1e1e1e;flex:1;font-size:14px;font-weight:500;line-height:1.8571428571;overflow:hidden;padding:12px 20px 12px 0;text-overflow:ellipsis;white-space:nowrap}.fcfFields__item--disabled .fcfFields__itemHeaderTitle{color:rgba(30,30,30,.25);font-style:italic}.fcfFields__itemHeaderDesc{color:rgba(30,30,30,.5);font-size:12px;line-height:1.8571428571;padding:12px 0}.fcfFields__itemHeaderDesc--flag{padding-left:30px;position:relative}.fcfFields__itemHeaderDesc--flag:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2271b1;content:"\e923"!important;font-family:fcf-icomoon!important;font-size:16px;font-style:normal;font-variant:normal;font-weight:400;left:0;line-height:1;margin-top:1px;position:absolute;text-transform:none;top:50%;transform:translateY(-50%)}.fcfFields__itemHeaderButtons{display:flex;padding-left:20px}.fcfFields__itemHeaderButton{position:relative}.fcfFields__itemHeaderButtonInner{background:none;border:0;cursor:pointer;height:36px;line-height:0;outline:0;padding:10px;position:relative;text-align:center;width:36px;z-index:1}.fcfFields__itemHeaderButtonInner:before{color:#1e1e1e;content:"";font-size:16px;line-height:1}.fcfFields__itemHeaderButtonInner:after{background-color:#f0f0f0;border-radius:50%;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s;width:100%;z-index:-1}.fcfFields__item--disabled .fcfFields__itemHeaderButtonInner:after{background-color:#fff}.fcfFields__itemHeaderButtonInner--open:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e903"!important;font-family:fcf-icomoon!important;font-size:6px;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfFields__itemHeaderButtonInner--close:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e906"!important;font-family:fcf-icomoon!important;font-size:6px;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfFields__itemHeaderButtonInner--remove:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#dc3232;content:"\e924"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfFields__itemHeaderButtonInner:hover:after{opacity:1}.fcfFields__itemContent{border-top:1px solid #f0f0f0}.fcfFields__itemTabs{background-color:rgba(0,0,0,.025);border-bottom:1px solid #f0f0f0}.fcfOptions__rows{padding:5px 20px}.fcfOptions__column .fcfOptions__rows{padding:0}.fcfOptions__row{padding:5px 0}.fcfOptions__column .fcfOptions__row{padding:0}.fcfOptions__row--padding{padding:15px 0}.fcfOptions__row--sub{padding-left:30px}.fcfOptions__columns{display:flex;flex-wrap:wrap;position:relative}.fcfOptions__columns--button{padding-right:30px}.fcfOptions__columns--button+.fcfOptions__columns--button:before{background-color:#e2e4e7;content:"";height:1px;left:50%;position:absolute;top:0;transform:translateX(-50%);width:calc(100% - 20px)}.fcfOptions__column{flex:1;max-width:100%;padding:0 10px;position:relative}.fcfOptions__column--small{min-width:auto!important;padding:0!important;position:absolute;right:0;top:50%;transform:translateY(-50%)}.fcfOptions__column--center{padding:5px 0 10px;text-align:center}.fcfOptions__columnButton{background:none;border:0;cursor:pointer;font-size:0;margin-top:20px;outline:0;padding:10px;position:relative;z-index:1}.fcfOptions__columnButton:after{background-color:#f0f0f0;border-radius:50%;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s;width:100%;z-index:-1}.fcfOptions__columnButton:hover:after{opacity:1}.fcfOptions__columnButton--remove:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#dc3232;content:"\e91e"!important;font-family:fcf-icomoon!important;font-size:10px;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none}.fcfOptions__error,.fcfOptions__label,.fcfOptions__labelInner,.fcfOptions__rowLabel{color:#1e1e1e;display:block;font-size:14px;line-height:1.8571428571;padding:2px 0}.fcfOptions__label{display:inline-block;font-weight:500;position:relative;z-index:1}.fcfOptions__label--line{display:block;font-size:0;overflow:hidden}.fcfOptions__labelInner{background-color:#fff;color:#1e1e1e;display:inline-block;margin-left:20px;max-width:calc(100% - 30px);overflow:hidden;padding:0 10px;text-overflow:ellipsis;white-space:nowrap}.fcfOptions__labelInner:before{background-color:hsla(216,9%,90%,.75);content:"";height:1px;left:0;position:absolute;top:50%;width:100%;z-index:-1}.fcfOptions__error{background-color:#dc3232;color:#fff;font-weight:500;margin-bottom:10px;padding-left:36px;padding-right:10px;position:relative}.fcfOptions__checkbox~.fcfOptions__error{margin-top:5px}.fcfOptions__error:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e926"!important;font-family:fcf-icomoon!important;font-size:16px;font-style:normal;font-variant:normal;font-weight:400;left:10px;line-height:1;position:absolute;text-transform:none;top:50%;transform:translateY(-50%)}.fcfOptions__labelHelp,.fcfOptions__labelHelpIcon{display:inline-block;position:relative}.fcfOptions__labelHelpIcon{padding:0 10px;z-index:1}.fcfOptions__labelHelpIcon:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2271b1;content:"\e91b"!important;display:block;font-family:fcf-icomoon!important;font-size:14px;font-style:normal;font-variant:normal;font-weight:400;line-height:1.8571428571;text-transform:none;transition:transform .3s}.fcfOptions__labelHelpIcon:hover:before{transform:scale(1.5)}.fcfOptions__input,.fcfOptions__select,.fcfOptions__textarea{margin-bottom:10px}.fcfSettings .fcfOptions__input,.fcfSettings .fcfOptions__textarea{border:1px solid #e2e4e7;border-radius:0;color:#1e1e1e;display:block;font-size:14px;line-height:1.8571428571;max-width:none;padding:7px 10px;width:100%}.fcfSettings .fcfOptions__input:focus,.fcfSettings .fcfOptions__textarea:focus{border-color:#e2e4e7;box-shadow:none;color:#1e1e1e;outline:0}.fcfSettings .fcfOptions__input[disabled],.fcfSettings .fcfOptions__textarea[disabled]{background-color:hsla(216,9%,90%,.5);border-color:#e2e4e7;color:#1e1e1e;text-shadow:none}.fcfSettings .fcfOptions__checkbox,.fcfSettings .fcfOptions__radio{display:none}.fcfOptions__checkbox+.fcfOptions__label,.fcfOptions__radio+.fcfOptions__label{padding-left:30px;transition:color .3s}.fcfOptions__checkbox+.fcfOptions__label:after,.fcfOptions__checkbox+.fcfOptions__label:before,.fcfOptions__radio+.fcfOptions__label:after,.fcfOptions__radio+.fcfOptions__label:before{content:"";height:20px;left:0;position:absolute;top:calc(50% - 10px);width:20px}.fcfOptions__checkbox+.fcfOptions__label:before,.fcfOptions__radio+.fcfOptions__label:before{border:1px solid #e2e4e7}.fcfOptions__checkbox+.fcfOptions__label:after,.fcfOptions__radio+.fcfOptions__label:after{color:#46b450;font-size:10px;line-height:2;text-align:center;transform:scale(0);transition:transform .3s}.fcfOptions__checkbox:hover+.fcfOptions__label,.fcfOptions__radio:hover+.fcfOptions__label{color:rgba(30,30,30,.5)}.fcfOptions__checkbox[disabled]+.fcfOptions__label:before,.fcfOptions__radio[disabled]+.fcfOptions__label:before{background-color:hsla(216,9%,90%,.5);border-color:#e2e4e7}.fcfOptions__checkbox+.fcfOptions__label:after{content:"\e907"!important}.fcfOptions__checkbox+.fcfOptions__label:after,.fcfOptions__radio+.fcfOptions__label:after{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfOptions__radio+.fcfOptions__label:after{content:"\e91e"!important}.fcfOptions__checkbox[checked]+.fcfOptions__label:after,.fcfOptions__radio[checked]+.fcfOptions__label:after{transform:scale(1)}.fcfOptions__color,.fcfOptions__media{align-items:center;display:flex;margin-bottom:10px;min-height:42px}.fcfOptions__colorInner,.fcfOptions__mediaInner{width:100%}.fcfOptions__mediaImage{border:1px solid #e2e4e7;display:block;margin:0 auto 10px;max-height:100px;max-width:100px}.fcfOptions__colorPreview{display:block;height:100px;margin:0 auto 10px;width:100px}.fcfOptions__colorButton,.fcfOptions__mediaButton{width:100%}.fcfOptions__boxes{padding-bottom:10px}.fcfOptions__boxesTitle{background-color:#e2e4e7;font-size:14px;line-height:1.4285714286;margin:10px 0;padding:5px 10px;text-align:center}.fcfOptions__boxesTitle:first-child{margin-top:0}.fcfOptions__boxesItems{display:flex;flex-wrap:wrap;margin:-5px}.fcfOptions__boxesItem{padding:5px;width:50%}.fcfSettings .fcfOptions__boxesItemInput{display:none}.fcfOptions__boxesItemLabel{align-items:center;border:1px solid #e2e4e7;color:#1e1e1e;display:flex;font-size:14px;justify-content:center;line-height:1.4285714286;min-height:100%;padding:10px 10px 10px 42px;position:relative;text-align:center;transition:color .3s}.fcfOptions__boxesItemLabel:hover{color:rgba(30,30,30,.5)}.fcfOptions__boxesItemLabel:before{color:rgba(30,30,30,.75)!important;font-size:22px;left:10px;line-height:1;position:absolute;top:calc(50% - 11px)}.fcfOptions__boxesItemLabel:after{border:2px solid #2271b1;content:"";height:calc(100% + 2px);left:-1px;opacity:0;position:absolute;top:-1px;transition:opacity .3s;width:calc(100% + 2px)}.fcfOptions__boxesItemInput:checked+.fcfOptions__boxesItemLabel{color:#1e1e1e}.fcfOptions__boxesItemInput:checked+.fcfOptions__boxesItemLabel:after{opacity:1}.fcfOptions__info{margin:0 -20px;padding:10px 0}.fcfOptions__row:first-child .fcfOptions__info{margin-top:-20px}.fcfOptions__row:last-child .fcfOptions__info{margin-bottom:-20px}.fcfOptions__infoInner{background-color:#2271b1;color:#fff;font-size:14px;line-height:1.8571428571;padding:12px 20px}.fcfOptions__info--green .fcfOptions__infoInner{background-color:#46b450}.fcfOptions__info--yellow .fcfOptions__infoInner{background-color:#dba617}.fcfOptions__infoInner a{color:inherit;display:inline-block;font-weight:500;position:relative;transition:opacity .3s;white-space:nowrap}.fcfOptions__infoInner a:hover{opacity:.5}.fcfOptions__infoInner a:after{background-color:#fff;bottom:0;content:"";height:1px;left:0;position:absolute;width:100%}.fcfOptions__infoInner a.fcfArrowLink{letter-spacing:1px;opacity:1;padding-right:18px;text-transform:uppercase}.fcfOptions__infoInner a.fcfArrowLink:after{transition:width .3s;width:0}.fcfOptions__infoInner a.fcfArrowLink:hover:after{width:100%}.fcfOptions__infoInner a.fcfArrowLink:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e916"!important;font-family:fcf-icomoon!important;font-size:6px;font-style:normal;font-variant:normal;font-weight:400;line-height:1;position:absolute;right:0;text-transform:none;top:50%;transform:translateY(-50%)}.fcfOptions__infoInner p{font-size:14px;line-height:1.8571428571}.fcfOptions__infoInner p strong{font-size:20px;font-weight:400;line-height:1.75}.fcfOptions__infoInner ul{padding-left:10px}.fcfOptions__infoInner ul li{padding-left:20px;position:relative}.fcfOptions__infoInner ul li:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e907"!important;font-family:fcf-icomoon!important;font-size:10px;font-style:normal;font-variant:normal;font-weight:400;left:0;line-height:1;position:absolute;text-transform:none;top:50%;transform:translateY(-50%)}.fcfOptions__infoInner p,.fcfOptions__infoInner ul{margin-top:10px}.fcfOptions__infoInner p:first-child,.fcfOptions__infoInner ul:first-child{margin-top:0}.fcfSelect__control{background:none!important;border:1px solid #e2e4e7!important;border-radius:0!important;box-shadow:none!important;min-height:42px!important}.fcfSelect__indicators{border-left:1px solid #e2e4e7!important;position:relative;width:42px}.fcfSelect__indicators:after{color:#1e1e1e;content:"\e903"!important;font-size:6px;left:50%;line-height:1;position:absolute;top:50%;transform:translate(-50%,-50%)}.fcfSelect__control--menu-is-open .fcfSelect__indicators:after,.fcfSelect__indicators:after{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfSelect__control--menu-is-open .fcfSelect__indicators:after{content:"\e906"!important}.fcfSelect__indicators *{display:none!important}.fcfSelect__value-container{padding:4px 10px!important}.fcfSelect__input input{box-shadow:none!important;color:#1e1e1e!important;font-size:14px!important;line-height:1.5714285714!important;margin:0 2px!important;min-height:auto!important}.fcfSelect__single-value{max-width:calc(100% - 20px)!important}.fcfSelect__multi-value{background-color:#e2e4e7!important;border-radius:0!important}.fcfSelect__multi-value__label{color:#1e1e1e!important;font-size:12px!important;line-height:2!important;padding:2px 0 2px 10px!important}.fcfSelect__multi-value__remove{background:none!important;cursor:pointer;position:relative;width:30px}.fcfSelect__multi-value__remove:after{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#1e1e1e;content:"\e91e"!important;font-family:fcf-icomoon!important;font-size:10px;font-style:normal;font-variant:normal;font-weight:400;left:50%;line-height:1;position:absolute;text-transform:none;top:50%;transform:translate(-50%,-50%);transition:color .3s}.fcfSelect__multi-value__remove:hover:after{color:#dc3232}.fcfSelect__multi-value__remove *{display:none!important}.fcfSelect__menu{border-radius:0!important;box-shadow:none!important;margin:0!important;z-index:10!important}.fcfSelect__menu-notice{background-color:#1e1e1e!important;color:#fff!important;font-size:14px!important;line-height:1.8571428571!important;padding:7px 10px!important}.fcfSelect__menu-list{padding:0!important}.fcfSelect__option{background-color:#1e1e1e!important;border:1px solid #1e1e1e;color:#fff!important;cursor:pointer!important;font-size:14px!important;line-height:1.8571428571!important;padding:7px 10px!important;position:relative;transition:background-color .3s}.fcfSelect__option+.fcfSelect__option{border-top:1px solid hsla(0,0%,100%,.25);margin-top:-1px}.fcfSelect__option--is-focused{background-color:#2271b1!important}.fcfSelect__option--is-selected{background-color:#1e1e1e!important;cursor:auto!important;padding-right:42px!important}.fcfSelect__option--is-selected:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#46b450;content:"\e907"!important;font-family:fcf-icomoon!important;font-size:16px;font-style:normal;font-variant:normal;font-weight:400;line-height:1;position:absolute;right:0;text-align:center;text-transform:none;top:50%;transform:translateY(-50%);width:42px}.fcfTabs__items{display:flex;flex-wrap:wrap;margin:0;padding:0}.fcfTabs--lines .fcfTabs__items{margin-bottom:-10px;margin-top:10px}.fcfTabs__item{border-bottom:1px solid #f0f0f0;margin:0 0 -1px;padding:0;position:relative}.fcfTabs--lines .fcfTabs__item{padding-right:3px}.fcfTabs--lines .fcfTabs__item:after{background-color:#2271b1;border-radius:50%;content:"";height:6px;position:absolute;right:0;top:calc(50% - 3px);width:6px}.fcfTabs__item:last-child:after{display:none}.fcfTabs__itemLink{color:#1e1e1e;display:block;font-size:16px;font-weight:500;line-height:1.75;padding:12px 20px;position:relative;text-align:center;transition:color .3s}.fcfTabs--small .fcfTabs__itemLink{font-size:14px}.fcfTabs--lines .fcfTabs__itemLink{font-weight:400;padding:2px 20px}.fcfTabs__itemLink:after{background-color:#2271b1;bottom:0;content:"";height:3px;left:50%;position:absolute;transform:translateX(-50%);transition:width .3s;width:0}.fcfTabs--lines .fcfTabs__itemLink:after{display:none}.fcfTabs__itemLink[class*=icon-]{padding:12px 15px 12px 41px}.fcfTabs__itemLink[class*=icon-]:before{color:rgba(30,30,30,.5);font-size:16px;left:15px;line-height:1;position:absolute;top:calc(50% - 8px);transition:color .3s}.fcfTabs__itemLink:hover,.fcfTabs__itemLink:hover:before{color:#2271b1}.fcfTabs__itemLink--active{pointer-events:none}.fcfTabs__itemLink--active:after{width:100%}.fcfTabs--lines .fcfTabs__itemLink--active{color:#2271b1;font-weight:500}.fcfTooltip{cursor:default;opacity:0;transition:opacity .3s}.fcfTooltip--open{opacity:1}.fcfTooltip__outer{bottom:calc(100% + 10px);z-index:10000}.fcfTooltip__outer,.fcfTooltip__outer:before{left:50%;position:absolute;transform:translateX(-50%)}.fcfTooltip__outer:before{border-color:#1e1e1e transparent transparent;border-style:solid;border-width:5px 5px 0;content:"";height:0;top:100%;width:0}.fcfTooltip__inner{background-color:#1e1e1e;max-width:calc(100vw - 40px);width:400px}.fcfTooltip__text{color:#fff;font-size:14px;font-weight:400;line-height:1.4285714286;padding:5px 10px;text-align:center}.fcfTooltip__buttons{display:flex;justify-content:center;padding:5px}.fcfTooltip__button{padding:5px}.fcfWidget+.fcfWidget{margin-top:30px}.fcfWidget__inner{background-color:#fff;border:1px solid #e2e4e7;border-radius:3px}.fcfWidget__header{align-items:center;border-bottom:1px solid #e2e4e7;display:flex;flex-wrap:wrap;justify-content:space-between}.fcfWidget__headerTitle{color:#1e1e1e;font-size:20px;font-weight:400;line-height:1.75;padding:12px 20px}.fcfWidget__headerButtons{padding:0 10px}.fcfWidget__contentPlaceholder{color:#1e1e1e;font-size:14px;font-weight:500;line-height:1.8571428571;padding:12px 20px;text-align:center}.fcfWidget__footer{border-top:1px solid #f0f0f0;padding:10px}.fcfWidget__buttons{display:flex;flex-wrap:wrap;justify-content:space-between}.fcfWidget__button{min-width:250px;padding:10px;position:relative}.fcfWidget__buttonIcon{position:absolute;top:50%;transform:translateY(-50%);z-index:1}.fcfWidget__buttonIcon:first-child{right:calc(100% + 10px)}.fcfWidget__buttonIcon:last-child{left:calc(100% + 10px)}.fcfWidget__buttonIconInner:before{display:block;font-size:20px;line-height:1}.fcfWidget__buttonIcon--loading .fcfWidget__buttonIconInner:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;animation:rotate 1s ease-out infinite;color:#1e1e1e;content:"\e925"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfWidget__buttonIcon--success .fcfWidget__buttonIconInner:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#46b450;content:"\e907"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.fcfWidget__buttonIcon--error .fcfWidget__buttonIconInner:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#dc3232;content:"\e926"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.picker_wrapper.popup{background-color:#fff!important;border:1px solid #e2e4e7!important;bottom:auto!important;box-shadow:none!important;left:0!important;margin:0!important;right:auto!important;top:0!important}.picker_wrapper.popup .picker_arrow,.picker_wrapper.popup .picker_done{display:none!important}.fpf-image img{height:auto;max-width:100%}@media (max-width:1366px){.fcfSettings__column{width:100%}.fcfSettings__column+.fcfSettings__column{margin-top:10px}.fcfFields__items{padding:0}}@media (max-width:768px){.fcfOptions__columns{display:block}}@media (max-width:600px){.fcfFields__itemHeaderInner{display:block}.fcfFields__itemHeaderDesc{margin-top:-20px}.fcfOptions__boxesItem{width:100%}.fcfWidget__header{display:block}.fcfWidget__button{padding:10px 40px;width:100%}.fcfWidget__buttonIcon:first-child{right:0}.fcfWidget__buttonIcon:last-child{left:0}}@media (max-width:1024px),(min-width:1367px) and (max-width:1600px){.fcfOptions__row--sub{padding-left:0}.fcfOptions__columns--button{padding-right:35px}.fcfOptions__column{min-width:50%}}
|
assets/css/new-front.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@font-face{font-family:fcf-icomoon;font-style:normal;font-weight:400;src:url(../fonts/icons/icomoon.eot?ver=
|
1 |
+
@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@font-face{font-family:fcf-icomoon;font-style:normal;font-weight:400;src:url(../fonts/icons/icomoon.eot?ver=12803954);src:url(../fonts/icons/icomoon.woff?ver=12803954) format("woff"),url(../fonts/icons/icomoon.eot?ver=12803954#iefix) format("embedded-opentype"),url(../fonts/icons/icomoon.ttf?ver=12803954) format("truetype"),url(../fonts/icons/icomoon.svg?ver=12803954#icomoon) format("svg")}.icon-align-left:before{content:"\e900"!important}.icon-align-left:before,.icon-at-email:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-at-email:before{content:"\e92b"!important}.icon-bookmark:before{content:"\e920"!important}.icon-bookmark:before,.icon-brush:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-brush:before{content:"\e901"!important}.icon-calendar-alt:before{content:"\e902"!important}.icon-calendar-alt:before,.icon-caret-down:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-caret-down:before{content:"\e903"!important}.icon-caret-left:before{content:"\e904"!important}.icon-caret-left:before,.icon-caret-right:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-caret-right:before{content:"\e905"!important}.icon-caret-up:before{content:"\e906"!important}.icon-caret-up:before,.icon-check:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-check:before{content:"\e907"!important}.icon-check-double:before{content:"\e92a"!important}.icon-check-double:before,.icon-check-square:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-check-square:before{content:"\e908"!important}.icon-check-square-multi:before{content:"\e92f"!important}.icon-check-square-multi:before,.icon-clock:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-clock:before{content:"\e909"!important}.icon-code:before{content:"\e90a"!important}.icon-code:before,.icon-cog:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-cog:before{content:"\e90b"!important}.icon-cogs:before{content:"\e90c"!important}.icon-cogs:before,.icon-digits:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-digits:before{content:"\e929"!important}.icon-dollar-sign:before{content:"\e90d"!important}.icon-dollar-sign:before,.icon-ellipsis-v:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-ellipsis-v:before{content:"\e90e"!important}.icon-exchange-alt:before{content:"\e90f"!important}.icon-exchange-alt:before,.icon-exclamation-triangle:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-exclamation-triangle:before{content:"\e926"!important}.icon-eye:before{content:"\e910"!important}.icon-eye:before,.icon-font:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-font:before{content:"\e911"!important}.icon-heading:before{content:"\e912"!important}.icon-heading:before,.icon-heart:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-heart:before{content:"\e921"!important}.icon-image:before{content:"\e927"!important}.icon-image:before,.icon-images:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-images:before{content:"\e928"!important}.icon-link:before{content:"\e92d"!important}.icon-link:before,.icon-list-ul:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-list-ul:before{content:"\e913"!important}.icon-long-arrow-alt-down:before{content:"\e914"!important}.icon-long-arrow-alt-down:before,.icon-long-arrow-alt-left:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-long-arrow-alt-left:before{content:"\e915"!important}.icon-long-arrow-alt-right:before{content:"\e916"!important}.icon-long-arrow-alt-right:before,.icon-long-arrow-alt-up:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-long-arrow-alt-up:before{content:"\e917"!important}.icon-magic:before{content:"\e918"!important}.icon-magic:before,.icon-paint-brush:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-paint-brush:before{content:"\e92e"!important}.icon-palette:before{content:"\e919"!important}.icon-palette:before,.icon-paragraph:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-paragraph:before{content:"\e92c"!important}.icon-phone:before{content:"\e930"!important}.icon-phone:before,.icon-plugin-symbol:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-plugin-symbol:before{content:"\e923"!important}.icon-plus:before{content:"\e91a"!important}.icon-plus:before,.icon-question-circle:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-question-circle:before{content:"\e91b"!important}.icon-spinner:before{content:"\e925"!important}.icon-spinner:before,.icon-star:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-star:before{content:"\e922"!important}.icon-tasks:before{content:"\e91d"!important}.icon-tasks-alt:before,.icon-tasks:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-tasks-alt:before{content:"\e91c"!important}.icon-times:before{content:"\e91e"!important}.icon-times:before,.icon-trash-alt:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.icon-trash-alt:before{content:"\e924"!important}.icon-upload:before{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\e91f"!important;font-family:fcf-icomoon!important;font-style:normal;font-variant:normal;font-weight:400;text-transform:none}.picker_wrapper.popup{background-color:#fff!important;border:1px solid #e2e4e7!important;bottom:auto!important;box-shadow:none!important;left:0!important;margin:0!important;right:auto!important;top:0!important}.picker_wrapper.popup .picker_arrow,.picker_wrapper.popup .picker_done{display:none!important}.fpf-image img{height:auto;max-width:100%}.fcf-admin-fields .form-row label,.fcf-admin-fields .form-row legend{display:block;margin-bottom:.5em}#your-profile .fcf-admin-fields label,#your-profile .fcf-admin-fields legend{font-size:13px}.fcf-admin-fields .form-row{float:none;width:100%}
|
classes/plugin.php
CHANGED
@@ -776,11 +776,10 @@ class Flexible_Checkout_Fields_Plugin extends \FcfVendor\WPDesk\PluginBuilder\Pl
|
|
776 |
function updateCheckoutFields( $order_id, $data ) {
|
777 |
$settings = $this->get_settings();
|
778 |
if ( ! empty( $settings ) ) {
|
779 |
-
$fields =
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
);
|
784 |
|
785 |
foreach ( $data as $key => $value ) {
|
786 |
if ( isset( $fields[ $key ] ) ) {
|
776 |
function updateCheckoutFields( $order_id, $data ) {
|
777 |
$settings = $this->get_settings();
|
778 |
if ( ! empty( $settings ) ) {
|
779 |
+
$fields = [];
|
780 |
+
foreach ( $settings as $section_fields ) {
|
781 |
+
$fields += $section_fields;
|
782 |
+
}
|
|
|
783 |
|
784 |
foreach ( $data as $key => $value ) {
|
785 |
if ( isset( $fields[ $key ] ) ) {
|
flexible-checkout-fields.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
* Plugin Name: Flexible Checkout Fields
|
4 |
* Plugin URI: https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/
|
5 |
* Description: Manage your WooCommerce checkout fields. Change order, labels, placeholders and add new fields.
|
6 |
-
* Version: 3.2.
|
7 |
* Author: WP Desk
|
8 |
* Author URI: https://www.wpdesk.net/
|
9 |
* Text Domain: flexible-checkout-fields
|
10 |
* Domain Path: /lang/
|
11 |
* Requires at least: 5.2
|
12 |
* Tested up to: 5.9
|
13 |
-
* WC requires at least: 5.
|
14 |
* WC tested up to: 6.2
|
15 |
* Requires PHP: 7.0
|
16 |
*
|
@@ -38,7 +38,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
38 |
} // Exit if accessed directly
|
39 |
|
40 |
/* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
|
41 |
-
$plugin_version = '3.2.
|
42 |
|
43 |
/*
|
44 |
* Update when conditions are met:
|
3 |
* Plugin Name: Flexible Checkout Fields
|
4 |
* Plugin URI: https://www.wpdesk.net/products/flexible-checkout-fields-pro-woocommerce/
|
5 |
* Description: Manage your WooCommerce checkout fields. Change order, labels, placeholders and add new fields.
|
6 |
+
* Version: 3.2.1
|
7 |
* Author: WP Desk
|
8 |
* Author URI: https://www.wpdesk.net/
|
9 |
* Text Domain: flexible-checkout-fields
|
10 |
* Domain Path: /lang/
|
11 |
* Requires at least: 5.2
|
12 |
* Tested up to: 5.9
|
13 |
+
* WC requires at least: 5.9
|
14 |
* WC tested up to: 6.2
|
15 |
* Requires PHP: 7.0
|
16 |
*
|
38 |
} // Exit if accessed directly
|
39 |
|
40 |
/* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
|
41 |
+
$plugin_version = '3.2.1';
|
42 |
|
43 |
/*
|
44 |
* Update when conditions are met:
|
lang/flexible-checkout-fields.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the Flexible Checkout Fields plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Flexible Checkout Fields 3.2.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexible-checkout-fields\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2022-02-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: flexible-checkout-fields\n"
|
@@ -88,24 +88,24 @@ msgstr ""
|
|
88 |
msgid "Order"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: classes/plugin.php:
|
92 |
msgid "Uploading file..."
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: classes/plugin.php:
|
96 |
#: src/Settings/Menu.php:33
|
97 |
msgid "Settings"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: classes/plugin.php:
|
101 |
msgid "Docs"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: classes/plugin.php:
|
105 |
msgid "Support"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: classes/plugin.php:
|
109 |
msgid "Upgrade"
|
110 |
msgstr ""
|
111 |
|
2 |
# This file is distributed under the same license as the Flexible Checkout Fields plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Flexible Checkout Fields 3.2.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexible-checkout-fields\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2022-02-15T17:57:17+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: flexible-checkout-fields\n"
|
88 |
msgid "Order"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: classes/plugin.php:863
|
92 |
msgid "Uploading file..."
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: classes/plugin.php:936
|
96 |
#: src/Settings/Menu.php:33
|
97 |
msgid "Settings"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: classes/plugin.php:937
|
101 |
msgid "Docs"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: classes/plugin.php:938
|
105 |
msgid "Support"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: classes/plugin.php:942
|
109 |
msgid "Upgrade"
|
110 |
msgstr ""
|
111 |
|
readme.txt
CHANGED
@@ -205,6 +205,12 @@ If you are upgrading from the old WooCommerce Checkout Fields version (1.1, wooc
|
|
205 |
|
206 |
== Changelog ==
|
207 |
|
|
|
|
|
|
|
|
|
|
|
|
|
208 |
= 3.2.0 - 2022-02-08 =
|
209 |
* Added new field type: Number
|
210 |
* Added new field type: E-mail
|
205 |
|
206 |
== Changelog ==
|
207 |
|
208 |
+
= 3.2.1 - 2022-02-15 =
|
209 |
+
* Fixed saving values for fields from custom sections
|
210 |
+
* Fixed field translations
|
211 |
+
* Fixed validation classes for field templates
|
212 |
+
* Fixed template of HTML field
|
213 |
+
|
214 |
= 3.2.0 - 2022-02-08 =
|
215 |
* Added new field type: Number
|
216 |
* Added new field type: E-mail
|
src/Field/FieldTranslator.php
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace WPDesk\FCF\Free\Field;
|
4 |
+
|
5 |
+
use FcfVendor\WPDesk\PluginBuilder\Plugin\Hookable;
|
6 |
+
use WPDesk\FCF\Free\Service\TemplateLoader;
|
7 |
+
use WPDesk\FCF\Free\Settings\Form\EditFieldsForm;
|
8 |
+
use WPDesk\FCF\Free\Settings\Option\CustomFieldOption;
|
9 |
+
use WPDesk\FCF\Free\Settings\Option\FieldTypeOption;
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Supports translating field settings via external plugins.
|
13 |
+
*/
|
14 |
+
class FieldTranslator implements Hookable {
|
15 |
+
|
16 |
+
/**
|
17 |
+
* {@inheritdoc}
|
18 |
+
*/
|
19 |
+
public function hooks() {
|
20 |
+
add_filter( 'flexible_checkout_fields_field_args', [ $this, 'translate_field' ], 10, 2 );
|
21 |
+
}
|
22 |
+
|
23 |
+
/**
|
24 |
+
* @param mixed[] $field_data .
|
25 |
+
* @param string $field_name .
|
26 |
+
*
|
27 |
+
* @return mixed[]
|
28 |
+
*/
|
29 |
+
public function translate_field( $field_data, $field_name ) {
|
30 |
+
if ( isset( $field_data['label'] ) ) {
|
31 |
+
$field_data['label'] = wpdesk__( $field_data['label'], 'flexible-checkout-fields' );
|
32 |
+
}
|
33 |
+
if ( isset( $field_data['placeholder'] ) ) {
|
34 |
+
$field_data['placeholder'] = wpdesk__( $field_data['placeholder'], 'flexible-checkout-fields' );
|
35 |
+
}
|
36 |
+
if ( isset( $field_data['default'] ) ) {
|
37 |
+
$field_data['default'] = wpdesk__( $field_data['default'], 'flexible-checkout-fields' );
|
38 |
+
}
|
39 |
+
if ( isset( $field_data['options'] ) ) {
|
40 |
+
foreach ( $field_data['options'] as $option_index => $option ) {
|
41 |
+
$field_data['options'][ $option_index ]['value'] = wpdesk__( $option['value'], 'flexible-checkout-fields' );
|
42 |
+
}
|
43 |
+
}
|
44 |
+
|
45 |
+
return $field_data;
|
46 |
+
}
|
47 |
+
}
|
src/Plugin.php
CHANGED
@@ -69,12 +69,14 @@ class Plugin extends AbstractPlugin implements HookableCollection {
|
|
69 |
$this->add_hookable( new Admin\NoticeReview() );
|
70 |
$this->add_hookable( new Settings\Page() );
|
71 |
$this->add_hookable( new Form\Assets( $this->plugin_info ) );
|
|
|
72 |
$this->add_hookable( new Field\FieldTemplateLoader( $this->template_loader ) );
|
73 |
|
74 |
$this->add_hookable( new Integration\IntegratorIntegration( $this->plugin_old ) );
|
75 |
$this->add_hookable( new Tracker\DeactivationTracker( $this->plugin_info ) );
|
76 |
|
77 |
$this->add_hookable( new Validator\FieldValidator() );
|
|
|
78 |
|
79 |
( new Field\Types() )->init();
|
80 |
( new Settings\Forms() )->init();
|
69 |
$this->add_hookable( new Admin\NoticeReview() );
|
70 |
$this->add_hookable( new Settings\Page() );
|
71 |
$this->add_hookable( new Form\Assets( $this->plugin_info ) );
|
72 |
+
$this->add_hookable( new Field\FieldTranslator() );
|
73 |
$this->add_hookable( new Field\FieldTemplateLoader( $this->template_loader ) );
|
74 |
|
75 |
$this->add_hookable( new Integration\IntegratorIntegration( $this->plugin_old ) );
|
76 |
$this->add_hookable( new Tracker\DeactivationTracker( $this->plugin_info ) );
|
77 |
|
78 |
$this->add_hookable( new Validator\FieldValidator() );
|
79 |
+
$this->add_hookable( new Validator\ValidationClassGenerator() );
|
80 |
|
81 |
( new Field\Types() )->init();
|
82 |
( new Settings\Forms() )->init();
|
src/Validator/FieldValidator.php
CHANGED
@@ -7,6 +7,9 @@ use WPDesk\FCF\Free\Field\Type\ColorType;
|
|
7 |
use WPDesk\FCF\Free\Field\Type\EmailType;
|
8 |
use WPDesk\FCF\Free\Field\Type\PhoneType;
|
9 |
use WPDesk\FCF\Free\Field\Type\UrlType;
|
|
|
|
|
|
|
10 |
use WPDesk\FCF\Free\Validator\Rule\ColorFormatRule;
|
11 |
use WPDesk\FCF\Free\Validator\Rule\EmailFormatRule;
|
12 |
use WPDesk\FCF\Free\Validator\Rule\UrlFormatRule;
|
@@ -28,6 +31,38 @@ class FieldValidator implements Hookable {
|
|
28 |
add_action( 'flexible_checkout_fields_validate_' . ColorType::FIELD_TYPE, [ $this, 'validate_color_field' ], 10, 2 );
|
29 |
}
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
/**
|
32 |
* @return void
|
33 |
*
|
7 |
use WPDesk\FCF\Free\Field\Type\EmailType;
|
8 |
use WPDesk\FCF\Free\Field\Type\PhoneType;
|
9 |
use WPDesk\FCF\Free\Field\Type\UrlType;
|
10 |
+
use WPDesk\FCF\Free\Settings\Option\CssOption;
|
11 |
+
use WPDesk\FCF\Free\Settings\Option\RequiredOption;
|
12 |
+
use WPDesk\FCF\Free\Settings\Option\ValidationOption;
|
13 |
use WPDesk\FCF\Free\Validator\Rule\ColorFormatRule;
|
14 |
use WPDesk\FCF\Free\Validator\Rule\EmailFormatRule;
|
15 |
use WPDesk\FCF\Free\Validator\Rule\UrlFormatRule;
|
31 |
add_action( 'flexible_checkout_fields_validate_' . ColorType::FIELD_TYPE, [ $this, 'validate_color_field' ], 10, 2 );
|
32 |
}
|
33 |
|
34 |
+
/**
|
35 |
+
* @param array $field_data .
|
36 |
+
* @param string $field_name .
|
37 |
+
*
|
38 |
+
* @return array
|
39 |
+
*/
|
40 |
+
public function add_validation_required_class( array $field_data, string $field_name ): array {
|
41 |
+
$field_required = $field_data[ RequiredOption::FIELD_NAME ] ?? '';
|
42 |
+
if ( ! $field_required ) {
|
43 |
+
return $field_data;
|
44 |
+
}
|
45 |
+
|
46 |
+
$field_data[ CssOption::FIELD_NAME ] .= ' validate-required';
|
47 |
+
return $field_data;
|
48 |
+
}
|
49 |
+
|
50 |
+
/**
|
51 |
+
* @param array $field_data .
|
52 |
+
* @param string $field_name .
|
53 |
+
*
|
54 |
+
* @return array
|
55 |
+
*/
|
56 |
+
public function add_validation_type_class( array $field_data, string $field_name ): array {
|
57 |
+
$validation_type = $field_data[ ValidationOption::FIELD_NAME ] ?? '';
|
58 |
+
if ( ! $validation_type ) {
|
59 |
+
return $field_data;
|
60 |
+
}
|
61 |
+
|
62 |
+
$field_data[ CssOption::FIELD_NAME ] .= sprintf( ' validate-%s', $validation_type );
|
63 |
+
return $field_data;
|
64 |
+
}
|
65 |
+
|
66 |
/**
|
67 |
* @return void
|
68 |
*
|
src/Validator/ValidationClassGenerator.php
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace WPDesk\FCF\Free\Validator;
|
4 |
+
|
5 |
+
use FcfVendor\WPDesk\PluginBuilder\Plugin\Hookable;
|
6 |
+
use WPDesk\FCF\Free\Settings\Option\CssOption;
|
7 |
+
use WPDesk\FCF\Free\Settings\Option\RequiredOption;
|
8 |
+
use WPDesk\FCF\Free\Settings\Option\ValidationOption;
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Adds validation classes to the field template.
|
12 |
+
*/
|
13 |
+
class ValidationClassGenerator implements Hookable {
|
14 |
+
|
15 |
+
/**
|
16 |
+
* {@inheritdoc}
|
17 |
+
*/
|
18 |
+
public function hooks() {
|
19 |
+
add_filter( 'flexible_checkout_fields_field_args', [ $this, 'add_validation_required_class' ], 10, 2 );
|
20 |
+
add_filter( 'flexible_checkout_fields_field_args', [ $this, 'add_validation_type_class' ], 10, 2 );
|
21 |
+
}
|
22 |
+
|
23 |
+
/**
|
24 |
+
* @param mixed[] $field_data .
|
25 |
+
* @param string $field_name .
|
26 |
+
*
|
27 |
+
* @return mixed[]
|
28 |
+
*/
|
29 |
+
public function add_validation_required_class( array $field_data, string $field_name ): array {
|
30 |
+
$field_required = $field_data[ RequiredOption::FIELD_NAME ] ?? '';
|
31 |
+
if ( ! $field_required ) {
|
32 |
+
return $field_data;
|
33 |
+
}
|
34 |
+
|
35 |
+
$field_data[ CssOption::FIELD_NAME ] .= ' validate-required';
|
36 |
+
return $field_data;
|
37 |
+
}
|
38 |
+
|
39 |
+
/**
|
40 |
+
* @param mixed[] $field_data .
|
41 |
+
* @param string $field_name .
|
42 |
+
*
|
43 |
+
* @return mixed[]
|
44 |
+
*/
|
45 |
+
public function add_validation_type_class( array $field_data, string $field_name ): array {
|
46 |
+
$validation_type = $field_data[ ValidationOption::FIELD_NAME ] ?? '';
|
47 |
+
if ( ! $validation_type ) {
|
48 |
+
return $field_data;
|
49 |
+
}
|
50 |
+
|
51 |
+
$field_data[ CssOption::FIELD_NAME ] .= sprintf( ' validate-%s', $validation_type );
|
52 |
+
return $field_data;
|
53 |
+
}
|
54 |
+
}
|
templates/fields/info.php
CHANGED
@@ -11,9 +11,9 @@
|
|
11 |
*/
|
12 |
|
13 |
?>
|
14 |
-
<
|
15 |
id="<?php echo esc_attr( $key ); ?>_field"
|
16 |
data-priority="<?php echo esc_attr( $args['priority'] ); ?>"
|
17 |
data-fcf-field="<?php echo esc_attr( $key ); ?>">
|
18 |
<?php echo wp_kses_post( $args['label'] ); ?>
|
19 |
-
</
|
11 |
*/
|
12 |
|
13 |
?>
|
14 |
+
<div class="form-row <?php echo esc_attr( $args['class'] ); ?>"
|
15 |
id="<?php echo esc_attr( $key ); ?>_field"
|
16 |
data-priority="<?php echo esc_attr( $args['priority'] ); ?>"
|
17 |
data-fcf-field="<?php echo esc_attr( $key ); ?>">
|
18 |
<?php echo wp_kses_post( $args['label'] ); ?>
|
19 |
+
</div>
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit7b0e1a5a2c5cf641a38427ba2c0bad4f::getLoader();
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -300,6 +300,7 @@ return array(
|
|
300 |
'WPDesk\\FCF\\Free\\Exception\\TemplateLoadingFailed' => $baseDir . '/src/Exception/TemplateLoadingFailed.php',
|
301 |
'WPDesk\\FCF\\Free\\Field\\FieldData' => $baseDir . '/src/Field/FieldData.php',
|
302 |
'WPDesk\\FCF\\Free\\Field\\FieldTemplateLoader' => $baseDir . '/src/Field/FieldTemplateLoader.php',
|
|
|
303 |
'WPDesk\\FCF\\Free\\Field\\Type\\CheckboxDefaultType' => $baseDir . '/src/Field/Type/CheckboxDefaultType.php',
|
304 |
'WPDesk\\FCF\\Free\\Field\\Type\\CheckboxType' => $baseDir . '/src/Field/Type/CheckboxType.php',
|
305 |
'WPDesk\\FCF\\Free\\Field\\Type\\ColorType' => $baseDir . '/src/Field/Type/ColorType.php',
|
@@ -443,6 +444,7 @@ return array(
|
|
443 |
'WPDesk\\FCF\\Free\\Validator\\Rule\\UrlFormatRule' => $baseDir . '/src/Validator/Rule/UrlFormatRule.php',
|
444 |
'WPDesk\\FCF\\Free\\Validator\\Rule\\ValidatorRule' => $baseDir . '/src/Validator/Rule/ValidatorRule.php',
|
445 |
'WPDesk\\FCF\\Free\\Validator\\Rule\\ValueRegexRule' => $baseDir . '/src/Validator/Rule/ValueRegexRule.php',
|
|
|
446 |
'WPDesk\\Helper\\HelperAsLibrary' => $vendorDir . '/wpdesk/wp-wpdesk-helper-override/src/Helper/HelperAsLibrary.php',
|
447 |
'WPDesk_Flexible_Checkout_Fields_Tracker' => $baseDir . '/classes/tracker.php',
|
448 |
'WPDesk_Tracker_Data_Provider' => $vendorDir . '/wpdesk/wp-wpdesk-helper-override/src/Interop/Tracker/class-wpdesk-tracker-data-provider.php',
|
300 |
'WPDesk\\FCF\\Free\\Exception\\TemplateLoadingFailed' => $baseDir . '/src/Exception/TemplateLoadingFailed.php',
|
301 |
'WPDesk\\FCF\\Free\\Field\\FieldData' => $baseDir . '/src/Field/FieldData.php',
|
302 |
'WPDesk\\FCF\\Free\\Field\\FieldTemplateLoader' => $baseDir . '/src/Field/FieldTemplateLoader.php',
|
303 |
+
'WPDesk\\FCF\\Free\\Field\\FieldTranslator' => $baseDir . '/src/Field/FieldTranslator.php',
|
304 |
'WPDesk\\FCF\\Free\\Field\\Type\\CheckboxDefaultType' => $baseDir . '/src/Field/Type/CheckboxDefaultType.php',
|
305 |
'WPDesk\\FCF\\Free\\Field\\Type\\CheckboxType' => $baseDir . '/src/Field/Type/CheckboxType.php',
|
306 |
'WPDesk\\FCF\\Free\\Field\\Type\\ColorType' => $baseDir . '/src/Field/Type/ColorType.php',
|
444 |
'WPDesk\\FCF\\Free\\Validator\\Rule\\UrlFormatRule' => $baseDir . '/src/Validator/Rule/UrlFormatRule.php',
|
445 |
'WPDesk\\FCF\\Free\\Validator\\Rule\\ValidatorRule' => $baseDir . '/src/Validator/Rule/ValidatorRule.php',
|
446 |
'WPDesk\\FCF\\Free\\Validator\\Rule\\ValueRegexRule' => $baseDir . '/src/Validator/Rule/ValueRegexRule.php',
|
447 |
+
'WPDesk\\FCF\\Free\\Validator\\ValidationClassGenerator' => $baseDir . '/src/Validator/ValidationClassGenerator.php',
|
448 |
'WPDesk\\Helper\\HelperAsLibrary' => $vendorDir . '/wpdesk/wp-wpdesk-helper-override/src/Helper/HelperAsLibrary.php',
|
449 |
'WPDesk_Flexible_Checkout_Fields_Tracker' => $baseDir . '/classes/tracker.php',
|
450 |
'WPDesk_Tracker_Data_Provider' => $vendorDir . '/wpdesk/wp-wpdesk-helper-override/src/Interop/Tracker/class-wpdesk-tracker-data-provider.php',
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit6f857797425b40e37d2cecde1c816ad3
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit7b0e1a5a2c5cf641a38427ba2c0bad4f
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit7b0e1a5a2c5cf641a38427ba2c0bad4f', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit7b0e1a5a2c5cf641a38427ba2c0bad4f', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit7b0e1a5a2c5cf641a38427ba2c0bad4f::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'W' =>
|
@@ -323,6 +323,7 @@ class ComposerStaticInit6f857797425b40e37d2cecde1c816ad3
|
|
323 |
'WPDesk\\FCF\\Free\\Exception\\TemplateLoadingFailed' => __DIR__ . '/../..' . '/src/Exception/TemplateLoadingFailed.php',
|
324 |
'WPDesk\\FCF\\Free\\Field\\FieldData' => __DIR__ . '/../..' . '/src/Field/FieldData.php',
|
325 |
'WPDesk\\FCF\\Free\\Field\\FieldTemplateLoader' => __DIR__ . '/../..' . '/src/Field/FieldTemplateLoader.php',
|
|
|
326 |
'WPDesk\\FCF\\Free\\Field\\Type\\CheckboxDefaultType' => __DIR__ . '/../..' . '/src/Field/Type/CheckboxDefaultType.php',
|
327 |
'WPDesk\\FCF\\Free\\Field\\Type\\CheckboxType' => __DIR__ . '/../..' . '/src/Field/Type/CheckboxType.php',
|
328 |
'WPDesk\\FCF\\Free\\Field\\Type\\ColorType' => __DIR__ . '/../..' . '/src/Field/Type/ColorType.php',
|
@@ -466,6 +467,7 @@ class ComposerStaticInit6f857797425b40e37d2cecde1c816ad3
|
|
466 |
'WPDesk\\FCF\\Free\\Validator\\Rule\\UrlFormatRule' => __DIR__ . '/../..' . '/src/Validator/Rule/UrlFormatRule.php',
|
467 |
'WPDesk\\FCF\\Free\\Validator\\Rule\\ValidatorRule' => __DIR__ . '/../..' . '/src/Validator/Rule/ValidatorRule.php',
|
468 |
'WPDesk\\FCF\\Free\\Validator\\Rule\\ValueRegexRule' => __DIR__ . '/../..' . '/src/Validator/Rule/ValueRegexRule.php',
|
|
|
469 |
'WPDesk\\Helper\\HelperAsLibrary' => __DIR__ . '/..' . '/wpdesk/wp-wpdesk-helper-override/src/Helper/HelperAsLibrary.php',
|
470 |
'WPDesk_Flexible_Checkout_Fields_Tracker' => __DIR__ . '/../..' . '/classes/tracker.php',
|
471 |
'WPDesk_Tracker_Data_Provider' => __DIR__ . '/..' . '/wpdesk/wp-wpdesk-helper-override/src/Interop/Tracker/class-wpdesk-tracker-data-provider.php',
|
@@ -477,9 +479,9 @@ class ComposerStaticInit6f857797425b40e37d2cecde1c816ad3
|
|
477 |
public static function getInitializer(ClassLoader $loader)
|
478 |
{
|
479 |
return \Closure::bind(function () use ($loader) {
|
480 |
-
$loader->prefixLengthsPsr4 =
|
481 |
-
$loader->prefixDirsPsr4 =
|
482 |
-
$loader->classMap =
|
483 |
|
484 |
}, null, ClassLoader::class);
|
485 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit7b0e1a5a2c5cf641a38427ba2c0bad4f
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'W' =>
|
323 |
'WPDesk\\FCF\\Free\\Exception\\TemplateLoadingFailed' => __DIR__ . '/../..' . '/src/Exception/TemplateLoadingFailed.php',
|
324 |
'WPDesk\\FCF\\Free\\Field\\FieldData' => __DIR__ . '/../..' . '/src/Field/FieldData.php',
|
325 |
'WPDesk\\FCF\\Free\\Field\\FieldTemplateLoader' => __DIR__ . '/../..' . '/src/Field/FieldTemplateLoader.php',
|
326 |
+
'WPDesk\\FCF\\Free\\Field\\FieldTranslator' => __DIR__ . '/../..' . '/src/Field/FieldTranslator.php',
|
327 |
'WPDesk\\FCF\\Free\\Field\\Type\\CheckboxDefaultType' => __DIR__ . '/../..' . '/src/Field/Type/CheckboxDefaultType.php',
|
328 |
'WPDesk\\FCF\\Free\\Field\\Type\\CheckboxType' => __DIR__ . '/../..' . '/src/Field/Type/CheckboxType.php',
|
329 |
'WPDesk\\FCF\\Free\\Field\\Type\\ColorType' => __DIR__ . '/../..' . '/src/Field/Type/ColorType.php',
|
467 |
'WPDesk\\FCF\\Free\\Validator\\Rule\\UrlFormatRule' => __DIR__ . '/../..' . '/src/Validator/Rule/UrlFormatRule.php',
|
468 |
'WPDesk\\FCF\\Free\\Validator\\Rule\\ValidatorRule' => __DIR__ . '/../..' . '/src/Validator/Rule/ValidatorRule.php',
|
469 |
'WPDesk\\FCF\\Free\\Validator\\Rule\\ValueRegexRule' => __DIR__ . '/../..' . '/src/Validator/Rule/ValueRegexRule.php',
|
470 |
+
'WPDesk\\FCF\\Free\\Validator\\ValidationClassGenerator' => __DIR__ . '/../..' . '/src/Validator/ValidationClassGenerator.php',
|
471 |
'WPDesk\\Helper\\HelperAsLibrary' => __DIR__ . '/..' . '/wpdesk/wp-wpdesk-helper-override/src/Helper/HelperAsLibrary.php',
|
472 |
'WPDesk_Flexible_Checkout_Fields_Tracker' => __DIR__ . '/../..' . '/classes/tracker.php',
|
473 |
'WPDesk_Tracker_Data_Provider' => __DIR__ . '/..' . '/wpdesk/wp-wpdesk-helper-override/src/Interop/Tracker/class-wpdesk-tracker-data-provider.php',
|
479 |
public static function getInitializer(ClassLoader $loader)
|
480 |
{
|
481 |
return \Closure::bind(function () use ($loader) {
|
482 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit7b0e1a5a2c5cf641a38427ba2c0bad4f::$prefixLengthsPsr4;
|
483 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit7b0e1a5a2c5cf641a38427ba2c0bad4f::$prefixDirsPsr4;
|
484 |
+
$loader->classMap = ComposerStaticInit7b0e1a5a2c5cf641a38427ba2c0bad4f::$classMap;
|
485 |
|
486 |
}, null, ClassLoader::class);
|
487 |
}
|