Version Description
- Update: Support WooCommerce 4.4 version
- Update: Support WordPress 5.5 version
- Fix: Alpha color channel issue
Download this release
Release Info
Developer | EmranAhmed |
Plugin | WooCommerce Variation Swatches |
Version | 1.0.86 |
Comparing to | |
See all releases |
Code changes from version 1.0.85 to 1.0.86
- README.txt +8 -2
- assets/css/admin.css +2 -2
- assets/css/admin.min.css +2 -2
- assets/css/frontend-tooltip.css +2 -2
- assets/css/frontend-tooltip.min.css +2 -2
- assets/css/frontend.css +2 -2
- assets/css/frontend.min.css +2 -2
- assets/css/gwp-admin-notice.css +2 -2
- assets/css/gwp-admin-notice.min.css +2 -2
- assets/css/gwp-admin.css +2 -2
- assets/css/gwp-admin.min.css +2 -2
- assets/css/wvs-theme-override.css +2 -2
- assets/css/wvs-theme-override.min.css +2 -2
- assets/js/admin.js +2 -2
- assets/js/frontend.js +2 -2
- assets/js/gwp-admin.js +2 -2
- assets/js/wp-color-picker-alpha.js +460 -457
- assets/js/wp-color-picker-alpha.min.js +1 -1
- languages/woo-variation-swatches.pot +132 -108
- package.json +1 -1
- webpack.mix.js +1 -1
- woo-variation-swatches.php +17 -4
README.txt
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
Contributors: EmranAhmed, getwooplugins
|
3 |
Tags: woocommerce variation swatches, woocommerce variation, woocommerce, variation swatches, woocommerce attributes, product attributes, product color, product size, variable product attributes, variation product swatches, color variation swatch, image variation swatch, printful color swatches
|
4 |
Requires at least: 4.8
|
5 |
-
Tested up to: 5.
|
6 |
Requires PHP: 5.6
|
7 |
Stable tag: trunk
|
8 |
WC requires at least: 3.2
|
9 |
-
WC tested up to: 4.
|
10 |
License: GPLv3
|
11 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
@@ -381,6 +381,12 @@ And your are ready to go.
|
|
381 |
|
382 |
== Changelog ==
|
383 |
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
= 1.0.85 =
|
385 |
|
386 |
* Update: Support WooCommerce 4.3 version
|
2 |
Contributors: EmranAhmed, getwooplugins
|
3 |
Tags: woocommerce variation swatches, woocommerce variation, woocommerce, variation swatches, woocommerce attributes, product attributes, product color, product size, variable product attributes, variation product swatches, color variation swatch, image variation swatch, printful color swatches
|
4 |
Requires at least: 4.8
|
5 |
+
Tested up to: 5.5
|
6 |
Requires PHP: 5.6
|
7 |
Stable tag: trunk
|
8 |
WC requires at least: 3.2
|
9 |
+
WC tested up to: 4.4
|
10 |
License: GPLv3
|
11 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
381 |
|
382 |
== Changelog ==
|
383 |
|
384 |
+
= 1.0.86 =
|
385 |
+
|
386 |
+
* Update: Support WooCommerce 4.4 version
|
387 |
+
* Update: Support WordPress 5.5 version
|
388 |
+
* Fix: Alpha color channel issue
|
389 |
+
|
390 |
= 1.0.85 =
|
391 |
|
392 |
* Update: Support WooCommerce 4.3 version
|
assets/css/admin.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.button.button-danger {
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:18 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.button.button-danger {
|
assets/css/admin.min.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.button.button-danger{color:#fff;background-color:#af2d2b;border-color:#a62d2b;box-shadow:0 1px 0 #a72d2b;vertical-align:top}.button.button-danger.active,.button.button-danger:active,.button.button-danger:focus,.button.button-danger:hover{color:#fff;background:#c9302c}[data-wvsdepends]{display:none}.meta-image-field-wrapper{display:table}.meta-image-field-wrapper .button{margin:5px 0;display:block}.meta-image-field-wrapper .image-preview{display:table-cell;width:60px;padding-right:10px}.meta-image-field-wrapper .button-wrapper{display:table-cell;vertical-align:top}.gwp-rate-stars{display:inline-block;color:#ffb900;position:relative;top:3px}.gwp-rate-stars svg,.gwp-rate-stars svg a{fill:#ffb900;stroke:#ffb900;cursor:pointer}.gwp-rate-stars svg:hover,.gwp-rate-stars svg a:hover{fill:#ffb900}.gwp-rate-stars svg:hover~svg,.gwp-rate-stars svg:hover~svg a,.gwp-rate-stars svg a:hover~svg,.gwp-rate-stars svg a:hover~svg a{fill:none}#wvs-meta-preview{width:30px}.wvs-preview{width:30px;height:30px;border:1px solid #000}#woo-variation-swatches-settings-wrap #settings-tabs{margin-top:30px}#woo-variation-swatches-settings-wrap #settings-tabs h2{font-size:1.5em;margin-bottom:10px}#woo-variation-swatches-settings-wrap #settings-tabs .form-table{margin-top:15px;background:#fff;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.07),0 1px 1px rgba(0,0,0,.04)}#woo-variation-swatches-settings-wrap #settings-tabs .form-table tr{border-bottom:1px solid #eee;display:block}#woo-variation-swatches-settings-wrap #settings-tabs .form-table tr:last-child{border:0}#woo-variation-swatches-settings-wrap #settings-tabs .form-table th{padding:20px 10px 20px 20px}#woo-variation-swatches-settings-wrap #settings-tabs #special .form-table,#woo-variation-swatches-settings-wrap #settings-tabs #style .form-table{margin-bottom:30px}#woo-variation-swatches-settings-wrap #tutorial .form-table tr{padding:0!important}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper img{width:100%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper ul{margin:0}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li{overflow:hidden;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:50px 30px;margin:0;border-bottom:1px solid #ddd;position:relative}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li:last-child{border:0}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper,#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{float:left;padding:0 20px;box-sizing:border-box}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{width:60%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper{width:40%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper h3{margin:0 0 20px;font-size:1.5em}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-contents{font-size:15px;line-height:1.5em;margin-bottom:20px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button{border-radius:3px;line-height:1;padding:13px 20px;font-size:13px;height:40px;box-shadow:none;text-shadow:none}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button:active{-webkit-transform:translateY(0);transform:translateY(0)}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-live-demo{background-color:#fff;color:#333;border:1px solid #eee}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-live-demo:hover{background:#eee}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-docs{background-color:#36373a;color:#fff;border:1px solid #36373a}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-docs:hover{background:#5d5e61;border-color:#5d5e61}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-pro{background-color:#39b54a;color:#fff;border:1px solid #39b54a}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-pro:hover{background:#3fc851;border-color:#3fc851}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{position:relative}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon{position:absolute;left:-5px;top:-5px;z-index:1;overflow:hidden;width:75px;height:75px;text-align:right;margin:1px 22px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span{font-size:10px;font-weight:700;color:#fff;text-transform:uppercase;text-align:center;line-height:20px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);width:100px;display:block;background:#bc0808;box-shadow:0 3px 10px -5px #000;position:absolute;top:19px;left:-21px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span:before{content:"";position:absolute;left:0;top:100%;z-index:-1;border-left:3px solid #8f0808;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #8f0808}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span:after{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-right:3px solid #8f0808;border-bottom:3px solid transparent;border-top:3px solid #8f0808}#woo-variation-swatches-settings-wrap .nav-tab-wrapper .pro-tab{position:relative}#woo-variation-swatches-settings-wrap .nav-tab-wrapper .pro-tab:before{content:attr(data-pro-text);position:absolute;right:5px;top:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:#ff5722;color:#fff;font-size:8px;font-weight:400;text-transform:uppercase;padding:3px 5px;line-height:1;border-radius:10px}.woo-variation-swatches-pro_tab.pro-inactive a{background-color:#ff9800;color:#fff}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:22 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.button.button-danger{color:#fff;background-color:#af2d2b;border-color:#a62d2b;box-shadow:0 1px 0 #a72d2b;vertical-align:top}.button.button-danger.active,.button.button-danger:active,.button.button-danger:focus,.button.button-danger:hover{color:#fff;background:#c9302c}[data-wvsdepends]{display:none}.meta-image-field-wrapper{display:table}.meta-image-field-wrapper .button{margin:5px 0;display:block}.meta-image-field-wrapper .image-preview{display:table-cell;width:60px;padding-right:10px}.meta-image-field-wrapper .button-wrapper{display:table-cell;vertical-align:top}.gwp-rate-stars{display:inline-block;color:#ffb900;position:relative;top:3px}.gwp-rate-stars svg,.gwp-rate-stars svg a{fill:#ffb900;stroke:#ffb900;cursor:pointer}.gwp-rate-stars svg:hover,.gwp-rate-stars svg a:hover{fill:#ffb900}.gwp-rate-stars svg:hover~svg,.gwp-rate-stars svg:hover~svg a,.gwp-rate-stars svg a:hover~svg,.gwp-rate-stars svg a:hover~svg a{fill:none}#wvs-meta-preview{width:30px}.wvs-preview{width:30px;height:30px;border:1px solid #000}#woo-variation-swatches-settings-wrap #settings-tabs{margin-top:30px}#woo-variation-swatches-settings-wrap #settings-tabs h2{font-size:1.5em;margin-bottom:10px}#woo-variation-swatches-settings-wrap #settings-tabs .form-table{margin-top:15px;background:#fff;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.07),0 1px 1px rgba(0,0,0,.04)}#woo-variation-swatches-settings-wrap #settings-tabs .form-table tr{border-bottom:1px solid #eee;display:block}#woo-variation-swatches-settings-wrap #settings-tabs .form-table tr:last-child{border:0}#woo-variation-swatches-settings-wrap #settings-tabs .form-table th{padding:20px 10px 20px 20px}#woo-variation-swatches-settings-wrap #settings-tabs #special .form-table,#woo-variation-swatches-settings-wrap #settings-tabs #style .form-table{margin-bottom:30px}#woo-variation-swatches-settings-wrap #tutorial .form-table tr{padding:0!important}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper img{width:100%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper ul{margin:0}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li{overflow:hidden;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:50px 30px;margin:0;border-bottom:1px solid #ddd;position:relative}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li:last-child{border:0}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper,#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{float:left;padding:0 20px;box-sizing:border-box}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{width:60%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper{width:40%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper h3{margin:0 0 20px;font-size:1.5em}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-contents{font-size:15px;line-height:1.5em;margin-bottom:20px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button{border-radius:3px;line-height:1;padding:13px 20px;font-size:13px;height:40px;box-shadow:none;text-shadow:none}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button:active{-webkit-transform:translateY(0);transform:translateY(0)}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-live-demo{background-color:#fff;color:#333;border:1px solid #eee}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-live-demo:hover{background:#eee}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-docs{background-color:#36373a;color:#fff;border:1px solid #36373a}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-docs:hover{background:#5d5e61;border-color:#5d5e61}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-pro{background-color:#39b54a;color:#fff;border:1px solid #39b54a}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-pro:hover{background:#3fc851;border-color:#3fc851}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{position:relative}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon{position:absolute;left:-5px;top:-5px;z-index:1;overflow:hidden;width:75px;height:75px;text-align:right;margin:1px 22px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span{font-size:10px;font-weight:700;color:#fff;text-transform:uppercase;text-align:center;line-height:20px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);width:100px;display:block;background:#bc0808;box-shadow:0 3px 10px -5px #000;position:absolute;top:19px;left:-21px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span:before{content:"";position:absolute;left:0;top:100%;z-index:-1;border-left:3px solid #8f0808;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #8f0808}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span:after{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-right:3px solid #8f0808;border-bottom:3px solid transparent;border-top:3px solid #8f0808}#woo-variation-swatches-settings-wrap .nav-tab-wrapper .pro-tab{position:relative}#woo-variation-swatches-settings-wrap .nav-tab-wrapper .pro-tab:before{content:attr(data-pro-text);position:absolute;right:5px;top:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:#ff5722;color:#fff;font-size:8px;font-weight:400;text-transform:uppercase;padding:3px 5px;line-height:1;border-radius:10px}.woo-variation-swatches-pro_tab.pro-inactive a{background-color:#ff9800;color:#fff}
|
assets/css/frontend-tooltip.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches .radio-variable-item[data-wvstooltip] {
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:18 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches .radio-variable-item[data-wvstooltip] {
|
assets/css/frontend-tooltip.min.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches .radio-variable-item[data-wvstooltip]{position:relative}.woo-variation-swatches .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches .radio-variable-item[data-wvstooltip]:before{left:8px;bottom:100%}.woo-variation-swatches .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:8px}.woo-variation-swatches.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:50%}.woo-variation-swatches.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%}.woo-variation-swatches.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:100%}.woo-variation-swatches.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:100%}.variable-items-wrapper .wvs-has-image-tooltip,.variable-items-wrapper [data-wvstooltip]{position:relative;cursor:pointer;outline:none}.variable-items-wrapper .wvs-has-image-tooltip:after,.variable-items-wrapper .wvs-has-image-tooltip:before,.variable-items-wrapper [data-wvstooltip]:after,.variable-items-wrapper [data-wvstooltip]:before{visibility:hidden;opacity:0;pointer-events:none;box-sizing:inherit;position:absolute;bottom:130%;left:50%;z-index:999;-webkit-transform:translateZ(0);transform:translateZ(0);box-shadow:0 7px 15px rgba(0,0,0,.3);-webkit-transition:opacity .3s linear,bottom .3s linear;transition:opacity .3s linear,bottom .3s linear}.variable-items-wrapper .wvs-has-image-tooltip:before,.variable-items-wrapper [data-wvstooltip]:before{margin-bottom:5px;-webkit-transform:translateX(-50%);transform:translateX(-50%);padding:7px;border-radius:3px;background-color:#000;background-color:rgba(51,51,51,.9);color:#fff;text-align:center;font-size:14px;line-height:1.2}.variable-items-wrapper [data-wvstooltip]:before{min-width:100px;content:attr(data-wvstooltip)}.variable-items-wrapper .wvs-has-image-tooltip:before{content:" ";background-image:var(--tooltip-background);width:var(--tooltip-width);height:var(--tooltip-height);background-size:cover;border:2px solid;background-position:50%}.variable-items-wrapper .wvs-has-image-tooltip:after,.variable-items-wrapper [data-wvstooltip]:after{margin-left:-5px;width:0;border-top:5px solid #000;border-top:5px solid rgba(51,51,51,.9);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}.variable-items-wrapper .wvs-has-image-tooltip:hover:after,.variable-items-wrapper .wvs-has-image-tooltip:hover:before,.variable-items-wrapper [data-wvstooltip]:hover:after,.variable-items-wrapper [data-wvstooltip]:hover:before{bottom:120%;visibility:visible;opacity:1}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:22 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches .radio-variable-item[data-wvstooltip]{position:relative}.woo-variation-swatches .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches .radio-variable-item[data-wvstooltip]:before{left:8px;bottom:100%}.woo-variation-swatches .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:8px}.woo-variation-swatches.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:50%}.woo-variation-swatches.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%}.woo-variation-swatches.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:100%}.woo-variation-swatches.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:100%}.variable-items-wrapper .wvs-has-image-tooltip,.variable-items-wrapper [data-wvstooltip]{position:relative;cursor:pointer;outline:none}.variable-items-wrapper .wvs-has-image-tooltip:after,.variable-items-wrapper .wvs-has-image-tooltip:before,.variable-items-wrapper [data-wvstooltip]:after,.variable-items-wrapper [data-wvstooltip]:before{visibility:hidden;opacity:0;pointer-events:none;box-sizing:inherit;position:absolute;bottom:130%;left:50%;z-index:999;-webkit-transform:translateZ(0);transform:translateZ(0);box-shadow:0 7px 15px rgba(0,0,0,.3);-webkit-transition:opacity .3s linear,bottom .3s linear;transition:opacity .3s linear,bottom .3s linear}.variable-items-wrapper .wvs-has-image-tooltip:before,.variable-items-wrapper [data-wvstooltip]:before{margin-bottom:5px;-webkit-transform:translateX(-50%);transform:translateX(-50%);padding:7px;border-radius:3px;background-color:#000;background-color:rgba(51,51,51,.9);color:#fff;text-align:center;font-size:14px;line-height:1.2}.variable-items-wrapper [data-wvstooltip]:before{min-width:100px;content:attr(data-wvstooltip)}.variable-items-wrapper .wvs-has-image-tooltip:before{content:" ";background-image:var(--tooltip-background);width:var(--tooltip-width);height:var(--tooltip-height);background-size:cover;border:2px solid;background-position:50%}.variable-items-wrapper .wvs-has-image-tooltip:after,.variable-items-wrapper [data-wvstooltip]:after{margin-left:-5px;width:0;border-top:5px solid #000;border-top:5px solid rgba(51,51,51,.9);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}.variable-items-wrapper .wvs-has-image-tooltip:hover:after,.variable-items-wrapper .wvs-has-image-tooltip:hover:before,.variable-items-wrapper [data-wvstooltip]:hover:after,.variable-items-wrapper [data-wvstooltip]:hover:before{bottom:120%;visibility:visible;opacity:1}
|
assets/css/frontend.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches .woo-variation-raw-select,
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:18 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches .woo-variation-raw-select,
|
assets/css/frontend.min.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches .woo-variation-raw-select,.woo-variation-swatches .woo-variation-raw-select+.select2{display:none!important}.woo-variation-swatches .variable-items-wrapper{display:-webkit-box;display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.woo-variation-swatches .variable-items-wrapper .variable-item{margin:0;padding:0;list-style:none;-webkit-transition:all .2s ease;transition:all .2s ease;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.woo-variation-swatches .variable-items-wrapper .variable-item img{margin:0;padding:0;width:100%;height:100%;pointer-events:none}.woo-variation-swatches .variable-items-wrapper .variable-item span{pointer-events:none}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper{display:block}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item{box-sizing:border-box;display:block;list-style:none;cursor:pointer;margin:0}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{cursor:pointer}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:auto;margin-right:5px}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{font-weight:400;font-size:14px;display:inline-block}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item){box-sizing:border-box;cursor:pointer;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;background-color:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.3);padding:2px;margin:4px 8px 4px 0}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):last-of-type{margin-right:0}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{box-shadow:0 0 0 3px rgba(0,0,0,.1)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover{box-shadow:0 0 0 2px rgba(0,0,0,.9)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color{width:100%;height:100%;position:relative}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color:after{position:absolute;content:"";width:100%;height:100%;top:0;left:0;box-shadow:inset 0 0 1px 0 rgba(0,0,0,.5)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{text-align:center}.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item,.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item .variable-item-span,.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item .variable-item-span:after,.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item img{border-radius:100%}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item{border-radius:2px}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.button-variable-item{width:auto}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.button-variable-item .variable-item-span{padding:0 5px}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.color-variable-item span:after{border-radius:0}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover{cursor:not-allowed;box-shadow:0 0 0 1px rgba(0,0,0,.05);pointer-events:none;position:relative;overflow:hidden}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{position:absolute;content:" "!important;width:100%;height:1px;background:red!important;left:0;right:0;bottom:0;top:50%;visibility:visible;opacity:1;border:0;margin:0!important;padding:0!important;min-width:auto;-webkit-transform-origin:center;transform-origin:center;z-index:0}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover input,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover label,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled input,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled label{cursor:not-allowed;text-decoration:line-through;opacity:.5}.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:after,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:before,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover:after,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover{pointer-events:none;box-shadow:0 0 0 1px rgba(0,0,0,.05);position:relative;overflow:hidden}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled:hover{overflow:hidden}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled:hover input,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled:hover label,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled input,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled label{pointer-events:none;opacity:.3}.woo-variation-swatches.wvs-attr-behavior-hide .variable-item.disabled{opacity:0;visibility:hidden;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center;transform-origin:center;width:0!important;height:0!important;padding:0!important;margin:0!important;min-width:0!important;min-height:0!important}.woo-variation-swatches.wvs-attr-behavior-hide .variable-item.disabled.radio-variable-item{width:auto!important}.woo-variation-swatches.rtl table.variations td.label{padding-left:15px;padding-right:0;text-align:left}.woo-variation-swatches.rtl .variable-items-wrapper .variable-item{text-align:right}.woo-variation-swatches.rtl .variable-items-wrapper .variable-item:not(.radio-variable-item){margin:4px 0 4px 8px}.woo-variation-swatches.rtl .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{margin-right:0;margin-left:5px}.woo-variation-swatches.woocommerce .product.elementor table.variations td.value:before{display:none!important}.woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper{display:block!important}.woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item){float:left}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:22 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches .woo-variation-raw-select,.woo-variation-swatches .woo-variation-raw-select+.select2{display:none!important}.woo-variation-swatches .variable-items-wrapper{display:-webkit-box;display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.woo-variation-swatches .variable-items-wrapper .variable-item{margin:0;padding:0;list-style:none;-webkit-transition:all .2s ease;transition:all .2s ease;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.woo-variation-swatches .variable-items-wrapper .variable-item img{margin:0;padding:0;width:100%;height:100%;pointer-events:none}.woo-variation-swatches .variable-items-wrapper .variable-item span{pointer-events:none}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper{display:block}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item{box-sizing:border-box;display:block;list-style:none;cursor:pointer;margin:0}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{cursor:pointer}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:auto;margin-right:5px}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{font-weight:400;font-size:14px;display:inline-block}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item){box-sizing:border-box;cursor:pointer;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;background-color:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.3);padding:2px;margin:4px 8px 4px 0}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):last-of-type{margin-right:0}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{box-shadow:0 0 0 3px rgba(0,0,0,.1)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover{box-shadow:0 0 0 2px rgba(0,0,0,.9)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color{width:100%;height:100%;position:relative}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color:after{position:absolute;content:"";width:100%;height:100%;top:0;left:0;box-shadow:inset 0 0 1px 0 rgba(0,0,0,.5)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{text-align:center}.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item,.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item .variable-item-span,.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item .variable-item-span:after,.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item img{border-radius:100%}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item{border-radius:2px}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.button-variable-item{width:auto}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.button-variable-item .variable-item-span{padding:0 5px}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.color-variable-item span:after{border-radius:0}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover{cursor:not-allowed;box-shadow:0 0 0 1px rgba(0,0,0,.05);pointer-events:none;position:relative;overflow:hidden}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{position:absolute;content:" "!important;width:100%;height:1px;background:red!important;left:0;right:0;bottom:0;top:50%;visibility:visible;opacity:1;border:0;margin:0!important;padding:0!important;min-width:auto;-webkit-transform-origin:center;transform-origin:center;z-index:0}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover input,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover label,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled input,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled label{cursor:not-allowed;text-decoration:line-through;opacity:.5}.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:after,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:before,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover:after,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover{pointer-events:none;box-shadow:0 0 0 1px rgba(0,0,0,.05);position:relative;overflow:hidden}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled:hover{overflow:hidden}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled:hover input,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled:hover label,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled input,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled label{pointer-events:none;opacity:.3}.woo-variation-swatches.wvs-attr-behavior-hide .variable-item.disabled{opacity:0;visibility:hidden;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center;transform-origin:center;width:0!important;height:0!important;padding:0!important;margin:0!important;min-width:0!important;min-height:0!important}.woo-variation-swatches.wvs-attr-behavior-hide .variable-item.disabled.radio-variable-item{width:auto!important}.woo-variation-swatches.rtl table.variations td.label{padding-left:15px;padding-right:0;text-align:left}.woo-variation-swatches.rtl .variable-items-wrapper .variable-item{text-align:right}.woo-variation-swatches.rtl .variable-items-wrapper .variable-item:not(.radio-variable-item){margin:4px 0 4px 8px}.woo-variation-swatches.rtl .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{margin-right:0;margin-left:5px}.woo-variation-swatches.woocommerce .product.elementor table.variations td.value:before{display:none!important}.woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper{display:block!important}.woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item){float:left}
|
assets/css/gwp-admin-notice.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-live-feed-contents {
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:18 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-live-feed-contents {
|
assets/css/gwp-admin-notice.min.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-live-feed-contents{position:relative;clear:both;overflow:hidden}.gwp-live-feed-contents.gwp-ad-gallery:before,.gwp-live-feed-contents.notice-info:before{content:"\F161";background:#41a1d3}.gwp-live-feed-contents.notice-success:before{content:"\F147";background:#46b450}.gwp-live-feed-contents.notice-error:before{content:"\F158";background:#dc3232}.gwp-live-feed-contents.notice-warning:before{content:"\F534";background:#f6ba33}.gwp-live-feed-contents.gwp-notice-required:before{content:"\F463";background:#ce3100;text-shadow:0 -1px 1px #ce3100}.gwp-live-feed-contents.gwp-notice-recommended:before{content:"\F529";background:#3d4046;text-shadow:0 -1px 1px #3d4046}.gwp-live-feed-contents.gwp-ad-gallery,.gwp-live-feed-contents.gwp-notice-recommended,.gwp-live-feed-contents.gwp-notice-required,.gwp-live-feed-contents.notice-error,.gwp-live-feed-contents.notice-info,.gwp-live-feed-contents.notice-success,.gwp-live-feed-contents.notice-warning{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;padding:0;border-radius:4px}.gwp-live-feed-contents.gwp-ad-gallery:before,.gwp-live-feed-contents.gwp-notice-recommended:before,.gwp-live-feed-contents.gwp-notice-required:before,.gwp-live-feed-contents.notice-error:before,.gwp-live-feed-contents.notice-info:before,.gwp-live-feed-contents.notice-success:before,.gwp-live-feed-contents.notice-warning:before{font-family:dashicons;font-size:20px;color:#fff;padding:10px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.gwp-live-feed-contents.gwp-ad-gallery .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-recommended .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-required .feed-message-wrapper,.gwp-live-feed-contents.notice-error .feed-message-wrapper,.gwp-live-feed-contents.notice-info .feed-message-wrapper,.gwp-live-feed-contents.notice-success .feed-message-wrapper,.gwp-live-feed-contents.notice-warning .feed-message-wrapper{padding:10px 60px 10px 20px}.gwp-live-feed-contents.gwp-notice-discount{border-radius:5px;border:0;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:#594679}.gwp-live-feed-contents.gwp-notice-discount .feed-thumbnail-wrapper .attachment-thumbnail{display:block}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center;width:100%;color:#fff;text-shadow:0 -1px 1px #594679;padding:20px 30px 20px 20px}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper p{font-size:14px;margin:0;padding:0}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper span.big{font-weight:400;font-size:18px}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper strong{font-weight:800}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper .button-primary{font-size:16px;border-radius:30px;padding:0 25px;border:0;height:40px;line-height:40px}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close{color:#fff;opacity:.5;font-size:12px}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close:before{color:#fff}.gwp-live-feed-contents.gwp-notice-pro{border-radius:5px;border:0;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:#2196f3}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center;width:100%;color:#fff;text-shadow:0 -1px 1px #2196f3;padding:20px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper p{font-size:14px;margin:0;padding:0}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper span.big{font-weight:400;font-size:18px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper strong{font-weight:800}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade{position:relative;font-size:16px;color:#fff;font-weight:600;text-decoration:none;padding:25px 25px 25px 80px;display:block;margin:-20px;background:#673ab7;text-shadow:0 -1px 1px #673ab7}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade small{font-weight:300;display:block}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade i{position:absolute;left:25px;font-size:36px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:36px;height:36px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade:hover{background:#305af3;text-shadow:0 -1px 1px #305af3}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close{color:#fff;opacity:.5;font-size:12px;z-index:1}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close:before{color:#fff}.gwp-live-feed-contents.gwp-notice-new{border:0;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:transparent;box-shadow:none}.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper img,.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper p{padding:0;margin:0}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close{color:rgba(0,0,0,.5);opacity:.5;font-size:12px}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close:before{color:rgba(0,0,0,.5)}.gwp-live-feed-contents .button-primary{background:#56bfd4;border-color:#3a9db1;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.3);text-shadow:0 -1px 1px #238ea5}.gwp-live-feed-contents .button-primary:active,.gwp-live-feed-contents .button-primary:focus,.gwp-live-feed-contents .button-primary:hover{background:#39b1ca;border-color:#3a9db1}.gwp-live-feed-contents .gwp-live-feed-close{display:-webkit-box;display:flex;right:0;text-decoration:none;padding:10px 10px 10px 25px}.gwp-live-feed-contents .gwp-live-feed-close:before{display:inline-block}.gwp-live-feed-contents .gwp-live-feed-close-plain{display:-webkit-box;display:flex;right:0;text-decoration:none;padding:15px}.gwp-live-feed-contents .gwp-live-feed-close-plain:before{display:inline-block}.wp-admin.rtl .gwp-live-feed-contents .gwp-live-feed-close-plain{left:0;right:auto}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:22 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-live-feed-contents{position:relative;clear:both;overflow:hidden}.gwp-live-feed-contents.gwp-ad-gallery:before,.gwp-live-feed-contents.notice-info:before{content:"\F161";background:#41a1d3}.gwp-live-feed-contents.notice-success:before{content:"\F147";background:#46b450}.gwp-live-feed-contents.notice-error:before{content:"\F158";background:#dc3232}.gwp-live-feed-contents.notice-warning:before{content:"\F534";background:#f6ba33}.gwp-live-feed-contents.gwp-notice-required:before{content:"\F463";background:#ce3100;text-shadow:0 -1px 1px #ce3100}.gwp-live-feed-contents.gwp-notice-recommended:before{content:"\F529";background:#3d4046;text-shadow:0 -1px 1px #3d4046}.gwp-live-feed-contents.gwp-ad-gallery,.gwp-live-feed-contents.gwp-notice-recommended,.gwp-live-feed-contents.gwp-notice-required,.gwp-live-feed-contents.notice-error,.gwp-live-feed-contents.notice-info,.gwp-live-feed-contents.notice-success,.gwp-live-feed-contents.notice-warning{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;padding:0;border-radius:4px}.gwp-live-feed-contents.gwp-ad-gallery:before,.gwp-live-feed-contents.gwp-notice-recommended:before,.gwp-live-feed-contents.gwp-notice-required:before,.gwp-live-feed-contents.notice-error:before,.gwp-live-feed-contents.notice-info:before,.gwp-live-feed-contents.notice-success:before,.gwp-live-feed-contents.notice-warning:before{font-family:dashicons;font-size:20px;color:#fff;padding:10px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.gwp-live-feed-contents.gwp-ad-gallery .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-recommended .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-required .feed-message-wrapper,.gwp-live-feed-contents.notice-error .feed-message-wrapper,.gwp-live-feed-contents.notice-info .feed-message-wrapper,.gwp-live-feed-contents.notice-success .feed-message-wrapper,.gwp-live-feed-contents.notice-warning .feed-message-wrapper{padding:10px 60px 10px 20px}.gwp-live-feed-contents.gwp-notice-discount{border-radius:5px;border:0;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:#594679}.gwp-live-feed-contents.gwp-notice-discount .feed-thumbnail-wrapper .attachment-thumbnail{display:block}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center;width:100%;color:#fff;text-shadow:0 -1px 1px #594679;padding:20px 30px 20px 20px}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper p{font-size:14px;margin:0;padding:0}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper span.big{font-weight:400;font-size:18px}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper strong{font-weight:800}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper .button-primary{font-size:16px;border-radius:30px;padding:0 25px;border:0;height:40px;line-height:40px}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close{color:#fff;opacity:.5;font-size:12px}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close:before{color:#fff}.gwp-live-feed-contents.gwp-notice-pro{border-radius:5px;border:0;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:#2196f3}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center;width:100%;color:#fff;text-shadow:0 -1px 1px #2196f3;padding:20px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper p{font-size:14px;margin:0;padding:0}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper span.big{font-weight:400;font-size:18px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper strong{font-weight:800}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade{position:relative;font-size:16px;color:#fff;font-weight:600;text-decoration:none;padding:25px 25px 25px 80px;display:block;margin:-20px;background:#673ab7;text-shadow:0 -1px 1px #673ab7}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade small{font-weight:300;display:block}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade i{position:absolute;left:25px;font-size:36px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:36px;height:36px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade:hover{background:#305af3;text-shadow:0 -1px 1px #305af3}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close{color:#fff;opacity:.5;font-size:12px;z-index:1}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close:before{color:#fff}.gwp-live-feed-contents.gwp-notice-new{border:0;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:transparent;box-shadow:none}.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper img,.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper p{padding:0;margin:0}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close{color:rgba(0,0,0,.5);opacity:.5;font-size:12px}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close:before{color:rgba(0,0,0,.5)}.gwp-live-feed-contents .button-primary{background:#56bfd4;border-color:#3a9db1;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.3);text-shadow:0 -1px 1px #238ea5}.gwp-live-feed-contents .button-primary:active,.gwp-live-feed-contents .button-primary:focus,.gwp-live-feed-contents .button-primary:hover{background:#39b1ca;border-color:#3a9db1}.gwp-live-feed-contents .gwp-live-feed-close{display:-webkit-box;display:flex;right:0;text-decoration:none;padding:10px 10px 10px 25px}.gwp-live-feed-contents .gwp-live-feed-close:before{display:inline-block}.gwp-live-feed-contents .gwp-live-feed-close-plain{display:-webkit-box;display:flex;right:0;text-decoration:none;padding:15px}.gwp-live-feed-contents .gwp-live-feed-close-plain:before{display:inline-block}.wp-admin.rtl .gwp-live-feed-contents .gwp-live-feed-close-plain{left:0;right:auto}
|
assets/css/gwp-admin.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/**
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:18 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/**
|
assets/css/gwp-admin.min.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-backbone-modal *{box-sizing:border-box}.gwp-backbone-modal .gwp-backbone-modal-content{position:fixed;background:#fff;z-index:100000;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-width:100%;min-width:300px}.gwp-backbone-modal .gwp-backbone-modal-content article{overflow:auto}.gwp-backbone-modal .gwp-backbone-modal-content{width:40%}.gwp-backbone-modal .gwp-feedback-dialog-form-body h2{font-weight:700;font-size:15px;color:#495157;margin:0 0 20px}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-input-wrapper{line-height:1.3;overflow:hidden;margin-bottom:15px}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-input{float:left;margin:0 10px 0 0;box-shadow:none}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-text{margin:10px 0 0 25px;padding:5px;font-size:13px;box-shadow:none;background-color:#fff;width:92%;display:none}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-alert{color:#0273a9;background-color:#fff;font-weight:600}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-label{display:block;font-size:13px;color:#6d7882}.gwp-backbone-modal footer{margin-top:30px;overflow:hidden;clear:both}.gwp-backbone-modal footer .feedback-dialog-form-button-send{background-color:#56bfd4;border-radius:3px;color:#fff;line-height:1;padding:12px 20px;font-size:13px;height:40px;border:0;box-shadow:none;text-shadow:none;float:left}.gwp-backbone-modal footer .feedback-dialog-form-button-send:hover{background:#389db1}.gwp-backbone-modal footer .feedback-dialog-form-button-send:active{-webkit-transform:translateY(0);transform:translateY(0)}.gwp-backbone-modal footer .feedback-dialog-form-button-skip{font-size:12px;color:#a4afb7;background:none;float:right;width:auto;cursor:pointer;padding:10px 0;outline:0;text-decoration:none}.gwp-backbone-modal footer .feedback-dialog-form-button-skip:focus{box-shadow:none}.gwp-backbone-modal footer .feedback-dialog-form-button-skip:hover{text-decoration:underline}@media screen and (max-width:782px){.gwp-backbone-modal .gwp-backbone-modal-content{width:100%;height:100%;min-width:100%}}.gwp-backbone-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:99900}.gwp-backbone-modal-main{padding-bottom:55px}.gwp-backbone-modal-main article,.gwp-backbone-modal-main header{display:block;position:relative}.gwp-backbone-modal-main .gwp-backbone-modal-header{height:auto;background:#fcfcfc;padding:1em 1.5em;border-bottom:1px solid #ddd}.gwp-backbone-modal-main .gwp-backbone-modal-header h1{margin:0;color:#495157;font-weight:700;font-size:14px;background:transparent;line-height:2em;text-transform:uppercase;border:0}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link{cursor:pointer;color:#777;height:54px;width:54px;padding:0;position:absolute;top:0;right:0;text-align:center;border:0;border-left:1px solid #ddd;background-color:transparent;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:before{font:normal 22px/50px dashicons!important;color:#666;display:block;content:"\F335";font-weight:300}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:focus,.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:hover{background:#ddd;border-color:#ccc;color:#000}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:focus{outline:none}.gwp-backbone-modal-main article{padding:1.5em}.gwp-backbone-modal-main article p{margin:1.5em 0}.gwp-backbone-modal-main article p:first-child{margin-top:0}.gwp-backbone-modal-main article p:last-child{margin-bottom:0}.gwp-backbone-modal-main article .pagination{padding:10px 0 0;text-align:center}.gwp-backbone-modal-main article table.widefat{margin:0;width:100%;border:0;box-shadow:none}.gwp-backbone-modal-main article table.widefat thead th{padding:0 1em 1em;text-align:left}.gwp-backbone-modal-main article table.widefat thead th:first-child{padding-left:0}.gwp-backbone-modal-main article table.widefat thead th:last-child{padding-right:0;text-align:right}.gwp-backbone-modal-main article table.widefat tbody td,.gwp-backbone-modal-main article table.widefat tbody th{padding:1em;text-align:left;vertical-align:middle}.gwp-backbone-modal-main article table.widefat tbody td:first-child,.gwp-backbone-modal-main article table.widefat tbody th:first-child{padding-left:0}.gwp-backbone-modal-main article table.widefat tbody td:last-child,.gwp-backbone-modal-main article table.widefat tbody th:last-child{padding-right:0;text-align:right}.gwp-backbone-modal-main article table.widefat tbody td .select2-container,.gwp-backbone-modal-main article table.widefat tbody td select,.gwp-backbone-modal-main article table.widefat tbody th .select2-container,.gwp-backbone-modal-main article table.widefat tbody th select{width:100%}.gwp-backbone-modal-main footer{position:absolute;left:0;right:0;bottom:0;z-index:100;padding:1em 1.5em;background:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.gwp-backbone-modal-main footer .inner{text-align:right;line-height:23px}.gwp-backbone-modal-main footer .inner .button{margin-bottom:0}.gwp-backbone-modal-main footer .inner .gwp-action-button-group{display:inline-block;float:left}.gwp-backbone-modal-main footer .inner .button.button-large{margin-left:10px;padding:0 10px!important;line-height:28px;height:auto;display:inline-block}.gwp-action-button-group{vertical-align:middle;line-height:26px;text-align:left}.gwp-action-button-group .gwp-action-button-group__items{display:-webkit-inline-box;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;align-content:flex-start;-webkit-box-pack:start;justify-content:flex-start}.gwp-action-button-group .gwp-action-button{margin:0 0 0 -1px!important;border:1px solid #ccc;padding:0 10px!important;border-radius:0!important;float:none;line-height:28px;height:auto;z-index:1;position:relative;overflow:hidden;text-overflow:ellipsis;-webkit-box-flex:1;flex:1 0 auto;box-sizing:border-box;text-align:center;white-space:nowrap}.gwp-action-button-group .gwp-action-button:focus,.gwp-action-button-group .gwp-action-button:hover{border:1px solid #999;z-index:2}.gwp-action-button-group .gwp-action-button:first-child{margin-left:0!important;border-top-left-radius:3px!important;border-bottom-left-radius:3px!important}.gwp-action-button-group .gwp-action-button:last-child{border-top-right-radius:3px!important;border-bottom-right-radius:3px!important}.gwp-action-button-group .spinner{margin:10px}.gwp-action-button-group .spinner.visible{visibility:visible}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:22 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-backbone-modal *{box-sizing:border-box}.gwp-backbone-modal .gwp-backbone-modal-content{position:fixed;background:#fff;z-index:100000;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-width:100%;min-width:300px}.gwp-backbone-modal .gwp-backbone-modal-content article{overflow:auto}.gwp-backbone-modal .gwp-backbone-modal-content{width:40%}.gwp-backbone-modal .gwp-feedback-dialog-form-body h2{font-weight:700;font-size:15px;color:#495157;margin:0 0 20px}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-input-wrapper{line-height:1.3;overflow:hidden;margin-bottom:15px}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-input{float:left;margin:0 10px 0 0;box-shadow:none}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-text{margin:10px 0 0 25px;padding:5px;font-size:13px;box-shadow:none;background-color:#fff;width:92%;display:none}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-alert{color:#0273a9;background-color:#fff;font-weight:600}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-label{display:block;font-size:13px;color:#6d7882}.gwp-backbone-modal footer{margin-top:30px;overflow:hidden;clear:both}.gwp-backbone-modal footer .feedback-dialog-form-button-send{background-color:#56bfd4;border-radius:3px;color:#fff;line-height:1;padding:12px 20px;font-size:13px;height:40px;border:0;box-shadow:none;text-shadow:none;float:left}.gwp-backbone-modal footer .feedback-dialog-form-button-send:hover{background:#389db1}.gwp-backbone-modal footer .feedback-dialog-form-button-send:active{-webkit-transform:translateY(0);transform:translateY(0)}.gwp-backbone-modal footer .feedback-dialog-form-button-skip{font-size:12px;color:#a4afb7;background:none;float:right;width:auto;cursor:pointer;padding:10px 0;outline:0;text-decoration:none}.gwp-backbone-modal footer .feedback-dialog-form-button-skip:focus{box-shadow:none}.gwp-backbone-modal footer .feedback-dialog-form-button-skip:hover{text-decoration:underline}@media screen and (max-width:782px){.gwp-backbone-modal .gwp-backbone-modal-content{width:100%;height:100%;min-width:100%}}.gwp-backbone-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:99900}.gwp-backbone-modal-main{padding-bottom:55px}.gwp-backbone-modal-main article,.gwp-backbone-modal-main header{display:block;position:relative}.gwp-backbone-modal-main .gwp-backbone-modal-header{height:auto;background:#fcfcfc;padding:1em 1.5em;border-bottom:1px solid #ddd}.gwp-backbone-modal-main .gwp-backbone-modal-header h1{margin:0;color:#495157;font-weight:700;font-size:14px;background:transparent;line-height:2em;text-transform:uppercase;border:0}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link{cursor:pointer;color:#777;height:54px;width:54px;padding:0;position:absolute;top:0;right:0;text-align:center;border:0;border-left:1px solid #ddd;background-color:transparent;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:before{font:normal 22px/50px dashicons!important;color:#666;display:block;content:"\F335";font-weight:300}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:focus,.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:hover{background:#ddd;border-color:#ccc;color:#000}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:focus{outline:none}.gwp-backbone-modal-main article{padding:1.5em}.gwp-backbone-modal-main article p{margin:1.5em 0}.gwp-backbone-modal-main article p:first-child{margin-top:0}.gwp-backbone-modal-main article p:last-child{margin-bottom:0}.gwp-backbone-modal-main article .pagination{padding:10px 0 0;text-align:center}.gwp-backbone-modal-main article table.widefat{margin:0;width:100%;border:0;box-shadow:none}.gwp-backbone-modal-main article table.widefat thead th{padding:0 1em 1em;text-align:left}.gwp-backbone-modal-main article table.widefat thead th:first-child{padding-left:0}.gwp-backbone-modal-main article table.widefat thead th:last-child{padding-right:0;text-align:right}.gwp-backbone-modal-main article table.widefat tbody td,.gwp-backbone-modal-main article table.widefat tbody th{padding:1em;text-align:left;vertical-align:middle}.gwp-backbone-modal-main article table.widefat tbody td:first-child,.gwp-backbone-modal-main article table.widefat tbody th:first-child{padding-left:0}.gwp-backbone-modal-main article table.widefat tbody td:last-child,.gwp-backbone-modal-main article table.widefat tbody th:last-child{padding-right:0;text-align:right}.gwp-backbone-modal-main article table.widefat tbody td .select2-container,.gwp-backbone-modal-main article table.widefat tbody td select,.gwp-backbone-modal-main article table.widefat tbody th .select2-container,.gwp-backbone-modal-main article table.widefat tbody th select{width:100%}.gwp-backbone-modal-main footer{position:absolute;left:0;right:0;bottom:0;z-index:100;padding:1em 1.5em;background:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.gwp-backbone-modal-main footer .inner{text-align:right;line-height:23px}.gwp-backbone-modal-main footer .inner .button{margin-bottom:0}.gwp-backbone-modal-main footer .inner .gwp-action-button-group{display:inline-block;float:left}.gwp-backbone-modal-main footer .inner .button.button-large{margin-left:10px;padding:0 10px!important;line-height:28px;height:auto;display:inline-block}.gwp-action-button-group{vertical-align:middle;line-height:26px;text-align:left}.gwp-action-button-group .gwp-action-button-group__items{display:-webkit-inline-box;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;align-content:flex-start;-webkit-box-pack:start;justify-content:flex-start}.gwp-action-button-group .gwp-action-button{margin:0 0 0 -1px!important;border:1px solid #ccc;padding:0 10px!important;border-radius:0!important;float:none;line-height:28px;height:auto;z-index:1;position:relative;overflow:hidden;text-overflow:ellipsis;-webkit-box-flex:1;flex:1 0 auto;box-sizing:border-box;text-align:center;white-space:nowrap}.gwp-action-button-group .gwp-action-button:focus,.gwp-action-button-group .gwp-action-button:hover{border:1px solid #999;z-index:2}.gwp-action-button-group .gwp-action-button:first-child{margin-left:0!important;border-top-left-radius:3px!important;border-bottom-left-radius:3px!important}.gwp-action-button-group .gwp-action-button:last-child{border-top-right-radius:3px!important;border-bottom-right-radius:3px!important}.gwp-action-button-group .spinner{margin:10px}.gwp-action-button-group .spinner.visible{visibility:visible}
|
assets/css/wvs-theme-override.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.wvs-theme-sober .product form.cart .variations .variable,
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:18 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.wvs-theme-sober .product form.cart .variations .variable,
|
assets/css/wvs-theme-override.min.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.wvs-theme-child-sober .product form.cart .variations .variable,.wvs-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.wvs-theme-child-sober .product form.cart .variations .variable-options,.wvs-theme-sober .product form.cart .variations .variable-options{border:0!important}.wvs-theme-child-sober .product form.cart .variations .arrow,.wvs-theme-child-sober .product form.cart .variations .variable-options:after,.wvs-theme-sober .product form.cart .variations .arrow,.wvs-theme-sober .product form.cart .variations .variable-options:after{display:none}.wvs-theme-child-sober .product form.cart .variations .label,.wvs-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.wvs-theme-child-sober .product form.cart .variations .value,.wvs-theme-sober .product form.cart .variations .value{-webkit-box-flex:unset;flex-grow:unset}.wvs-theme-child-sober .product form.cart .variations select,.wvs-theme-sober .product form.cart .variations select{border:1px solid #e4e6eb!important;padding:.5em 1em!important;text-align:left!important;-moz-text-align-last:left!important;text-align-last:left!important;-webkit-appearance:menulist-button!important}.wvs-theme-child-sober .product form.cart .radio-variable-item,.wvs-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.wvs-theme-child-sober .product form.cart .radio-variable-item:last-child,.wvs-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.wvs-theme-child-sober .product form.cart .radio-variable-item label,.wvs-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.wvs-theme-child-sober .product form.cart .radio-variable-item label:before,.wvs-theme-sober .product form.cart .radio-variable-item label:before{top:0;border-radius:100%}.wvs-theme-child-sober .product form.cart .radio-variable-item label:after,.wvs-theme-sober .product form.cart .radio-variable-item label:after{top:8px}.wvs-theme-shophistic-lite.woocommerce #main .entry-summary .variations{display:block!important}.wvs-theme-shophistic-lite .ql_custom_variations{display:none!important}.wvs-theme-shophistic-lite .radio-variable-item input[type=radio]{display:inline-block;margin:0}.wvs-theme-flatsome .variations .reset_variations{position:relative;bottom:0;left:0}.wvs-theme-stockholm .variations .reset_variations{position:relative;bottom:0;left:0;-webkit-transform:none;transform:none}.wvs-theme-kalium-child .image-variable-item img,.wvs-theme-kalium .image-variable-item img{width:100%!important}.wvs-theme-kalium-child .radio-variable-item input,.wvs-theme-kalium .radio-variable-item input{width:16px!important;height:16px!important}.wvs-theme-kalium-child .woo-variation-items-wrapper .select-option-ui,.wvs-theme-kalium .woo-variation-items-wrapper .select-option-ui{display:none}.wvs-theme-aurum .variable-items-wrapper .image-variable-item>img,.wvs-theme-child-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.wvs-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.wvs-theme-child-thegem .woo-variation-items-wrapper .combobox-wrapper,.wvs-theme-thegem .woo-variation-items-wrapper .combobox-wrapper{display:none}.wvs-theme-child-thegem .wvs-archive-variation-wrapper .variations,.wvs-theme-thegem .wvs-archive-variation-wrapper .variations{padding:0}.wvs-theme-child-ushop .variations_form,.wvs-theme-ushop .variations_form{overflow:visible!important}.wvs-theme-child-ushop .single-product-summary .product_meta,.wvs-theme-ushop .single-product-summary .product_meta{display:inline-table}.wvs-theme-child-savoy .woo-variation-items-wrapper,.wvs-theme-savoy .woo-variation-items-wrapper{position:relative!important}.wvs-theme-child-savoy .woo-variation-items-wrapper .sod_select,.wvs-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.wvs-theme-child-savoy .nm-variation-row,.wvs-theme-savoy .nm-variation-row{display:-webkit-box;display:flex}.wvs-theme-child-woodstock .woo-variation-items-wrapper .variation-select,.wvs-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.wvs-theme-child-woodmart .woo-variation-items-wrapper>.swatches-select,.wvs-theme-woodmart .woo-variation-items-wrapper>.swatches-select{display:none}.wvs-theme-gecko-child .variations .value.woo-variation-items-wrapper,.wvs-theme-gecko .variations .value.woo-variation-items-wrapper{border:0!important}.wvs-theme-gecko-child .variations .value.woo-variation-items-wrapper:after,.wvs-theme-gecko .variations .value.woo-variation-items-wrapper:after{display:none!important}.woo-variation-gallery-theme-child-massive-dynamic .woo-variation-items-wrapper .clear-selection,.woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection{border:0;height:auto;width:auto}.woo-variation-gallery-theme-child-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations,.woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations{font-size:8px!important;width:20px;height:20px;padding:5px;box-sizing:border-box;border-radius:100%;border:1px solid #f04040;color:#f04040}.wvs-theme-child-claue .woo-variation-items-wrapper,.wvs-theme-claue .woo-variation-items-wrapper{border:none}.wvs-theme-child-claue .woo-variation-items-wrapper:after,.wvs-theme-claue .woo-variation-items-wrapper:after{display:none}.wvs-theme-child-jupiter table.variations,.wvs-theme-jupiter table.variations{overflow:initial}.wvs-theme-child-oxygen .woo-variation-items-wrapper .select-wrapper,.wvs-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.wvs-theme-child-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.wvs-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:18px}.wvs-theme-child-simple-elegant .woo-variation-items-wrapper .wi-nice-select,.wvs-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}.wvs-theme-child-twentytwenty table.variations,.wvs-theme-twentytwenty table.variations{overflow:auto}.woo-variation-swatches-theme-child-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select,.woo-variation-swatches-theme-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select,.wvs-theme-child-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after,.wvs-theme-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after{display:none!important}.woo-variation-swatches-theme-child-jevelin .sh-woo-layout table.variations,.woo-variation-swatches-theme-jevelin .sh-woo-layout table.variations{max-width:100%}.woo-variation-swatches-theme-child-jevelin .radio-variable-item label,.woo-variation-swatches-theme-jevelin .radio-variable-item label{line-height:1!important}.woo-variation-swatches-theme-child-stockie .woo-variation-raw-select+.select-styled,.woo-variation-swatches-theme-child .woo-variation-raw-select+.select-styled{display:none!important}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:22 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.wvs-theme-child-sober .product form.cart .variations .variable,.wvs-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.wvs-theme-child-sober .product form.cart .variations .variable-options,.wvs-theme-sober .product form.cart .variations .variable-options{border:0!important}.wvs-theme-child-sober .product form.cart .variations .arrow,.wvs-theme-child-sober .product form.cart .variations .variable-options:after,.wvs-theme-sober .product form.cart .variations .arrow,.wvs-theme-sober .product form.cart .variations .variable-options:after{display:none}.wvs-theme-child-sober .product form.cart .variations .label,.wvs-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.wvs-theme-child-sober .product form.cart .variations .value,.wvs-theme-sober .product form.cart .variations .value{-webkit-box-flex:unset;flex-grow:unset}.wvs-theme-child-sober .product form.cart .variations select,.wvs-theme-sober .product form.cart .variations select{border:1px solid #e4e6eb!important;padding:.5em 1em!important;text-align:left!important;-moz-text-align-last:left!important;text-align-last:left!important;-webkit-appearance:menulist-button!important}.wvs-theme-child-sober .product form.cart .radio-variable-item,.wvs-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.wvs-theme-child-sober .product form.cart .radio-variable-item:last-child,.wvs-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.wvs-theme-child-sober .product form.cart .radio-variable-item label,.wvs-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.wvs-theme-child-sober .product form.cart .radio-variable-item label:before,.wvs-theme-sober .product form.cart .radio-variable-item label:before{top:0;border-radius:100%}.wvs-theme-child-sober .product form.cart .radio-variable-item label:after,.wvs-theme-sober .product form.cart .radio-variable-item label:after{top:8px}.wvs-theme-shophistic-lite.woocommerce #main .entry-summary .variations{display:block!important}.wvs-theme-shophistic-lite .ql_custom_variations{display:none!important}.wvs-theme-shophistic-lite .radio-variable-item input[type=radio]{display:inline-block;margin:0}.wvs-theme-flatsome .variations .reset_variations{position:relative;bottom:0;left:0}.wvs-theme-stockholm .variations .reset_variations{position:relative;bottom:0;left:0;-webkit-transform:none;transform:none}.wvs-theme-kalium-child .image-variable-item img,.wvs-theme-kalium .image-variable-item img{width:100%!important}.wvs-theme-kalium-child .radio-variable-item input,.wvs-theme-kalium .radio-variable-item input{width:16px!important;height:16px!important}.wvs-theme-kalium-child .woo-variation-items-wrapper .select-option-ui,.wvs-theme-kalium .woo-variation-items-wrapper .select-option-ui{display:none}.wvs-theme-aurum .variable-items-wrapper .image-variable-item>img,.wvs-theme-child-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.wvs-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.wvs-theme-child-thegem .woo-variation-items-wrapper .combobox-wrapper,.wvs-theme-thegem .woo-variation-items-wrapper .combobox-wrapper{display:none}.wvs-theme-child-thegem .wvs-archive-variation-wrapper .variations,.wvs-theme-thegem .wvs-archive-variation-wrapper .variations{padding:0}.wvs-theme-child-ushop .variations_form,.wvs-theme-ushop .variations_form{overflow:visible!important}.wvs-theme-child-ushop .single-product-summary .product_meta,.wvs-theme-ushop .single-product-summary .product_meta{display:inline-table}.wvs-theme-child-savoy .woo-variation-items-wrapper,.wvs-theme-savoy .woo-variation-items-wrapper{position:relative!important}.wvs-theme-child-savoy .woo-variation-items-wrapper .sod_select,.wvs-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.wvs-theme-child-savoy .nm-variation-row,.wvs-theme-savoy .nm-variation-row{display:-webkit-box;display:flex}.wvs-theme-child-woodstock .woo-variation-items-wrapper .variation-select,.wvs-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.wvs-theme-child-woodmart .woo-variation-items-wrapper>.swatches-select,.wvs-theme-woodmart .woo-variation-items-wrapper>.swatches-select{display:none}.wvs-theme-gecko-child .variations .value.woo-variation-items-wrapper,.wvs-theme-gecko .variations .value.woo-variation-items-wrapper{border:0!important}.wvs-theme-gecko-child .variations .value.woo-variation-items-wrapper:after,.wvs-theme-gecko .variations .value.woo-variation-items-wrapper:after{display:none!important}.woo-variation-gallery-theme-child-massive-dynamic .woo-variation-items-wrapper .clear-selection,.woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection{border:0;height:auto;width:auto}.woo-variation-gallery-theme-child-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations,.woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations{font-size:8px!important;width:20px;height:20px;padding:5px;box-sizing:border-box;border-radius:100%;border:1px solid #f04040;color:#f04040}.wvs-theme-child-claue .woo-variation-items-wrapper,.wvs-theme-claue .woo-variation-items-wrapper{border:none}.wvs-theme-child-claue .woo-variation-items-wrapper:after,.wvs-theme-claue .woo-variation-items-wrapper:after{display:none}.wvs-theme-child-jupiter table.variations,.wvs-theme-jupiter table.variations{overflow:initial}.wvs-theme-child-oxygen .woo-variation-items-wrapper .select-wrapper,.wvs-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.wvs-theme-child-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.wvs-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:18px}.wvs-theme-child-simple-elegant .woo-variation-items-wrapper .wi-nice-select,.wvs-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}.wvs-theme-child-twentytwenty table.variations,.wvs-theme-twentytwenty table.variations{overflow:auto}.woo-variation-swatches-theme-child-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select,.woo-variation-swatches-theme-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select,.wvs-theme-child-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after,.wvs-theme-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after{display:none!important}.woo-variation-swatches-theme-child-jevelin .sh-woo-layout table.variations,.woo-variation-swatches-theme-jevelin .sh-woo-layout table.variations{max-width:100%}.woo-variation-swatches-theme-child-jevelin .radio-variable-item label,.woo-variation-swatches-theme-jevelin .radio-variable-item label{line-height:1!important}.woo-variation-swatches-theme-child-stockie .woo-variation-raw-select+.select-styled,.woo-variation-swatches-theme-child .woo-variation-raw-select+.select-styled{display:none!important}
|
assets/js/admin.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:18 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
assets/js/frontend.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:18 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
assets/js/gwp-admin.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date: 7/
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.86
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 9/7/2020, 1:59:18 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
assets/js/wp-color-picker-alpha.js
CHANGED
@@ -4,467 +4,470 @@
|
|
4 |
* Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker
|
5 |
* Only run in input and is defined data alpha in true
|
6 |
*
|
7 |
-
* Version: 2.1.
|
8 |
* https://github.com/kallookoo/wp-color-picker-alpha
|
9 |
-
* Licensed under the GPLv2 license.
|
10 |
*/
|
11 |
(function ($) {
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
*/
|
39 |
-
Color.fn.toString = function () {
|
40 |
-
if (this._alpha < 1) return this.toCSS('rgba', this._alpha).replace(/\s+/g, '');
|
41 |
-
|
42 |
-
var hex = parseInt(this._color, 10).toString(16);
|
43 |
-
|
44 |
-
if (this.error) return '';
|
45 |
-
|
46 |
-
if (hex.length < 6) hex = ('00000' + hex).substr(-6);
|
47 |
-
|
48 |
-
return '#' + hex;
|
49 |
-
};
|
50 |
-
|
51 |
-
/**
|
52 |
-
* Overwrite wpColorPicker
|
53 |
-
*/
|
54 |
-
$.widget('wp.wpColorPicker', $.wp.wpColorPicker, {
|
55 |
-
_hasAlpha: true,
|
56 |
-
/**
|
57 |
-
* @summary Creates the color picker.
|
58 |
-
*
|
59 |
-
* Creates the color picker, sets default values, css classes and wraps it all in HTML.
|
60 |
-
*
|
61 |
-
* @since 3.5.0
|
62 |
-
*
|
63 |
-
* @access private
|
64 |
-
*
|
65 |
-
* @returns {void}
|
66 |
-
*/
|
67 |
-
_create: function _create() {
|
68 |
-
// Return early if Iris support is missing.
|
69 |
-
if (!$.support.iris) {
|
70 |
-
return;
|
71 |
-
}
|
72 |
-
|
73 |
-
var self = this,
|
74 |
-
el = self.element;
|
75 |
-
|
76 |
-
// Override default options with options bound to the element.
|
77 |
-
$.extend(self.options, el.data());
|
78 |
-
|
79 |
-
// Create a color picker which only allows adjustments to the hue.
|
80 |
-
if (self.options.type === 'hue') {
|
81 |
-
return self._createHueOnly();
|
82 |
-
}
|
83 |
-
|
84 |
-
// Bind the close event.
|
85 |
-
self.close = $.proxy(self.close, self);
|
86 |
-
|
87 |
-
self.initialValue = el.val();
|
88 |
-
|
89 |
-
// Add a CSS class to the input field.
|
90 |
-
el.addClass('wp-color-picker');
|
91 |
-
|
92 |
-
if (_deprecated) {
|
93 |
-
el.hide().wrap(_wrap);
|
94 |
-
self.wrap = el.parent();
|
95 |
-
self.toggler = $(_before).insertBefore(el).css({ backgroundColor: self.initialValue }).attr('title', wpColorPickerL10n.pick).attr('data-current', wpColorPickerL10n.current);
|
96 |
-
self.pickerContainer = $(_after).insertAfter(el);
|
97 |
-
self.button = $(_button).addClass('hidden');
|
98 |
-
} else {
|
99 |
-
/*
|
100 |
-
* Check if there's already a wrapping label, e.g. in the Customizer.
|
101 |
-
* If there's no label, add a default one to match the Customizer template.
|
102 |
*/
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
self.wrappingLabel.wrap(_wrap);
|
118 |
-
// Store a reference to the main wrapper.
|
119 |
-
self.wrap = self.wrappingLabel.parent();
|
120 |
-
// Set up the toggle button and insert it before the wrapping label.
|
121 |
-
self.toggler = $(_before).insertBefore(self.wrappingLabel).css({ backgroundColor: self.initialValue });
|
122 |
-
// Set the toggle button span element text.
|
123 |
-
self.toggler.find('.wp-color-result-text').text(wpColorPickerL10n.pick);
|
124 |
-
// Set up the Iris container and insert it after the wrapping label.
|
125 |
-
self.pickerContainer = $(_after).insertAfter(self.wrappingLabel);
|
126 |
-
// Store a reference to the Clear/Default button.
|
127 |
-
self.button = $(_button);
|
128 |
-
}
|
129 |
-
|
130 |
-
// Set up the Clear/Default button.
|
131 |
-
if (self.options.defaultColor) {
|
132 |
-
self.button.addClass('wp-picker-default').val(wpColorPickerL10n.defaultString);
|
133 |
-
if (!_deprecated) {
|
134 |
-
self.button.attr('aria-label', wpColorPickerL10n.defaultAriaLabel);
|
135 |
-
}
|
136 |
-
} else {
|
137 |
-
self.button.addClass('wp-picker-clear').val(wpColorPickerL10n.clear);
|
138 |
-
if (!_deprecated) {
|
139 |
-
self.button.attr('aria-label', wpColorPickerL10n.clearAriaLabel);
|
140 |
-
}
|
141 |
-
}
|
142 |
-
|
143 |
-
if (_deprecated) {
|
144 |
-
el.wrap('<span class="wp-picker-input-wrap" />').after(self.button);
|
145 |
-
} else {
|
146 |
-
// Wrap the wrapping label in its wrapper and append the Clear/Default button.
|
147 |
-
self.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(self.button);
|
148 |
-
|
149 |
-
/*
|
150 |
-
* The input wrapper now contains the label+input+Clear/Default button.
|
151 |
-
* Store a reference to the input wrapper: we'll use this to toggle
|
152 |
-
* the controls visibility.
|
153 |
*/
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
*/
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
if (typeof this.options.alpha !== 'undefined' && this.options.alpha) {
|
330 |
-
var self = this,
|
331 |
-
el = self.element,
|
332 |
-
_html = '<div class="iris-strip iris-slider iris-alpha-slider"><div class="iris-slider-offset iris-slider-offset-alpha"></div></div>',
|
333 |
-
aContainer = $(_html).appendTo(self.picker.find('.iris-picker-inner')),
|
334 |
-
aSlider = aContainer.find('.iris-slider-offset-alpha'),
|
335 |
-
controls = {
|
336 |
-
aContainer: aContainer,
|
337 |
-
aSlider: aSlider
|
338 |
-
};
|
339 |
-
|
340 |
-
if (typeof el.data('custom-width') !== 'undefined') {
|
341 |
-
self.options.customWidth = parseInt(el.data('custom-width')) || 0;
|
342 |
-
} else {
|
343 |
-
self.options.customWidth = 15; // TO Make it same width
|
344 |
-
}
|
345 |
-
|
346 |
-
// Set default width for input reset
|
347 |
-
self.options.defaultWidth = el.width();
|
348 |
-
|
349 |
-
// Update width for input
|
350 |
-
if (self._color._alpha < 1 || self._color.toString().indexOf('rgb') != -1) el.width(parseInt(self.options.defaultWidth + self.options.customWidth));
|
351 |
-
|
352 |
-
// Push new controls
|
353 |
-
$.each(controls, function (k, v) {
|
354 |
-
self.controls[k] = v;
|
355 |
-
});
|
356 |
-
|
357 |
-
// Change size strip and add margin for sliders
|
358 |
-
self.controls.square.css({ 'margin-right': '0' });
|
359 |
-
var emptyWidth = self.picker.width() - self.controls.square.width() - 20,
|
360 |
-
stripsMargin = emptyWidth / 6,
|
361 |
-
stripsWidth = emptyWidth / 2 - stripsMargin;
|
362 |
-
|
363 |
-
$.each(['aContainer', 'strip'], function (k, v) {
|
364 |
-
self.controls[v].width(stripsWidth).css({ 'margin-left': stripsMargin + 'px' });
|
365 |
-
});
|
366 |
-
|
367 |
-
// Add new slider
|
368 |
-
self._initControls();
|
369 |
-
|
370 |
-
// For updated widget
|
371 |
-
self._change();
|
372 |
-
}
|
373 |
-
},
|
374 |
-
_initControls: function _initControls() {
|
375 |
-
this._super();
|
376 |
-
|
377 |
-
if (this.options.alpha) {
|
378 |
-
var self = this,
|
379 |
-
controls = self.controls;
|
380 |
-
|
381 |
-
controls.aSlider.slider({
|
382 |
-
orientation: 'vertical',
|
383 |
-
min: 0,
|
384 |
-
max: 100,
|
385 |
-
step: 1,
|
386 |
-
value: parseInt(self._color._alpha * 100),
|
387 |
-
slide: function slide(event, ui) {
|
388 |
-
// Update alpha value
|
389 |
-
self._color._alpha = parseFloat(ui.value / 100);
|
390 |
-
self._change.apply(self, arguments);
|
391 |
-
}
|
392 |
-
});
|
393 |
-
}
|
394 |
-
},
|
395 |
-
_change: function _change() {
|
396 |
-
this._super();
|
397 |
-
|
398 |
-
var self = this,
|
399 |
-
el = self.element;
|
400 |
-
|
401 |
-
if (this.options.alpha) {
|
402 |
-
var controls = self.controls,
|
403 |
-
alpha = parseInt(self._color._alpha * 100),
|
404 |
-
color = self._color.toRgb(),
|
405 |
-
gradient = ['rgb(' + color.r + ',' + color.g + ',' + color.b + ') 0%', 'rgba(' + color.r + ',' + color.g + ',' + color.b + ', 0) 100%'],
|
406 |
-
defaultWidth = self.options.defaultWidth,
|
407 |
-
customWidth = self.options.customWidth,
|
408 |
-
target = self.picker.closest('.wp-picker-container').find('.wp-color-result');
|
409 |
-
|
410 |
-
// Generate background slider alpha, only for CSS3 old browser fuck!! :)
|
411 |
-
controls.aContainer.css({ 'background': 'linear-gradient(to bottom, ' + gradient.join(', ') + '), url(' + image + ')' });
|
412 |
-
|
413 |
-
if (target.hasClass('wp-picker-open')) {
|
414 |
-
// Update alpha value
|
415 |
-
controls.aSlider.slider('value', alpha);
|
416 |
-
|
417 |
-
/**
|
418 |
-
* Disabled change opacity in default slider Saturation ( only is alpha enabled )
|
419 |
-
* and change input width for view all value
|
420 |
-
*/
|
421 |
-
if (self._color._alpha < 1) {
|
422 |
-
controls.strip.attr('style', controls.strip.attr('style').replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g, 'rgb($1$3$5)'));
|
423 |
-
el.width(parseInt(defaultWidth + customWidth));
|
424 |
-
} else {
|
425 |
-
el.width(defaultWidth);
|
426 |
-
}
|
427 |
-
}
|
428 |
-
}
|
429 |
-
|
430 |
-
var reset = el.data('reset-alpha') || false;
|
431 |
-
|
432 |
-
if (reset) {
|
433 |
-
self.picker.find('.iris-palette-container').on('click.palette', '.iris-palette', function () {
|
434 |
-
self._color._alpha = 1;
|
435 |
-
self.active = 'external';
|
436 |
-
self._change();
|
437 |
-
});
|
438 |
-
}
|
439 |
-
},
|
440 |
-
_addInputListeners: function _addInputListeners(input) {
|
441 |
-
var self = this,
|
442 |
-
debounceTimeout = 100,
|
443 |
-
callback = function callback(event) {
|
444 |
-
var color = new Color(input.val()),
|
445 |
-
val = input.val();
|
446 |
-
|
447 |
-
input.removeClass('iris-error');
|
448 |
-
// we gave a bad color
|
449 |
-
if (color.error) {
|
450 |
-
// don't error on an empty input
|
451 |
-
if (val !== '') input.addClass('iris-error');
|
452 |
-
} else {
|
453 |
-
if (color.toString() !== self._color.toString()) {
|
454 |
-
// let's not do this on keyup for hex shortcodes
|
455 |
-
if (!(event.type === 'keyup' && val.match(/^[0-9a-fA-F]{3}$/))) self._setOption('color', color.toString());
|
456 |
-
}
|
457 |
-
}
|
458 |
-
};
|
459 |
-
|
460 |
-
input.on('change', callback).on('keyup', self._debounce(callback, debounceTimeout));
|
461 |
-
|
462 |
-
// If we initialized hidden, show on first focus. The rest is up to you.
|
463 |
-
if (self.options.hide) {
|
464 |
-
input.on('focus', function () {
|
465 |
-
self.show();
|
466 |
-
});
|
467 |
-
}
|
468 |
-
}
|
469 |
-
});
|
470 |
})(jQuery);
|
4 |
* Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker
|
5 |
* Only run in input and is defined data alpha in true
|
6 |
*
|
7 |
+
* Version: 2.1.4
|
8 |
* https://github.com/kallookoo/wp-color-picker-alpha
|
9 |
+
* Licensed under the GPLv2 license or later.
|
10 |
*/
|
11 |
(function ($) {
|
12 |
+
// Prevent double-init.
|
13 |
+
if ($.wp.wpColorPicker.prototype._hasAlpha) {
|
14 |
+
return;
|
15 |
+
}
|
16 |
+
|
17 |
+
// Variable for some backgrounds ( grid )
|
18 |
+
var image = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==',
|
19 |
+
|
20 |
+
// html stuff for wpColorPicker copy of the original color-picker.js
|
21 |
+
_after = '<div class="wp-picker-holder" />',
|
22 |
+
_wrap = '<div class="wp-picker-container" />',
|
23 |
+
_button = '<input type="button" class="button button-small" />',
|
24 |
+
|
25 |
+
// Prevent CSS issues in < WordPress 4.9
|
26 |
+
_deprecated = wpColorPickerL10n.current !== undefined;
|
27 |
+
// Declare some global variables when is deprecated or not
|
28 |
+
if (_deprecated) {
|
29 |
+
var _before = '<a tabindex="0" class="wp-color-result" />';
|
30 |
+
} else {
|
31 |
+
var _before = '<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>',
|
32 |
+
_wrappingLabel = '<label></label>',
|
33 |
+
_wrappingLabelText = '<span class="screen-reader-text"></span>';
|
34 |
+
}
|
35 |
+
/**
|
36 |
+
* Overwrite Color
|
37 |
+
* for enable support rbga
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
*/
|
39 |
+
Color.fn.toString = function () {
|
40 |
+
if (this._alpha < 1) return this.toCSS('rgba', this._alpha).replace(/\s+/g, '');
|
41 |
+
|
42 |
+
var hex = parseInt(this._color, 10).toString(16);
|
43 |
+
|
44 |
+
if (this.error) return '';
|
45 |
+
|
46 |
+
if (hex.length < 6) hex = ('00000' + hex).substr(-6);
|
47 |
+
|
48 |
+
return '#' + hex;
|
49 |
+
};
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Overwrite wpColorPicker
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
*/
|
54 |
+
$.widget('wp.wpColorPicker', $.wp.wpColorPicker, {
|
55 |
+
_hasAlpha: true,
|
56 |
+
/**
|
57 |
+
* @summary Creates the color picker.
|
58 |
+
*
|
59 |
+
* Creates the color picker, sets default values, css classes and wraps it all in HTML.
|
60 |
+
*
|
61 |
+
* @since 3.5.0
|
62 |
+
*
|
63 |
+
* @access private
|
64 |
+
*
|
65 |
+
* @returns {void}
|
66 |
+
*/
|
67 |
+
_create: function _create() {
|
68 |
+
// Return early if Iris support is missing.
|
69 |
+
if (!$.support.iris) {
|
70 |
+
return;
|
71 |
+
}
|
72 |
+
|
73 |
+
var self = this,
|
74 |
+
el = self.element;
|
75 |
+
|
76 |
+
// Override default options with options bound to the element.
|
77 |
+
$.extend(self.options, el.data());
|
78 |
+
|
79 |
+
// Create a color picker which only allows adjustments to the hue.
|
80 |
+
if (self.options.type === 'hue') {
|
81 |
+
return self._createHueOnly();
|
82 |
+
}
|
83 |
+
|
84 |
+
// Bind the close event.
|
85 |
+
self.close = $.proxy(self.close, self);
|
86 |
+
|
87 |
+
self.initialValue = el.val();
|
88 |
+
|
89 |
+
// Add a CSS class to the input field.
|
90 |
+
el.addClass('wp-color-picker');
|
91 |
+
|
92 |
+
if (_deprecated) {
|
93 |
+
el.hide().wrap(_wrap);
|
94 |
+
self.wrap = el.parent();
|
95 |
+
self.toggler = $(_before).insertBefore(el).css({ backgroundColor: self.initialValue }).attr('title', wpColorPickerL10n.pick).attr('data-current', wpColorPickerL10n.current);
|
96 |
+
self.pickerContainer = $(_after).insertAfter(el);
|
97 |
+
self.button = $(_button).addClass('hidden');
|
98 |
+
} else {
|
99 |
+
/*
|
100 |
+
* Check if there's already a wrapping label, e.g. in the Customizer.
|
101 |
+
* If there's no label, add a default one to match the Customizer template.
|
102 |
+
*/
|
103 |
+
if (!el.parent('label').length) {
|
104 |
+
// Wrap the input field in the default label.
|
105 |
+
el.wrap(_wrappingLabel);
|
106 |
+
// Insert the default label text.
|
107 |
+
self.wrappingLabelText = $(_wrappingLabelText).insertBefore(el).text(wpColorPickerL10n.defaultLabel);
|
108 |
+
}
|
109 |
+
|
110 |
+
/*
|
111 |
+
* At this point, either it's the standalone version or the Customizer
|
112 |
+
* one, we have a wrapping label to use as hook in the DOM, let's store it.
|
113 |
+
*/
|
114 |
+
self.wrappingLabel = el.parent();
|
115 |
+
|
116 |
+
// Wrap the label in the main wrapper.
|
117 |
+
self.wrappingLabel.wrap(_wrap);
|
118 |
+
// Store a reference to the main wrapper.
|
119 |
+
self.wrap = self.wrappingLabel.parent();
|
120 |
+
// Set up the toggle button and insert it before the wrapping label.
|
121 |
+
self.toggler = $(_before).insertBefore(self.wrappingLabel).css({ backgroundColor: self.initialValue });
|
122 |
+
// Set the toggle button span element text.
|
123 |
+
self.toggler.find('.wp-color-result-text').text(wpColorPickerL10n.pick);
|
124 |
+
// Set up the Iris container and insert it after the wrapping label.
|
125 |
+
self.pickerContainer = $(_after).insertAfter(self.wrappingLabel);
|
126 |
+
// Store a reference to the Clear/Default button.
|
127 |
+
self.button = $(_button);
|
128 |
+
}
|
129 |
+
|
130 |
+
// Set up the Clear/Default button.
|
131 |
+
if (self.options.defaultColor) {
|
132 |
+
self.button.addClass('wp-picker-default').val(wpColorPickerL10n.defaultString);
|
133 |
+
if (!_deprecated) {
|
134 |
+
self.button.attr('aria-label', wpColorPickerL10n.defaultAriaLabel);
|
135 |
+
}
|
136 |
+
} else {
|
137 |
+
self.button.addClass('wp-picker-clear').val(wpColorPickerL10n.clear);
|
138 |
+
if (!_deprecated) {
|
139 |
+
self.button.attr('aria-label', wpColorPickerL10n.clearAriaLabel);
|
140 |
+
}
|
141 |
+
}
|
142 |
+
|
143 |
+
if (_deprecated) {
|
144 |
+
el.wrap('<span class="wp-picker-input-wrap" />').after(self.button);
|
145 |
+
} else {
|
146 |
+
// Wrap the wrapping label in its wrapper and append the Clear/Default button.
|
147 |
+
self.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(self.button);
|
148 |
+
|
149 |
+
/*
|
150 |
+
* The input wrapper now contains the label+input+Clear/Default button.
|
151 |
+
* Store a reference to the input wrapper: we'll use this to toggle
|
152 |
+
* the controls visibility.
|
153 |
+
*/
|
154 |
+
self.inputWrapper = el.closest('.wp-picker-input-wrap');
|
155 |
+
}
|
156 |
+
|
157 |
+
el.iris({
|
158 |
+
target: self.pickerContainer,
|
159 |
+
hide: self.options.hide,
|
160 |
+
width: self.options.width,
|
161 |
+
mode: self.options.mode,
|
162 |
+
palettes: self.options.palettes,
|
163 |
+
/**
|
164 |
+
* @summary Handles the onChange event if one has been defined in the options.
|
165 |
+
*
|
166 |
+
* Handles the onChange event if one has been defined in the options and additionally
|
167 |
+
* sets the background color for the toggler element.
|
168 |
+
*
|
169 |
+
* @since 3.5.0
|
170 |
+
*
|
171 |
+
* @param {Event} event The event that's being called.
|
172 |
+
* @param {HTMLElement} ui The HTMLElement containing the color picker.
|
173 |
+
*
|
174 |
+
* @returns {void}
|
175 |
+
*/
|
176 |
+
change: function change(event, ui) {
|
177 |
+
if (self.options.alpha) {
|
178 |
+
self.toggler.css({ 'background-image': 'url(' + image + ')' });
|
179 |
+
if (_deprecated) {
|
180 |
+
self.toggler.html('<span class="color-alpha" />');
|
181 |
+
} else {
|
182 |
+
self.toggler.css({
|
183 |
+
'position': 'relative'
|
184 |
+
});
|
185 |
+
if (self.toggler.find('span.color-alpha').length == 0) {
|
186 |
+
self.toggler.append('<span class="color-alpha" />');
|
187 |
+
}
|
188 |
+
}
|
189 |
+
|
190 |
+
self.toggler.find('span.color-alpha').css({
|
191 |
+
'width': '30px',
|
192 |
+
'height': '100%',
|
193 |
+
'position': 'absolute',
|
194 |
+
'top': 0,
|
195 |
+
'left': 0,
|
196 |
+
'border-top-left-radius': '2px',
|
197 |
+
'border-bottom-left-radius': '2px',
|
198 |
+
'background': ui.color.toString()
|
199 |
+
});
|
200 |
+
} else {
|
201 |
+
self.toggler.css({ backgroundColor: ui.color.toString() });
|
202 |
+
}
|
203 |
+
|
204 |
+
if ($.isFunction(self.options.change)) {
|
205 |
+
self.options.change.call(this, event, ui);
|
206 |
+
}
|
207 |
+
}
|
208 |
+
});
|
209 |
+
|
210 |
+
el.val(self.initialValue);
|
211 |
+
self._addListeners();
|
212 |
+
|
213 |
+
// Force the color picker to always be closed on initial load.
|
214 |
+
if (!self.options.hide) {
|
215 |
+
self.toggler.click();
|
216 |
+
}
|
217 |
+
},
|
218 |
+
/**
|
219 |
+
* @summary Binds event listeners to the color picker.
|
220 |
+
*
|
221 |
+
* @since 3.5.0
|
222 |
+
*
|
223 |
+
* @access private
|
224 |
+
*
|
225 |
+
* @returns {void}
|
226 |
+
*/
|
227 |
+
_addListeners: function _addListeners() {
|
228 |
+
var self = this;
|
229 |
+
|
230 |
+
/**
|
231 |
+
* @summary Prevent any clicks inside this widget from leaking to the top and closing it.
|
232 |
+
*
|
233 |
+
* @since 3.5.0
|
234 |
+
*
|
235 |
+
* @param {Event} event The event that's being called.
|
236 |
+
*
|
237 |
+
* @returs {void}
|
238 |
+
*/
|
239 |
+
self.wrap.on('click.wpcolorpicker', function (event) {
|
240 |
+
event.stopPropagation();
|
241 |
+
});
|
242 |
+
|
243 |
+
/**
|
244 |
+
* @summary Open or close the color picker depending on the class.
|
245 |
+
*
|
246 |
+
* @since 3.5
|
247 |
+
*/
|
248 |
+
self.toggler.click(function () {
|
249 |
+
if (self.toggler.hasClass('wp-picker-open')) {
|
250 |
+
self.close();
|
251 |
+
} else {
|
252 |
+
self.open();
|
253 |
+
}
|
254 |
+
});
|
255 |
+
|
256 |
+
/**
|
257 |
+
* @summary Checks if value is empty when changing the color in the color picker.
|
258 |
+
*
|
259 |
+
* Checks if value is empty when changing the color in the color picker.
|
260 |
+
* If so, the background color is cleared.
|
261 |
+
*
|
262 |
+
* @since 3.5.0
|
263 |
+
*
|
264 |
+
* @param {Event} event The event that's being called.
|
265 |
+
*
|
266 |
+
* @returns {void}
|
267 |
+
*/
|
268 |
+
self.element.on('change', function (event) {
|
269 |
+
// Empty or Error = clear
|
270 |
+
if ($(this).val() === '' || self.element.hasClass('iris-error')) {
|
271 |
+
if (self.options.alpha) {
|
272 |
+
if (_deprecated) {
|
273 |
+
self.toggler.removeAttr('style');
|
274 |
+
}
|
275 |
+
self.toggler.find('span.color-alpha').css('backgroundColor', '');
|
276 |
+
} else {
|
277 |
+
self.toggler.css('backgroundColor', '');
|
278 |
+
}
|
279 |
+
|
280 |
+
// fire clear callback if we have one
|
281 |
+
if ($.isFunction(self.options.clear)) self.options.clear.call(this, event);
|
282 |
+
}
|
283 |
+
});
|
284 |
+
|
285 |
+
/**
|
286 |
+
* @summary Enables the user to clear or revert the color in the color picker.
|
287 |
+
*
|
288 |
+
* Enables the user to either clear the color in the color picker or revert back to the default color.
|
289 |
+
*
|
290 |
+
* @since 3.5.0
|
291 |
+
*
|
292 |
+
* @param {Event} event The event that's being called.
|
293 |
+
*
|
294 |
+
* @returns {void}
|
295 |
+
*/
|
296 |
+
self.button.on('click', function (event) {
|
297 |
+
if ($(this).hasClass('wp-picker-clear')) {
|
298 |
+
self.element.val('');
|
299 |
+
if (self.options.alpha) {
|
300 |
+
if (_deprecated) {
|
301 |
+
self.toggler.removeAttr('style');
|
302 |
+
}
|
303 |
+
self.toggler.find('span.color-alpha').css('backgroundColor', '');
|
304 |
+
} else {
|
305 |
+
self.toggler.css('backgroundColor', '');
|
306 |
+
}
|
307 |
+
|
308 |
+
if ($.isFunction(self.options.clear)) self.options.clear.call(this, event);
|
309 |
+
|
310 |
+
self.element.trigger('change');
|
311 |
+
} else if ($(this).hasClass('wp-picker-default')) {
|
312 |
+
self.element.val(self.options.defaultColor).change();
|
313 |
+
}
|
314 |
+
});
|
315 |
+
}
|
316 |
+
});
|
317 |
+
|
318 |
+
/**
|
319 |
+
* Overwrite iris
|
320 |
*/
|
321 |
+
$.widget('a8c.iris', $.a8c.iris, {
|
322 |
+
_create: function _create() {
|
323 |
+
this._super();
|
324 |
+
|
325 |
+
// Global option for check is mode rbga is enabled
|
326 |
+
this.options.alpha = this.element.data('alpha') || false;
|
327 |
+
|
328 |
+
// Is not input disabled
|
329 |
+
if (!this.element.is(':input')) this.options.alpha = false;
|
330 |
+
|
331 |
+
if (typeof this.options.alpha !== 'undefined' && this.options.alpha) {
|
332 |
+
var self = this,
|
333 |
+
el = self.element,
|
334 |
+
_html = '<div class="iris-strip iris-slider iris-alpha-slider"><div class="iris-slider-offset iris-slider-offset-alpha"></div></div>',
|
335 |
+
aContainer = $(_html).appendTo(self.picker.find('.iris-picker-inner')),
|
336 |
+
aSlider = aContainer.find('.iris-slider-offset-alpha'),
|
337 |
+
controls = {
|
338 |
+
aContainer: aContainer,
|
339 |
+
aSlider: aSlider
|
340 |
+
};
|
341 |
+
|
342 |
+
if (typeof el.data('custom-width') !== 'undefined') {
|
343 |
+
self.options.customWidth = parseInt(el.data('custom-width')) || 0;
|
344 |
+
} else {
|
345 |
+
self.options.customWidth = 100;
|
346 |
+
}
|
347 |
+
|
348 |
+
// Set default width for input reset
|
349 |
+
self.options.defaultWidth = el.width();
|
350 |
+
|
351 |
+
// Update width for input
|
352 |
+
if (self._color._alpha < 1 || self._color.toString().indexOf('rgb') != -1) el.width(parseInt(self.options.defaultWidth + self.options.customWidth));
|
353 |
+
|
354 |
+
// Push new controls
|
355 |
+
$.each(controls, function (k, v) {
|
356 |
+
self.controls[k] = v;
|
357 |
+
});
|
358 |
+
|
359 |
+
// Change size strip and add margin for sliders
|
360 |
+
self.controls.square.css({ 'margin-right': '0' });
|
361 |
+
var emptyWidth = self.picker.width() - self.controls.square.width() - 20,
|
362 |
+
stripsMargin = emptyWidth / 6,
|
363 |
+
stripsWidth = emptyWidth / 2 - stripsMargin;
|
364 |
+
|
365 |
+
$.each(['aContainer', 'strip'], function (k, v) {
|
366 |
+
self.controls[v].width(stripsWidth).css({ 'margin-left': stripsMargin + 'px' });
|
367 |
+
});
|
368 |
+
|
369 |
+
// Add new slider
|
370 |
+
self._initControls();
|
371 |
+
|
372 |
+
// For updated widget
|
373 |
+
self._change();
|
374 |
+
}
|
375 |
+
},
|
376 |
+
_initControls: function _initControls() {
|
377 |
+
this._super();
|
378 |
+
|
379 |
+
if (this.options.alpha) {
|
380 |
+
var self = this,
|
381 |
+
controls = self.controls;
|
382 |
+
|
383 |
+
controls.aSlider.slider({
|
384 |
+
orientation: 'vertical',
|
385 |
+
min: 0,
|
386 |
+
max: 100,
|
387 |
+
step: 1,
|
388 |
+
value: parseInt(self._color._alpha * 100),
|
389 |
+
slide: function slide(event, ui) {
|
390 |
+
// Update alpha value
|
391 |
+
self._color._alpha = parseFloat(ui.value / 100);
|
392 |
+
self._change.apply(self, arguments);
|
393 |
+
}
|
394 |
+
});
|
395 |
+
}
|
396 |
+
},
|
397 |
+
_change: function _change() {
|
398 |
+
this._super();
|
399 |
+
|
400 |
+
var self = this,
|
401 |
+
el = self.element;
|
402 |
+
|
403 |
+
if (this.options.alpha) {
|
404 |
+
var controls = self.controls,
|
405 |
+
alpha = parseInt(self._color._alpha * 100),
|
406 |
+
color = self._color.toRgb(),
|
407 |
+
gradient = ['rgb(' + color.r + ',' + color.g + ',' + color.b + ') 0%', 'rgba(' + color.r + ',' + color.g + ',' + color.b + ', 0) 100%'],
|
408 |
+
defaultWidth = self.options.defaultWidth,
|
409 |
+
customWidth = self.options.customWidth,
|
410 |
+
target = self.picker.closest('.wp-picker-container').find('.wp-color-result');
|
411 |
+
|
412 |
+
// Generate background slider alpha, only for CSS3 old browser fuck!! :)
|
413 |
+
controls.aContainer.css({ 'background': 'linear-gradient(to bottom, ' + gradient.join(', ') + '), url(' + image + ')' });
|
414 |
+
|
415 |
+
if (target.hasClass('wp-picker-open')) {
|
416 |
+
// Update alpha value
|
417 |
+
controls.aSlider.slider('value', alpha);
|
418 |
+
|
419 |
+
/**
|
420 |
+
* Disabled change opacity in default slider Saturation ( only is alpha enabled )
|
421 |
+
* and change input width for view all value
|
422 |
+
*/
|
423 |
+
if (self._color._alpha < 1) {
|
424 |
+
controls.strip.attr('style', controls.strip.attr('style').replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g, 'rgb($1$3$5)'));
|
425 |
+
el.width(parseInt(defaultWidth + customWidth));
|
426 |
+
} else {
|
427 |
+
el.width(defaultWidth);
|
428 |
+
}
|
429 |
+
}
|
430 |
+
}
|
431 |
+
|
432 |
+
var reset = el.data('reset-alpha') || false;
|
433 |
+
|
434 |
+
if (reset) {
|
435 |
+
self.picker.find('.iris-palette-container').on('click.palette', '.iris-palette', function () {
|
436 |
+
self._color._alpha = 1;
|
437 |
+
self.active = 'external';
|
438 |
+
self._change();
|
439 |
+
});
|
440 |
+
}
|
441 |
+
el.trigger('change');
|
442 |
+
},
|
443 |
+
_addInputListeners: function _addInputListeners(input) {
|
444 |
+
var self = this,
|
445 |
+
debounceTimeout = 100,
|
446 |
+
callback = function callback(event) {
|
447 |
+
var color = new Color(input.val()),
|
448 |
+
val = input.val();
|
449 |
+
|
450 |
+
input.removeClass('iris-error');
|
451 |
+
// we gave a bad color
|
452 |
+
if (color.error) {
|
453 |
+
// don't error on an empty input
|
454 |
+
if (val !== '') input.addClass('iris-error');
|
455 |
+
} else {
|
456 |
+
if (color.toString() !== self._color.toString()) {
|
457 |
+
// let's not do this on keyup for hex shortcodes
|
458 |
+
if (!(event.type === 'keyup' && val.match(/^[0-9a-fA-F]{3}$/))) self._setOption('color', color.toString());
|
459 |
+
}
|
460 |
+
}
|
461 |
+
};
|
462 |
+
|
463 |
+
input.on('change', callback).on('keyup', self._debounce(callback, debounceTimeout));
|
464 |
+
|
465 |
+
// If we initialized hidden, show on first focus. The rest is up to you.
|
466 |
+
if (self.options.hide) {
|
467 |
+
input.on('focus', function () {
|
468 |
+
self.show();
|
469 |
+
});
|
470 |
+
}
|
471 |
+
}
|
472 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
473 |
})(jQuery);
|
assets/js/wp-color-picker-alpha.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(s){if(!s.wp.wpColorPicker.prototype._hasAlpha){var p="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==",o='<div class="wp-picker-holder" />',
|
1 |
+
!function(s){if(!s.wp.wpColorPicker.prototype._hasAlpha){var p="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==",o='<div class="wp-picker-holder" />',e='<div class="wp-picker-container" />',a='<input type="button" class="button button-small" />',i=void 0!==wpColorPickerL10n.current;if(i)var n='<a tabindex="0" class="wp-color-result" />';else{n='<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>';var l="<label></label>",c='<span class="screen-reader-text"></span>'}Color.fn.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var t=parseInt(this._color,10).toString(16);return this.error?"":(t.length<6&&(t=("00000"+t).substr(-6)),"#"+t)},s.widget("wp.wpColorPicker",s.wp.wpColorPicker,{_hasAlpha:!0,_create:function(){if(s.support.iris){var r=this,t=r.element;if(s.extend(r.options,t.data()),"hue"===r.options.type)return r._createHueOnly();r.close=s.proxy(r.close,r),r.initialValue=t.val(),t.addClass("wp-color-picker"),i?(t.hide().wrap(e),r.wrap=t.parent(),r.toggler=s(n).insertBefore(t).css({backgroundColor:r.initialValue}).attr("title",wpColorPickerL10n.pick).attr("data-current",wpColorPickerL10n.current),r.pickerContainer=s(o).insertAfter(t),r.button=s(a).addClass("hidden")):(t.parent("label").length||(t.wrap(l),r.wrappingLabelText=s(c).insertBefore(t).text(wpColorPickerL10n.defaultLabel)),r.wrappingLabel=t.parent(),r.wrappingLabel.wrap(e),r.wrap=r.wrappingLabel.parent(),r.toggler=s(n).insertBefore(r.wrappingLabel).css({backgroundColor:r.initialValue}),r.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick),r.pickerContainer=s(o).insertAfter(r.wrappingLabel),r.button=s(a)),r.options.defaultColor?(r.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString),i||r.button.attr("aria-label",wpColorPickerL10n.defaultAriaLabel)):(r.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear),i||r.button.attr("aria-label",wpColorPickerL10n.clearAriaLabel)),i?t.wrap('<span class="wp-picker-input-wrap" />').after(r.button):(r.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(r.button),r.inputWrapper=t.closest(".wp-picker-input-wrap")),t.iris({target:r.pickerContainer,hide:r.options.hide,width:r.options.width,mode:r.options.mode,palettes:r.options.palettes,change:function(t,o){r.options.alpha?(r.toggler.css({"background-image":"url("+p+")"}),i?r.toggler.html('<span class="color-alpha" />'):(r.toggler.css({position:"relative"}),0==r.toggler.find("span.color-alpha").length&&r.toggler.append('<span class="color-alpha" />')),r.toggler.find("span.color-alpha").css({width:"30px",height:"100%",position:"absolute",top:0,left:0,"border-top-left-radius":"2px","border-bottom-left-radius":"2px",background:o.color.toString()})):r.toggler.css({backgroundColor:o.color.toString()}),s.isFunction(r.options.change)&&r.options.change.call(this,t,o)}}),t.val(r.initialValue),r._addListeners(),r.options.hide||r.toggler.click()}},_addListeners:function(){var o=this;o.wrap.on("click.wpcolorpicker",function(t){t.stopPropagation()}),o.toggler.click(function(){o.toggler.hasClass("wp-picker-open")?o.close():o.open()}),o.element.on("change",function(t){""!==s(this).val()&&!o.element.hasClass("iris-error")||(o.options.alpha?(i&&o.toggler.removeAttr("style"),o.toggler.find("span.color-alpha").css("backgroundColor","")):o.toggler.css("backgroundColor",""),s.isFunction(o.options.clear)&&o.options.clear.call(this,t))}),o.button.on("click",function(t){s(this).hasClass("wp-picker-clear")?(o.element.val(""),o.options.alpha?(i&&o.toggler.removeAttr("style"),o.toggler.find("span.color-alpha").css("backgroundColor","")):o.toggler.css("backgroundColor",""),s.isFunction(o.options.clear)&&o.options.clear.call(this,t),o.element.trigger("change")):s(this).hasClass("wp-picker-default")&&o.element.val(o.options.defaultColor).change()})}}),s.widget("a8c.iris",s.a8c.iris,{_create:function(){if(this._super(),this.options.alpha=this.element.data("alpha")||!1,this.element.is(":input")||(this.options.alpha=!1),void 0!==this.options.alpha&&this.options.alpha){var r=this,t=r.element,o=s('<div class="iris-strip iris-slider iris-alpha-slider"><div class="iris-slider-offset iris-slider-offset-alpha"></div></div>').appendTo(r.picker.find(".iris-picker-inner")),e=o.find(".iris-slider-offset-alpha"),a={aContainer:o,aSlider:e};void 0!==t.data("custom-width")?r.options.customWidth=parseInt(t.data("custom-width"))||0:r.options.customWidth=100,r.options.defaultWidth=t.width(),(r._color._alpha<1||-1!=r._color.toString().indexOf("rgb"))&&t.width(parseInt(r.options.defaultWidth+r.options.customWidth)),s.each(a,function(t,o){r.controls[t]=o}),r.controls.square.css({"margin-right":"0"});var i=r.picker.width()-r.controls.square.width()-20,n=i/6,l=i/2-n;s.each(["aContainer","strip"],function(t,o){r.controls[o].width(l).css({"margin-left":n+"px"})}),r._initControls(),r._change()}},_initControls:function(){if(this._super(),this.options.alpha){var r=this;r.controls.aSlider.slider({orientation:"vertical",min:0,max:100,step:1,value:parseInt(100*r._color._alpha),slide:function(t,o){r._color._alpha=parseFloat(o.value/100),r._change.apply(r,arguments)}})}},_change:function(){this._super();var t=this,o=t.element;if(this.options.alpha){var r=t.controls,e=parseInt(100*t._color._alpha),a=t._color.toRgb(),i=["rgb("+a.r+","+a.g+","+a.b+") 0%","rgba("+a.r+","+a.g+","+a.b+", 0) 100%"],n=t.options.defaultWidth,l=t.options.customWidth,s=t.picker.closest(".wp-picker-container").find(".wp-color-result");r.aContainer.css({background:"linear-gradient(to bottom, "+i.join(", ")+"), url("+p+")"}),s.hasClass("wp-picker-open")&&(r.aSlider.slider("value",e),t._color._alpha<1?(r.strip.attr("style",r.strip.attr("style").replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g,"rgb($1$3$5)")),o.width(parseInt(n+l))):o.width(n))}!o.data("reset-alpha")&&1||t.picker.find(".iris-palette-container").on("click.palette",".iris-palette",function(){t._color._alpha=1,t.active="external",t._change()}),o.trigger("change")},_addInputListeners:function(e){function t(t){var o=new Color(e.val()),r=e.val();e.removeClass("iris-error"),o.error?""!==r&&e.addClass("iris-error"):o.toString()!==a._color.toString()&&("keyup"===t.type&&r.match(/^[0-9a-fA-F]{3}$/)||a._setOption("color",o.toString()))}var a=this;e.on("change",t).on("keyup",a._debounce(t,100)),a.options.hide&&e.on("focus",function(){a.show()})}})}}(jQuery);
|
languages/woo-variation-swatches.pot
CHANGED
@@ -16,434 +16,458 @@ msgstr ""
|
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
|
19 |
-
#: ../includes/class-wvs-customizer.php:34
|
20 |
msgid "WooCommerce Variation Swatches"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: ../includes/class-wvs-settings-api.php:91
|
24 |
msgid "WooCommerce Variation Swatches Settings"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: ../includes/class-wvs-settings-api.php:92, ../includes/class-wvs-settings-api.php:105, ../includes/functions.php:1625
|
28 |
msgid "Swatches Settings"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: ../includes/class-wvs-settings-api.php:120
|
32 |
msgid "Clear transient"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: ../includes/class-wvs-settings-api.php:141
|
36 |
msgid "Settings"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: ../includes/class-wvs-term-meta.php:227
|
40 |
msgid "Upload / Add image"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: ../includes/class-wvs-term-meta.php:228
|
44 |
msgid "Remove image"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: ../includes/deactive-feedback-dialog.php:10
|
48 |
msgid "QUICK FEEDBACK"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: ../includes/deactive-feedback-dialog.php:12
|
52 |
msgid "Close modal panel"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: ../includes/deactive-feedback-dialog.php:18
|
56 |
msgid "May we have a little info about why you are deactivating?"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: ../includes/deactive-feedback-dialog.php:44, ../includes/deactive-feedback-dialog.php:44
|
60 |
msgid "Send & Deactivate"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: ../includes/deactive-feedback-dialog.php:44
|
64 |
msgid "Deactivating..."
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: ../includes/deactive-feedback-dialog.php:48
|
68 |
msgid "Skip & Deactivate"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: ../includes/functions.php:106, ../includes/functions.php:451
|
72 |
msgid "Color"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: ../includes/functions.php:112, ../includes/functions.php:460
|
76 |
msgid "Image"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: ../includes/functions.php:118
|
80 |
msgid "Button"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: ../includes/functions.php:217
|
84 |
msgid "Tutorials"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: ../includes/functions.php:220
|
88 |
msgid "How to tutorials"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: ../includes/functions.php:221
|
92 |
msgid "How to setup and use this plugin"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: ../includes/functions.php:243
|
96 |
msgid "Simple"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: ../includes/functions.php:245, ../includes/functions.php:286, ../includes/functions.php:404
|
100 |
msgid "Visual Section"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: ../includes/functions.php:246
|
104 |
msgid "Simple change some visual styles"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: ../includes/functions.php:251
|
108 |
msgid "Enable Tooltip"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: ../includes/functions.php:252
|
112 |
msgid "Enable tooltip on each product attribute."
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: ../includes/functions.php:258
|
116 |
msgid "Enable Stylesheet"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: ../includes/functions.php:259
|
120 |
msgid "Enable default stylesheet"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: ../includes/functions.php:265
|
124 |
msgid "Shape style"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: ../includes/functions.php:266
|
128 |
msgid "Attribute Shape Style"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: ../includes/functions.php:268
|
132 |
msgid "Rounded Shape"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: ../includes/functions.php:269
|
136 |
msgid "Squared Shape"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: ../includes/functions.php:276
|
140 |
msgid "Auto Dropdowns to Button"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: ../includes/functions.php:277
|
144 |
msgid "Convert default dropdowns to button type"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: ../includes/functions.php:284
|
148 |
msgid "Advanced"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: ../includes/functions.php:287
|
152 |
msgid "Advanced change some visual styles"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: ../includes/functions.php:292
|
156 |
msgid "Clear on Reselect"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: ../includes/functions.php:293
|
160 |
msgid "Clear selected attribute on select again"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: ../includes/functions.php:299
|
164 |
msgid "Ajax variation threshold"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: ../includes/functions.php:300
|
168 |
msgid "Control the number of enable ajax variation threshold, If you set <code>1</code> all product variation will be load via ajax. Default value is <code>30</code>, <br><span style=\"color: red\">Note: Product variation loaded via ajax doesn't follow attribute behaviour. It's recommended to keep this number between 30 - 40.</span>"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: ../includes/functions.php:308
|
172 |
msgid "Attribute behavior"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: ../includes/functions.php:309
|
176 |
msgid "Disabled attribute will be hide / blur. <br><span style=\"color: red\">Note: Product variation loaded via ajax doesn't apply this feature.</span>"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: ../includes/functions.php:311
|
180 |
msgid "Blur with cross"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: ../includes/functions.php:312
|
184 |
msgid "Blur without cross"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: ../includes/functions.php:313
|
188 |
msgid "Hide"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: ../includes/functions.php:320
|
192 |
msgid "Attribute image size"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: ../includes/functions.php:321
|
196 |
msgid "<span style=\"color: red\">Attribute image size changed by <code>wvs_product_attribute_image_size</code> hook. So this option will not apply any effect.</span>"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: ../includes/functions.php:328
|
200 |
msgid "Width"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: ../includes/functions.php:329
|
204 |
msgid "Variation item width"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: ../includes/functions.php:338
|
208 |
msgid "Height"
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: ../includes/functions.php:339
|
212 |
msgid "Variation item height"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: ../includes/functions.php:348
|
216 |
msgid "Font Size"
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: ../includes/functions.php:349
|
220 |
msgid "Single product variation item font size"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: ../includes/functions.php:359
|
224 |
msgid "Performance"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: ../includes/functions.php:361
|
228 |
msgid "Performance Section"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: ../includes/functions.php:362
|
232 |
msgid "Change for Performance"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: ../includes/functions.php:367
|
236 |
msgid "Defer Load JS"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: ../includes/functions.php:368
|
240 |
msgid "Defer Load JS for PageSpeed Score"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: ../includes/functions.php:374
|
244 |
msgid "Use Transient Cache"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: ../includes/functions.php:375
|
248 |
msgid "Use Transient Cache for PageSpeed Score"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: ../includes/functions.php:383
|
252 |
msgid "Style"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: ../includes/functions.php:386
|
256 |
msgid "Visual Styling"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: ../includes/functions.php:387
|
260 |
msgid "Change some visual styles"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: ../includes/functions.php:401
|
264 |
msgid "Archive / Shop"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: ../includes/functions.php:405
|
268 |
msgid "Advanced change some visual styles on shop / archive page"
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: ../includes/functions.php:419
|
272 |
msgid "Special Attribute"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: ../includes/functions.php:422
|
276 |
msgid "Catalog mode"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: ../includes/functions.php:423
|
280 |
msgid "Show single attribute as catalog mode on shop / archive pages"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: ../includes/functions.php:452
|
284 |
msgid "Choose a color"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: ../includes/functions.php:461, ../woo-variation-swatches
|
288 |
msgid "Choose an Image"
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: ../includes/functions.php:629, ../includes/functions.php:679, ../includes/functions.php:708
|
292 |
msgid "Select terms"
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: ../includes/functions.php:639, ../includes/functions.php:691, ../includes/functions.php:724
|
296 |
msgid "Select all"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: ../includes/functions.php:640, ../includes/functions.php:692, ../includes/functions.php:725
|
300 |
msgid "Select none"
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: ../includes/functions.php:646, ../includes/functions.php:731
|
304 |
msgid "Add new %s"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: ../includes/functions.php:646, ../includes/functions.php:648, ../includes/functions.php:731, ../includes/functions.php:733
|
308 |
msgid "Add new"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: ../includes/functions.php:1025, ../includes/functions.php:1097, ../includes/functions.php:1170, ../includes/functions.php:1240, ../includes/functions.php:1308, ../includes/functions.php:1387
|
312 |
msgid "Choose an option"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: ../woo-variation-swatches
|
316 |
msgid "It's a temporary deactivation."
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: ../woo-variation-swatches
|
320 |
msgid "I couldn't understand how to make it work."
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: ../woo-variation-swatches
|
324 |
msgid "It converts variation select box to beautiful swatches. <br> <a target=\"_blank\" href=\"https://bit.ly/deactivate-dialogue\">Please check live demo</a>."
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: ../woo-variation-swatches
|
328 |
msgid "I no longer need the plugin"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: ../woo-variation-swatches
|
332 |
msgid "I found a better plugin"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: ../woo-variation-swatches
|
336 |
msgid "Please share which plugin"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: ../woo-variation-swatches
|
340 |
msgid "The plugin <strong>broke my layout</strong> or some functionality."
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: ../woo-variation-swatches
|
344 |
msgid "<a target=\"_blank\" href=\"https://getwooplugins.com/tickets/\">Please open a support ticket</a>, we will fix it immediately."
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: ../woo-variation-swatches
|
348 |
msgid "I need someone to <strong>setup this plugin.</strong>"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: ../woo-variation-swatches
|
352 |
msgid "Your email address."
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: ../woo-variation-swatches
|
356 |
msgid "Please provide your email address to contact with you <br>and help you to setup and configure this plugin."
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: ../woo-variation-swatches
|
360 |
msgid "The plugin is <strong>too complicated to configure.</strong>"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: ../woo-variation-swatches
|
364 |
msgid "<a target=\"_blank\" href=\"https://getwooplugins.com/documentation/woocommerce-variation-swatches/\">Have you checked our documentation?</a>."
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: ../woo-variation-swatches
|
368 |
msgid "I need <strong>specific feature</strong> that you don't support."
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: ../woo-variation-swatches
|
372 |
msgid "Please share with us."
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: ../woo-variation-swatches
|
376 |
msgid "Other"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: ../woo-variation-swatches
|
380 |
msgid "Please share the reason"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: ../woo-variation-swatches
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
msgid "Add Attribute"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: ../woo-variation-swatches
|
388 |
msgid "Add"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: ../woo-variation-swatches
|
392 |
msgid "Cancel"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: ../woo-variation-swatches
|
396 |
msgid "Use Image"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: ../woo-variation-swatches
|
400 |
msgid "Add Media"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: ../woo-variation-swatches
|
404 |
msgid "Read Documentation"
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: ../woo-variation-swatches
|
408 |
msgid "Facing issue?"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: ../woo-variation-swatches
|
412 |
msgid "Please open a ticket."
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: ../woo-variation-swatches
|
416 |
msgid "Go Pro"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: ../woo-variation-swatches
|
420 |
msgid "Please check PHP version requirement."
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: ../woo-variation-swatches
|
424 |
msgid "It's required to use latest version of PHP to use <strong>Variation Swatches for WooCommerce</strong>."
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: ../woo-variation-swatches
|
428 |
msgid "WooCommerce"
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: ../woo-variation-swatches
|
432 |
msgid "<strong>Variation Swatches for WooCommerce</strong> is an add-on of "
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: ../woo-variation-swatches
|
436 |
msgid "Currently, you are using older version of WooCommerce. It's recommended to use latest version of WooCommerce to work with %s."
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: ../woo-variation-swatches
|
440 |
msgid "Variation Swatches for WooCommerce"
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: ../woo-variation-swatches
|
444 |
msgid "Variation Swatches for WooCommerce Plugin try to load \"%s\" but template \"%s\" was not found."
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: ../woo-variation-swatches
|
448 |
msgid "Install Now"
|
449 |
msgstr ""
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
|
19 |
+
#: ../includes/class-wvs-customizer.php:34
|
20 |
msgid "WooCommerce Variation Swatches"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: ../includes/class-wvs-settings-api.php:91
|
24 |
msgid "WooCommerce Variation Swatches Settings"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: ../includes/class-wvs-settings-api.php:92, ../includes/class-wvs-settings-api.php:105, ../includes/functions.php:1625
|
28 |
msgid "Swatches Settings"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: ../includes/class-wvs-settings-api.php:120
|
32 |
msgid "Clear transient"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: ../includes/class-wvs-settings-api.php:141
|
36 |
msgid "Settings"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: ../includes/class-wvs-term-meta.php:227
|
40 |
msgid "Upload / Add image"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: ../includes/class-wvs-term-meta.php:228
|
44 |
msgid "Remove image"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: ../includes/deactive-feedback-dialog.php:10
|
48 |
msgid "QUICK FEEDBACK"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: ../includes/deactive-feedback-dialog.php:12
|
52 |
msgid "Close modal panel"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: ../includes/deactive-feedback-dialog.php:18
|
56 |
msgid "May we have a little info about why you are deactivating?"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: ../includes/deactive-feedback-dialog.php:44, ../includes/deactive-feedback-dialog.php:44
|
60 |
msgid "Send & Deactivate"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: ../includes/deactive-feedback-dialog.php:44
|
64 |
msgid "Deactivating..."
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: ../includes/deactive-feedback-dialog.php:48
|
68 |
msgid "Skip & Deactivate"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: ../includes/functions.php:106, ../includes/functions.php:451
|
72 |
msgid "Color"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: ../includes/functions.php:112, ../includes/functions.php:460
|
76 |
msgid "Image"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: ../includes/functions.php:118
|
80 |
msgid "Button"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: ../includes/functions.php:217
|
84 |
msgid "Tutorials"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: ../includes/functions.php:220
|
88 |
msgid "How to tutorials"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: ../includes/functions.php:221
|
92 |
msgid "How to setup and use this plugin"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: ../includes/functions.php:243
|
96 |
msgid "Simple"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: ../includes/functions.php:245, ../includes/functions.php:286, ../includes/functions.php:404
|
100 |
msgid "Visual Section"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: ../includes/functions.php:246
|
104 |
msgid "Simple change some visual styles"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: ../includes/functions.php:251
|
108 |
msgid "Enable Tooltip"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: ../includes/functions.php:252
|
112 |
msgid "Enable tooltip on each product attribute."
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: ../includes/functions.php:258
|
116 |
msgid "Enable Stylesheet"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: ../includes/functions.php:259
|
120 |
msgid "Enable default stylesheet"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: ../includes/functions.php:265
|
124 |
msgid "Shape style"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: ../includes/functions.php:266
|
128 |
msgid "Attribute Shape Style"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: ../includes/functions.php:268
|
132 |
msgid "Rounded Shape"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: ../includes/functions.php:269
|
136 |
msgid "Squared Shape"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: ../includes/functions.php:276
|
140 |
msgid "Auto Dropdowns to Button"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: ../includes/functions.php:277
|
144 |
msgid "Convert default dropdowns to button type"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: ../includes/functions.php:284
|
148 |
msgid "Advanced"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: ../includes/functions.php:287
|
152 |
msgid "Advanced change some visual styles"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: ../includes/functions.php:292
|
156 |
msgid "Clear on Reselect"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: ../includes/functions.php:293
|
160 |
msgid "Clear selected attribute on select again"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: ../includes/functions.php:299
|
164 |
msgid "Ajax variation threshold"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: ../includes/functions.php:300
|
168 |
msgid "Control the number of enable ajax variation threshold, If you set <code>1</code> all product variation will be load via ajax. Default value is <code>30</code>, <br><span style=\"color: red\">Note: Product variation loaded via ajax doesn't follow attribute behaviour. It's recommended to keep this number between 30 - 40.</span>"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: ../includes/functions.php:308
|
172 |
msgid "Attribute behavior"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: ../includes/functions.php:309
|
176 |
msgid "Disabled attribute will be hide / blur. <br><span style=\"color: red\">Note: Product variation loaded via ajax doesn't apply this feature.</span>"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: ../includes/functions.php:311
|
180 |
msgid "Blur with cross"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: ../includes/functions.php:312
|
184 |
msgid "Blur without cross"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: ../includes/functions.php:313
|
188 |
msgid "Hide"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: ../includes/functions.php:320
|
192 |
msgid "Attribute image size"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: ../includes/functions.php:321
|
196 |
msgid "<span style=\"color: red\">Attribute image size changed by <code>wvs_product_attribute_image_size</code> hook. So this option will not apply any effect.</span>"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: ../includes/functions.php:328
|
200 |
msgid "Width"
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: ../includes/functions.php:329
|
204 |
msgid "Variation item width"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: ../includes/functions.php:338
|
208 |
msgid "Height"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: ../includes/functions.php:339
|
212 |
msgid "Variation item height"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: ../includes/functions.php:348
|
216 |
msgid "Font Size"
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: ../includes/functions.php:349
|
220 |
msgid "Single product variation item font size"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: ../includes/functions.php:359
|
224 |
msgid "Performance"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: ../includes/functions.php:361
|
228 |
msgid "Performance Section"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: ../includes/functions.php:362
|
232 |
msgid "Change for Performance"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: ../includes/functions.php:367
|
236 |
msgid "Defer Load JS"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: ../includes/functions.php:368
|
240 |
msgid "Defer Load JS for PageSpeed Score"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: ../includes/functions.php:374
|
244 |
msgid "Use Transient Cache"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: ../includes/functions.php:375
|
248 |
msgid "Use Transient Cache for PageSpeed Score"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: ../includes/functions.php:383
|
252 |
msgid "Style"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: ../includes/functions.php:386
|
256 |
msgid "Visual Styling"
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: ../includes/functions.php:387
|
260 |
msgid "Change some visual styles"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: ../includes/functions.php:401
|
264 |
msgid "Archive / Shop"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: ../includes/functions.php:405
|
268 |
msgid "Advanced change some visual styles on shop / archive page"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: ../includes/functions.php:419
|
272 |
msgid "Special Attribute"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: ../includes/functions.php:422
|
276 |
msgid "Catalog mode"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: ../includes/functions.php:423
|
280 |
msgid "Show single attribute as catalog mode on shop / archive pages"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: ../includes/functions.php:452
|
284 |
msgid "Choose a color"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: ../includes/functions.php:461, ../woo-variation-swatches.php:404
|
288 |
msgid "Choose an Image"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: ../includes/functions.php:629, ../includes/functions.php:679, ../includes/functions.php:708
|
292 |
msgid "Select terms"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: ../includes/functions.php:639, ../includes/functions.php:691, ../includes/functions.php:724
|
296 |
msgid "Select all"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: ../includes/functions.php:640, ../includes/functions.php:692, ../includes/functions.php:725
|
300 |
msgid "Select none"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: ../includes/functions.php:646, ../includes/functions.php:731
|
304 |
msgid "Add new %s"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: ../includes/functions.php:646, ../includes/functions.php:648, ../includes/functions.php:731, ../includes/functions.php:733
|
308 |
msgid "Add new"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: ../includes/functions.php:1025, ../includes/functions.php:1097, ../includes/functions.php:1170, ../includes/functions.php:1240, ../includes/functions.php:1308, ../includes/functions.php:1387
|
312 |
msgid "Choose an option"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: ../woo-variation-swatches.php:140
|
316 |
msgid "It's a temporary deactivation."
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: ../woo-variation-swatches.php:145
|
320 |
msgid "I couldn't understand how to make it work."
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: ../woo-variation-swatches.php:147
|
324 |
msgid "It converts variation select box to beautiful swatches. <br> <a target=\"_blank\" href=\"https://bit.ly/deactivate-dialogue\">Please check live demo</a>."
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: ../woo-variation-swatches.php:151
|
328 |
msgid "I no longer need the plugin"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: ../woo-variation-swatches.php:156
|
332 |
msgid "I found a better plugin"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: ../woo-variation-swatches.php:157
|
336 |
msgid "Please share which plugin"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: ../woo-variation-swatches.php:161
|
340 |
msgid "The plugin <strong>broke my layout</strong> or some functionality."
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: ../woo-variation-swatches.php:163
|
344 |
msgid "<a target=\"_blank\" href=\"https://getwooplugins.com/tickets/\">Please open a support ticket</a>, we will fix it immediately."
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: ../woo-variation-swatches.php:167
|
348 |
msgid "I need someone to <strong>setup this plugin.</strong>"
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: ../woo-variation-swatches.php:168
|
352 |
msgid "Your email address."
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: ../woo-variation-swatches.php:170
|
356 |
msgid "Please provide your email address to contact with you <br>and help you to setup and configure this plugin."
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: ../woo-variation-swatches.php:174
|
360 |
msgid "The plugin is <strong>too complicated to configure.</strong>"
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: ../woo-variation-swatches.php:176
|
364 |
msgid "<a target=\"_blank\" href=\"https://getwooplugins.com/documentation/woocommerce-variation-swatches/\">Have you checked our documentation?</a>."
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: ../woo-variation-swatches.php:180
|
368 |
msgid "I need <strong>specific feature</strong> that you don't support."
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: ../woo-variation-swatches.php:181
|
372 |
msgid "Please share with us."
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: ../woo-variation-swatches.php:186
|
376 |
msgid "Other"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: ../woo-variation-swatches.php:187
|
380 |
msgid "Please share the reason"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: ../woo-variation-swatches.php:381
|
384 |
+
msgid "Clear"
|
385 |
+
msgstr ""
|
386 |
+
|
387 |
+
#: ../woo-variation-swatches.php:382
|
388 |
+
msgid "Clear color"
|
389 |
+
msgstr ""
|
390 |
+
|
391 |
+
#: ../woo-variation-swatches.php:383
|
392 |
+
msgid "Default"
|
393 |
+
msgstr ""
|
394 |
+
|
395 |
+
#: ../woo-variation-swatches.php:384
|
396 |
+
msgid "Select default color"
|
397 |
+
msgstr ""
|
398 |
+
|
399 |
+
#: ../woo-variation-swatches.php:385
|
400 |
+
msgid "Select Color"
|
401 |
+
msgstr ""
|
402 |
+
|
403 |
+
#: ../woo-variation-swatches.php:386
|
404 |
+
msgid "Color value"
|
405 |
+
msgstr ""
|
406 |
+
|
407 |
+
#: ../woo-variation-swatches.php:405
|
408 |
msgid "Add Attribute"
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: ../woo-variation-swatches.php:406
|
412 |
msgid "Add"
|
413 |
msgstr ""
|
414 |
|
415 |
+
#: ../woo-variation-swatches.php:407
|
416 |
msgid "Cancel"
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: ../woo-variation-swatches.php:408
|
420 |
msgid "Use Image"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: ../woo-variation-swatches.php:409
|
424 |
msgid "Add Media"
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: ../woo-variation-swatches.php:497, ../woo-variation-swatches.php:497
|
428 |
msgid "Read Documentation"
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: ../woo-variation-swatches.php:499
|
432 |
msgid "Facing issue?"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: ../woo-variation-swatches.php:499
|
436 |
msgid "Please open a ticket."
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: ../woo-variation-swatches.php:514
|
440 |
msgid "Go Pro"
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: ../woo-variation-swatches.php:567
|
444 |
msgid "Please check PHP version requirement."
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: ../woo-variation-swatches.php:569
|
448 |
msgid "It's required to use latest version of PHP to use <strong>Variation Swatches for WooCommerce</strong>."
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: ../woo-variation-swatches.php:581
|
452 |
msgid "WooCommerce"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: ../woo-variation-swatches.php:589
|
456 |
msgid "<strong>Variation Swatches for WooCommerce</strong> is an add-on of "
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: ../woo-variation-swatches.php:602
|
460 |
msgid "Currently, you are using older version of WooCommerce. It's recommended to use latest version of WooCommerce to work with %s."
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: ../woo-variation-swatches.php:602
|
464 |
msgid "Variation Swatches for WooCommerce"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: ../woo-variation-swatches.php:697
|
468 |
msgid "Variation Swatches for WooCommerce Plugin try to load \"%s\" but template \"%s\" was not found."
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: ../woo-variation-swatches.php:916
|
472 |
msgid "Install Now"
|
473 |
msgstr ""
|
package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"package": "Variation Swatches for WooCommerce",
|
3 |
"name": "woo-variation-swatches",
|
4 |
-
"version": "1.0.
|
5 |
"author": "Emran Ahmed <emran.bd.08@gmail.com>",
|
6 |
"contact": "emran.bd.08@gmail.com",
|
7 |
"license": "GNU General Public License v3",
|
1 |
{
|
2 |
"package": "Variation Swatches for WooCommerce",
|
3 |
"name": "woo-variation-swatches",
|
4 |
+
"version": "1.0.86",
|
5 |
"author": "Emran Ahmed <emran.bd.08@gmail.com>",
|
6 |
"contact": "emran.bd.08@gmail.com",
|
7 |
"license": "GNU General Public License v3",
|
webpack.mix.js
CHANGED
@@ -61,7 +61,7 @@ if (Mix.inProduction()) {
|
|
61 |
}
|
62 |
|
63 |
mix.banner({
|
64 |
-
banner : "Variation Swatches for WooCommerce v1.0.
|
65 |
});
|
66 |
|
67 |
mix.notification({
|
61 |
}
|
62 |
|
63 |
mix.banner({
|
64 |
+
banner : "Variation Swatches for WooCommerce v1.0.86 \n\nAuthor: Emran Ahmed ( emran.bd.08@gmail.com ) \nDate: " + new Date().toLocaleString() + "\nReleased under the GPLv3 license."
|
65 |
});
|
66 |
|
67 |
mix.notification({
|
woo-variation-swatches.php
CHANGED
@@ -4,12 +4,12 @@
|
|
4 |
* Plugin URI: https://wordpress.org/plugins/woo-variation-swatches/
|
5 |
* Description: Beautiful colors, images and buttons variation swatches for woocommerce product attributes. Requires WooCommerce 3.2+
|
6 |
* Author: Emran Ahmed
|
7 |
-
* Version: 1.0.
|
8 |
* Domain Path: /languages
|
9 |
* Requires at least: 4.8
|
10 |
-
* Tested up to: 5.
|
11 |
* WC requires at least: 3.2
|
12 |
-
* WC tested up to: 4.
|
13 |
* Text Domain: woo-variation-swatches
|
14 |
* Author URI: https://getwooplugins.com/
|
15 |
*/
|
@@ -365,7 +365,7 @@
|
|
365 |
}
|
366 |
|
367 |
public function admin_enqueue_scripts() {
|
368 |
-
|
369 |
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
370 |
|
371 |
/*wp_enqueue_script( 'jquery-ui-dialog' );
|
@@ -374,6 +374,19 @@
|
|
374 |
wp_enqueue_style( 'wp-color-picker' );
|
375 |
wp_enqueue_script( 'wp-color-picker-alpha', $this->assets_uri( "/js/wp-color-picker-alpha{$suffix}.js" ), array( 'wp-color-picker' ), '2.1.3', true );
|
376 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
377 |
wp_enqueue_script( 'form-field-dependency', $this->assets_uri( "/js/form-field-dependency{$suffix}.js" ), array( 'jquery' ), $this->version(), true );
|
378 |
wp_enqueue_script( 'woo-variation-swatches-admin', $this->assets_uri( "/js/admin{$suffix}.js" ), array( 'jquery' ), $this->version(), true );
|
379 |
|
4 |
* Plugin URI: https://wordpress.org/plugins/woo-variation-swatches/
|
5 |
* Description: Beautiful colors, images and buttons variation swatches for woocommerce product attributes. Requires WooCommerce 3.2+
|
6 |
* Author: Emran Ahmed
|
7 |
+
* Version: 1.0.86
|
8 |
* Domain Path: /languages
|
9 |
* Requires at least: 4.8
|
10 |
+
* Tested up to: 5.5
|
11 |
* WC requires at least: 3.2
|
12 |
+
* WC tested up to: 4.4
|
13 |
* Text Domain: woo-variation-swatches
|
14 |
* Author URI: https://getwooplugins.com/
|
15 |
*/
|
365 |
}
|
366 |
|
367 |
public function admin_enqueue_scripts() {
|
368 |
+
global $wp_version;
|
369 |
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
370 |
|
371 |
/*wp_enqueue_script( 'jquery-ui-dialog' );
|
374 |
wp_enqueue_style( 'wp-color-picker' );
|
375 |
wp_enqueue_script( 'wp-color-picker-alpha', $this->assets_uri( "/js/wp-color-picker-alpha{$suffix}.js" ), array( 'wp-color-picker' ), '2.1.3', true );
|
376 |
|
377 |
+
// Localize Colorpicker to avoid issues with WordPress 5.5
|
378 |
+
if ( version_compare( $wp_version, '5.5', '>=' ) ) {
|
379 |
+
// Will use wp.i18n.__ later
|
380 |
+
wp_localize_script( 'wp-color-picker-alpha', 'wpColorPickerL10n', array(
|
381 |
+
'clear' => esc_html__( 'Clear', 'woo-variation-swatches' ),
|
382 |
+
'clearAriaLabel' => esc_html__( 'Clear color', 'woo-variation-swatches' ),
|
383 |
+
'defaultString' => esc_html__( 'Default', 'woo-variation-swatches' ),
|
384 |
+
'defaultAriaLabel' => esc_html__( 'Select default color', 'woo-variation-swatches' ),
|
385 |
+
'pick' => esc_html__( 'Select Color', 'woo-variation-swatches' ),
|
386 |
+
'defaultLabel' => esc_html__( 'Color value', 'woo-variation-swatches' ),
|
387 |
+
) );
|
388 |
+
}
|
389 |
+
|
390 |
wp_enqueue_script( 'form-field-dependency', $this->assets_uri( "/js/form-field-dependency{$suffix}.js" ), array( 'jquery' ), $this->version(), true );
|
391 |
wp_enqueue_script( 'woo-variation-swatches-admin', $this->assets_uri( "/js/admin{$suffix}.js" ), array( 'jquery' ), $this->version(), true );
|
392 |
|