Version Description
- Fix: Divi builder load issue.
- Fix: Default selected tooltip Issue.
- Update: Field Dependency css.
Download this release
Release Info
Developer | EmranAhmed |
Plugin | WooCommerce Variation Swatches |
Version | 1.0.70 |
Comparing to | |
See all releases |
Code changes from version 1.0.69 to 1.0.70
- README.txt +6 -0
- assets/css/admin.css +3 -3
- assets/css/admin.min.css +3 -3
- assets/css/frontend-tooltip.css +3 -2
- assets/css/frontend-tooltip.min.css +3 -3
- assets/css/frontend.css +2 -2
- assets/css/frontend.min.css +2 -2
- assets/css/gwp-admin-notice.css +28 -8
- assets/css/gwp-admin-notice.min.css +3 -3
- 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/form-field-dependency.js +1 -1
- assets/js/form-field-dependency.min.js +1 -1
- assets/js/frontend.js +2 -2
- assets/js/gwp-admin.js +2 -2
- includes/class-wvs-settings-api.php +2 -3
- includes/class-wvs-term-meta.php +1 -1
- includes/functions.php +13 -0
- includes/hooks.php +8 -5
- languages/woo-variation-swatches.pot +101 -97
- package.json +1 -1
- webpack.mix.js +1 -1
- woo-variation-swatches.php +69 -6
README.txt
CHANGED
@@ -377,6 +377,12 @@ And your are ready to go.
|
|
377 |
|
378 |
== Changelog ==
|
379 |
|
|
|
|
|
|
|
|
|
|
|
|
|
380 |
= 1.0.69 =
|
381 |
|
382 |
* Update: Disable Defer JS Load by Default and on mobile device.
|
377 |
|
378 |
== Changelog ==
|
379 |
|
380 |
+
= 1.0.70 =
|
381 |
+
|
382 |
+
* Fix: Divi builder load issue.
|
383 |
+
* Fix: Default selected tooltip Issue.
|
384 |
+
* Update: Field Dependency css.
|
385 |
+
|
386 |
= 1.0.69 =
|
387 |
|
388 |
* Update: Disable Defer JS Load by Default and on mobile device.
|
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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.button.button-danger {
|
@@ -21,7 +21,7 @@
|
|
21 |
background: #C9302C;
|
22 |
}
|
23 |
|
24 |
-
[data-
|
25 |
display: none;
|
26 |
}
|
27 |
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:21 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.button.button-danger {
|
21 |
background: #C9302C;
|
22 |
}
|
23 |
|
24 |
+
[data-wvsdepends] {
|
25 |
display: none;
|
26 |
}
|
27 |
|
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:
|
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-
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:36 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:flex;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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.variable-items-wrapper [data-wvstooltip],
|
@@ -57,6 +57,7 @@
|
|
57 |
height: var(--tooltip-height);
|
58 |
background-size: cover;
|
59 |
border: 2px solid;
|
|
|
60 |
}
|
61 |
|
62 |
.variable-items-wrapper [data-wvstooltip]:after,
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:21 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.variable-items-wrapper [data-wvstooltip],
|
57 |
height: var(--tooltip-height);
|
58 |
background-size: cover;
|
59 |
border: 2px solid;
|
60 |
+
background-position: center center;
|
61 |
}
|
62 |
|
63 |
.variable-items-wrapper [data-wvstooltip]:after,
|
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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
-
.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);transition:all .2s 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}.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:active:after,.variable-items-wrapper .wvs-has-image-tooltip:active:before,.variable-items-wrapper .wvs-has-image-tooltip:focus:after,.variable-items-wrapper .wvs-has-image-tooltip:focus:before,.variable-items-wrapper .wvs-has-image-tooltip:hover:after,.variable-items-wrapper .wvs-has-image-tooltip:hover:before,.variable-items-wrapper [data-wvstooltip]:active:after,.variable-items-wrapper [data-wvstooltip]:active:before,.variable-items-wrapper [data-wvstooltip]:focus:after,.variable-items-wrapper [data-wvstooltip]:focus: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.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:36 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
+
.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);transition:all .2s 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:active:after,.variable-items-wrapper .wvs-has-image-tooltip:active:before,.variable-items-wrapper .wvs-has-image-tooltip:focus:after,.variable-items-wrapper .wvs-has-image-tooltip:focus:before,.variable-items-wrapper .wvs-has-image-tooltip:hover:after,.variable-items-wrapper .wvs-has-image-tooltip:hover:before,.variable-items-wrapper [data-wvstooltip]:active:after,.variable-items-wrapper [data-wvstooltip]:active:before,.variable-items-wrapper [data-wvstooltip]:focus:after,.variable-items-wrapper [data-wvstooltip]:focus: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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select,
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:21 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-stylesheet-enabled .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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select,.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select+.select2{display:none!important}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item{margin:0;padding:0;list-style:none;transition:all .2s ease;position:relative}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item img{margin:0;padding:0;width:100%;height:100%}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper{display:block}.woo-variation-swatches-stylesheet-enabled .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-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{cursor:pointer}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:auto;margin-right:5px}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{font-weight:400;font-size:14px;display:inline-block}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item){box-sizing:border-box;cursor:pointer;display:flex;justify-content: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-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):last-of-type{margin-right:0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{box-shadow:0 0 0 3px rgba(0,0,0,.1)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches-stylesheet-enabled .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-stylesheet-enabled .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-stylesheet-enabled .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-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{text-align:center}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item .variable-item-span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item .variable-item-span:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item img{border-radius:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item{border-radius:2px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.button-variable-item{width:auto}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.button-variable-item .variable-item-span{padding:0 5px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.color-variable-item span:after{border-radius:0}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-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-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-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-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover label,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled label{cursor:not-allowed;text-decoration:line-through;opacity:.5}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-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-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover{overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover label,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled label{pointer-events:none;opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-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-stylesheet-enabled.woo-variation-swatches-attribute-behavior-hide .variable-item.disabled.radio-variable-item{width:auto!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]{position:relative}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]:before{left:8px;bottom:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:8px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:50%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-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-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:100%}.woo-variation-swatches-stylesheet-enabled.rtl table.variations td.label{padding-left:15px;padding-right:0;text-align:left}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper .variable-item{text-align:right}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper .variable-item:not(.radio-variable-item){margin:4px 0 4px 8px}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{margin-right:0;margin-left:5px}.woo-variation-swatches-stylesheet-enabled.woocommerce .product.elementor table.variations td.value:before{display:none!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-ie11 .variable-items-wrapper{display:block!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item){float:left}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:36 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select,.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select+.select2{display:none!important}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item{margin:0;padding:0;list-style:none;transition:all .2s ease;position:relative}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item img{margin:0;padding:0;width:100%;height:100%}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper{display:block}.woo-variation-swatches-stylesheet-enabled .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-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{cursor:pointer}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:auto;margin-right:5px}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{font-weight:400;font-size:14px;display:inline-block}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item){box-sizing:border-box;cursor:pointer;display:flex;justify-content: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-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):last-of-type{margin-right:0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{box-shadow:0 0 0 3px rgba(0,0,0,.1)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches-stylesheet-enabled .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-stylesheet-enabled .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-stylesheet-enabled .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-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{text-align:center}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item .variable-item-span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item .variable-item-span:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item img{border-radius:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item{border-radius:2px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.button-variable-item{width:auto}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.button-variable-item .variable-item-span{padding:0 5px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.color-variable-item span:after{border-radius:0}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-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-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-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-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover label,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled label{cursor:not-allowed;text-decoration:line-through;opacity:.5}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-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-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover{overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover label,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled label{pointer-events:none;opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-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-stylesheet-enabled.woo-variation-swatches-attribute-behavior-hide .variable-item.disabled.radio-variable-item{width:auto!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]{position:relative}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]:before{left:8px;bottom:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:8px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:50%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-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-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:100%}.woo-variation-swatches-stylesheet-enabled.rtl table.variations td.label{padding-left:15px;padding-right:0;text-align:left}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper .variable-item{text-align:right}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper .variable-item:not(.radio-variable-item){margin:4px 0 4px 8px}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{margin-right:0;margin-left:5px}.woo-variation-swatches-stylesheet-enabled.woocommerce .product.elementor table.variations td.value:before{display:none!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-ie11 .variable-items-wrapper{display:block!important}.woo-variation-swatches-stylesheet-enabled.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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-live-feed-contents {
|
@@ -12,7 +12,12 @@
|
|
12 |
}
|
13 |
|
14 |
.gwp-live-feed-contents.notice-info:before {
|
15 |
-
content: "\
|
|
|
|
|
|
|
|
|
|
|
16 |
background: #41A1D3;
|
17 |
}
|
18 |
|
@@ -48,8 +53,8 @@
|
|
48 |
.gwp-live-feed-contents.notice-error,
|
49 |
.gwp-live-feed-contents.notice-warning,
|
50 |
.gwp-live-feed-contents.gwp-notice-required,
|
51 |
-
.gwp-live-feed-contents.gwp-notice-recommended
|
52 |
-
|
53 |
display: flex;
|
54 |
align-items: stretch;
|
55 |
padding: 0;
|
@@ -61,7 +66,8 @@
|
|
61 |
.gwp-live-feed-contents.notice-error:before,
|
62 |
.gwp-live-feed-contents.notice-warning:before,
|
63 |
.gwp-live-feed-contents.gwp-notice-required:before,
|
64 |
-
.gwp-live-feed-contents.gwp-notice-recommended:before
|
|
|
65 |
font-family: dashicons;
|
66 |
font-size: 20px;
|
67 |
color: #FFFFFF;
|
@@ -75,7 +81,8 @@
|
|
75 |
.gwp-live-feed-contents.notice-error .feed-message-wrapper,
|
76 |
.gwp-live-feed-contents.notice-warning .feed-message-wrapper,
|
77 |
.gwp-live-feed-contents.gwp-notice-required .feed-message-wrapper,
|
78 |
-
.gwp-live-feed-contents.gwp-notice-recommended .feed-message-wrapper
|
|
|
79 |
padding: 10px 60px 10px 20px;
|
80 |
}
|
81 |
|
@@ -275,7 +282,9 @@
|
|
275 |
text-shadow: 0 -1px 1px #238EA5;
|
276 |
}
|
277 |
|
278 |
-
.gwp-live-feed-contents .button-primary:hover
|
|
|
|
|
279 |
background: #39B1CA;
|
280 |
border-color: #3A9DB1;
|
281 |
}
|
@@ -289,4 +298,15 @@
|
|
289 |
|
290 |
.gwp-live-feed-contents .gwp-live-feed-close:before {
|
291 |
display: inline-block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
292 |
}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:21 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-live-feed-contents {
|
12 |
}
|
13 |
|
14 |
.gwp-live-feed-contents.notice-info:before {
|
15 |
+
content: "\F161";
|
16 |
+
background: #41A1D3;
|
17 |
+
}
|
18 |
+
|
19 |
+
.gwp-live-feed-contents.gwp-ad-gallery:before {
|
20 |
+
content: "\F161";
|
21 |
background: #41A1D3;
|
22 |
}
|
23 |
|
53 |
.gwp-live-feed-contents.notice-error,
|
54 |
.gwp-live-feed-contents.notice-warning,
|
55 |
.gwp-live-feed-contents.gwp-notice-required,
|
56 |
+
.gwp-live-feed-contents.gwp-notice-recommended,
|
57 |
+
.gwp-live-feed-contents.gwp-ad-gallery {
|
58 |
display: flex;
|
59 |
align-items: stretch;
|
60 |
padding: 0;
|
66 |
.gwp-live-feed-contents.notice-error:before,
|
67 |
.gwp-live-feed-contents.notice-warning:before,
|
68 |
.gwp-live-feed-contents.gwp-notice-required:before,
|
69 |
+
.gwp-live-feed-contents.gwp-notice-recommended:before,
|
70 |
+
.gwp-live-feed-contents.gwp-ad-gallery:before {
|
71 |
font-family: dashicons;
|
72 |
font-size: 20px;
|
73 |
color: #FFFFFF;
|
81 |
.gwp-live-feed-contents.notice-error .feed-message-wrapper,
|
82 |
.gwp-live-feed-contents.notice-warning .feed-message-wrapper,
|
83 |
.gwp-live-feed-contents.gwp-notice-required .feed-message-wrapper,
|
84 |
+
.gwp-live-feed-contents.gwp-notice-recommended .feed-message-wrapper,
|
85 |
+
.gwp-live-feed-contents.gwp-ad-gallery .feed-message-wrapper {
|
86 |
padding: 10px 60px 10px 20px;
|
87 |
}
|
88 |
|
282 |
text-shadow: 0 -1px 1px #238EA5;
|
283 |
}
|
284 |
|
285 |
+
.gwp-live-feed-contents .button-primary:hover,
|
286 |
+
.gwp-live-feed-contents .button-primary:active,
|
287 |
+
.gwp-live-feed-contents .button-primary:focus {
|
288 |
background: #39B1CA;
|
289 |
border-color: #3A9DB1;
|
290 |
}
|
298 |
|
299 |
.gwp-live-feed-contents .gwp-live-feed-close:before {
|
300 |
display: inline-block;
|
301 |
+
}
|
302 |
+
|
303 |
+
.gwp-live-feed-contents .gwp-live-feed-close-plain {
|
304 |
+
display: flex;
|
305 |
+
right: 0;
|
306 |
+
text-decoration: none;
|
307 |
+
padding: 15px;
|
308 |
+
}
|
309 |
+
|
310 |
+
.gwp-live-feed-contents .gwp-live-feed-close-plain:before {
|
311 |
+
display: inline-block;
|
312 |
}
|
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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
-
.gwp-live-feed-contents{position:relative;clear:both;overflow:hidden}.gwp-live-feed-contents.notice-info:before{content:"\
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:36 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:flex;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:flex;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:flex;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:flex;justify-content:space-between;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:flex;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:flex;justify-content:space-between;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: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:flex;right:0;text-decoration:none;padding:15px}.gwp-live-feed-contents .gwp-live-feed-close-plain:before{display:inline-block}
|
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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/**
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:21 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:
|
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;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:inline-flex;flex-flow:row wrap;align-content:flex-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;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.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:36 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;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:inline-flex;flex-flow:row wrap;align-content:flex-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;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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-theme-sober .product form.cart .variations .variable,
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:21 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable,.woo-variation-swatches-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable-options,.woo-variation-swatches-theme-sober .product form.cart .variations .variable-options{border:0!important}.woo-variation-swatches-theme-child-sober .product form.cart .variations .arrow,.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable-options:after,.woo-variation-swatches-theme-sober .product form.cart .variations .arrow,.woo-variation-swatches-theme-sober .product form.cart .variations .variable-options:after{display:none}.woo-variation-swatches-theme-child-sober .product form.cart .variations .label,.woo-variation-swatches-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.woo-variation-swatches-theme-child-sober .product form.cart .variations .value,.woo-variation-swatches-theme-sober .product form.cart .variations .value{flex-grow:unset}.woo-variation-swatches-theme-child-sober .product form.cart .variations select,.woo-variation-swatches-theme-sober .product form.cart .variations select{border:1px solid #e4e6eb!important;padding:.5em 1em!important;text-align:left!important;text-align-last:left!important;-webkit-appearance:menulist-button!important}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item:last-child,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label:before,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label:before{top:0;border-radius:100%}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label:after,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label:after{top:8px}.woo-variation-swatches-theme-shophistic-lite.woocommerce #main .entry-summary .variations{display:block!important}.woo-variation-swatches-theme-shophistic-lite .ql_custom_variations{display:none!important}.woo-variation-swatches-theme-shophistic-lite .radio-variable-item input[type=radio]{display:inline-block;margin:0}.woo-variation-swatches-theme-flatsome .variations .reset_variations{position:relative;bottom:0;left:0}.woo-variation-swatches-theme-stockholm .variations .reset_variations{position:relative;bottom:0;left:0;-webkit-transform:none;transform:none}.woo-variation-swatches-theme-kalium-child .image-variable-item img,.woo-variation-swatches-theme-kalium .image-variable-item img{width:100%!important}.woo-variation-swatches-theme-kalium-child .radio-variable-item input,.woo-variation-swatches-theme-kalium .radio-variable-item input{width:16px!important;height:16px!important}.woo-variation-swatches-theme-kalium-child .woo-variation-items-wrapper .select-option-ui,.woo-variation-swatches-theme-kalium .woo-variation-items-wrapper .select-option-ui{display:none}.woo-variation-swatches-theme-aurum .variable-items-wrapper .image-variable-item>img,.woo-variation-swatches-theme-child-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.woo-variation-swatches-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.woo-variation-swatches-theme-child-thegem .woo-variation-items-wrapper .combobox-wrapper,.woo-variation-swatches-theme-thegem .woo-variation-items-wrapper .combobox-wrapper{display:none}.woo-variation-swatches-theme-child-thegem .wvs-archive-variation-wrapper .variations,.woo-variation-swatches-theme-thegem .wvs-archive-variation-wrapper .variations{padding:0}.woo-variation-swatches-theme-child-ushop .variations_form,.woo-variation-swatches-theme-ushop .variations_form{overflow:visible!important}.woo-variation-swatches-theme-child-ushop .single-product-summary .product_meta,.woo-variation-swatches-theme-ushop .single-product-summary .product_meta{display:inline-table}.woo-variation-swatches-theme-child-savoy .woo-variation-items-wrapper,.woo-variation-swatches-theme-savoy .woo-variation-items-wrapper{position:relative!important}.woo-variation-swatches-theme-child-savoy .woo-variation-items-wrapper .sod_select,.woo-variation-swatches-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.woo-variation-swatches-theme-child-savoy .nm-variation-row,.woo-variation-swatches-theme-savoy .nm-variation-row{display:flex}.woo-variation-swatches-theme-child-woodstock .woo-variation-items-wrapper .variation-select,.woo-variation-swatches-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.woo-variation-swatches-theme-child-woodmart .woo-variation-items-wrapper>.swatches-select,.woo-variation-swatches-theme-woodmart .woo-variation-items-wrapper>.swatches-select{display:none}.woo-variation-swatches-theme-gecko-child .variations .value.woo-variation-items-wrapper,.woo-variation-swatches-theme-gecko .variations .value.woo-variation-items-wrapper{border:0!important}.woo-variation-swatches-theme-gecko-child .variations .value.woo-variation-items-wrapper:after,.woo-variation-swatches-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}.woo-variation-swatches-theme-child-claue .woo-variation-items-wrapper,.woo-variation-swatches-theme-claue .woo-variation-items-wrapper{border:none}.woo-variation-swatches-theme-child-claue .woo-variation-items-wrapper:after,.woo-variation-swatches-theme-claue .woo-variation-items-wrapper:after{display:none}.woo-variation-swatches-theme-child-jupiter table.variations,.woo-variation-swatches-theme-jupiter table.variations{overflow:initial}.woo-variation-swatches-theme-child-oxygen .woo-variation-items-wrapper .select-wrapper,.woo-variation-swatches-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.woo-variation-swatches-theme-child-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:18px}.woo-variation-swatches-theme-child-simple-elegant .woo-variation-items-wrapper .wi-nice-select,.woo-variation-swatches-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}.woo-variation-swatches-theme-child-twentytwenty table.variations,.woo-variation-swatches-theme-twentytwenty table.variations{overflow:auto}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:36 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable,.woo-variation-swatches-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable-options,.woo-variation-swatches-theme-sober .product form.cart .variations .variable-options{border:0!important}.woo-variation-swatches-theme-child-sober .product form.cart .variations .arrow,.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable-options:after,.woo-variation-swatches-theme-sober .product form.cart .variations .arrow,.woo-variation-swatches-theme-sober .product form.cart .variations .variable-options:after{display:none}.woo-variation-swatches-theme-child-sober .product form.cart .variations .label,.woo-variation-swatches-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.woo-variation-swatches-theme-child-sober .product form.cart .variations .value,.woo-variation-swatches-theme-sober .product form.cart .variations .value{flex-grow:unset}.woo-variation-swatches-theme-child-sober .product form.cart .variations select,.woo-variation-swatches-theme-sober .product form.cart .variations select{border:1px solid #e4e6eb!important;padding:.5em 1em!important;text-align:left!important;text-align-last:left!important;-webkit-appearance:menulist-button!important}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item:last-child,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label:before,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label:before{top:0;border-radius:100%}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label:after,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label:after{top:8px}.woo-variation-swatches-theme-shophistic-lite.woocommerce #main .entry-summary .variations{display:block!important}.woo-variation-swatches-theme-shophistic-lite .ql_custom_variations{display:none!important}.woo-variation-swatches-theme-shophistic-lite .radio-variable-item input[type=radio]{display:inline-block;margin:0}.woo-variation-swatches-theme-flatsome .variations .reset_variations{position:relative;bottom:0;left:0}.woo-variation-swatches-theme-stockholm .variations .reset_variations{position:relative;bottom:0;left:0;-webkit-transform:none;transform:none}.woo-variation-swatches-theme-kalium-child .image-variable-item img,.woo-variation-swatches-theme-kalium .image-variable-item img{width:100%!important}.woo-variation-swatches-theme-kalium-child .radio-variable-item input,.woo-variation-swatches-theme-kalium .radio-variable-item input{width:16px!important;height:16px!important}.woo-variation-swatches-theme-kalium-child .woo-variation-items-wrapper .select-option-ui,.woo-variation-swatches-theme-kalium .woo-variation-items-wrapper .select-option-ui{display:none}.woo-variation-swatches-theme-aurum .variable-items-wrapper .image-variable-item>img,.woo-variation-swatches-theme-child-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.woo-variation-swatches-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.woo-variation-swatches-theme-child-thegem .woo-variation-items-wrapper .combobox-wrapper,.woo-variation-swatches-theme-thegem .woo-variation-items-wrapper .combobox-wrapper{display:none}.woo-variation-swatches-theme-child-thegem .wvs-archive-variation-wrapper .variations,.woo-variation-swatches-theme-thegem .wvs-archive-variation-wrapper .variations{padding:0}.woo-variation-swatches-theme-child-ushop .variations_form,.woo-variation-swatches-theme-ushop .variations_form{overflow:visible!important}.woo-variation-swatches-theme-child-ushop .single-product-summary .product_meta,.woo-variation-swatches-theme-ushop .single-product-summary .product_meta{display:inline-table}.woo-variation-swatches-theme-child-savoy .woo-variation-items-wrapper,.woo-variation-swatches-theme-savoy .woo-variation-items-wrapper{position:relative!important}.woo-variation-swatches-theme-child-savoy .woo-variation-items-wrapper .sod_select,.woo-variation-swatches-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.woo-variation-swatches-theme-child-savoy .nm-variation-row,.woo-variation-swatches-theme-savoy .nm-variation-row{display:flex}.woo-variation-swatches-theme-child-woodstock .woo-variation-items-wrapper .variation-select,.woo-variation-swatches-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.woo-variation-swatches-theme-child-woodmart .woo-variation-items-wrapper>.swatches-select,.woo-variation-swatches-theme-woodmart .woo-variation-items-wrapper>.swatches-select{display:none}.woo-variation-swatches-theme-gecko-child .variations .value.woo-variation-items-wrapper,.woo-variation-swatches-theme-gecko .variations .value.woo-variation-items-wrapper{border:0!important}.woo-variation-swatches-theme-gecko-child .variations .value.woo-variation-items-wrapper:after,.woo-variation-swatches-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}.woo-variation-swatches-theme-child-claue .woo-variation-items-wrapper,.woo-variation-swatches-theme-claue .woo-variation-items-wrapper{border:none}.woo-variation-swatches-theme-child-claue .woo-variation-items-wrapper:after,.woo-variation-swatches-theme-claue .woo-variation-items-wrapper:after{display:none}.woo-variation-swatches-theme-child-jupiter table.variations,.woo-variation-swatches-theme-jupiter table.variations{overflow:initial}.woo-variation-swatches-theme-child-oxygen .woo-variation-items-wrapper .select-wrapper,.woo-variation-swatches-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.woo-variation-swatches-theme-child-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:18px}.woo-variation-swatches-theme-child-simple-elegant .woo-variation-items-wrapper .wi-nice-select,.woo-variation-swatches-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}.woo-variation-swatches-theme-child-twentytwenty table.variations,.woo-variation-swatches-theme-twentytwenty table.variations{overflow:auto}
|
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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:21 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
assets/js/form-field-dependency.js
CHANGED
@@ -17,7 +17,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
17 |
* @type {void|*}
|
18 |
*/
|
19 |
var settings = $.extend({
|
20 |
-
'attribute': '
|
21 |
'rules': {}
|
22 |
}, options);
|
23 |
|
17 |
* @type {void|*}
|
18 |
*/
|
19 |
var settings = $.extend({
|
20 |
+
'attribute': 'wvsdepends', // data-wvsdepends="[...]"
|
21 |
'rules': {}
|
22 |
}, options);
|
23 |
|
assets/js/form-field-dependency.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(h){h.fn.FormFieldDependency=function(e){var t,a=h.extend({attribute:"
|
1 |
+
var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(h){h.fn.FormFieldDependency=function(e){var t,a=h.extend({attribute:"wvsdepends",rules:{}},e),u=function(e,t,a){if(void 0===a&&(a=!1),null==e&&(e=[]),1==a)return e.sort().join(",").toLowerCase()==t.sort().join(",").toLowerCase();for(var s=0;s<e.length;s++)if(0<=t.indexOf(e[s]))return!0;return!1},p=function(e,t){return 0<=h.inArray(e,t)&&h.isArray(t)},l=function(e){if("null"==typeof e||void 0===e)return!0;if("string"==typeof e)return""==h.trim(e);if("object"==(void 0===e?"undefined":_typeof(e))){if(h.isArray(e)){var t=h.map(e,function(e,t){return""==h.trim(e)?null:e});return h.isEmptyObject(t)}return h.isEmptyObject(e)}},s=function(a,e){h.each(e,function(e,t){switch(t.type){case"empty":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;var n=h(i).prop("tagName").toLowerCase()+":"+h(i).prop("type").toLowerCase(),r=h(i).val();switch(n){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":case"select:select-one":""==h.trim(r)?h(a).show():h(a).hide();break;case"input:checkbox":h(i).is(":checked")&&""!=h.trim(r)?h(a).hide():h(a).show();break;case"select:select-multiple":l(r)?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"notempty":case"not-empty":case"notEmpty":case"!empty":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;var n=h(i).prop("tagName").toLowerCase()+":"+h(i).prop("type").toLowerCase(),r=h(i).val();switch(n){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":case"select:select-one":""!=h.trim(r)?h(a).show():h(a).hide();break;case"input:checkbox":h(i).is(":checked")&&""!=h.trim(r)?h(a).show():h(a).hide();break;case"select:select-multiple":l(r)?h(a).hide():h(a).show()}e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"equal":case"==":case"=":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;var n=h(i).prop("tagName").toLowerCase()+":"+h(i).prop("type").toLowerCase(),r=h(i).val(),o=void 0!==s.like;if(s.empty=void 0!==s.empty&&s.empty,s.strict=void 0!==s.strict&&s.strict,o){var c=h(s.like).prop("tagName").toLowerCase()+":"+h(s.like).prop("type").toLowerCase();"input:checkbox"==c||"input:radio"==c?s.value=h(s.like+":checked").map(function(){return this.value}).get():(s.value=h(s.like).val(),showOnEmptyValue||(s.value=""==h.trim(h(s.like).val())?null:h(s.like).val()))}switch(n){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":case"select:select-one":h.trim(r)==s.value?h(a).show():p(r,s.value)?h(a).show():""==h.trim(r)&&s.empty?h(a).show():h(a).hide();break;case"input:checkbox":case"input:radio":(r=h(i+":checked").map(function(){return this.value}).get())==s.value?h(a).show():p(r,s.value)?h(a).show():u(r,s.value,s.strict)?h(a).show():l(r)&&s.empty?h(a).show():h(a).hide();break;case"select:select-multiple":u(r,s.value,s.strict)?h(a).show():null==r&&s.empty?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"!equal":case"notequal":case"!=":case"not-equal":case"notEqual":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;var n=h(i).prop("tagName").toLowerCase()+":"+h(i).prop("type").toLowerCase(),r=h(i).val(),o=void 0!==s.like;if(s.strict=void 0!==s.strict&&s.strict,s.empty=void 0===s.empty||s.empty,o){var c=h(s.like).prop("tagName").toLowerCase()+":"+h(s.like).prop("type").toLowerCase();"input:checkbox"==c||"input:radio"==c?s.value=h(s.like+":checked").map(function(){return this.value}).get():(s.value=h(s.like).val(),showOnEmptyValue||(s.value=""==h.trim(h(s.like).val())?null:h(s.like).val()))}switch(n){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":case"select:select-one":r==s.value?h(a).hide():p(r,s.value)?h(a).hide():""!=h.trim(r)||s.empty?h(a).show():h(a).hide();break;case"input:checkbox":case"input:radio":r=h(i+":checked").map(function(){return this.value}).get(),void 0===s.strict&&(s.strict=!1),r==s.value?h(a).hide():p(r,s.value)?h(a).hide():u(r,s.value,s.strict)?h(a).hide():l(r)&&!s.empty?h(a).hide():h(a).show();break;case"select:select-multiple":u(r,s.value,s.strict)?h(a).hide():null!=r||s.empty?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"regexp":case"expression":case"reg":case"exp":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;var n=h(i).prop("tagName").toLowerCase()+":"+h(i).prop("type").toLowerCase(),r=h.trim(h(i).val());switch(n){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":var o=void 0===s.modifier?"":s.modifier;new RegExp(s.pattern,o).test(r)?h(a).show():h(a).hide()}e&&h(document.body).on("input",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"compare":case"comp":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;h(i).prop("tagName").toLowerCase(),h(i).prop("type").toLowerCase();var n=parseInt(h(i).val());switch(s.value=parseInt(s.value),s.sign){case"<":case"lt":case"lessthen":case"less-then":case"LessThen":n<s.value?h(a).show():h(a).hide();break;case"<=":case"lteq":case"lessthenequal":case"less-then-equal":case"LessThenEqual":case"eqlt":n<=s.value?h(a).show():h(a).hide();break;case">=":case"gteq":case"greaterthenequal":case"greater-then-equal":case"GreaterThenEqual":case"eqgt":n>=s.value?h(a).show():h(a).hide();break;case">":case"gt":case"greaterthen":case"greater-then":case"GreaterThen":n>s.value?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"length":case"lng":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;h(i).prop("tagName").toLowerCase(),h(i).prop("type").toLowerCase();var n=h(i).val().length;switch(s.value=parseInt(s.value),s.sign){case"<":case"lt":case"lessthen":case"less-then":case"LessThen":n<s.value?h(a).show():h(a).hide();break;case"<=":case"lteq":case"lessthenequal":case"less-then-equal":case"LessThenEqual":case"eqlt":n<=s.value?h(a).show():h(a).hide();break;case">=":case"gteq":case"greaterthenequal":case"greater-then-equal":case"GreaterThenEqual":case"eqgt":n>=s.value?h(a).show():h(a).hide();break;case">":case"gt":case"greaterthen":case"greater-then":case"GreaterThen":n>s.value?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"range":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;h(i).prop("tagName").toLowerCase(),h(i).prop("type").toLowerCase();var n,r,o=parseInt(h(i).val());h.isArray(s.value)&&(n=parseInt(s.value[0]),r=parseInt(s.value[1])),void 0===s.value&&(n=parseInt(s.min),r=parseInt(s.max)),n<o&&o<r?h(a).show():h(a).hide(),e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0)}})};return t=a.rules,h.each(t,function(e,t){s(h(e),t)}),this.each(function(){var e=h(this).data(a.attribute.replace("data-","").trim());e&&(h(this).addClass("has-dependent-data"),h.each(e,function(e,t){s(h(this),t)}.bind(this)))})}}(jQuery);
|
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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:21 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:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.70
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 1/1/2020, 6:08:21 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
includes/class-wvs-settings-api.php
CHANGED
@@ -343,7 +343,7 @@
|
|
343 |
|
344 |
$html = '<fieldset>';
|
345 |
$html .= implode( '<br />', array_map( function ( $key, $option ) use ( $attrs, $args, $value ) {
|
346 |
-
return sprintf( '<label><input %1$s type="radio"
|
347 |
}, array_keys( $options ), $options ) );
|
348 |
$html .= $this->get_field_description( $args );
|
349 |
$html .= '</fieldset>';
|
@@ -527,7 +527,6 @@
|
|
527 |
return implode( ' ', array_unique( apply_filters( 'get_options_tab_css_classes', $classes ) ) );
|
528 |
}
|
529 |
|
530 |
-
|
531 |
private function get_last_active_tab() {
|
532 |
|
533 |
$last_tab = trim( $this->get_option( '_last_active_tab' ) );
|
@@ -607,7 +606,7 @@
|
|
607 |
$b_array[ '#' . $k . '-field' ] = $v;
|
608 |
}
|
609 |
|
610 |
-
return 'data-
|
611 |
}
|
612 |
|
613 |
private function do_settings_fields( $page, $section ) {
|
343 |
|
344 |
$html = '<fieldset>';
|
345 |
$html .= implode( '<br />', array_map( function ( $key, $option ) use ( $attrs, $args, $value ) {
|
346 |
+
return sprintf( '<label><input %1$s type="radio" name="%4$s[%2$s]" value="%3$s" %5$s/> %6$s</label>', $attrs, $args[ 'id' ], $key, $this->settings_name, checked( $value, $key, false ), $option );
|
347 |
}, array_keys( $options ), $options ) );
|
348 |
$html .= $this->get_field_description( $args );
|
349 |
$html .= '</fieldset>';
|
527 |
return implode( ' ', array_unique( apply_filters( 'get_options_tab_css_classes', $classes ) ) );
|
528 |
}
|
529 |
|
|
|
530 |
private function get_last_active_tab() {
|
531 |
|
532 |
$last_tab = trim( $this->get_option( '_last_active_tab' ) );
|
606 |
$b_array[ '#' . $k . '-field' ] = $v;
|
607 |
}
|
608 |
|
609 |
+
return 'data-wvsdepends="[' . esc_attr( wp_json_encode( $b_array ) ) . ']"';
|
610 |
}
|
611 |
|
612 |
private function do_settings_fields( $page, $section ) {
|
includes/class-wvs-term-meta.php
CHANGED
@@ -263,7 +263,7 @@
|
|
263 |
array( '#show_tooltip' => array( 'type' => 'equal', 'value' => 'yes' ) )
|
264 |
)*/
|
265 |
|
266 |
-
$depends = empty( $field[ 'dependency' ] ) ? '' : "data-
|
267 |
|
268 |
ob_start();
|
269 |
if ( ! $term ) {
|
263 |
array( '#show_tooltip' => array( 'type' => 'equal', 'value' => 'yes' ) )
|
264 |
)*/
|
265 |
|
266 |
+
$depends = empty( $field[ 'dependency' ] ) ? '' : "data-wvsdepends='" . wp_json_encode( $field[ 'dependency' ] ) . "'";
|
267 |
|
268 |
ob_start();
|
269 |
if ( ! $term ) {
|
includes/functions.php
CHANGED
@@ -93,6 +93,7 @@
|
|
93 |
}
|
94 |
endif;
|
95 |
|
|
|
96 |
//-------------------------------------------------------------------------------
|
97 |
// Available Product Attribute Types
|
98 |
//-------------------------------------------------------------------------------
|
@@ -886,6 +887,8 @@
|
|
886 |
$attribute = $args[ 'attribute' ];
|
887 |
$assigned = $args[ 'assigned' ];
|
888 |
|
|
|
|
|
889 |
|
890 |
$data = '';
|
891 |
|
@@ -902,6 +905,11 @@
|
|
902 |
$selected_class = ( sanitize_title( $args[ 'selected' ] ) == $term->slug ) ? 'selected' : '';
|
903 |
$tooltip = trim( apply_filters( 'wvs_variable_item_tooltip', $term->name, $term, $args ) );
|
904 |
|
|
|
|
|
|
|
|
|
|
|
905 |
$tooltip_html_attr = ! empty( $tooltip ) ? sprintf( 'data-wvstooltip="%s"', esc_attr( $tooltip ) ) : '';
|
906 |
|
907 |
if ( wp_is_mobile() ) {
|
@@ -949,6 +957,9 @@
|
|
949 |
$selected_class = ( sanitize_title( $option ) == $args[ 'selected' ] ) ? 'selected' : '';
|
950 |
$tooltip = trim( apply_filters( 'wvs_variable_item_tooltip', esc_attr( $option ), $options, $args ) );
|
951 |
|
|
|
|
|
|
|
952 |
|
953 |
$tooltip_html_attr = ! empty( $tooltip ) ? sprintf( 'data-wvstooltip="%s"', esc_attr( $tooltip ) ) : '';
|
954 |
|
@@ -1439,11 +1450,13 @@
|
|
1439 |
return $html;
|
1440 |
}
|
1441 |
|
|
|
1442 |
|
1443 |
$attribute_id = wc_variation_attribute_name( $args[ 'attribute' ] );
|
1444 |
// $attribute_id = sanitize_title( $args[ 'attribute' ] );
|
1445 |
$product_id = $args[ 'product' ]->get_id();
|
1446 |
|
|
|
1447 |
$transient_type = ( isset( $args[ 'is_archive' ] ) && $args[ 'is_archive' ] ) ? "archive_" . $product_id . "_" . $attribute_id : $product_id . "_" . $attribute_id;
|
1448 |
$transient_name = 'wvs_attribute_html_' . $transient_type;
|
1449 |
|
93 |
}
|
94 |
endif;
|
95 |
|
96 |
+
|
97 |
//-------------------------------------------------------------------------------
|
98 |
// Available Product Attribute Types
|
99 |
//-------------------------------------------------------------------------------
|
887 |
$attribute = $args[ 'attribute' ];
|
888 |
$assigned = $args[ 'assigned' ];
|
889 |
|
890 |
+
$is_archive = ( isset( $args[ 'is_archive' ] ) && $args[ 'is_archive' ] );
|
891 |
+
$show_archive_tooltip = (bool) woo_variation_swatches()->get_option( 'show_tooltip_on_archive' );
|
892 |
|
893 |
$data = '';
|
894 |
|
905 |
$selected_class = ( sanitize_title( $args[ 'selected' ] ) == $term->slug ) ? 'selected' : '';
|
906 |
$tooltip = trim( apply_filters( 'wvs_variable_item_tooltip', $term->name, $term, $args ) );
|
907 |
|
908 |
+
|
909 |
+
if ( $is_archive && ! $show_archive_tooltip ) {
|
910 |
+
$tooltip = false;
|
911 |
+
}
|
912 |
+
|
913 |
$tooltip_html_attr = ! empty( $tooltip ) ? sprintf( 'data-wvstooltip="%s"', esc_attr( $tooltip ) ) : '';
|
914 |
|
915 |
if ( wp_is_mobile() ) {
|
957 |
$selected_class = ( sanitize_title( $option ) == $args[ 'selected' ] ) ? 'selected' : '';
|
958 |
$tooltip = trim( apply_filters( 'wvs_variable_item_tooltip', esc_attr( $option ), $options, $args ) );
|
959 |
|
960 |
+
if ( $is_archive && ! $show_archive_tooltip ) {
|
961 |
+
$tooltip = false;
|
962 |
+
}
|
963 |
|
964 |
$tooltip_html_attr = ! empty( $tooltip ) ? sprintf( 'data-wvstooltip="%s"', esc_attr( $tooltip ) ) : '';
|
965 |
|
1450 |
return $html;
|
1451 |
}
|
1452 |
|
1453 |
+
|
1454 |
|
1455 |
$attribute_id = wc_variation_attribute_name( $args[ 'attribute' ] );
|
1456 |
// $attribute_id = sanitize_title( $args[ 'attribute' ] );
|
1457 |
$product_id = $args[ 'product' ]->get_id();
|
1458 |
|
1459 |
+
|
1460 |
$transient_type = ( isset( $args[ 'is_archive' ] ) && $args[ 'is_archive' ] ) ? "archive_" . $product_id . "_" . $attribute_id : $product_id . "_" . $attribute_id;
|
1461 |
$transient_name = 'wvs_attribute_html_' . $transient_type;
|
1462 |
|
includes/hooks.php
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
|
3 |
defined( 'ABSPATH' ) or die( 'Keep Quit' );
|
4 |
|
|
|
5 |
add_action( 'wp_ajax_nopriv_wvs_get_available_variations', 'wvs_get_available_product_variations' );
|
6 |
|
7 |
add_action( 'wp_ajax_wvs_get_available_variations', 'wvs_get_available_product_variations' );
|
@@ -28,12 +29,14 @@
|
|
28 |
|
29 |
// Add WooCommerce Default Image
|
30 |
add_filter( 'wp_get_attachment_image_attributes', function ( $attr ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
-
$classes = (array) explode( ' ', $attr[ 'class' ] );
|
33 |
-
|
34 |
-
array_push( $classes, 'wp-post-image' );
|
35 |
-
|
36 |
-
$attr[ 'class' ] = implode( ' ', array_unique( $classes ) );
|
37 |
|
38 |
return $attr;
|
39 |
}, 9 );
|
2 |
|
3 |
defined( 'ABSPATH' ) or die( 'Keep Quit' );
|
4 |
|
5 |
+
|
6 |
add_action( 'wp_ajax_nopriv_wvs_get_available_variations', 'wvs_get_available_product_variations' );
|
7 |
|
8 |
add_action( 'wp_ajax_wvs_get_available_variations', 'wvs_get_available_product_variations' );
|
29 |
|
30 |
// Add WooCommerce Default Image
|
31 |
add_filter( 'wp_get_attachment_image_attributes', function ( $attr ) {
|
32 |
+
if ( ! is_admin() ) {
|
33 |
+
$classes = (array) explode( ' ', $attr[ 'class' ] );
|
34 |
+
|
35 |
+
array_push( $classes, 'wp-post-image' );
|
36 |
+
|
37 |
+
$attr[ 'class' ] = implode( ' ', array_unique( $classes ) );
|
38 |
+
}
|
39 |
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
return $attr;
|
42 |
}, 9 );
|
languages/woo-variation-swatches.pot
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the Variation Swatches for WooCommerce package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
@@ -24,7 +24,7 @@ msgstr ""
|
|
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:
|
28 |
msgid "Swatches Settings"
|
29 |
msgstr ""
|
30 |
|
@@ -68,381 +68,385 @@ msgstr ""
|
|
68 |
msgid "Skip & Deactivate"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: ../includes/functions.php:
|
72 |
msgid "Color"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: ../includes/functions.php:
|
76 |
msgid "Image"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: ../includes/functions.php:
|
80 |
msgid "Button"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: ../includes/functions.php:
|
84 |
msgid "Tutorials"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: ../includes/functions.php:
|
88 |
msgid "How to tutorials"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: ../includes/functions.php:
|
92 |
msgid "How to setup and use this plugin"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: ../includes/functions.php:
|
96 |
msgid "Simple"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: ../includes/functions.php:
|
100 |
msgid "Visual Section"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: ../includes/functions.php:
|
104 |
msgid "Simple change some visual styles"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: ../includes/functions.php:
|
108 |
msgid "Enable Tooltip"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: ../includes/functions.php:
|
112 |
msgid "Enable / Disable plugin default tooltip on each product attribute."
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: ../includes/functions.php:
|
116 |
msgid "Enable Stylesheet"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: ../includes/functions.php:
|
120 |
msgid "Enable / Disable plugin default stylesheet"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: ../includes/functions.php:
|
124 |
msgid "Shape style"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: ../includes/functions.php:
|
128 |
msgid "Attribute Shape Style"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: ../includes/functions.php:
|
132 |
msgid "Rounded Shape"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: ../includes/functions.php:
|
136 |
msgid "Squared Shape"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: ../includes/functions.php:
|
140 |
msgid "Auto Dropdowns to Button"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: ../includes/functions.php:
|
144 |
msgid "Convert default dropdowns to button type"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: ../includes/functions.php:
|
148 |
msgid "Advanced"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: ../includes/functions.php:
|
152 |
msgid "Advanced change some visual styles"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: ../includes/functions.php:
|
156 |
msgid "Clear on Reselect"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: ../includes/functions.php:
|
160 |
msgid "Clear selected attribute on select again"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: ../includes/functions.php:
|
164 |
msgid "Ajax variation threshold"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: ../includes/functions.php:
|
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:
|
172 |
msgid "Attribute behavior"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: ../includes/functions.php:
|
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:
|
180 |
msgid "Blur with cross"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: ../includes/functions.php:
|
184 |
msgid "Blur without cross"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: ../includes/functions.php:
|
188 |
msgid "Hide"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: ../includes/functions.php:
|
192 |
msgid "Attribute image size"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: ../includes/functions.php:
|
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:
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: ../includes/functions.php:
|
203 |
msgid "Width"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: ../includes/functions.php:
|
207 |
msgid "Variation item width"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: ../includes/functions.php:
|
211 |
msgid "Height"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: ../includes/functions.php:
|
215 |
msgid "Variation item height"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: ../includes/functions.php:
|
219 |
msgid "Font Size"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: ../includes/functions.php:
|
223 |
msgid "Single product variation item font size"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: ../includes/functions.php:
|
227 |
msgid "Performance"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: ../includes/functions.php:
|
231 |
msgid "Performance Section"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: ../includes/functions.php:
|
235 |
msgid "Change for Performance"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: ../includes/functions.php:
|
239 |
msgid "Defer Load JS"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: ../includes/functions.php:
|
243 |
msgid "Defer Load JS for PageSpeed Score"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: ../includes/functions.php:
|
247 |
msgid "Use Transient Cache"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: ../includes/functions.php:
|
251 |
msgid "Use Transient Cache for PageSpeed Score"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: ../includes/functions.php:
|
255 |
msgid "Style"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: ../includes/functions.php:
|
259 |
msgid "Visual Styling"
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: ../includes/functions.php:
|
263 |
msgid "Change some visual styles"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: ../includes/functions.php:
|
267 |
msgid "Archive / Shop"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: ../includes/functions.php:
|
271 |
msgid "Advanced change some visual styles on shop / archive page"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: ../includes/functions.php:
|
275 |
msgid "Special Attribute"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: ../includes/functions.php:
|
279 |
msgid "Catalog mode"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: ../includes/functions.php:
|
283 |
msgid "Show single attribute as catalog mode on shop / archive pages"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: ../includes/functions.php:
|
287 |
msgid "Choose a color"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: ../includes/functions.php:
|
291 |
msgid "Choose an Image"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: ../includes/functions.php:
|
295 |
msgid "Select terms"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: ../includes/functions.php:
|
299 |
msgid "Select all"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: ../includes/functions.php:
|
303 |
msgid "Select none"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: ../includes/functions.php:
|
307 |
msgid "Add new %s"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: ../includes/functions.php:
|
311 |
msgid "Add new"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: ../includes/functions.php:
|
315 |
msgid "Choose an option"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: ../woo-variation-swatches.php:
|
319 |
msgid "It's a temporary deactivation."
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: ../woo-variation-swatches.php:
|
323 |
msgid "I couldn't understand how to make it work."
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: ../woo-variation-swatches.php:
|
327 |
msgid "It converts variation select box to beautiful swatches. <br> <a target=\"_blank\" href=\"https://bit.ly/deactivate-dialogue\">Please check live demo</a>."
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: ../woo-variation-swatches.php:
|
331 |
msgid "I no longer need the plugin"
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: ../woo-variation-swatches.php:
|
335 |
msgid "I found a better plugin"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: ../woo-variation-swatches.php:
|
339 |
msgid "Please share which plugin"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: ../woo-variation-swatches.php:
|
343 |
msgid "The plugin <strong>broke my layout</strong> or some functionality."
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: ../woo-variation-swatches.php:
|
347 |
msgid "<a target=\"_blank\" href=\"https://getwooplugins.com/tickets/\">Please open a support ticket</a>, we will fix it immediately."
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: ../woo-variation-swatches.php:
|
351 |
msgid "I need someone to <strong>setup this plugin.</strong>"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: ../woo-variation-swatches.php:
|
355 |
msgid "Your email address."
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: ../woo-variation-swatches.php:
|
359 |
msgid "Please provide your email address to contact with you <br>and help you to setup and configure this plugin."
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: ../woo-variation-swatches.php:
|
363 |
msgid "The plugin is <strong>too complicated to configure.</strong>"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: ../woo-variation-swatches.php:
|
367 |
msgid "<a target=\"_blank\" href=\"https://getwooplugins.com/documentation/woocommerce-variation-swatches/\">Have you checked our documentation?</a>."
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: ../woo-variation-swatches.php:
|
371 |
msgid "I need <strong>specific feature</strong> that you don't support."
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: ../woo-variation-swatches.php:
|
375 |
msgid "Please share with us."
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: ../woo-variation-swatches.php:
|
379 |
msgid "Other"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: ../woo-variation-swatches.php:
|
383 |
msgid "Please share the reason"
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: ../woo-variation-swatches.php:
|
387 |
msgid "Add Attribute"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: ../woo-variation-swatches.php:
|
391 |
msgid "Add"
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: ../woo-variation-swatches.php:
|
395 |
msgid "Cancel"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: ../woo-variation-swatches.php:
|
399 |
msgid "Use Image"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: ../woo-variation-swatches.php:
|
403 |
msgid "Add Media"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: ../woo-variation-swatches.php:
|
407 |
msgid "Read Documentation"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: ../woo-variation-swatches.php:
|
411 |
msgid "Facing issue?"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: ../woo-variation-swatches.php:
|
415 |
msgid "Please open a ticket."
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: ../woo-variation-swatches.php:
|
419 |
msgid "Go Pro"
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: ../woo-variation-swatches.php:
|
423 |
msgid "Please check PHP version requirement."
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: ../woo-variation-swatches.php:
|
427 |
msgid "It's required to use latest version of PHP to use <strong>Variation Swatches for WooCommerce</strong>."
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: ../woo-variation-swatches.php:
|
431 |
msgid "WooCommerce"
|
432 |
msgstr ""
|
433 |
|
434 |
-
#: ../woo-variation-swatches.php:
|
435 |
msgid "<strong>Variation Swatches for WooCommerce</strong> is an add-on of "
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: ../woo-variation-swatches.php:
|
439 |
msgid "Currently, you are using older version of WooCommerce. It's recommended to use latest version of WooCommerce to work with %s."
|
440 |
msgstr ""
|
441 |
|
442 |
-
#: ../woo-variation-swatches.php:
|
443 |
msgid "Variation Swatches for WooCommerce"
|
444 |
msgstr ""
|
445 |
|
446 |
-
#: ../woo-variation-swatches.php:
|
447 |
msgid "Variation Swatches for WooCommerce Plugin try to load \"%s\" but template \"%s\" was not found."
|
448 |
msgstr ""
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2020 Variation Swatches for WooCommerce
|
2 |
# This file is distributed under the same license as the Variation Swatches for WooCommerce package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
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:1618
|
28 |
msgid "Swatches Settings"
|
29 |
msgstr ""
|
30 |
|
68 |
msgid "Skip & Deactivate"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: ../includes/functions.php:106, ../includes/functions.php:449
|
72 |
msgid "Color"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: ../includes/functions.php:112, ../includes/functions.php:458
|
76 |
msgid "Image"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: ../includes/functions.php:118
|
80 |
msgid "Button"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: ../includes/functions.php:215
|
84 |
msgid "Tutorials"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: ../includes/functions.php:218
|
88 |
msgid "How to tutorials"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: ../includes/functions.php:219
|
92 |
msgid "How to setup and use this plugin"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: ../includes/functions.php:241
|
96 |
msgid "Simple"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: ../includes/functions.php:243, ../includes/functions.php:284, ../includes/functions.php:402
|
100 |
msgid "Visual Section"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: ../includes/functions.php:244
|
104 |
msgid "Simple change some visual styles"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: ../includes/functions.php:249
|
108 |
msgid "Enable Tooltip"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: ../includes/functions.php:250
|
112 |
msgid "Enable / Disable plugin default tooltip on each product attribute."
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: ../includes/functions.php:256
|
116 |
msgid "Enable Stylesheet"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: ../includes/functions.php:257
|
120 |
msgid "Enable / Disable plugin default stylesheet"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: ../includes/functions.php:263
|
124 |
msgid "Shape style"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: ../includes/functions.php:264
|
128 |
msgid "Attribute Shape Style"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: ../includes/functions.php:266
|
132 |
msgid "Rounded Shape"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: ../includes/functions.php:267
|
136 |
msgid "Squared Shape"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: ../includes/functions.php:274
|
140 |
msgid "Auto Dropdowns to Button"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: ../includes/functions.php:275
|
144 |
msgid "Convert default dropdowns to button type"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: ../includes/functions.php:282
|
148 |
msgid "Advanced"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: ../includes/functions.php:285
|
152 |
msgid "Advanced change some visual styles"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: ../includes/functions.php:290
|
156 |
msgid "Clear on Reselect"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: ../includes/functions.php:291
|
160 |
msgid "Clear selected attribute on select again"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: ../includes/functions.php:297
|
164 |
msgid "Ajax variation threshold"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: ../includes/functions.php:298
|
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:306
|
172 |
msgid "Attribute behavior"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: ../includes/functions.php:307
|
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:309
|
180 |
msgid "Blur with cross"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: ../includes/functions.php:310
|
184 |
msgid "Blur without cross"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: ../includes/functions.php:311
|
188 |
msgid "Hide"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: ../includes/functions.php:318
|
192 |
msgid "Attribute image size"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: ../includes/functions.php:319
|
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:319
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: ../includes/functions.php:326
|
203 |
msgid "Width"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: ../includes/functions.php:327
|
207 |
msgid "Variation item width"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: ../includes/functions.php:336
|
211 |
msgid "Height"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: ../includes/functions.php:337
|
215 |
msgid "Variation item height"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: ../includes/functions.php:346
|
219 |
msgid "Font Size"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: ../includes/functions.php:347
|
223 |
msgid "Single product variation item font size"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: ../includes/functions.php:357
|
227 |
msgid "Performance"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: ../includes/functions.php:359
|
231 |
msgid "Performance Section"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: ../includes/functions.php:360
|
235 |
msgid "Change for Performance"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: ../includes/functions.php:365
|
239 |
msgid "Defer Load JS"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: ../includes/functions.php:366
|
243 |
msgid "Defer Load JS for PageSpeed Score"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: ../includes/functions.php:372
|
247 |
msgid "Use Transient Cache"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: ../includes/functions.php:373
|
251 |
msgid "Use Transient Cache for PageSpeed Score"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: ../includes/functions.php:381
|
255 |
msgid "Style"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: ../includes/functions.php:384
|
259 |
msgid "Visual Styling"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: ../includes/functions.php:385
|
263 |
msgid "Change some visual styles"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: ../includes/functions.php:399
|
267 |
msgid "Archive / Shop"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: ../includes/functions.php:403
|
271 |
msgid "Advanced change some visual styles on shop / archive page"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: ../includes/functions.php:417
|
275 |
msgid "Special Attribute"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: ../includes/functions.php:420
|
279 |
msgid "Catalog mode"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: ../includes/functions.php:421
|
283 |
msgid "Show single attribute as catalog mode on shop / archive pages"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: ../includes/functions.php:450
|
287 |
msgid "Choose a color"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: ../includes/functions.php:459, ../woo-variation-swatches.php:386
|
291 |
msgid "Choose an Image"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: ../includes/functions.php:627, ../includes/functions.php:677, ../includes/functions.php:706
|
295 |
msgid "Select terms"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: ../includes/functions.php:637, ../includes/functions.php:689, ../includes/functions.php:722
|
299 |
msgid "Select all"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: ../includes/functions.php:638, ../includes/functions.php:690, ../includes/functions.php:723
|
303 |
msgid "Select none"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: ../includes/functions.php:644, ../includes/functions.php:729
|
307 |
msgid "Add new %s"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: ../includes/functions.php:644, ../includes/functions.php:646, ../includes/functions.php:729, ../includes/functions.php:731
|
311 |
msgid "Add new"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: ../includes/functions.php:1025, ../includes/functions.php:1097, ../includes/functions.php:1170, ../includes/functions.php:1240, ../includes/functions.php:1308, ../includes/functions.php:1387
|
315 |
msgid "Choose an option"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: ../woo-variation-swatches.php:140
|
319 |
msgid "It's a temporary deactivation."
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: ../woo-variation-swatches.php:145
|
323 |
msgid "I couldn't understand how to make it work."
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: ../woo-variation-swatches.php:147
|
327 |
msgid "It converts variation select box to beautiful swatches. <br> <a target=\"_blank\" href=\"https://bit.ly/deactivate-dialogue\">Please check live demo</a>."
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: ../woo-variation-swatches.php:151
|
331 |
msgid "I no longer need the plugin"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: ../woo-variation-swatches.php:156
|
335 |
msgid "I found a better plugin"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: ../woo-variation-swatches.php:157
|
339 |
msgid "Please share which plugin"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: ../woo-variation-swatches.php:161
|
343 |
msgid "The plugin <strong>broke my layout</strong> or some functionality."
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: ../woo-variation-swatches.php:163
|
347 |
msgid "<a target=\"_blank\" href=\"https://getwooplugins.com/tickets/\">Please open a support ticket</a>, we will fix it immediately."
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: ../woo-variation-swatches.php:167
|
351 |
msgid "I need someone to <strong>setup this plugin.</strong>"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: ../woo-variation-swatches.php:168
|
355 |
msgid "Your email address."
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: ../woo-variation-swatches.php:170
|
359 |
msgid "Please provide your email address to contact with you <br>and help you to setup and configure this plugin."
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: ../woo-variation-swatches.php:174
|
363 |
msgid "The plugin is <strong>too complicated to configure.</strong>"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: ../woo-variation-swatches.php:176
|
367 |
msgid "<a target=\"_blank\" href=\"https://getwooplugins.com/documentation/woocommerce-variation-swatches/\">Have you checked our documentation?</a>."
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: ../woo-variation-swatches.php:180
|
371 |
msgid "I need <strong>specific feature</strong> that you don't support."
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: ../woo-variation-swatches.php:181
|
375 |
msgid "Please share with us."
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: ../woo-variation-swatches.php:186
|
379 |
msgid "Other"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: ../woo-variation-swatches.php:187
|
383 |
msgid "Please share the reason"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: ../woo-variation-swatches.php:387
|
387 |
msgid "Add Attribute"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: ../woo-variation-swatches.php:388
|
391 |
msgid "Add"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: ../woo-variation-swatches.php:389
|
395 |
msgid "Cancel"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: ../woo-variation-swatches.php:390
|
399 |
msgid "Use Image"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: ../woo-variation-swatches.php:391
|
403 |
msgid "Add Media"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: ../woo-variation-swatches.php:477, ../woo-variation-swatches.php:477
|
407 |
msgid "Read Documentation"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: ../woo-variation-swatches.php:479
|
411 |
msgid "Facing issue?"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: ../woo-variation-swatches.php:479
|
415 |
msgid "Please open a ticket."
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: ../woo-variation-swatches.php:494
|
419 |
msgid "Go Pro"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: ../woo-variation-swatches.php:547
|
423 |
msgid "Please check PHP version requirement."
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: ../woo-variation-swatches.php:549
|
427 |
msgid "It's required to use latest version of PHP to use <strong>Variation Swatches for WooCommerce</strong>."
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: ../woo-variation-swatches.php:561
|
431 |
msgid "WooCommerce"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: ../woo-variation-swatches.php:569
|
435 |
msgid "<strong>Variation Swatches for WooCommerce</strong> is an add-on of "
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: ../woo-variation-swatches.php:582
|
439 |
msgid "Currently, you are using older version of WooCommerce. It's recommended to use latest version of WooCommerce to work with %s."
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: ../woo-variation-swatches.php:582
|
443 |
msgid "Variation Swatches for WooCommerce"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: ../woo-variation-swatches.php:677
|
447 |
msgid "Variation Swatches for WooCommerce Plugin try to load \"%s\" but template \"%s\" was not found."
|
448 |
msgstr ""
|
449 |
+
|
450 |
+
#: ../woo-variation-swatches.php:891
|
451 |
+
msgid "Install Now"
|
452 |
+
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.70",
|
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.70 \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,7 +4,7 @@
|
|
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.3
|
@@ -20,7 +20,7 @@
|
|
20 |
|
21 |
final class Woo_Variation_Swatches {
|
22 |
|
23 |
-
protected $_version = '1.0.
|
24 |
|
25 |
protected static $_instance = null;
|
26 |
private $_settings_api;
|
@@ -34,6 +34,7 @@
|
|
34 |
}
|
35 |
|
36 |
public function __construct() {
|
|
|
37 |
$this->constants();
|
38 |
$this->language();
|
39 |
$this->includes();
|
@@ -94,7 +95,8 @@
|
|
94 |
add_action( 'admin_footer', array( $this, 'deactivate_feedback_dialog' ) );
|
95 |
|
96 |
add_action( 'admin_init', array( $this, 'after_plugin_active' ) );
|
97 |
-
add_action( 'admin_notices', array( $this, 'feed' ) );
|
|
|
98 |
// add_action( 'init', array( $this, 'settings_api' ), 5 );
|
99 |
add_action( 'init', array( $this, 'settings_api' ), 5 );
|
100 |
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
@@ -189,7 +191,7 @@
|
|
189 |
|
190 |
public function deactivate_feedback_dialog() {
|
191 |
|
192 |
-
if ( in_array( get_current_screen()->id, array( 'plugins', 'plugins-network' ), true ) ) {
|
193 |
|
194 |
$deactivate_reasons = $this->deactivate_feedback_reasons();
|
195 |
$slug = 'woo-variation-swatches';
|
@@ -358,10 +360,11 @@
|
|
358 |
}
|
359 |
|
360 |
public function admin_enqueue_scripts() {
|
|
|
361 |
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
362 |
|
363 |
-
wp_enqueue_script( 'jquery-ui-dialog' );
|
364 |
-
wp_enqueue_style( 'wp-jquery-ui-dialog' )
|
365 |
|
366 |
wp_enqueue_style( 'wp-color-picker' );
|
367 |
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 );
|
@@ -722,6 +725,13 @@
|
|
722 |
}
|
723 |
|
724 |
public function after_plugin_active() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
725 |
if ( get_option( 'activate-woo-variation-swatches' ) === 'yes' ) {
|
726 |
delete_option( 'activate-woo-variation-swatches' );
|
727 |
wp_safe_redirect( add_query_arg( array(
|
@@ -855,6 +865,59 @@
|
|
855 |
}
|
856 |
}
|
857 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
858 |
public function feed_css_uri() {
|
859 |
|
860 |
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
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.70
|
8 |
* Domain Path: /languages
|
9 |
* Requires at least: 4.8
|
10 |
* Tested up to: 5.3
|
20 |
|
21 |
final class Woo_Variation_Swatches {
|
22 |
|
23 |
+
protected $_version = '1.0.70';
|
24 |
|
25 |
protected static $_instance = null;
|
26 |
private $_settings_api;
|
34 |
}
|
35 |
|
36 |
public function __construct() {
|
37 |
+
|
38 |
$this->constants();
|
39 |
$this->language();
|
40 |
$this->includes();
|
95 |
add_action( 'admin_footer', array( $this, 'deactivate_feedback_dialog' ) );
|
96 |
|
97 |
add_action( 'admin_init', array( $this, 'after_plugin_active' ) );
|
98 |
+
// add_action( 'admin_notices', array( $this, 'feed' ) );
|
99 |
+
add_action( 'admin_notices', array( $this, 'internal_feed' ), 30 );
|
100 |
// add_action( 'init', array( $this, 'settings_api' ), 5 );
|
101 |
add_action( 'init', array( $this, 'settings_api' ), 5 );
|
102 |
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
191 |
|
192 |
public function deactivate_feedback_dialog() {
|
193 |
|
194 |
+
if ( get_current_screen() && in_array( get_current_screen()->id, array( 'plugins', 'plugins-network' ), true ) ) {
|
195 |
|
196 |
$deactivate_reasons = $this->deactivate_feedback_reasons();
|
197 |
$slug = 'woo-variation-swatches';
|
360 |
}
|
361 |
|
362 |
public function admin_enqueue_scripts() {
|
363 |
+
|
364 |
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
365 |
|
366 |
+
/*wp_enqueue_script( 'jquery-ui-dialog' );
|
367 |
+
wp_enqueue_style( 'wp-jquery-ui-dialog' );*/
|
368 |
|
369 |
wp_enqueue_style( 'wp-color-picker' );
|
370 |
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 );
|
725 |
}
|
726 |
|
727 |
public function after_plugin_active() {
|
728 |
+
|
729 |
+
|
730 |
+
if ( isset( $_GET[ 'gwp-hide-notice' ] ) && isset( $_GET[ '_gwp_nonce' ] ) && $_GET[ 'gwp-hide-notice' ] === 'gallery-plugin' && wp_verify_nonce( $_GET[ '_gwp_nonce' ], 'gallery-plugin' ) ) {
|
731 |
+
set_transient( 'gwp_gallery_plugin_notice', 'yes', 2 * MONTH_IN_SECONDS );
|
732 |
+
}
|
733 |
+
|
734 |
+
|
735 |
if ( get_option( 'activate-woo-variation-swatches' ) === 'yes' ) {
|
736 |
delete_option( 'activate-woo-variation-swatches' );
|
737 |
wp_safe_redirect( add_query_arg( array(
|
865 |
}
|
866 |
}
|
867 |
|
868 |
+
public function internal_feed() {
|
869 |
+
|
870 |
+
$visible_pages = array( 'dashboard', 'edit-product', 'product', 'plugin-install', 'plugins', 'toplevel_page_woo-variation-swatches-settings', 'themes' );
|
871 |
+
$screen = get_current_screen();
|
872 |
+
|
873 |
+
if ( current_user_can( 'install_plugins' ) && $screen && in_array( $screen->id, $visible_pages ) ) {
|
874 |
+
|
875 |
+
if ( apply_filters( 'stop_gwp_live_feed', false ) ) {
|
876 |
+
return;
|
877 |
+
}
|
878 |
+
|
879 |
+
if ( is_plugin_active( 'woo-variation-gallery/woo-variation-gallery.php' ) ) {
|
880 |
+
return;
|
881 |
+
}
|
882 |
+
|
883 |
+
// delete_transient( 'gwp_gallery_plugin_notice');
|
884 |
+
|
885 |
+
if ( get_transient( 'gwp_gallery_plugin_notice' ) === 'yes' ) {
|
886 |
+
return;
|
887 |
+
}
|
888 |
+
|
889 |
+
$plugins = array_keys( get_plugins() );
|
890 |
+
$slug = 'woo-variation-gallery';
|
891 |
+
$button_text = esc_html__( 'Install Now', 'woo-variation-swatches' );
|
892 |
+
$install_url = esc_url( wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $slug ), 'install-plugin_' . $slug ) );
|
893 |
+
|
894 |
+
if ( in_array( 'woo-variation-gallery/woo-variation-gallery.php', $plugins ) ) {
|
895 |
+
$button_text = esc_html( 'Activate Plugin', 'woo-variation-swatches' );
|
896 |
+
$install_url = esc_url( self_admin_url( 'plugins.php?action=activate&plugin=' . urlencode( 'woo-variation-gallery/woo-variation-gallery.php' ) . '&plugin_status=all&paged=1&s&_wpnonce=' . urlencode( wp_create_nonce( 'activate-plugin_woo-variation-gallery/woo-variation-gallery.php' ) ) ) );
|
897 |
+
}
|
898 |
+
|
899 |
+
|
900 |
+
$popup_url = esc_url( add_query_arg( array(
|
901 |
+
'tab' => 'plugin-information',
|
902 |
+
'section' => 'description',
|
903 |
+
'plugin' => $slug,
|
904 |
+
'TB_iframe' => 'true',
|
905 |
+
'width' => '950',
|
906 |
+
'height' => '600',
|
907 |
+
), self_admin_url( 'plugin-install.php' ) ) );
|
908 |
+
|
909 |
+
|
910 |
+
$cancel_url = esc_url( add_query_arg( array(
|
911 |
+
'gwp-hide-notice' => 'gallery-plugin',
|
912 |
+
'_gwp_nonce' => wp_create_nonce( 'gallery-plugin' ),
|
913 |
+
) ) );
|
914 |
+
|
915 |
+
|
916 |
+
echo sprintf( '<div class="gwp-live-feed-contents notice notice-info"><div class="feed-message-wrapper">7000+ woocommerce stores increase their sales using <a target="_blank" class="thickbox open-plugin-details-modal" href="%s"><strong>Additional Variation Images Gallery</strong></a>. Why not yours? <a class="button-primary" href="%s" rel="noopener">%s</a></div><a class="gwp-live-feed-close-plain notice-dismiss" href="%s"></a></div>', $popup_url, $install_url, $button_text, $cancel_url );
|
917 |
+
|
918 |
+
}
|
919 |
+
}
|
920 |
+
|
921 |
public function feed_css_uri() {
|
922 |
|
923 |
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|