YITH WooCommerce Quick View - Version 1.6.2

Version Description

Released 01 Jun 2021

  • New: support for WooCommerce 5.4
  • Update: YITH plugin framework
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Quick View
Version 1.6.2
Comparing to
See all releases

Code changes from version 1.6.1 to 1.6.2

Files changed (69) hide show
  1. includes/class.yith-wcqv-frontend.php +3 -3
  2. init.php +35 -8
  3. plugin-fw/assets/css/scss/yith-plugin-ui.scss +8 -0
  4. plugin-fw/assets/css/scss/yith-plugin-ui/_animations.scss +92 -0
  5. plugin-fw/assets/css/scss/yith-plugin-ui/_components.scss +11 -0
  6. plugin-fw/assets/css/scss/yith-plugin-ui/_head_comment.scss +6 -0
  7. plugin-fw/assets/css/scss/yith-plugin-ui/_tables.scss +56 -0
  8. plugin-fw/assets/css/scss/yith-plugin-ui/_taxonomy.scss +52 -0
  9. plugin-fw/assets/css/scss/yith-plugin-ui/_variables.scss +107 -0
  10. plugin-fw/assets/css/scss/yith-plugin-ui/_wp-pages.scss +88 -0
  11. plugin-fw/assets/css/scss/yith-plugin-ui/components/_action-button.scss +80 -0
  12. plugin-fw/assets/css/scss/yith-plugin-ui/components/_boxed-row.scss +14 -0
  13. plugin-fw/assets/css/scss/yith-plugin-ui/components/_buttons.scss +203 -0
  14. plugin-fw/assets/css/scss/yith-plugin-ui/components/_confirm.scss +40 -0
  15. plugin-fw/assets/css/scss/yith-plugin-ui/components/_list-table-blank-state.scss +25 -0
  16. plugin-fw/assets/css/scss/yith-plugin-ui/components/_modal.scss +128 -0
  17. plugin-fw/assets/css/scss/yith-plugin-ui/components/_tip-tip.scss +79 -0
  18. plugin-fw/assets/css/scss/yith-plugin-ui/mixins/_buttons.scss +104 -0
  19. plugin-fw/assets/css/scss/yith-plugin-ui/mixins/_tables.scss +182 -0
  20. plugin-fw/assets/css/yit-plugin-panel.css +58 -17
  21. plugin-fw/assets/css/yith-fields.css +87 -251
  22. plugin-fw/assets/css/yith-icon.css +15 -7
  23. plugin-fw/assets/css/yith-plugin-ui.css +1623 -0
  24. plugin-fw/assets/fonts/yith-icon.eot +0 -0
  25. plugin-fw/assets/fonts/yith-icon.ttf +0 -0
  26. plugin-fw/assets/fonts/yith-icon.woff2 +0 -0
  27. plugin-fw/assets/js/jquery-tiptip/jquery.tipTip.js +191 -0
  28. plugin-fw/assets/js/jquery-tiptip/jquery.tipTip.min.js +1 -0
  29. plugin-fw/assets/js/metabox.js +11 -11
  30. plugin-fw/assets/js/metabox.min.js +1 -1
  31. plugin-fw/assets/js/wp-pages.js +20 -9
  32. plugin-fw/assets/js/wp-pages.min.js +1 -1
  33. plugin-fw/assets/js/yit-plugin-panel.js +103 -30
  34. plugin-fw/assets/js/yit-plugin-panel.min.js +1 -1
  35. plugin-fw/assets/js/yith-fields.js +90 -4
  36. plugin-fw/assets/js/yith-fields.min.js +1 -1
  37. plugin-fw/assets/js/yith-ui.js +306 -0
  38. plugin-fw/assets/js/yith-ui.min.js +1 -0
  39. plugin-fw/dist/gutenberg/index.asset.php +1 -1
  40. plugin-fw/dist/gutenberg/index.js +1 -1
  41. plugin-fw/dist/gutenberg/style-index.css +3 -1
  42. plugin-fw/includes/class-yit-assets.php +20 -6
  43. plugin-fw/includes/class-yit-metabox.php +8 -1
  44. plugin-fw/includes/class-yit-plugin-panel.php +51 -7
  45. plugin-fw/includes/class-yith-post-type-admin.php +474 -0
  46. plugin-fw/init.php +2 -2
  47. plugin-fw/languages/yith-plugin-fw-el.mo +0 -0
  48. plugin-fw/languages/yith-plugin-fw-el.po +157 -38
  49. plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
  50. plugin-fw/languages/yith-plugin-fw-es_ES.po +158 -39
  51. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  52. plugin-fw/languages/yith-plugin-fw-it_IT.po +161 -40
  53. plugin-fw/languages/yith-plugin-fw-nl_NL.mo +0 -0
  54. plugin-fw/languages/yith-plugin-fw-nl_NL.po +160 -39
  55. plugin-fw/languages/yith-plugin-fw.pot +155 -36
  56. plugin-fw/templates/components/action-button.php +64 -0
  57. plugin-fw/templates/components/list-table-blank-state.php +47 -0
  58. plugin-fw/templates/components/resources/action-button-menu.php +54 -0
  59. plugin-fw/templates/fields/image-gallery.php +1 -1
  60. plugin-fw/templates/fields/slider.php +1 -2
  61. plugin-fw/templates/fields/upload.php +2 -2
  62. plugin-fw/templates/panel/sub-tabs-nav.php +1 -1
  63. plugin-fw/templates/panel/woocommerce/woocommerce-form.php +5 -1
  64. plugin-fw/templates/panel/woocommerce/woocommerce-upload.php +1 -1
  65. plugin-fw/yit-functions.php +394 -3
  66. plugin-fw/yit-plugin.php +1 -0
  67. readme.txt +8 -3
  68. templates/admin/premium.php +68 -12
  69. uninstall.php +1 -1
includes/class.yith-wcqv-frontend.php CHANGED
@@ -302,7 +302,7 @@ if ( ! class_exists( 'YITH_WCQV_Frontend' ) ) {
302
  if ( isset( $GLOBALS['yith_wccl'] ) ) {
303
  $GLOBALS['yith_wccl']->obj = new YITH_WCCL_Frontend();
304
  $GLOBALS['yith_wccl']->obj->override();
305
- }elseif( defined( 'YITH_WCCL_PREMIUM' ) && YITH_WCCL_PREMIUM && class_exists( 'YITH_WCCL_Frontend' ) ) {
306
  $attributes = YITH_WCCL_Frontend()->create_attributes_json( $product_id, true );
307
  }
308
  ob_start();
@@ -312,8 +312,8 @@ if ( ! class_exists( 'YITH_WCQV_Frontend' ) ) {
312
 
313
  wp_send_json(
314
  array(
315
- 'html' => $html,
316
- 'prod_attr' => $attributes,
317
  )
318
  );
319
 
302
  if ( isset( $GLOBALS['yith_wccl'] ) ) {
303
  $GLOBALS['yith_wccl']->obj = new YITH_WCCL_Frontend();
304
  $GLOBALS['yith_wccl']->obj->override();
305
+ } elseif ( defined( 'YITH_WCCL_PREMIUM' ) && YITH_WCCL_PREMIUM && class_exists( 'YITH_WCCL_Frontend' ) ) {
306
  $attributes = YITH_WCCL_Frontend()->create_attributes_json( $product_id, true );
307
  }
308
  ob_start();
312
 
313
  wp_send_json(
314
  array(
315
+ 'html' => $html,
316
+ 'prod_attr' => $attributes,
317
  )
318
  );
319
 
init.php CHANGED
@@ -3,18 +3,19 @@
3
  * Plugin Name: YITH WooCommerce Quick View
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-quick-view
5
  * Description: The <code><strong>YITH WooCommerce Quick View</strong></code> plugin allows your customers to have a quick look about products. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
6
- * Version: 1.6.1
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-quick-view
10
  * Domain Path: /languages/
11
  * WC requires at least: 4.5
12
- * WC tested up to: 5.3
13
  *
14
  * @author YITH
15
  * @package YITH WooCommerce Quick View
16
- * @version 1.6.1
17
  */
 
18
  /** Copyright 2015-2021 Your Inspiration Solutions (email : plugins@yithemes.com)
19
  *
20
  * This program is free software; you can redistribute it and/or modify
@@ -31,14 +32,19 @@
31
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
32
  */
33
 
34
- if ( ! defined( 'ABSPATH' ) ) {
35
- exit;
36
- } // Exit if accessed directly.
37
 
38
  if ( ! function_exists( 'is_plugin_active' ) ) {
39
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
40
  }
41
 
 
 
 
 
 
 
 
42
  function yith_wcqv_install_woocommerce_admin_notice() {
43
  ?>
44
  <div class="error">
@@ -47,6 +53,13 @@ function yith_wcqv_install_woocommerce_admin_notice() {
47
  <?php
48
  }
49
 
 
 
 
 
 
 
 
50
  function yith_wcqv_install_free_admin_notice() {
51
  ?>
52
  <div class="error">
@@ -62,7 +75,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
62
 
63
 
64
  if ( ! defined( 'YITH_WCQV_VERSION' ) ) {
65
- define( 'YITH_WCQV_VERSION', '1.6.1' );
66
  }
67
 
68
  if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
@@ -107,6 +120,13 @@ if ( ! function_exists( 'yit_maybe_plugin_fw_loader' ) && file_exists( YITH_WCQV
107
  }
108
  yit_maybe_plugin_fw_loader( YITH_WCQV_DIR );
109
 
 
 
 
 
 
 
 
110
  function yith_wcqv_init() {
111
 
112
  load_plugin_textdomain( 'yith-woocommerce-quick-view', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
@@ -118,6 +138,13 @@ function yith_wcqv_init() {
118
 
119
  add_action( 'yith_wcqv_init', 'yith_wcqv_init' );
120
 
 
 
 
 
 
 
 
121
  function yith_wcqv_install() {
122
 
123
  if ( ! function_exists( 'WC' ) ) {
@@ -130,4 +157,4 @@ function yith_wcqv_install() {
130
  }
131
  }
132
 
133
- add_action( 'plugins_loaded', 'yith_wcqv_install', 11 );
3
  * Plugin Name: YITH WooCommerce Quick View
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-quick-view
5
  * Description: The <code><strong>YITH WooCommerce Quick View</strong></code> plugin allows your customers to have a quick look about products. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
6
+ * Version: 1.6.2
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-quick-view
10
  * Domain Path: /languages/
11
  * WC requires at least: 4.5
12
+ * WC tested up to: 5.4
13
  *
14
  * @author YITH
15
  * @package YITH WooCommerce Quick View
16
+ * @version 1.6.2
17
  */
18
+
19
  /** Copyright 2015-2021 Your Inspiration Solutions (email : plugins@yithemes.com)
20
  *
21
  * This program is free software; you can redistribute it and/or modify
32
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
33
  */
34
 
35
+ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
 
 
36
 
37
  if ( ! function_exists( 'is_plugin_active' ) ) {
38
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
39
  }
40
 
41
+ /**
42
+ * Message if WooCommerce is not installed.
43
+ *
44
+ * @since 1.0.0
45
+ * @author Francesco Licandro
46
+ * @return void
47
+ */
48
  function yith_wcqv_install_woocommerce_admin_notice() {
49
  ?>
50
  <div class="error">
53
  <?php
54
  }
55
 
56
+ /**
57
+ * Message if Premium plugin is installed.
58
+ *
59
+ * @since 1.0.0
60
+ * @author Francesco Licandro
61
+ * @return void
62
+ */
63
  function yith_wcqv_install_free_admin_notice() {
64
  ?>
65
  <div class="error">
75
 
76
 
77
  if ( ! defined( 'YITH_WCQV_VERSION' ) ) {
78
+ define( 'YITH_WCQV_VERSION', '1.6.2' );
79
  }
80
 
81
  if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
120
  }
121
  yit_maybe_plugin_fw_loader( YITH_WCQV_DIR );
122
 
123
+ /**
124
+ * Init.
125
+ *
126
+ * @since 1.0.0
127
+ * @author Francesco Licandro
128
+ * @return void
129
+ */
130
  function yith_wcqv_init() {
131
 
132
  load_plugin_textdomain( 'yith-woocommerce-quick-view', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
138
 
139
  add_action( 'yith_wcqv_init', 'yith_wcqv_init' );
140
 
141
+ /**
142
+ * Install.
143
+ *
144
+ * @since 1.0.0
145
+ * @author Francesco Licandro
146
+ * @return void
147
+ */
148
  function yith_wcqv_install() {
149
 
150
  if ( ! function_exists( 'WC' ) ) {
157
  }
158
  }
159
 
160
+ add_action( 'plugins_loaded', 'yith_wcqv_install', 11 );
plugin-fw/assets/css/scss/yith-plugin-ui.scss ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ @import "yith-plugin-ui/head_comment";
2
+
3
+ @import "yith-plugin-ui/variables";
4
+ @import "yith-plugin-ui/wp-pages";
5
+ @import "yith-plugin-ui/taxonomy";
6
+ @import "yith-plugin-ui/components";
7
+ @import "yith-plugin-ui/tables";
8
+ @import "yith-plugin-ui/animations";
plugin-fw/assets/css/scss/yith-plugin-ui/_animations.scss ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * YITH Animations
3
+ */
4
+
5
+ .yith-plugin-fw-animate__appear-from-bottom{
6
+ animation: yith-plugin-fw-appear-from-bottom .3s forwards;
7
+ }
8
+
9
+ .yith-plugin-fw-animate__appear-from-top{
10
+ animation: yith-plugin-fw-appear-from-top .3s forwards;
11
+ }
12
+
13
+ .yith-plugin-fw-animate__fade-in{
14
+ animation: yith-plugin-fw-fade-in .3s forwards;
15
+ }
16
+
17
+
18
+ @-webkit-keyframes yith-plugin-fw-appear-from-top {
19
+ from {
20
+ opacity: 0;
21
+ transform: translateY(-30%);
22
+ -webkit-transform: translateY(-30%);
23
+ }
24
+
25
+ to {
26
+ opacity: 1;
27
+ transform: translateY(0);
28
+ -webkit-transform: translateY(0);
29
+ }
30
+ }
31
+
32
+ @keyframes yith-plugin-fw-appear-from-top {
33
+ from {
34
+ opacity: 0;
35
+ transform: translateY(-30%);
36
+ -webkit-transform: translateY(-30%);
37
+ }
38
+
39
+ to {
40
+ opacity: 1;
41
+ transform: translateY(0);
42
+ -webkit-transform: translateY(0);
43
+ }
44
+ }
45
+
46
+ @-webkit-keyframes yith-plugin-fw-appear-from-bottom {
47
+ from {
48
+ opacity: 0;
49
+ transform: translateY(+30%);
50
+ -webkit-transform: translateY(+30%);
51
+ }
52
+
53
+ to {
54
+ opacity: 1;
55
+ transform: translateY(0);
56
+ -webkit-transform: translateY(0);
57
+ }
58
+ }
59
+
60
+ @keyframes yith-plugin-fw-appear-from-bottom {
61
+ from {
62
+ opacity: 0;
63
+ transform: translateY(+30%);
64
+ -webkit-transform: translateY(+30%);
65
+ }
66
+
67
+ to {
68
+ opacity: 1;
69
+ transform: translateY(0);
70
+ -webkit-transform: translateY(0);
71
+ }
72
+ }
73
+
74
+ @-webkit-keyframes yith-plugin-fw-fade-in {
75
+ from {
76
+ opacity: 0;
77
+ }
78
+
79
+ to {
80
+ opacity: 1;
81
+ }
82
+ }
83
+
84
+ @keyframes yith-plugin-fw-fade-in {
85
+ from {
86
+ opacity: 0;
87
+ }
88
+
89
+ to {
90
+ opacity: 1;
91
+ }
92
+ }
plugin-fw/assets/css/scss/yith-plugin-ui/_components.scss ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * YITH Plugin UI - Components
3
+ */
4
+
5
+ @import "components/action-button";
6
+ @import "components/buttons";
7
+ @import "components/boxed-row";
8
+ @import "components/confirm";
9
+ @import "components/list-table-blank-state";
10
+ @import "components/modal";
11
+ @import "components/tip-tip";
plugin-fw/assets/css/scss/yith-plugin-ui/_head_comment.scss ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ /**
2
+ * YITH Plugin UI style
3
+ *
4
+ * IMPORTANT: This file is automatically generated through SCSS files.
5
+ * Please don't edit it manually!
6
+ */
plugin-fw/assets/css/scss/yith-plugin-ui/_tables.scss ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * YITH Plugin UI - Post Type Style
3
+ */
4
+
5
+ @import "mixins/tables";
6
+
7
+ table.yith-plugin-fw__classic-table {
8
+ @include classic-table;
9
+
10
+ &.wp-list-table{
11
+ @include wp-table-commons;
12
+ }
13
+ }
14
+
15
+ table.yith-plugin-fw__boxed-table {
16
+ @include boxed-table;
17
+
18
+ &.wp-list-table{
19
+ @include wp-table-commons;
20
+ }
21
+ }
22
+
23
+ // WP List Tables
24
+ .yith-plugin-ui--classic-wp-list-style, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style {
25
+
26
+ table.wp-list-table {
27
+ @include classic-table;
28
+
29
+ @include wp-table-commons;
30
+ }
31
+
32
+ .tablenav.bottom {
33
+ display: none;
34
+
35
+ .yith-plugin-fw__list-table-blank-state {
36
+ display: flex;
37
+ }
38
+ }
39
+ }
40
+
41
+ .yith-plugin-ui--boxed-wp-list-style, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style {
42
+
43
+ table.wp-list-table {
44
+ @include boxed-table;
45
+
46
+ @include wp-table-commons;
47
+ }
48
+
49
+ .tablenav.bottom {
50
+ display: none;
51
+
52
+ .yith-plugin-fw__list-table-blank-state {
53
+ display: flex;
54
+ }
55
+ }
56
+ }
plugin-fw/assets/css/scss/yith-plugin-ui/_taxonomy.scss ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * YITH Plugin UI - Taxonomy Style
3
+ */
4
+
5
+ .yith-plugin-ui.yith-plugin-ui--taxonomy-type, .yith-plugin-ui--taxonomy-type {
6
+
7
+ // List
8
+
9
+ #col-container {
10
+ display: flex;
11
+ }
12
+
13
+ #col-left {
14
+ padding: 20px;
15
+ background: #f1f1f1;
16
+ border-radius: 8px;
17
+ box-sizing: border-box;
18
+ margin-right: 15px;
19
+ }
20
+
21
+ #col-right {
22
+ flex: 1;
23
+ }
24
+
25
+ h2 {
26
+ border: none;
27
+ padding: 0;
28
+ font-size: 14px;
29
+ background: transparent;
30
+ }
31
+
32
+ // Edit Tax
33
+ .wrap h1 {
34
+ color: #2a8db0;
35
+ font-size: 16px;
36
+ font-weight: 600;
37
+ }
38
+ }
39
+
40
+ @media screen and (max-width: 782px) {
41
+ .yith-plugin-ui.yith-plugin-ui--taxonomy-type {
42
+ #col-container {
43
+ display: block;
44
+ }
45
+
46
+ #col-left, #col-right {
47
+ float: none;
48
+ width: 100%;
49
+ }
50
+ }
51
+ }
52
+
plugin-fw/assets/css/scss/yith-plugin-ui/_variables.scss ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * YITH CSS Variables
3
+ */
4
+
5
+ $content_bg: #ffffff; // Content Background.
6
+ $content_text: #3c434a; // Content Text.
7
+
8
+ $primary: #00799f; // Primary color, for buttons
9
+ $primary_hover: #0094c4; // Primary hover color, for buttons
10
+ $primary_focus: #bddce6; // Primary focus color, for buttons
11
+ $primary_text: #ffffff; // Text on primary color bg
12
+
13
+ $delete: #c41d04; // color for delete buttons
14
+ $delete_hover: lighten($delete, 5%); // color for delete buttons - hover
15
+ $delete_text: #ffffff; // Text on delete buttons
16
+ $delete_focus: #f0d2cd; // Text on delete buttons
17
+
18
+ // Outline is used to stylize Secondary buttons.
19
+ $outline_text: #0087b3; // outline button - text color
20
+ $outline_border: #0094c4; // outline button - border color
21
+ $outline_bg: #ffffff; // outline button - background color
22
+ $outline_bg_hover: rgba(157, 198, 205, .2); // outline button - background color on hover
23
+ $outline_border_hover: #007ba3; // outline button - border color on hover
24
+ $outline_focus: #dfeef2; // Outline focus color, for buttons
25
+
26
+ $update: #94aa09; // Update button - background
27
+ $update_hover: darken($update, 5%); // Update button - hover
28
+ $update_text: #ffffff; // Text on update button background
29
+ $update_focus: #e7eccc; // Text on update button background
30
+
31
+ $accent: #98aa36;
32
+
33
+ $light_bg: #f0f6fb;
34
+ $light_border_color: #d7e3e7;
35
+ $light_shadow: rgba(145, 191, 227, 0.11);
36
+ $light_accent: #0079b0;
37
+
38
+ $success: #98aa36;
39
+ $success_light: lighten($success, 30%);
40
+ $success_lighter: lighten($success, 43%);
41
+ $success_lightest: lighten($success, 50%);
42
+
43
+
44
+ $table_row_highlight: #f0f6fb;
45
+ $table_row_striped: #f6f7f7;
46
+ $table_border_light: #eff0f0;
47
+
48
+ $field_border_color: #d8d8d8;
49
+ $field_border_weight: 1px;
50
+ $field_border: $field_border_weight solid $field_border_color;
51
+
52
+ $link: #0079b0; // Link Color.
53
+
54
+ // Extra variables: these will be not converted to CSS Variables
55
+ $wp_menu_size: 160px;
56
+ $wp_menu_folded_size: 36px;
57
+ $wp_menu_mobile_size: 190px;
58
+ $wp_top_bar_size: 32px;
59
+ $wp_top_bar_mobile_size: 46px;
60
+
61
+ // export vars as CSS vars
62
+ :root {
63
+ --yith-content-bg: #{$content_bg};
64
+ --yith-content-text: #{$content_text};
65
+ --yith-primary: #{$primary};
66
+ --yith-primary-hover: #{$primary_hover};
67
+ --yith-primary-focus: #{$primary_focus};
68
+ --yith-primary-text: #{$primary_text};
69
+
70
+ --yith-delete: #{$delete};
71
+ --yith-delete-hover: #{$delete_hover};
72
+ --yith-delete-text: #{$delete_text};
73
+ --yith-delete-focus: #{$delete_focus};
74
+
75
+ --yith-update: #{$update};
76
+ --yith-update-hover: #{$update_hover};
77
+ --yith-update-text: #{$update_text};
78
+ --yith-update-focus: #{$update_focus};
79
+
80
+ --yith-outline-text: #{$outline_text};
81
+ --yith-outline-border: #{$outline_border};
82
+ --yith-outline-bg: #{$outline_bg};
83
+ --yith-outline-bg-hover: #{$outline_bg_hover};
84
+ --yith-outline-border-hover: #{$outline_border_hover};
85
+ --yith-outline-focus: #{$outline_focus};
86
+
87
+ --yith-accent: #{$accent};
88
+
89
+ --yith-light-bg: #{$light_bg};
90
+ --yith-light-border-color: #{$light_border_color};
91
+ --yith-light-shadow: #{$light_shadow};
92
+ --yith-light-accent: #{$light_accent};
93
+
94
+ --yith-success: #{$success};
95
+ --yith-success-light: #{$success_light};
96
+ --yith-success-lighter: #{$success_lighter};
97
+ --yith-success-lightest: #{$success_lightest};
98
+
99
+ --yith-table-row-highlight: #{$table_row_highlight};
100
+ --yith-table-row-striped: #{$table_row_striped};
101
+ --yith-table-border-light: #{$table_border_light};
102
+
103
+ --yith-field-border-color: #{$field_border_color};
104
+ --yith-field-border-weight: #{$field_border_color};
105
+ --yith-field-border: #{$field_border};
106
+ --yith-link: #{$link};
107
+ }
plugin-fw/assets/css/scss/yith-plugin-ui/_wp-pages.scss ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * YITH Plugin UI - WP Pages
3
+ */
4
+
5
+ .yith-plugin-fw-wp-page-wrapper {
6
+
7
+ .yith-plugin-fw__back-to-wp-list__wrapper {
8
+ margin: -5px 0 15px;
9
+
10
+ .yith-plugin-fw__back-to-wp-list {
11
+ text-decoration: none;
12
+ font-weight: 600;
13
+ text-transform: uppercase;
14
+ color: var(--yith-link);
15
+ vertical-align: middle;
16
+
17
+ &:before {
18
+ content: "\e901";
19
+ font-family: yith-icon;
20
+ margin-right: 5px;
21
+ font-size: .8em;
22
+ vertical-align: middle;
23
+ }
24
+ }
25
+ }
26
+
27
+ .wrap div#message.updated {
28
+ display: none;
29
+ padding: 15px 40px 15px 45px;
30
+ margin: 15px 0 20px;
31
+ border-radius: 5px;
32
+ background: var(--yith-success-lightest);
33
+ border: 1px solid var(--yith-success-light);
34
+ font-weight: 600;
35
+ font-size: 14px;
36
+ text-align: left;
37
+ color: var(--yith-content-text);
38
+ box-shadow: 1px 1px 2px var(--yith-success-lighter);
39
+
40
+
41
+ &:before {
42
+ font-family: yith-icon;
43
+ content: "\e921";
44
+ position: absolute;
45
+ top: 50%;
46
+ left: 13px;
47
+ font-size: 21px;
48
+ font-weight: 400;
49
+ transform: translateY(-50%);
50
+ color: var(--yith-success);
51
+ }
52
+
53
+ p {
54
+ padding: 0;
55
+ margin: 0;
56
+ }
57
+
58
+ .notice-dismiss {
59
+ position: absolute;
60
+ top: 50%;
61
+ right: 10px;
62
+ transform: translateY(-50%);
63
+ border-radius: 50%;
64
+ color: var(--yith-success);
65
+ padding: 7px;
66
+ background: transparent;
67
+ box-shadow: 0 0 0 5px rgba(0, 0, 0, 0);
68
+ transition: all .3s ease-in-out;
69
+
70
+ &:before {
71
+ font-family: yith-icon;
72
+ content: "\e906";
73
+ font-weight: 600;
74
+ font-size: 12px;
75
+ color: inherit;
76
+ }
77
+
78
+ &:hover {
79
+ box-shadow: 0 0 0 0 var(--yith-success-lighter);
80
+ background: var(--yith-success-lighter);
81
+ }
82
+
83
+ &:hover:before, &:active:before, &:focus:before {
84
+ color: inherit;
85
+ }
86
+ }
87
+ }
88
+ }
plugin-fw/assets/css/scss/yith-plugin-ui/components/_action-button.scss ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .yith-plugin-ui .yith-plugin-fw__action-button, .yith-plugin-fw__action-button {
2
+ height: 35px;
3
+ width: 35px;
4
+ background-color: var(--yith-content-bg);
5
+ display: inline-block;
6
+ border: 0;
7
+ border-radius: 50%;
8
+ transition: .3s;
9
+ cursor: pointer;
10
+ box-shadow: 0 2px 7px rgba(170, 198, 222, .5);
11
+ outline: none;
12
+ position: relative;
13
+ margin: 0 5px 5px 0;
14
+ vertical-align: middle;
15
+
16
+ .yith-plugin-fw__action-button__link {
17
+ height: 100%;
18
+ width: 100%;
19
+ display: inline-block;
20
+ }
21
+
22
+ .yith-plugin-fw__action-button__icon {
23
+ position: absolute;
24
+ color: var(--yith-link);
25
+ font-size: 17px;
26
+ top: 50%;
27
+ left: 50%;
28
+ transform: translateX(-50%) translateY(-50%);
29
+ }
30
+
31
+ &.yith-plugin-fw__action-button--trash-action .yith-plugin-fw__action-button__icon,
32
+ &.yith-plugin-fw__action-button--delete-action .yith-plugin-fw__action-button__icon {
33
+ color: #a10000;
34
+ }
35
+
36
+ .yith-plugin-fw__action-button__menu {
37
+ position: absolute;
38
+ display: none;
39
+ flex-direction: column;
40
+ width: max-content;
41
+ right: 0;
42
+ margin: 5px 0 0 0;
43
+ padding: 8px 0;
44
+ background: var(--yith-content-bg);
45
+ border-radius: 5px;
46
+ box-shadow: 0 2px 7px rgba(170, 198, 222, .5);
47
+ z-index: 10;
48
+ animation: yith-plugin-fw-appear-from-top .3s forwards;
49
+ }
50
+
51
+ .yith-plugin-fw__action-button__menu__item {
52
+ margin: 0;
53
+ display: block;
54
+ padding: 7px 25px;
55
+ color: var(--yith-content-text);
56
+ cursor: pointer;
57
+ text-decoration: none;
58
+ text-align: right;
59
+
60
+ &:hover {
61
+ color: var(--yith-link);
62
+ }
63
+ }
64
+
65
+ &.yith-plugin-fw__action-button--has-menu {
66
+ .yith-plugin-fw__action-button__icon {
67
+ color: var(--yith-content-text);
68
+ }
69
+
70
+ &.yith-plugin-fw__action-button--opened {
71
+ .yith-plugin-fw__action-button__icon {
72
+ color: var(--yith-link);
73
+ }
74
+
75
+ .yith-plugin-fw__action-button__menu {
76
+ display: flex;
77
+ }
78
+ }
79
+ }
80
+ }
plugin-fw/assets/css/scss/yith-plugin-ui/components/_boxed-row.scss ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ .yith-plugin-fw__boxed-row, .yith-plugin-fw__boxed-row--hover-highlight {
3
+ background: var(--yith-content-bg);
4
+ border-radius: 5px;
5
+ box-shadow: 0 0 0 1px var(--yith-light-border-color), 0 3px 11px 6px var(--yith-light-shadow);
6
+ transition: background-color .2s ease-in-out;
7
+ padding: 25px;
8
+ margin-bottom: 25px;
9
+ margin-top: 25px;
10
+ }
11
+
12
+ .yith-plugin-fw__boxed-row--hover-highlight:hover {
13
+ background: var(--yith-table-row-highlight);
14
+ }
plugin-fw/assets/css/scss/yith-plugin-ui/components/_buttons.scss ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "../mixins/buttons";
2
+
3
+ .yith-plugin-ui, .wp-core-ui .yith-plugin-ui {
4
+
5
+ // WordPress Buttons.
6
+ .button-primary, .button-secondary {
7
+ border-radius: 3px;
8
+ text-transform: none;
9
+ box-shadow: none;
10
+ border: 1px solid;
11
+ font-weight: 600;
12
+ padding: 0 12px;
13
+ outline: none;
14
+ height: auto;
15
+ transition: all ease 0.3s;
16
+ text-shadow: none;
17
+ display: inline-block;
18
+ text-decoration: none;
19
+ cursor: pointer;
20
+
21
+ &:focus {
22
+ outline: none;
23
+ box-shadow: none;
24
+ }
25
+
26
+ &.button-small {
27
+ padding: 0 8px;
28
+ }
29
+ }
30
+
31
+ .button-secondary {
32
+ @include button-secondary;
33
+ }
34
+
35
+ .button-primary {
36
+ @include button-primary;
37
+ }
38
+
39
+ .button.action,
40
+ #doaction,
41
+ #doaction2,
42
+ #post-query-submit,
43
+ #search-submit,
44
+ .button.filter-button {
45
+ @include button-secondary;
46
+ height: auto;
47
+ line-height: 33px;
48
+ border-radius: 8px;
49
+ padding: 0 15px;
50
+ font-weight: 600;
51
+ }
52
+
53
+ .tablenav .tablenav-pages .button,
54
+ .tablenav .tablenav-pages .tablenav-pages-navspan {
55
+ @include button-secondary;
56
+ }
57
+
58
+ @media screen and (max-width: 782px) {
59
+ .tablenav .tablenav-pages .button, .tablenav .tablenav-pages .tablenav-pages-navspan {
60
+ min-width: 44px;
61
+ padding: 12px 8px;
62
+ font-size: 18px;
63
+ line-height: 1;
64
+ }
65
+ }
66
+
67
+ // YITH Buttons.
68
+ .yith-plugin-fw__button, [class^="yith-plugin-fw__button--"], [class*=" yith-plugin-fw__button--"],
69
+ .yith-add-button, .yith-edit-button, .yith-update-button, .yith-remove-button, .yith-plugin-fw-upload-button, .yith-save-button, .yith-plugin-fw-select-all, .yith-plugin-fw-deselect-all, .yith-plugin-fw-upload-button-reset // Old buttons.
70
+ {
71
+ @include button;
72
+ }
73
+
74
+ .yith-plugin-fw__button--primary {
75
+ @include button-primary;
76
+ }
77
+
78
+ .yith-plugin-fw__button--secondary {
79
+ @include button-secondary;
80
+ }
81
+
82
+ .yith-plugin-fw__button--delete {
83
+ @include button-delete;
84
+ }
85
+
86
+ .yith-plugin-fw__button--add, .yith-add-button {
87
+ @include button-primary;
88
+
89
+ @include button-with-icon("\e90a");
90
+
91
+ &.closed {
92
+ @include button-secondary;
93
+
94
+ @include button-with-icon("\e906");
95
+ }
96
+ }
97
+
98
+ .yith-plugin-fw__button--close {
99
+ @include button-secondary;
100
+
101
+ @include button-with-icon("\e906");
102
+ }
103
+
104
+ .yith-plugin-fw__button--edit, .yith-edit-button {
105
+ @include button-secondary;
106
+
107
+ @include button-with-icon("\e907");
108
+ }
109
+
110
+ .yith-plugin-fw__button--update, .yith-update-button {
111
+ @include button-update;
112
+
113
+ @include button-with-icon("\e90b");
114
+ }
115
+
116
+ .yith-plugin-fw__button--trash, .yith-remove-button {
117
+ @include button-delete;
118
+
119
+ @include button-with-icon("\e90d");
120
+ }
121
+
122
+ .yith-plugin-fw__button--upload, .yith-plugin-fw-upload-button {
123
+ @include button-primary;
124
+
125
+ @include button-with-icon("\e90c");
126
+ }
127
+
128
+ // Old buttons.
129
+ .yith-save-button {
130
+ @include button-primary;
131
+ }
132
+
133
+ .yith-plugin-fw-select-all,
134
+ .yith-plugin-fw-deselect-all,
135
+ .yith-plugin-fw-upload-button-reset {
136
+ @include button-secondary;
137
+ }
138
+
139
+ // with icons.
140
+ .button-secondary span.yith-icon {
141
+ margin-left: 0;
142
+ margin-right: 10px;
143
+ line-height: normal;
144
+
145
+ &:before {
146
+ color: inherit;
147
+ font-size: 15px;
148
+ font-weight: 400;
149
+ }
150
+ }
151
+
152
+ // With icon
153
+ .yith-plugin-fw__button--with-icon {
154
+ position: relative;
155
+ padding-left: 30px;
156
+
157
+ i {
158
+ position: absolute;
159
+ top: 50%;
160
+ left: 10px;
161
+ transform: translateY(-50%);
162
+ font-size: 1.15em;
163
+ font-weight: 400;
164
+ }
165
+ }
166
+
167
+
168
+ // Button Sizes
169
+ .yith-plugin-fw__button--xl, .button-xl {
170
+ padding: 0 20px;
171
+ font-size: 14px;
172
+ line-height: 38px;
173
+
174
+ &::before {
175
+ margin: 0 10px 0 -5px;
176
+ }
177
+
178
+ &.yith-plugin-fw__button--with-icon {
179
+ padding-left: 40px;
180
+ i {
181
+ left: 14px;
182
+ }
183
+ }
184
+ }
185
+
186
+ .yith-plugin-fw__button--xxl {
187
+ padding: 0 28px;
188
+ font-size: 16px;
189
+ line-height: 45px;
190
+
191
+ &::before {
192
+ margin: 0 15px 0 -10px;
193
+ }
194
+
195
+ &.yith-plugin-fw__button--with-icon {
196
+ padding-left: 45px;
197
+ i {
198
+ left: 15px;
199
+ }
200
+ }
201
+ }
202
+ }
203
+
plugin-fw/assets/css/scss/yith-plugin-ui/components/_confirm.scss ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "../mixins/buttons";
2
+
3
+ .yith-plugin-fw__confirm__wrap {
4
+
5
+ .yith-plugin-fw__confirm__message {
6
+ margin-bottom: 20px;
7
+ }
8
+
9
+ .yith-plugin-fw__confirm__footer {
10
+ text-align: right;
11
+ }
12
+
13
+
14
+ .yith-plugin-fw__confirm__button {
15
+ height: auto;
16
+ line-height: 33px;
17
+ border-radius: 4px;
18
+ padding: 0 20px;
19
+ font-weight: 600;
20
+ cursor: pointer;
21
+ display: inline-block;
22
+ margin-right: 10px;
23
+
24
+ &:last-child {
25
+ margin-right: 0;
26
+ }
27
+
28
+ &.yith-plugin-fw__confirm__button--cancel {
29
+ @include button-secondary;
30
+ }
31
+
32
+ &.yith-plugin-fw__confirm__button--confirm {
33
+ @include button-primary;
34
+ }
35
+
36
+ &.yith-plugin-fw__confirm__button--delete {
37
+ @include button-delete;
38
+ }
39
+ }
40
+ }
plugin-fw/assets/css/scss/yith-plugin-ui/components/_list-table-blank-state.scss ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .yith-plugin-fw__list-table-blank-state {
2
+ padding: 30px 30px 0;
3
+ text-align: center;
4
+ display: flex;
5
+ flex-direction: column;
6
+
7
+ & > * {
8
+ margin-bottom: 30px;
9
+ }
10
+
11
+ img.yith-plugin-fw__list-table-blank-state__icon {
12
+ width: 100px;
13
+ margin: 0 auto 30px;
14
+ }
15
+
16
+ i.yith-plugin-fw__list-table-blank-state__icon {
17
+ font-size: 65px;
18
+ margin: 0 auto 30px;
19
+ }
20
+
21
+ .yith-plugin-fw__list-table-blank-state__message {
22
+ font-size: 1.4em;
23
+ line-height: 1.5;
24
+ }
25
+ }
plugin-fw/assets/css/scss/yith-plugin-ui/components/_modal.scss ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .yith-plugin-fw__modal__wrap {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ position: fixed;
6
+ top: 0;
7
+ left: 0;
8
+ width: 100%;
9
+ height: 100%;
10
+ z-index: 999999;
11
+ background: rgba(34, 59, 80, 0.7);
12
+ animation: yith-plugin-fw-fade-in .3s forwards;
13
+ box-sizing: border-box;
14
+
15
+ .yith-plugin-fw__modal__main {
16
+ position: relative;
17
+ background: #fff;
18
+ border-radius: 10px;
19
+ box-shadow: 1px 3px 16px rgba(0, 22, 59, .4);
20
+ animation: yith-plugin-fw-appear-from-top .3s forwards;
21
+ overflow: hidden;
22
+ max-width: calc(100% - 20px);
23
+ max-height: calc(100% - 20px);
24
+ display: flex;
25
+ flex-direction: column;
26
+ }
27
+
28
+ .yith-plugin-fw__modal__close {
29
+ position: absolute;
30
+ top: 0;
31
+ right: 0;
32
+ padding: 8px;
33
+ font-size: 14px;
34
+ font-weight: 600;
35
+ color: #aaa;
36
+ cursor: pointer;
37
+
38
+ &:hover {
39
+ color: #444;
40
+ }
41
+ }
42
+
43
+ .yith-plugin-fw__modal__title {
44
+ padding: 20px 25px;
45
+ font-size: 1.5em;
46
+ font-weight: 600;
47
+ line-height: 1.5em;
48
+ color: var(--yith-primary);
49
+ }
50
+
51
+ .yith-plugin-fw__modal__content {
52
+ padding: 0 25px 25px;
53
+ }
54
+
55
+ .yith-plugin-fw__modal__footer {
56
+ padding: 25px;
57
+ background: #f7f7f7;
58
+ }
59
+
60
+ &.yith-plugin-fw__modal__wrap--scroll-content {
61
+ .yith-plugin-fw__modal__content {
62
+ overflow-y: auto;
63
+ }
64
+ }
65
+ }
66
+
67
+ .yith-plugin-fw__modal--opened {
68
+ overflow: hidden;
69
+ }
70
+
71
+ // Allow seeing WP Menu.
72
+
73
+ .yith-plugin-fw__modal--allow-wp-menu {
74
+ .yith-plugin-fw__modal__wrap {
75
+ z-index: 99;
76
+ padding-left: $wp_menu_size;
77
+ padding-top: $wp_top_bar_size;
78
+ }
79
+
80
+ #adminmenuback {
81
+ z-index: 100;
82
+ }
83
+ }
84
+
85
+ @media only screen and (max-width: 960px) {
86
+ .folded {
87
+ .yith-plugin-fw__modal__wrap {
88
+ padding-left: $wp_menu_folded_size;
89
+ }
90
+ }
91
+
92
+ .auto-fold {
93
+ .yith-plugin-fw__modal--allow-wp-menu {
94
+ .yith-plugin-fw__modal__wrap {
95
+ padding-left: $wp_menu_folded_size;
96
+ }
97
+ }
98
+ }
99
+ }
100
+
101
+ @media screen and (max-width: 782px) {
102
+ .auto-fold {
103
+ .yith-plugin-fw__modal--allow-wp-menu {
104
+ .yith-plugin-fw__modal__wrap {
105
+ z-index: 999999;
106
+ width: 100%;
107
+ height: 100%;
108
+ padding-left: 0;
109
+ padding-top: 0;
110
+ }
111
+ }
112
+
113
+ .yith-plugin-fw__modal--allow-wp-menu-in-mobile {
114
+ .yith-plugin-fw__modal__wrap {
115
+ z-index: 99;
116
+ padding-top: $wp_top_bar_mobile_size;
117
+ }
118
+
119
+ &.wp-responsive-open {
120
+ .yith-plugin-fw__modal__wrap {
121
+ padding-left: $wp_menu_mobile_size;
122
+ }
123
+ }
124
+ }
125
+
126
+
127
+ }
128
+ }
plugin-fw/assets/css/scss/yith-plugin-ui/components/_tip-tip.scss ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "../mixins/buttons";
2
+
3
+ #tiptip_holder {
4
+ display: none;
5
+ z-index: 8675309;
6
+ position: absolute;
7
+ top: 0;
8
+
9
+ /*rtl:ignore*/
10
+ left: 0;
11
+
12
+
13
+ &.tip_top {
14
+ padding-bottom: 5px;
15
+
16
+ #tiptip_arrow_inner {
17
+ margin-top: -7px;
18
+ margin-left: -6px;
19
+ border-top-color: #333;
20
+ }
21
+ }
22
+
23
+ &.tip_bottom {
24
+ padding-top: 5px;
25
+
26
+ #tiptip_arrow_inner {
27
+ margin-top: -5px;
28
+ margin-left: -6px;
29
+ border-bottom-color: #333;
30
+ }
31
+ }
32
+
33
+ &.tip_right {
34
+ padding-left: 5px;
35
+
36
+ #tiptip_arrow_inner {
37
+ margin-top: -6px;
38
+ margin-left: -5px;
39
+ border-right-color: #333;
40
+ }
41
+ }
42
+
43
+ &.tip_left {
44
+ padding-right: 5px;
45
+
46
+ #tiptip_arrow_inner {
47
+ margin-top: -6px;
48
+ margin-left: -7px;
49
+ border-left-color: #333;
50
+ }
51
+ }
52
+
53
+
54
+ #tiptip_content {
55
+ color: #fff;
56
+ font-size: 0.8em;
57
+ max-width: 150px;
58
+ background: #333;
59
+ text-align: center;
60
+ border-radius: 3px;
61
+ padding: 0.618em 1em;
62
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
63
+
64
+ code {
65
+ padding: 1px;
66
+ background: #888;
67
+ }
68
+ }
69
+
70
+ #tiptip_arrow,
71
+ #tiptip_arrow_inner {
72
+ position: absolute;
73
+ border-color: transparent;
74
+ border-style: solid;
75
+ border-width: 6px;
76
+ height: 0;
77
+ width: 0;
78
+ }
79
+ }
plugin-fw/assets/css/scss/yith-plugin-ui/mixins/_buttons.scss ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin button {
2
+ display: inline-block;
3
+ height: auto;
4
+ line-height: 30px;
5
+ border-radius: 4px;
6
+ padding: 0 17px;
7
+ font-weight: 600;
8
+ cursor: pointer;
9
+ transition: all .3s ease-in-out;
10
+ text-decoration: none;
11
+ &:focus {
12
+ outline: none;
13
+ box-shadow: none;
14
+ }
15
+ }
16
+
17
+ @mixin button-primary {
18
+ background: var(--yith-primary);
19
+ color: var(--yith-primary-text);
20
+ border: 1px solid var(--yith-primary);
21
+
22
+ &:focus {
23
+ background: var(--yith-primary);
24
+ color: var(--yith-primary-text);
25
+ border: 1px solid var(--yith-primary);
26
+ box-shadow: 0 0 0 3px var(--yith-primary-focus);
27
+ }
28
+
29
+ &:hover, &:active {
30
+ background: var(--yith-primary-hover);
31
+ color: var(--yith-primary-text);
32
+ border: 1px solid var(--yith-primary-hover);
33
+ }
34
+ }
35
+
36
+ @mixin button-secondary {
37
+ background: var(--yith-outline-bg);
38
+ border: 1px solid var(--yith-outline-border);
39
+ color: var(--yith-outline-text);
40
+
41
+ &:focus {
42
+ background: var(--yith-outline-bg);
43
+ border: 1px solid var(--yith-outline-border);
44
+ color: var(--yith-outline-text);
45
+ box-shadow: 0 0 0 3px var(--yith-outline-focus);
46
+ }
47
+
48
+ &:hover, &:active {
49
+ background: var(--yith-outline-bg-hover);
50
+ border-color: var(--yith-outline-border-hover);
51
+ color: var(--yith-outline-text);
52
+ }
53
+ }
54
+
55
+ @mixin button-update {
56
+ background: var(--yith-update);
57
+ color: var(--yith-update-text);
58
+ border: 1px solid var(--yith-update);
59
+
60
+ &:focus {
61
+ background: var(--yith-update);
62
+ color: var(--yith-update-text);
63
+ border: 1px solid var(--yith-update);
64
+ box-shadow: 0 0 0 3px var(--yith-update-focus);
65
+ }
66
+
67
+ &:hover, &:active {
68
+ background: var(--yith-update-hover);
69
+ color: var(--yith-update-text);
70
+ border: 1px solid var(--yith-update-hover);
71
+ }
72
+ }
73
+
74
+
75
+ @mixin button-delete {
76
+ background: var(--yith-delete);
77
+ color: var(--yith-delete-text);
78
+ border: 1px solid var(--yith-delete);
79
+
80
+ &:focus {
81
+ background: var(--yith-delete);
82
+ color: var(--yith-delete-text);
83
+ border: 1px solid var(--yith-delete);
84
+ box-shadow: 0 0 0 3px var(--yith-delete-focus);
85
+ }
86
+
87
+ &:hover, &:active {
88
+ background: var(--yith-delete-hover);
89
+ color: var(--yith-delete-text);
90
+ border: 1px solid var(--yith-delete-hover);
91
+ }
92
+ }
93
+
94
+ @mixin button-with-icon($icon) {
95
+
96
+ &:before {
97
+ font-family: yith-icon;
98
+ content: $icon;
99
+ margin: 0 8px 0 -5px;
100
+ font-size: 15px;
101
+ font-weight: 400;
102
+ vertical-align: top;
103
+ }
104
+ }
plugin-fw/assets/css/scss/yith-plugin-ui/mixins/_tables.scss ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin table-action-buttons {
2
+
3
+ thead th.column-actions, tfoot th.column-actions {
4
+ visibility: hidden;
5
+ }
6
+
7
+ th.column-actions, td.column-actions {
8
+ text-align: right;
9
+ }
10
+
11
+ .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
12
+ opacity: 0;
13
+ transition: .3s;
14
+ }
15
+
16
+ tbody tr:hover .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
17
+ opacity: 1;
18
+ }
19
+ }
20
+
21
+ @mixin wp-table-commons {
22
+
23
+ tfoot {
24
+ display: none;
25
+ }
26
+
27
+ .check-column {
28
+ width: 2em;
29
+ }
30
+
31
+ th.sortable a, th.sorted a {
32
+ padding: 0 8px 0 0;
33
+ color: inherit;
34
+
35
+ &:hover {
36
+ color: var(--yith-link);
37
+ }
38
+ }
39
+
40
+ .sorting-indicator {
41
+ visibility: visible;
42
+
43
+ &:before {
44
+ font-family: yith-icon;
45
+ content: "\f106";
46
+ color: inherit;
47
+ font-size: 10px;
48
+ top: 0;
49
+ left: 0;
50
+ }
51
+ }
52
+
53
+ th.sorted.asc .sorting-indicator:before,
54
+ th.desc:hover span.sorting-indicator:before,
55
+ th.desc a:focus span.sorting-indicator:before {
56
+ content: "\e903";
57
+ font-weight: 600;
58
+ }
59
+
60
+ th.sorted.desc .sorting-indicator:before,
61
+ th.asc:hover span.sorting-indicator:before,
62
+ th.asc a:focus span.sorting-indicator:before {
63
+ content: "\e900";
64
+ font-weight: 600;
65
+ }
66
+ @include table-action-buttons;
67
+ }
68
+
69
+ @mixin classic-table {
70
+ border: 2px solid var(--yith-table-border-light);
71
+ background: var(--yith-content-bg);
72
+ box-shadow: none;
73
+ border-spacing: 0;
74
+
75
+ th, thead td, tfoot td {
76
+ text-align: left;
77
+ line-height: 1.3em;
78
+ font-size: 14px;
79
+ }
80
+
81
+ thead th, thead td {
82
+ border-bottom: 0;
83
+ }
84
+
85
+ tfoot th, tfoot td {
86
+ border-top: 0;
87
+ }
88
+
89
+ tbody tr th, tbody tr td {
90
+ vertical-align: middle;
91
+ padding: 15px;
92
+ }
93
+
94
+ tbody tr:hover {
95
+ background: var(--yith-table-row-highlight);
96
+ }
97
+
98
+ thead td, thead th, tfoot td, tfoot th {
99
+ padding: 15px;
100
+ font-weight: 600;
101
+ }
102
+
103
+ tbody > :nth-child(odd) {
104
+ background-color: var(--yith-table-row-striped);
105
+ }
106
+ }
107
+
108
+
109
+ @mixin boxed-table {
110
+ border: 0;
111
+ border-spacing: 0 20px;
112
+ box-shadow: none;
113
+ background: transparent;
114
+
115
+ th, thead td, tfoot td {
116
+ text-align: left;
117
+ line-height: 1.3em;
118
+ font-size: 14px;
119
+ }
120
+
121
+ thead th, thead td {
122
+ border-bottom: 0;
123
+ padding: 0 0 0 25px;
124
+ font-weight: 600;
125
+ }
126
+
127
+ tbody tr {
128
+ background: var(--yith-content-bg);
129
+ border-radius: 5px;
130
+ box-shadow: 0 0 0 1px var(--yith-light-border-color), 0 3px 11px 6px var(--yith-light-shadow);
131
+ transition: background-color .2s ease-in-out;
132
+ }
133
+
134
+ tbody tr th, tbody tr td {
135
+ background: transparent;
136
+ border-radius: 5px;
137
+ vertical-align: middle;
138
+ padding: 25px 0 25px 25px;
139
+ }
140
+
141
+ tbody tr td:last-child {
142
+ padding-right: 25px;
143
+ }
144
+
145
+ tbody tr:hover {
146
+ background: var(--yith-table-row-highlight);
147
+ }
148
+ }
149
+
150
+ @mixin wp-list-buttons {
151
+ .button.action,
152
+ #doaction,
153
+ #doaction2,
154
+ #post-query-submit,
155
+ #search-submit,
156
+ .button.filter-button {
157
+ height: auto;
158
+ line-height: 33px;
159
+ background: var(--yith-outline-bg);
160
+ border: 1px solid var(--yith-outline-border);
161
+ color: var(--yith-outline-text);
162
+ border-radius: 8px;
163
+ padding: 0 15px;
164
+ font-weight: 600;
165
+ }
166
+
167
+ .tablenav .tablenav-pages .button,
168
+ .tablenav .tablenav-pages .tablenav-pages-navspan {
169
+ background: var(--yith-outline-bg);
170
+ border: 1px solid var(--yith-outline-border);
171
+ color: var(--yith-outline-text);
172
+ }
173
+
174
+ @media screen and (max-width: 782px) {
175
+ .tablenav .tablenav-pages .button, .tablenav .tablenav-pages .tablenav-pages-navspan {
176
+ min-width: 44px;
177
+ padding: 12px 8px;
178
+ font-size: 18px;
179
+ line-height: 1;
180
+ }
181
+ }
182
+ }
plugin-fw/assets/css/yit-plugin-panel.css CHANGED
@@ -56,12 +56,15 @@
56
  box-sizing : border-box;
57
  border : 1px solid #ccc;
58
  border-top : 0;
59
- margin : -20px 15px 0 0;
60
  }
61
 
62
  .yith-plugin-fw-panel-custom-tab-container > h2,
 
63
  .yith-plugin-ui .yith-plugin-fw-panel-custom-tab-container > h2,
64
- .yith-plugin-ui .yith-plugin-fw-panel-custom-sub-tab-container > h2 {
 
 
65
  border : none;
66
  padding : 15px 0;
67
  }
@@ -90,17 +93,17 @@
90
  margin : 5px 15px 15px 0;
91
  }
92
 
93
- .yith-plugin-fw-wp-page-wrapper .wrap {
94
  border : 1px solid #d8d8d8;
95
  border-top : 0;
96
- margin : 0px 15px 0 0;
97
  background : #fff;
98
  padding : 20px;
99
  box-sizing : border-box;
100
  }
101
 
102
- .yith-plugin-fw-wp-page-wrapper .wrap.subnav-wrap .wrap {
103
- margin-top : -20px;
104
  }
105
 
106
  #wpwrap .yith-plugin-fw-wp-page-wrapper .yith-plugin-ui h2.nav-tab-wrapper, #wpbody-content .yith-plugin-fw-wp-page-wrapper .yith-plugin-ui h2.nav-tab-wrapper {
@@ -574,7 +577,7 @@
574
  */
575
  .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav {
576
  background : #fff;
577
- padding : 10px 14px 0 20px;
578
  box-sizing : border-box;
579
  margin-right : 15px;
580
  border-left : 1px solid #d8d8d8;
@@ -589,13 +592,12 @@
589
  text-transform : uppercase;
590
  line-height : inherit;
591
  font-weight : 600;
592
- margin-right : 21px;
593
  box-sizing : border-box;
594
  background-color : #f1f1f1;
595
  padding-top : 0;
596
  border : 1px solid #ccc;
597
  border-bottom : 0;
598
- margin-top : 20px;
599
  }
600
 
601
  .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav .nav-tab {
@@ -632,7 +634,7 @@
632
  .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav .nav-tab-active {
633
  color : #2a8db0;
634
  background : #fff;
635
- border-bottom : 2px solid #fff;
636
  }
637
 
638
  .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav .nav-tab:first-child {
@@ -685,7 +687,7 @@ li.yith-plugin-fw-tab-element {
685
  }
686
 
687
  .yith-plugin-ui li.yith-plugin-fw-tab-element {
688
- margin-bottom: -1px;
689
  }
690
 
691
  li.yith-plugin-fw-tab-element:hover {
@@ -726,6 +728,7 @@ li.yith-plugin-fw-tab-element:hover ul.nav-subtab {
726
  li.yith-plugin-fw-tab-element a.nav-tab i {
727
  margin-left : 10px;
728
  font-size : 12px;
 
729
  }
730
 
731
  li.yith-plugin-fw-tab-element a.nav-tab i:before {
@@ -738,18 +741,56 @@ li.yith-plugin-fw-tab-element a.nav-tab i:before {
738
  }
739
 
740
  .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav ~ .yit-admin-panel-container,
741
- .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav ~ .wrap.subnav-wrap {
742
  border : 1px solid #d8d8d8;
743
  border-top : 0;
744
- margin : -2px 15px 0 0;
745
  background : #fff;
746
- padding : 20px;
747
  box-sizing : border-box;
748
  }
749
 
750
- .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav ~ .wrap.subnav-wrap .wrap,
751
- .yith-plugin-ui .yit-admin-panel-content-wrap.has-subnav {
752
- margin : -20px 15px 0 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
753
  }
754
 
755
  /* === Responsive === */
56
  box-sizing : border-box;
57
  border : 1px solid #ccc;
58
  border-top : 0;
59
+ margin : -20px 0 0 0;
60
  }
61
 
62
  .yith-plugin-fw-panel-custom-tab-container > h2,
63
+ .yith-plugin-fw-panel-custom-tab-container h2,
64
  .yith-plugin-ui .yith-plugin-fw-panel-custom-tab-container > h2,
65
+ .yith-plugin-ui .yith-plugin-fw-panel-custom-tab-container h2,
66
+ .yith-plugin-ui .yith-plugin-fw-panel-custom-sub-tab-container > h2,
67
+ .yith-plugin-ui .yith-plugin-fw-panel-custom-sub-tab-container h2 {
68
  border : none;
69
  padding : 15px 0;
70
  }
93
  margin : 5px 15px 15px 0;
94
  }
95
 
96
+ .yith-plugin-fw-wp-page-wrapper .wrap, .yith-plugin-fw-wp-page__sub-tab-wrap {
97
  border : 1px solid #d8d8d8;
98
  border-top : 0;
99
+ margin : 0 15px 0 0;
100
  background : #fff;
101
  padding : 20px;
102
  box-sizing : border-box;
103
  }
104
 
105
+ .yith-plugin-fw-wp-page-wrapper .yith-plugin-fw-wp-page__sub-tab-wrap .wrap {
106
+ margin : -20px 0 0 0;
107
  }
108
 
109
  #wpwrap .yith-plugin-fw-wp-page-wrapper .yith-plugin-ui h2.nav-tab-wrapper, #wpbody-content .yith-plugin-fw-wp-page-wrapper .yith-plugin-ui h2.nav-tab-wrapper {
577
  */
578
  .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav {
579
  background : #fff;
580
+ padding : 10px 20px 0;
581
  box-sizing : border-box;
582
  margin-right : 15px;
583
  border-left : 1px solid #d8d8d8;
592
  text-transform : uppercase;
593
  line-height : inherit;
594
  font-weight : 600;
595
+ margin : 20px 0 0 0;
596
  box-sizing : border-box;
597
  background-color : #f1f1f1;
598
  padding-top : 0;
599
  border : 1px solid #ccc;
600
  border-bottom : 0;
 
601
  }
602
 
603
  .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav .nav-tab {
634
  .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav .nav-tab-active {
635
  color : #2a8db0;
636
  background : #fff;
637
+ border-bottom : 0;
638
  }
639
 
640
  .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav .nav-tab:first-child {
687
  }
688
 
689
  .yith-plugin-ui li.yith-plugin-fw-tab-element {
690
+ margin-bottom : -1px;
691
  }
692
 
693
  li.yith-plugin-fw-tab-element:hover {
728
  li.yith-plugin-fw-tab-element a.nav-tab i {
729
  margin-left : 10px;
730
  font-size : 12px;
731
+ font-weight : 600;
732
  }
733
 
734
  li.yith-plugin-fw-tab-element a.nav-tab i:before {
741
  }
742
 
743
  .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav ~ .yit-admin-panel-container,
744
+ .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav ~ .yith-plugin-fw-wp-page__sub-tab-wrap {
745
  border : 1px solid #d8d8d8;
746
  border-top : 0;
747
+ margin : 0 15px 0 0;
748
  background : #fff;
749
+ padding : 0 20px 20px 20px;
750
  box-sizing : border-box;
751
  }
752
 
753
+
754
+ .yith-plugin-ui .yith-plugin-fw-sub-tabs-nav ~ .yith-plugin-fw-wp-page__sub-tab-wrap .wrap {
755
+ margin : 0;
756
+ }
757
+
758
+ /**
759
+ * Float Save Button
760
+ */
761
+
762
+ button#yith-plugin-fw-float-save-button {
763
+ display : none;
764
+ align-items : center;
765
+ border-radius : 60px;
766
+ bottom : 50px;
767
+ box-shadow : 0 0 6px 3px rgba(0, 121, 159, .2);
768
+ padding : 6px 20px;
769
+ position : fixed;
770
+ right : 70px;
771
+ text-transform : uppercase;
772
+ z-index : 2;
773
+ transition : 0.3s ease-in-out;
774
+ }
775
+
776
+ button#yith-plugin-fw-float-save-button.visible {
777
+ display : flex;
778
+ }
779
+
780
+ button#yith-plugin-fw-float-save-button i {
781
+ font-size : 15px;
782
+ margin-right : 8px;
783
+ }
784
+
785
+ button#yith-plugin-fw-float-save-button:hover {
786
+ box-shadow : 0px 1px 6px 3px rgba(0, 121, 159, .3);
787
+ }
788
+
789
+ button#yith-plugin-fw-float-save-button.green {
790
+ background-color : #98aa36;
791
+ border-color : #98aa36;
792
+ box-shadow : 0 0 6px 3px rgba(152, 170, 54, .2);
793
+ transition : all 0.8s linear;
794
  }
795
 
796
  /* === Responsive === */
plugin-fw/assets/css/yith-fields.css CHANGED
@@ -553,19 +553,32 @@ YITH UI
553
  background-color : #207a92;
554
  }
555
 
556
- .yith-plugin-ui .nav-tab-active {
 
 
 
 
 
 
 
 
557
  background-color : #fff;
558
  color : #336374;
559
  box-shadow : 0 3px 0 -1px #fff;
 
560
  }
561
 
562
- .yith-plugin-ui .yith-plugin-fw-tab-element:first-child .nav-tab-active {
563
- border-left : 1px solid #ddd;
564
- }
565
-
566
- .yith-plugin-ui .nav-tab-active.yith-premium {
567
  background-color : #fff;
568
  color : #be421c;
 
 
 
 
 
569
  }
570
 
571
  .yith-plugin-ui #plugin-fw-wc {
@@ -683,10 +696,11 @@ YITH UI
683
  }
684
 
685
  /*** Icon ***/
686
- .yith-plugin-ui span.yith-icon {
687
- margin-left : -36px;
 
688
  line-height : 36px;
689
- font-size : 20px;
690
  }
691
 
692
  /*** General Input Style ***/
@@ -696,11 +710,11 @@ YITH UI
696
  .yith-plugin-ui input[type=number],
697
  .yith-plugin-ui.metaboxes-tab input[type=number],
698
  .yith-plugin-ui input[type=text],
699
- .yith-plugin-ui input[type=text],
700
  .yith-plugin-ui input[type=email],
701
  .yith-plugin-ui input[type=password],
702
  .yith-plugin-ui .search-box input[name="s"],
703
  .yith-plugin-fw.yith-plugin-ui input[type=text]:not(.select2-search__field),
 
704
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text]:not(.select2-search__field),
705
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table select,
706
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table textarea:not(.wp-editor-area),
@@ -745,8 +759,16 @@ YITH UI
745
 
746
 
747
  .yith-plugin-ui select:focus,
748
- .yith-plugin-ui input:focus {
749
- border-color : #a7d9ec !important;
 
 
 
 
 
 
 
 
750
  }
751
 
752
  .woocommerce .yith-plugin-ui table.form-table select,
@@ -755,7 +777,7 @@ YITH UI
755
  -webkit-appearance : none;
756
  line-height : 1.2em;
757
  min-height : 35px;
758
- background : url("../images/arrow_down.svg") no-repeat right center;
759
  background-size : 35px 13px;
760
  border-radius : 8px;
761
  padding-right : 30px;
@@ -766,211 +788,6 @@ YITH UI
766
  padding-right : 50px;
767
  }
768
 
769
- /** BUTTONS **/
770
- .wp-core-ui .yith-plugin-ui .button-primary,
771
- .wp-core-ui .yith-plugin-ui .button-secondary,
772
- .yith-plugin-ui .yith-add-button,
773
- .yith-plugin-ui .yith-save-button,
774
- .yith-plugin-ui .yith-edit-button,
775
- .yith-plugin-ui .yith-update-button,
776
- .yith-plugin-ui .yith-plugin-fw-select-all,
777
- .yith-plugin-ui .yith-plugin-fw-deselect-all,
778
- .yith-plugin-ui .yith-plugin-fw-upload-button,
779
- .yith-plugin-ui .yith-plugin-fw-upload-button-reset {
780
- border-radius : 3px;
781
- text-transform : uppercase;
782
- box-shadow : none;
783
- border : 0;
784
- font-weight : 700;
785
- font-size : 11px;
786
- padding : 0px 14px;
787
- outline : none;
788
- height : auto;
789
- transition : all ease 0.3s;
790
- background-color : #d6d6d6;
791
- color : #656565;
792
- text-shadow : none;
793
- vertical-align : middle;
794
- line-height : 26px;
795
- display : inline-block;
796
- text-decoration : none;
797
- cursor : pointer;
798
- }
799
-
800
- .wp-core-ui .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button-reset,
801
- .wp-core-ui .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button,
802
- .yith-plugin-ui .yith-plugin-fw-upload-button-reset,
803
- .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button-reset,
804
- .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button {
805
- height : 38px;
806
- }
807
-
808
- .wp-core-ui .yith-plugin-ui .button:focus,
809
- .wp-core-ui .yith-plugin-ui .button-primary:focus,
810
- .yith-plugin-ui .yith-add-button:focus,
811
- .yith-plugin-ui .yith-save-button:focus,
812
- .yith-plugin-ui .yith-edit-button:focus,
813
- .yith-plugin-ui .yith-update-button:focus,
814
- .wp-core-ui .yith-plugin-ui .button-secondary:focus {
815
- outline : none;
816
- box-shadow : none;
817
- }
818
-
819
- .wp-core-ui .yith-plugin-ui .button-xl {
820
- padding : 0px 20px;
821
- font-size : 14px;
822
- line-height : 38px;
823
- display : inline-block;
824
- font-weight : 600;
825
- }
826
-
827
- /** button with inside a span with icon class */
828
- .yith-plugin-ui .button-secondary span.yith-icon {
829
- margin-left : 0px;
830
- margin-right : 10px;
831
- line-height : normal;
832
- }
833
-
834
- .yith-plugin-ui .button-secondary span.yith-icon:before {
835
- color : #656565;
836
- font-size : 15px;
837
- }
838
-
839
-
840
- .wp-core-ui .yith-plugin-ui .button:focus,
841
- .wp-core-ui .yith-plugin-ui .button-secondary:focus,
842
- .yith-plugin-ui .yith-save-button:hover,
843
- .wp-core-ui .yith-plugin-ui .button-secondary:hover,
844
- .yith-plugin-ui .yith-plugin-fw-upload-button-reset:hover {
845
- background-color : #cacaca;
846
- color : #515151;
847
- }
848
-
849
- .wp-core-ui .yith-plugin-ui .button-primary,
850
- .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all,
851
- .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button {
852
- background-color : #007694;
853
- color : #fff;
854
- }
855
-
856
-
857
- .yith-plugin-ui .yith-add-button,
858
- .wp-core-ui .yith-plugin-ui .button-primary:focus,
859
- .wp-core-ui .yith-plugin-ui .button-primary:hover {
860
- background-color : #375f6b;
861
- color : #fff;
862
- cursor : pointer;
863
- }
864
-
865
-
866
- .yith-plugin-ui .yith-add-button:hover,
867
- .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button:focus,
868
- .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all:hover,
869
- .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all:focus,
870
- .yith-plugin-ui .yith-plugin-fw-upload-button:hover {
871
- border-color : #007694;
872
- background : #007694;
873
- color : #fff;
874
- line-height : 26px;
875
- margin-left : 0;
876
- }
877
-
878
- .yith-plugin-ui .button-primary:before,
879
- .yith-plugin-ui .yith-add-button:before,
880
- .yith-plugin-ui .yith-save-button:before,
881
- .yith-plugin-ui .yith-edit-button:before,
882
- .yith-plugin-ui .yith-update-button:before,
883
- .yith-plugin-ui .button-secondary:before {
884
- font-family : 'yith-icon';
885
- font-size : 10px;
886
- font-weight : 700;
887
- margin-right : 10px;
888
- vertical-align : bottom;
889
- display : inline-block;
890
- }
891
-
892
- /** yith-edit-button **/
893
- .yith-plugin-ui .yith-edit-button {
894
- background-color : #7f9298;
895
- color : #fff;
896
- }
897
-
898
- .yith-plugin-ui .yith-edit-button:focus,
899
- .yith-plugin-ui .yith-edit-button:hover {
900
- background-color : #718085;
901
- color : #fff;
902
- }
903
-
904
- .yith-plugin-ui .yith-edit-button:before {
905
- content : "\e907";
906
- }
907
-
908
- /** yith-update-button **/
909
- .yith-plugin-ui .yith-update-button {
910
- background-color : #94aa09;
911
- color : #fff;
912
- }
913
-
914
- .yith-plugin-ui .yith-update-button:focus,
915
- .yith-plugin-ui .yith-update-button:hover {
916
- background-color : #7a9009;
917
- color : #fff;
918
- }
919
-
920
- .yith-plugin-ui .yith-update-button:before {
921
- content : "\e90b";
922
- font-size : 15px;
923
- }
924
-
925
- /** yith-save-button **/
926
-
927
- .yith-plugin-ui .yith-save-button {
928
- background-color : #267390;
929
- color : #fff;
930
- }
931
-
932
- .yith-plugin-ui .yith-save-button:focus,
933
- .yith-plugin-ui .yith-save-button:hover {
934
- background-color : #1c4863;
935
- color : #fff;
936
- }
937
-
938
-
939
- /** yith-remove-button **/
940
-
941
- .yith-plugin-ui .button-secondary.yith-remove-button:before {
942
- content : "\e90d";
943
- font-size : 15px;
944
- }
945
-
946
-
947
- /** yith-add-button **/
948
- .yith-plugin-ui .yith-add-button:before {
949
- content : "\e90a";
950
- }
951
-
952
- .yith-plugin-ui .yith-add-button.closed {
953
- background-color : #fff;
954
- color : #375f6b;
955
- border : 1px solid #375f6b;
956
- }
957
-
958
- .yith-plugin-ui .yith-add-button.closed:before {
959
- content : "\e906";
960
- }
961
-
962
-
963
- /** yith-plugin-fw-upload-button **/
964
- .yith-plugin-ui button.yith-plugin-fw-upload-button:before {
965
- content : "\e90c";
966
- font-family : 'yith-icon';
967
- font-size : 17px;
968
- font-weight : 400;
969
- margin-right : 10px;
970
- vertical-align : middle;
971
- display : inline-block;
972
- }
973
-
974
  /** SELECT 2 **/
975
  .yith-plugin-ui .select2-container,
976
  .yith-plugin-ui .select2-selection--single {
@@ -1014,9 +831,10 @@ span.select2.select2-container.select2-container--default.yith-plugin-fw-select2
1014
 
1015
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].select2-search__field,
1016
  .yith-plugin-ui .yith-plugin-fw table.form-table input.select2-search__field {
1017
- border : 0;
1018
- padding : 0;
1019
- height : initial;
 
1020
  }
1021
 
1022
  .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice,
@@ -1044,6 +862,10 @@ span.select2.select2-container.select2-container--default.yith-plugin-fw-select2
1044
  display : none;
1045
  }
1046
 
 
 
 
 
1047
  .yith-plugin-fw-select2-container.select2-container--open .select2-dropdown--below,
1048
  .yith-plugin-fw-select2-container.select2-container--open .select2-dropdown--above {
1049
  margin-top : 10px;
@@ -1105,8 +927,10 @@ span.select2.select2-container.select2-container--default.yith-plugin-fw-select2
1105
  }
1106
 
1107
  .yith-plugin-ui .select2-container .select2-selection--multiple,
1108
- .yith-plugin-ui .select2-container--default.select2-container--focus .select2-selection--multiple {
1109
- border : 0;
 
 
1110
  }
1111
 
1112
  .yith-plugin-fw .select2-search input[type=text] {
@@ -1547,18 +1371,20 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1547
  }
1548
 
1549
  .yith-plugin-ui .iris-picker .iris-square-inner {
1550
- box-shadow : none;
1551
- border : 1px solid #d9d9d9;
1552
  }
1553
 
1554
- .yith-plugin-ui .yith-plugin-fw-multi-colorpicker {
1555
- margin-top : -20px;
 
 
 
1556
  }
1557
 
1558
  .yith-plugin-ui .yith-single-colorpicker {
1559
- display : inline-block;
1560
- width : 220px;
1561
- margin-top : 20px;
1562
  }
1563
 
1564
  .yith-plugin-ui .yith-single-colorpicker > label {
@@ -1569,6 +1395,12 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1569
  text-transform : uppercase;
1570
  }
1571
 
 
 
 
 
 
 
1572
  /* RANGE SLIDER */
1573
  .yith-plugin-ui .yith-plugin-fw-slider-container .ui-slider-horizontal .ui-slider-handle {
1574
  top : -45px !important;
@@ -1682,10 +1514,10 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1682
 
1683
  .yith-plugin-ui #plugin-fw-wc .yith-toggle-title h3,
1684
  .yith-plugin-ui.metaboxes-tab h3,
1685
- .yith-plugin-ui .yith-toggle-title h3 {
1686
- padding : 0px 20px 0px 25px;
 
1687
  margin : 3px 0;
1688
-
1689
  display : inline-block;
1690
  position : relative;
1691
  min-width : 173px;
@@ -1703,15 +1535,18 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1703
  }
1704
 
1705
  .yith-plugin-ui .yith-toggle {
1706
- position : absolute;
1707
- width : 30px;
1708
- cursor : pointer;
1709
- left : 0;
1710
- top : 0;
1711
- bottom : 0;
1712
- margin : auto;
1713
- display : flex;
1714
- align-items : center;
 
 
 
1715
  }
1716
 
1717
  .yith-plugin-ui .yith-toggle > span:before {
@@ -1720,9 +1555,11 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1720
 
1721
  .yith-plugin-ui .yith-toggle > span {
1722
  position : absolute;
1723
- right : 50%;
1724
  transition : transform .3s;
1725
  line-height : 1;
 
 
1726
  }
1727
 
1728
 
@@ -1790,11 +1627,11 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1790
  }
1791
 
1792
  .yith-plugin-ui .yith-toggle-row .yith-icon-drag {
1793
- position : absolute;
1794
- right : 0;
1795
- top : 25%;
1796
- bottom : 0;
1797
- line-height : 1;
1798
  }
1799
 
1800
  .yith-plugin-ui .yith-toggle-row.with-subtitle .yith-toggle-onoff {
@@ -1877,9 +1714,6 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1877
  .yith-plugin-ui #post-query-submit,
1878
  .yith-plugin-ui #search-submit,
1879
  .yith-plugin-ui .button.filter-button {
1880
- margin-left : 0;
1881
- height : 33px;
1882
- padding : 0 10px;
1883
  line-height : 33px;
1884
  }
1885
 
@@ -2155,6 +1989,8 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
2155
 
2156
 
2157
  .yith-plugin-fw-copy-to-clipboard input[type=text].yith-plugin-fw-copy-to-clipboard__field,
 
 
2158
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].yith-plugin-fw-copy-to-clipboard__field {
2159
  height : 38px;
2160
  width : 100%;
553
  background-color : #207a92;
554
  }
555
 
556
+ .yith-plugin-ui .yith-nav-tab-wrapper .yith-plugin-fw-tab-element:hover > a.nav-tab.yith-premium:not(.nav-tab-active),
557
+ .yith-plugin-ui .yith-nav-tab-wrapper .nav-tab.yith-premium:not(.nav-tab-active):hover {
558
+ background-color : #d24318;
559
+ }
560
+
561
+ .yith-plugin-ui .nav-tab-active,
562
+ .yith-plugin-ui .nav-tab-active:hover,
563
+ .yith-plugin-ui .nav-tab-active:focus,
564
+ .yith-plugin-ui .nav-tab-active:focus:active {
565
  background-color : #fff;
566
  color : #336374;
567
  box-shadow : 0 3px 0 -1px #fff;
568
+ border-bottom : 0;
569
  }
570
 
571
+ .yith-plugin-ui .nav-tab-active.yith-premium,
572
+ .yith-plugin-ui .nav-tab-active.yith-premium:hover,
573
+ .yith-plugin-ui .nav-tab-active.yith-premium:focus,
574
+ .yith-plugin-ui .nav-tab-active.yith-premium:focus:active {
 
575
  background-color : #fff;
576
  color : #be421c;
577
+ box-shadow : none;
578
+ }
579
+
580
+ .yith-plugin-ui .yith-plugin-fw-tab-element:first-child .nav-tab-active {
581
+ border-left : 1px solid #ddd;
582
  }
583
 
584
  .yith-plugin-ui #plugin-fw-wc {
696
  }
697
 
698
  /*** Icon ***/
699
+ .yith-plugin-ui .yith-icon--right-overlay {
700
+ position : relative;
701
+ left : -33px;
702
  line-height : 36px;
703
+ width : 0;
704
  }
705
 
706
  /*** General Input Style ***/
710
  .yith-plugin-ui input[type=number],
711
  .yith-plugin-ui.metaboxes-tab input[type=number],
712
  .yith-plugin-ui input[type=text],
 
713
  .yith-plugin-ui input[type=email],
714
  .yith-plugin-ui input[type=password],
715
  .yith-plugin-ui .search-box input[name="s"],
716
  .yith-plugin-fw.yith-plugin-ui input[type=text]:not(.select2-search__field),
717
+ .yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text],
718
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text]:not(.select2-search__field),
719
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table select,
720
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table textarea:not(.wp-editor-area),
759
 
760
 
761
  .yith-plugin-ui select:focus,
762
+ .yith-plugin-ui .yith-plugin-fw select:focus,
763
+ .woocommerce .yith-plugin-ui table.form-table select:focus,
764
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table select:focus,
765
+ .yith-plugin-ui input[type=text]:not(.select2-search__field):focus,
766
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text]:not(.select2-search__field):focus,
767
+ .yith-plugin-ui input[type=number]:focus,
768
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=number]:focus,
769
+ .yith-plugin-ui textarea:not(.wp-editor-area):focus,
770
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table textarea:not(.wp-editor-area):focus {
771
+ border-color : #a7d9ec;
772
  }
773
 
774
  .woocommerce .yith-plugin-ui table.form-table select,
777
  -webkit-appearance : none;
778
  line-height : 1.2em;
779
  min-height : 35px;
780
+ background : #fff url("../images/arrow_down.svg") no-repeat right center;
781
  background-size : 35px 13px;
782
  border-radius : 8px;
783
  padding-right : 30px;
788
  padding-right : 50px;
789
  }
790
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
791
  /** SELECT 2 **/
792
  .yith-plugin-ui .select2-container,
793
  .yith-plugin-ui .select2-selection--single {
831
 
832
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].select2-search__field,
833
  .yith-plugin-ui .yith-plugin-fw table.form-table input.select2-search__field {
834
+ border : 0;
835
+ padding : 0;
836
+ height : initial;
837
+ min-width : 380px;
838
  }
839
 
840
  .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice,
862
  display : none;
863
  }
864
 
865
+ .yith-plugin-fw-select2-container.select2-container--open .select2-dropdown:after {
866
+ display : none;
867
+ }
868
+
869
  .yith-plugin-fw-select2-container.select2-container--open .select2-dropdown--below,
870
  .yith-plugin-fw-select2-container.select2-container--open .select2-dropdown--above {
871
  margin-top : 10px;
927
  }
928
 
929
  .yith-plugin-ui .select2-container .select2-selection--multiple,
930
+ .yith-plugin-ui .select2-container--default.select2-container--focus .select2-selection--multiple,
931
+ .wc-wp-version-gte-53 .yith-plugin-ui .select2-container.select2-container--open .select2-selection--multiple {
932
+ border : 0;
933
+ box-shadow : none;
934
  }
935
 
936
  .yith-plugin-fw .select2-search input[type=text] {
1371
  }
1372
 
1373
  .yith-plugin-ui .iris-picker .iris-square-inner {
1374
+ box-shadow : 0 0 0 1px #d9d9d9 inset;
 
1375
  }
1376
 
1377
+ .yith-plugin-ui .iris-picker .iris-square-value {
1378
+ width : 0;
1379
+ height : 0;
1380
+ background : transparent;
1381
+ border : 0;
1382
  }
1383
 
1384
  .yith-plugin-ui .yith-single-colorpicker {
1385
+ display : inline-block;
1386
+ width : 220px;
1387
+ margin-bottom : 10px;
1388
  }
1389
 
1390
  .yith-plugin-ui .yith-single-colorpicker > label {
1395
  text-transform : uppercase;
1396
  }
1397
 
1398
+ .yith-plugin-ui .the-metabox.multi-colorpicker span.description,
1399
+ .yith-plugin-ui .yith-plugin-fw-panel-wc-row.multi-colorpicker span.description,
1400
+ .yith-plugin-ui .yith-plugin-fw-multi-colorpicker-field-wrapper span.description {
1401
+ margin-top : 0;
1402
+ }
1403
+
1404
  /* RANGE SLIDER */
1405
  .yith-plugin-ui .yith-plugin-fw-slider-container .ui-slider-horizontal .ui-slider-handle {
1406
  top : -45px !important;
1514
 
1515
  .yith-plugin-ui #plugin-fw-wc .yith-toggle-title h3,
1516
  .yith-plugin-ui.metaboxes-tab h3,
1517
+ .yith-plugin-ui .yith-toggle-title h3,
1518
+ .metaboxes-tab.yith-plugin-ui .yith-toggle-title h3 {
1519
+ padding : 0px 20px 0px 30px;
1520
  margin : 3px 0;
 
1521
  display : inline-block;
1522
  position : relative;
1523
  min-width : 173px;
1535
  }
1536
 
1537
  .yith-plugin-ui .yith-toggle {
1538
+ position : absolute;
1539
+ width : 25px;
1540
+ cursor : pointer;
1541
+ left : 0;
1542
+ top : 0;
1543
+ bottom : 0;
1544
+ margin : auto;
1545
+ display : flex;
1546
+ align-items : center;
1547
+ box-sizing : border-box;
1548
+ align-items : center;
1549
+ justify-content : center;
1550
  }
1551
 
1552
  .yith-plugin-ui .yith-toggle > span:before {
1555
 
1556
  .yith-plugin-ui .yith-toggle > span {
1557
  position : absolute;
1558
+ /* right : 50%; */
1559
  transition : transform .3s;
1560
  line-height : 1;
1561
+ font-size : 13px;
1562
+ font-weight : 600;
1563
  }
1564
 
1565
 
1627
  }
1628
 
1629
  .yith-plugin-ui .yith-toggle-row .yith-icon-drag {
1630
+ position : absolute;
1631
+ right : 2px;
1632
+ top : 50%;
1633
+ transform : translateY(-50%);
1634
+ font-size : 18px;
1635
  }
1636
 
1637
  .yith-plugin-ui .yith-toggle-row.with-subtitle .yith-toggle-onoff {
1714
  .yith-plugin-ui #post-query-submit,
1715
  .yith-plugin-ui #search-submit,
1716
  .yith-plugin-ui .button.filter-button {
 
 
 
1717
  line-height : 33px;
1718
  }
1719
 
1989
 
1990
 
1991
  .yith-plugin-fw-copy-to-clipboard input[type=text].yith-plugin-fw-copy-to-clipboard__field,
1992
+ .yith-plugin-fw.yith-plugin-ui .yith-plugin-fw-copy-to-clipboard input[type=text].yith-plugin-fw-copy-to-clipboard__field,
1993
+ .yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].yith-plugin-fw-copy-to-clipboard__field,
1994
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].yith-plugin-fw-copy-to-clipboard__field {
1995
  height : 38px;
1996
  width : 100%;
plugin-fw/assets/css/yith-icon.css CHANGED
@@ -6,10 +6,10 @@
6
  /* stylelint-disable function-url-quotes, declaration-colon-newline-after */
7
  @font-face {
8
  font-family: yith-icon;
9
- src: url("../fonts/yith-icon.eot?9b110ae71c86256f1bb853df2050290b");
10
- src: url("../fonts/yith-icon.eot?9b110ae71c86256f1bb853df2050290b#iefix") format("embedded-opentype"),
11
- url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAABjwAAsAAAAAKlQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xkr2Y21hcAAAAXwAAAFHAAAD2mDI02dnbHlmAAACxAAAEsoAAB+oFAg03mhlYWQAABWQAAAAMAAAADYaWpUuaGhlYQAAFcAAAAAeAAAAJAQ1AiBobXR4AAAV4AAAACIAAACoUgT/7GxvY2EAABYEAAAAVgAAAFakFJwibWF4cAAAFlwAAAAfAAAAIAFIAVZuYW1lAAAWfAAAATAAAAIiyMcJZnBvc3QAABesAAABQQAAAdfFCO7/eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/MI4gYGVgYNBjDGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHF4yfORkAnH1mNgYeIE0I4gDAI1KCDp4nO3TW1LCQBSE4T8hCQTwBirgFfBe5WIsV+WCfHJH53FWgH3SLsNQHwxDEpJ0D9ACI3mXBqofKnL71mw1zI+YDvMNX/o+0auGeCx16Q8HjShVaXM0bJV+/+BTo1pHNjr/lCNOWLKWO7Y88ciKhUYXnGvvXnvcsuOBV+65ZqxzdMw4Y84lL7xxyhXH7LnhmY3+ouN/m+dbvf379p452JBOZZls1Jbpxsgy9Wgs043WlBTRmTIjxqbkiIkpR6K3YX5qypaYmbIl5qa8iSNT8sSxqQPEiakNxKkNx56ZGkIsTF0hlkZey7mR13Jhw71cmjpFrEztItamnhEbU+OIK1P3iGsjP2+MfAa3lisi7ox8TvdG3vfWyGvfWaYUeyOv68HUaq0gU7+1gkxNp9SmzlNaU/spnWkdUMamFUGZmNYGpTc2v5ETa04AeJytWHmQHFd5f1/fPX3MdE8fOzPdc8+0dmcv7Ryt9ewhyaxkHbYlW7vyLUArxxBTBCXGkTBBQJUpDodQIXGQBSRFhcMhf6QojE2qjJKyjYBUgHJMwBSExAsFxEUZkYQKyK18r6dnD9kYqIo0+/q9733v+L73Hb/3iEXwH3yDISRLXFIgLTJFFsnV5EZylPwO+V3yFvI28n7yp+Sj5NPkUfIE+Rpy17oVu1YVbMNy2pWZXtfoNBttu8YaFYNFug+W04eZ3jx0mmK3bYsvQ+u+DC38DWnBy9DougNKp9neVK9tbrTg5ZngsVa01lIzGRVOYhl9aW1tL5zcu0YptHhh7Ys+rfuKYWzzN1WPe6phqLTY5q1SkkI7R/3VTfTbRJbjWFoECq2lWJ5nj8RlCtsTqQGR465dZ4Rzq6sZNTpHJ4RVNXPNNdEZWI3OwexgYbrKrO+fM5Q0bWHRSqfPZFSdrqqrmTFdH7uytUo5ca4zq6utLePgFCdwr/Cj5hHbyCV4J+EJaQShG7pALlk//KH1+3FJ1nneCZeGPKILb7xEu7m43OB5YMATBvjf/QAdf4mLy/V1HhjMIWI//JD2XHprXNJulRYMgZ8TBe21htbaJ3vRWo+RVXIXeQN5AGf+Fbawue5uNpFNFsL8+qEQiPYiuGIgdlHKsCa2Z9ATapUq+kEfwisc4w90etI6nmovzfA8k45r9KRpEdBKzNEa1LB47hVHgHrwgwcPexnvTa/1XvPBpt5hmGiOYX6s/o9qmio8geUTLz3Ea1/5jOHQ1E+O1H9uFMx/KX3YPHfYZ6KIYYBhfFOLonhiRjOJdvky6h4wVtRIQMbJdtIlc2Qn2ZPo/s0YKwi0Y6+cgmYaEje1E4elOqEO2wIaAWjZQBXaol3pitVZbPpMrctP1yoh3xAd1253F6ATNIOu44ZY1mwdLBfpzdCxxKATYoUeCz0Usdrs9GYcS4A1XZCkn4riTyVJyAD1AXgKS2W+XIJytLy2dnP0fB/KZfgURLMAX4x+lsp4hmVrclbXZN2hVcmyGppW1DTLzOfr+bwpyrIuyzAuCT2JO8Oyb+fkjiA9baglugAW5fLcg17x1B+WvKeffvDBB71y+bYynLBVJmsxVkkWuCIj2jKTzTI2tnifcXmD2Z1ic9z3C7hAvTBPF9BlavmbdNwiS+RwHHEH0cvfXNtqaAFGYPoHVq2RbdvD8Oiu19piza7ZbdRqu1uD55bjWHIyDibL62o66/tf9H1YobrZzLHybW92Fn/wZImGjtKgNNTo3njou1WjtLq6Gn0UAN4zSgPkKGyjn21n6SiPEG1dLpYYpBRL18U8s5ccICfI/eS95E9QTjxjMbYf3CrWLSek+x1K3GcGIm4htt0B50DIYX8tRFGNWBXdKxTF4tSTEISO220GzW6nF6I1Oq7YDLB0bEsIuoJtuZ3A7sHsyVlUged7qAovVgTWvVnPey4m0a4hfTamv2l5oLoNjf6rk/Fk1RhxlUx+xMkbSibjpjK5yUwXY+8nfW8JdYX/MDInSvU8r59Ul7YNlOjH/6J7qXa9zUqPPjUyArKY15iaICqWmWNHXEYpyEydj5u3FTlVnpWFIg3jJLPpDESMn+kk55cSW5uKs/6t5B4EA0M1Jn/8r2ln/18s9KTnLfs+/lY87zL5VY03/ZamC17yr3XFF278LY0Z1Scm+ecZ1F6B1MkE2vDN5LVou5UrzCxJCdi2xZeEqWGOstcTS4xkat32EKgMEQ4mHLcdTILIt+E/orn1KJ+K4z48wayNVKvT1eoI7j1nGKdKgiwLhoVBUKhi9QXLoNWYWsUacPmizzpK9De3w35TjSLNNDVgVDP6Xhzxmf10sunqTeaIib9VWZWuwT9JOCHIJ66RVJzmBE6jyjBxwy2Kwr6BUGuKdcLQ7JxDayKV6iR0FmCmCJYObBXDdhFmMJZPApugh6U3Ly29+T20WFq4a2HhrvtocXjFWny9k9CxgLWkA4vo/HX27DvMBCNE8M0EQ7jgfv2fsp+FnDv99/bH4Y+M9f1QO6d4to981Saqt4fqdDBgdDcruMvXNndaArsVXNZ2pR0n/ZW04zULXyk0m4VlGI2/tPhB0uekv5p8l5eTPu+rCT8WsD3pxWKgKirDI/BI7IcEXAiyIAL8lRU9bFmwgh/4LK3DSlyQdbujMlG/zcUeu0iuR0+lWx/A6baI3tWIY2MgFoHHv7irSb2Zp2EyZqNJYEPArCWgNtZVYHtOWpJw/9Q/tnvFEV4zo+c9rj4yMqJbrz52DHae9OYLzXp9IF9qQzT4QqwlMTz2YWSucx5jf5d3S54JJe9Byj/vnUw0Ev3XuuZQLCnxqb9Eydw4Gg1R3Uu8iq/M+FDpdpA+DxXbimPKbwDxtwC4zW4UTaMLRTvgKfQmuHBnuXxBHyKxufXaG9drvXVwBh+l3jPARqrpMWHIRL9gzp5ljpfdV8LSl39x+WeMgOeIfgIiJi83DEQ3xDBKPyhP/ME7DX7g89boP7SsA9dbrX+csK4/uKUF+H1sQH10zD6IrS8PWl/CVuIDIiMQDvWL2VcGMYQaYmr6deGh6G36aXj76M7di9F3D0qQ3c0I0dtO6XBm56t2RkelA2C+ik7BX/4lzsPD9/FkAnIVZuvrcN+YOANEaIIo1KpYac+EvbC3CHy1BbTV63YQJFtCVmzWqiJypQFxm0PvBDwytmdc2kGzrNgMxR5c0uzRcbvfKbf2XFcpu62JvbsmA1sRo0sYgl1NyzcE1/rU67Y153dOjru6JKas+vgbLPhMtNKc2Hd13g8wBzbYhf4nswIoullzHX+mXhiTRrSy28hm5JrL1/Oa5rK6BcLr1JLTyKZlOW3W3btxlq81Ci0pYBt5UZ73D2VjqMIlcr+bOHGU7+GNpIpSN6eAyjrjOiWgkolCAyWj8mMfyuoOI3wwjPlAEmmk0sQtn75lsiiJih1M7oqeLY8vndvTKqMI9++beCzfaHQajbxuWZ5lncZ9WxlZrpTm5ksVWc5kG275XY18a6xQbxTGW4XjdWTu1F9NmT28gXHrMZjGFJrV4xxu09x8hQ8B3tMvUv++GO2Ir5gXsIwm4AKcaY19Au4zlA165MGFaAfZPD+N8T6pvFKUF5OVf0WcP0gXf/kwv4o7oGtdvhyv5WAs2EH209vgAnRx5sEqaGGhS5W7sT7upTGJiEPUoQjUxPBU2rgbNw5yqADXEgXHxZFw6XTenztx7539/p390QPF05wqRV7nptfd1G5j0YE5e1dzsskzosKXGqVuhhd5ibEYzILA4JkzgjRyunhgtE8nuPfEnJ8/zUkqZDo3dZJJ3lWq5TklxbCOlxcEvHUrsiDSnyykQFzPl3ARPTMgbTwpel8OEJfymLgRNjTxmHoxOPDBRdPqduhlacZhu6JQnQLbwqM8b63cYE95oGIYisPZxz/O/Oc3WI752McwHD3DyexzFB3Ae+0bVrLTT37pAxup3mMKHznLgMd4ZnTxyQ+xzNkn45QU7wsegxbuyyB53NfAgqvofVdW9uZqOfz9ca6ew9/7By0gJm3lzC2fZN5LuMYEOUTuxjrCbOo6AY0OaSYOEAFe7fqxby0yWPTBofWgCYuwuRlgiI/9jsX4s3lA2ItDjCNuj70y2N7EG+J2eFaXCnfPXstpssixNiuLsrSH5fVdUkpIMQ7LCSmNu3b27kKKZaP32SwnyoO2wgmNyds/IMtiij0GwAnKbgkHz1oMR3kcQ6lJHItRJbB0FZHTJ/KVfO7msoE4TRLvSEsCAyDhcaO16MdEiRfBKN9cLo1F59db9cpUoRYzRCdEiRNpNbpRELGXxUwvFNNaw9RYhuFUMb4WSoO3OvgO4nYH88cY2s4c3hARBQDa/hVuHiCaRFePU70RODTN2xRfinGatDFmx7QtlIHbIhucm5LE6EfDNzFerY9HT0NGEo68mLIdzak5PKcoalp5i17wK9UCI2UMVU+/dXJ83IG/npIyanQmHtzkRJUbjx6CM8uCHK09KzUM7/g0b4iVQJssHL9G8jNz12edbHCckFTs9wBrif3VyDjeEa9HHHATuQOtcWB5eCmk8ZXG2fAlFPellC33kc3PEDzeXFDirJudpmpYyfp+4PuWpCiGonzGC4IdQeBlXLfsup+3fH+b51ly3LfrlKF+SDVOxbeFJymI+ORpOPW5h+Dsn8Op0yBT1m3+kppR8Zem0+wIXk+nKbuPb+m7fV4zDG3e0D5Hp3pUNZ551H8GshD95NENnHgR40SME7MVu5JtGzUd1iJvDeGZ7gGJvORdjVHg64Q2KgMgUcG46NPIWMNhGAjnaWCG+6KnJrMYODqwq9wplTrl6CNwvLk7CHbD+ycwUli9Ure0E7v8YHewM9jdJMPYDy/CPyPmtmNMHSNvjFk1jL801Io09OrAx292eMkJQhqkMWS3cQMH9iIktXZ7vdvDudVc3j7anjo0BX/W6Vr7974YU1Y6SMH+H++z8C4+Ed4e7gqVyR1Th96CE+zdf3ZXT53aMXV4CjtiTBLv5zvwv/FeDpLDZIVmiOZGel6M8cYwQ4ssjQy9QY4OkOD+Fk8ARLC9brNnMmowcRNiEWtfu60yZq/Z9ezz7r6x6emxfe7U2NXF4tVjf+EYxZRm5nOK6eUdz1QMM6cYhWkjzGQEVnZbizffo3GY/Uddt17PpTntnpsXW04KDt1/a7dQ6N56f9ou1+tl66ncCKRET2eagqja2QKbyzGKl2ICXlIcs/CaMqel+rJQ4hIb+QJDtaIMM4kRW8BR6/HHrYcfpiW0rPPnrU9Hh//WPn/eXretOMcqZBm1V6O+Qi8AKLyIKtBBTDInGpE7yQQbAFsM8NTD2JViRwqK8Wuomw0SMxjgAATp3/V5WeZ9el+0K1etzmGelLgdx+Z4jqNEwec5uOq1fUAyBHu8B0fthV9ac7Wj00PY8APswd/HrN7i3J0LLMcPh7HhrSFLZ2P6dy5wLDNYiGGZYu6hieyrgLUWytUh8ti/bjPPorzpBL+MUl+hj0Q0jSCA6xptdnAX6hoVMXmrYOlTEwZFeDY6WLOM3MWcYdUWLf0iAsneKd9/je+L7/Of8uFdXvT82Ihtj4yBFT1fKJcLYPW/9a1vwQP9o0eHb9+xvosbtxoMzEP0j5gMl0kA2toAgP33JPXIzjfhwkMPYZshA2QG9nZr+QZ75hKFZt4Apw3fJWJ8VsfMME06eD9Ev4DNwAxif6XuilTMDC6WtNWwMAOHoosnWUOktQjBJJ5fjKJY6s2VRTSFGIJRz6bWAWTPPUtL97yPFtE3ENsdmB9Lz/Q7RctsTIDqlyHM2d7+6yrNafbffKFVtnU7t706si21f/RgMQ+CDuNN0+LblcbCXQxJZsLiMsHJJiedvDftuaNpc2mbrpeuv89ppNQbVlJKWE+VphVXkBtOacLNRg/7eQ/MbUtmetTV9bC0PIXDY/z+Is0lsT4G71ykwSJAZ4U4/ncaBaDn26Uo9cUXOJO7yEoSrGEGbnz72z+iANWFfxfFyJc0SZHhkWj/0db33kOtJ85RDOC8Js6aw/Osk2b8Gt5GrLpAdpK/g33oiVsAcQ9jTW0e8MoU1DDM9EL6vl3ribbbtgWx6dpIc9shvVLRp+62EHbDaq1JWRH/0Nf0ahoE2gzW05mAzM2kxyoBnuDw6QJDGaU4MxQ74ZwbT2w9XNpJeuistBm2k9cnav10f/F1DZksnBjhJq5BSXb8PDJ4K2iG3SAhxxwdnA6NJiZtek1AiRJyzDGDc5aAkrqbnlwcVEJCjjnoqoMNtAcvElGtX6v1l2hhVQoWv2wZRoXRLcPMznnlIxwPR8qedShrGlVAqmHNFSpHOOH3GE6XeEmQOV3XtUDjZT5jAhSyVrYAkM1wMo9U7MvIgpstFLJoVJmEVeIz2XVWM8MPWTlZwCk1EdkBL3QZyUQsyat4U+Dxm+YFhVdTTk7BTktUgFEKjiLzKo9dOrIoYkpIC6wmyhlRicdrLBJSG+NVLpVyChvjc05K3TxexS9rCikcD2eq/T39alwcYS23eFWBTSk5j1VSbNlii8UWoxWR7r2EHAIYGT7Fa02UVkOZ8G6iUpmygiqigCKvobBNxCbmQAdZRCkDXqpQYcCLQ3CgzA14cbqMkahsd7J1WduydUEX2IxkiInoaVbQrhTdzWtMIjuqLpXaqjpNYNMb4zMsTrhJ9agneaD6Dez0ZYZFhLwba4IYXx9EGtPwjlirUpiArhQbOxLR+BEXxJeMcAAahMGrRmj1eMoswIV66LHs/H5H1ZU0wPwIyivLhZxRbZsOnwYPQDOCicmsKcjLzR4nLu/oTlSuCuToBbx2LdVhVy5/x+FdDHOEN9XiXj892UrnywxTnHAMG149UjZtli1pmZITeM3xa5f6x/0CP/OsYlV3kf8DvcOm2AAAeJxjYGRgYADiyCmbS+L5bb4ycDMxgMCd2VoyMPr/r/+fmbiZ2IBcDgawNAA5VgtHeJxjYGRgYGIAAj0mhv+//n9l4mZgZEAFWgBfKgRZAAB4nGNgYGBgwon//8cth6H2F5T+DcHE6sNr5l8YGwBDEwo6AAAAAAAAARIBJAE2AUYBWAIWAsgDNAP2BJgFIgVYBWoFugXUBkIGuAbsBxAHjAfkCBQISgi6CQYJMgnWCkYKzgriCxILWgvgC/wMdAy0DOQNbA2YD2wP1AAAeJxjYGRgYNBi9GIQYQABJiDmAkIGhv9gPgMAFdgBoAB4nG2PPW7CQBCFn/mLAlKEEilSulWKNBHmp6DgANBT0Buz/kG211oWJC6QE+QMOUNOkDJnyFHybEYuEnal1ffevNnRABjiCx6q4+G2fqvTwg3VhdukoXCH/CTcxQDPwj36I+E+XjEXHuABAX/wOtVv93DCLdzhTbhN/124Q/4Q7uIRn8I9+t/CfWzwIzzAizc/py4ZpaEp1jo+ZoFtdAMbbQ+pKdTUnzTeShfaBk7v1PasDqd45lykImtytTSF01lmVGnNXofOT5wrF+NxJL4fmhxnpNwm4dYpQhgUWEMjxhEZN7ZX6v+dDTssDtSVUpjCx+RKbsVcUWcDVjR2zG6ZU+w9ceaMrkNEHTFjkJOWdWeVzngNnbKu7emE9H1OqLpKLDDmjf7k/Xp2/gurBGCqeJxtkOtO3DAQhXNYZwnZdAsthd4vQC9Q+aFce5JYOLY7drTK2zfZtP3F/Bh9n3Q8Gk9xUqxVFk/XA06wgUCJLU5R4Qw1dmjwDHs8xzku8AIvcYlXuMI1XuMN3uId3uMDPuITPuMLbnCLO3zFN3zHD9zjAT+LWmkdRp+t72rFHA7ShIP/i47avFuRbdfnauUx1r+Uf5S6J/0oFmy0cuSNYqmM2f+XIXiaqn8qtEp9c3wktWXtqDxKqd2cW3oioUOcdprJ2Cy1YiMMq04sWtNE8hgymxkb69sg0+9RzWGxyNmgOm9bS1wNyjoZxiyGwLSNaorKbaJpt5FCdCSiG1PJFN0090S5Sb0lZ9aFRQqc62wHWn9YZp4X347RBWWqMRHL0LbnB8V+vprMbJXvHO0PgecR87TlmElMNvdF8Qc7rIJZAAAA") format("woff"),
12
- url("../fonts/yith-icon.ttf?9b110ae71c86256f1bb853df2050290b") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
@@ -123,6 +123,10 @@
123
  content: "\e911";
124
  }
125
 
 
 
 
 
126
  .yith-icon-info-squared:before {
127
  content: "\e922";
128
  }
@@ -171,6 +175,10 @@
171
  content: "\e910";
172
  }
173
 
 
 
 
 
174
  .yith-icon-shield-money:before {
175
  content: "\e917";
176
  }
@@ -217,7 +225,7 @@
217
 
218
  /** Deprecated: use yith-icon-paypal instead */
219
  .yith-icon-paypal-svgrepo-com:before {
220
- content: "\e91b";
221
  }
222
 
223
  /** Deprecated: use yith-icon-arrow-down instead */
@@ -282,10 +290,10 @@
282
 
283
  /** Deprecated: use yith-icon-edit instead */
284
  .yith-icon-pencil:before {
285
- content: "\e907";
286
  }
287
 
288
  /** Deprecated: use yith-icon-reset instead */
289
  .yith-icon-update:before {
290
- content: "\e910";
291
  }
6
  /* stylelint-disable function-url-quotes, declaration-colon-newline-after */
7
  @font-face {
8
  font-family: yith-icon;
9
+ src: url("../fonts/yith-icon.eot?0e894d67ed2e93cb5f295baa68aeba0d");
10
+ src: url("../fonts/yith-icon.eot?0e894d67ed2e93cb5f295baa68aeba0d#iefix") format("embedded-opentype"),
11
+ url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAABnEAAsAAAAAK8AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xkr4Y21hcAAAAXwAAAFUAAAD9iWK06dnbHlmAAAC0AAAE4wAACDcFkarWmhlYWQAABZcAAAAMAAAADYapsJcaGhlYQAAFowAAAAeAAAAJAQ1AiJobXR4AAAWrAAAACIAAACwVgT/7GxvY2EAABbQAAAAWgAAAFqyxqsabWF4cAAAFywAAAAfAAAAIAFKAVZuYW1lAAAXTAAAATAAAAIiyMcJZnBvc3QAABh8AAABRgAAAeY+TI68eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/MI4gYGVgYNBjDGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHF4yfORmAnH1mNgYeIE0I4gDAI1wCDx4nO3TV1LDQBCE4V9yDmBwJjqQQ/HMMSjOxYF44j7zuCeAHrWPwbo+12otySv1DNABWvIqbah+qMjxrdWqWW8xbNbbfOm4r08NcVvqMvr91YxSlU7OmlHp9w8+Nat1ZVv3H3LEhBlnsmHHA/esmWq2YK6zBzrjmhvueGbLJT3do8uIU8aseOKFEy445pYrHjlnyV5/0+V/jPOrfj8cvWUW1iRUWaYbtWXC0bJMPtqWCUfHlBbRNeVG9EzpEX1TlsTAmvWhKV9iZMqXGJsyJ45M6RPHpjogJqaKIE6sufbUVCXE1FQvxMzIvcyN3MvCmmdZmuqKWJkqjFibao04M1UdcW6qP+LCVInEAfkOriy7Iq6NfE8bI597a+Ted5Ypxd7IvdyYKltdZKpxdZGp2im1qe4pHVMHULqmXqD0TF1B6Zv6gzIwdQplaOoZysjY/wHR/XAUeJytWXmQHFd576/vnu45uqePnZnuuXpmWruzl3aO1nr2kNasZB22JVu7krGNAK1kQ0yBRYwjYUBAlSkbDKFCoiCJI3HFgEP+SFGATVKgpGwjQypAHBMwhUPwQoC4KCOSkIDcyvfezOzOSsZAVXZnXr/3vaPf973v+H1vGJPBP/gmyzBpxmFyTJ2ZYOaZq5kbmQPMbczvMW9l3sF8gPkj5mPMp5lHmMeYr+Nov1Wy/LJo6abdKE21W3qzVm1YPqeXdA7pHph2B6bas9CsSa2GJb0ErfUStPC3pAUvQSPv7VKatcZA3R9s1OGlB8Gj9Wi1rqVSGhzDMnpydXUHHNuxSiikeGH1yx6pe6qub/IGqoddTdc1UmxyVwhJJZ3D3soA/RaJ43mOFIFKajFOELj9tIxheyzWJfL8tWsD4ezKSkqLzpIFYUVLXXNNdBJWorMw3X0xecu0553V1SRpYVFPJk+mtAR5a0JLjSQSI5e3VshIXOvkykp9wzw4zov8y3yIelAduQjvZgSGqQahEzrAXDR/9CPzzbRk1sa8Gy72x0gOvPEi6eZpuT7mge6YMMB/54Nk/kWelmvveaC7hoT98CPSc/FttCTdGilYBn7BqKivPmprh9mB2nqIWWFuZ97APIAr/xpdGKw7gyoyoCHsb54KgWTNgyMFUgu5DH2pMYWW4JfKaAcdCC8zjN9PkJNO4Km2k6wgsElaIydNioBU6Ih6t4bFcy87A7Q9H9qzz025d77Wfc2Haokmy0YzLPsT7b81w9DgMSwfu/IQr335M4a9Ez/dX/mFnjP+ufAR4+w+j40ilgWW9Yx4FNGF2bjBxC9dQtkD+gqfCZhRZjPTYmaYrcz2nuzfgr6CgQa1ygmoJaFnplbPYIlMiMHWgXgAUlZRhJZklVpSeRqbHuu3hEm/FApVyXasRmsOmkEtaNlOiKVvJcB0kF4LbVMKmiFWyLGQQ5HKtWZ7yjZFWE2IsvwzSfqZLIspIDYAT2CpzhYLUIyWVldvip7vQLEIn4JoGuDL0c9jKVc3rbiSTsSVhE2qsmlW4/F8PG4a2WwlmzUkRUkoCozKYlvmT3LcO3mlKcpP6VqBvACLYnHmlJs//gcF96mnTp065RaLtxThiKWxaZM1C4rI51nJUth0mrWwJXisI+jsQozL8D/I4QsquVnygoRCNH9AxnVmkdlHPW7Xe3mDtY2KFqAHJl8w/Wq6YfXdo7NWa0i+5VsNlGqj5cNzS9SXHKPOZGlNTKc978ueB8tENoMjlr/jTk/jBx4vENdR6Ja6Ft1Np96n6YWVlZXoYwBw/zBxkMOwiTw2nSazXIaJr/HFMTpToNy1MM7sYHYzR5h7mfcyf4h84hlLVH9wq1g37ZDst89xh+2yuIHYcLoju0z2+/0QWdWpKFqXCYrDpcchCG2nVQtqrWY7RG20HakWYGlbphi0RMt0moHVhulj0ygC13NRFC4VBNbdadd9jpJIV58+Tel3LnVFty7Rf7FTrqLpQ46ayg7ZWV1NpZxYKjOeaqHv/aTnLqKs8A89c0+orut2etXFTV0hevQvuptI1x0UevSpoSFQpGyc9UVJNY0MN+Swak5hKwJt3pLnNWVaEfPEjTOpgTOQ0H8mezG/0NO1CRr1b2buQjDQF2PvK/yGdvr/RUOPue6S5+Fn2XUvMb+ucefvqLrg9v7qlz3hxt9RmVF8Ui/+PI3SyzEVZgx1+Cbmtai7pcvUrBcSsG1JV7ipfoyy1gILRTJ+q9EHKn2EgwHHaQTjIAkN+H40s+blY9Tvw2Ps6lC5PFkuD+HeM7p+vCAqiqib6ATFMlZfMHVSpdQy1oDP5j3OVqO/vBV2GVoUxQ0jDqxmRN+jHp/dRRabLB80hgz8rCiafA1+ZfGIqBy5RtZwmSO4jKbA2A2vVFXuDQzRJioTlkTnDGoTUyqPQ3MOpvJgJoAro9vOwxT68nHgeuhh8S2Li2+5nxSLc7fPzd1+Dyn2LZvzr7d7dCxgtdeBRXTuOmv6XUYPI0TwrR6GcMD5xj+kPwsZZ/JvrIfg7frafoieEzzbwXHlGoq3jeK00WG0BgXcEvzBTlPkNoJLf1vStpNfTdpuLffVXK2WW4Jh+iTFD3t9dvJrvefSUq/P/VpvPBawudeLRVdUhIfPweeoHTLgQJAGCeDPzOhh04RlfMBnSR2WacGs6R3hidhthlrsPHM9WirZehdONyS0rir1jYGUBwG/tKtGrFkgbpIOI0FgncG0KaI01kRguXZSlnH/xD42u/khIW5Ez7t8ZWhoKGG++tAh2HrMnc3VKpUuf7F11uBLVEpSeOgjOLjCu6z1rOAUXAMK7ikyftY91pNI9J9rkkO25J5NfRw5c6g36qO6K6xKKE15UGo1kT4LJcukPuW3gPgbANygGUWTaELRFngCrQnOHy0Wzyf6SGxmrfbGtVp7DZzBx4j1dLGRZrhsGLLRL9nTp9nDReflsPSlX176OSviOaKdgITBywkDyQnRjZIH8kMfmNPgA75gDv9d3dx9vVn/+zHz+j0bWoDPR7vUR0asPdj6Srf1JLZ6NiCxIsOjfDH6KiCF4COmJk8HzkTvSJyAdw5vXZiPnt0jQ3qBFaN3HE/Aya2v2BodkHeD8QqyhHDpV7iOAD/AkwmYqzBaX4f7xsAZIEITJdEvY6UxFbbD9jwI5TqQVrvVRJBsimmp5pclHJUExG02yQkEHNiYckgHibJSLZTacDFuDY9anWaxvv26UtGpj+3YNh5YqhRdRBfsxOPZquiYn3rdptrs1vFRJyFLMbMy+gYTPhMt18Z2Xp31AoyBVW6u88m0CGrC8B3bm6rkRuSheNGpplOK7wiVbDzucAkTxNdpBbuaTipK0qg4d+AqX6/m6nLAVbOSMuvtTVOowvf4vo+xqZdvY0ZSRq5rE0B4nXLsAhDOJLGKnBH+sQ95dfoePuj7fGB63MiFsVd++pXjeVlSrWB8W/RMcXTx7PZ6EVm4d+fYo9lqtVmtZhOm6ZrmCdy3mVKUUmFmtlBSlFS66hTfU83WR3KVam60njtcwcHNyqvJYBczMHHNBycZlykymxCdX3Wl/Ug67jIJtMhACMPQ3IwcORZHtkq2HJLNEyZgNdpCM9DzpNzBa/zBM7wqHL0TxOg++Cj75uv2/e1QpbLZ9zMYQ7IIbRldXZ/iRv+0XRAOnuL5o5CMnnxTdAnYO6/bewzSZMrmyi3pLJlFZb22d+IPCSKh+MMiuOKy/YNe0i8Q33RhYHPRGJyHk/WRT8A9gzuIXDgfbdmwPolPHlN6uQgl9d78a2LUHvLylw5RK7gD8q5Ll+i7bPRjW5hdJJOdgxau3H0LWkfoEMVYfz/upTqOaElKQB6IeaBGNXA3DnXQKADHlETbwZlw8UTWmzly99FO52hneHf+BK/Jkds8+LqDjQYWTZixttXGawIrqUKhWmilBEmQWZPFCA4s6isrykMn8ruHO2SBu4/MeNkTvKxBqnmw2VvkPQU/y6sxlrPdrCiqK5qqiBL5KGIMpLVYDxfQqwRMA0+K5PoBYmoBQQdCnhoeU5sCGw8cNItWkyR6UzbXksTyBFgmHuU5c/kGa8IFDV0odcUPPcT+xzc5nn3wQXSlT/MK9xxBNvBe64bl9OTjT35wHaa4bO6jp1lwWdeILjz+YY49/TgNp3Rf8CjUcV86k8V9da2vjJ7j8sqOjJ/Bz/szlQx+PtBtAWOQVsbY8OitexHfMcbsZe7AOqYIxOwD4tmSLHVuAaalHeoX5lksOmCTelCDeRhsBhieqM/g0HcOTgjb1D3a0mbqUYLNNcxuN8MzCTl3x/S1fFyReM7iFEmRt3NCYpscE2OszfFiLM5fO31HLsZx0fssjpeUblvlxer4rR9UFCnGHQLgRXVBxsnTJsuTMbau+jLPoUcMzISGqO8T2VI2c1NRR4wpS69KyiILIONxo7YkDkmyIIFevKlYGInOrbUqpYmcTwdERySZl0g1ulGUsJdDlCLmk/GqEedYltckmtLK3XtG+C7mHDbGvhHUnRnMbhHBAOr+ZWYeIBJGU6cwRQ9sAlEsgo0lGuItjDeUtoHSNVscBmcnZCn6cf8+T9Aqo9FTkJLF/S/GLDtu+7bAq6qWVN+ayHmlco6VU7qWSL5tfHTUhr+YkFNadJJOrvGSxo9GZ+DkkqhEq8/IVd09PCnoUimIj+cOXyN7qZnr03Y6OMwwMWr3AKs9/fOZUcxvr0cMc5B5FWrjFe41vILiXEnZkEsNXqEImHUhx2knPUnEsJz2vMDzTFlVdVX9jBsEW4LATTlO0XG+YHreJtc1Fdq37biufVjTj9NM53ECgD55Ao5//gyc/hM4fgIUMnSTt6ilNPwkyTJbgteTZYrOFzf03Tob1/X4rB7/PFnqEU1/+hHvaUhD9NNH1jHuBfQTFOOmS1Yp3dD9BEYVdxWhZcIFJnJ7d4KsCt9gSKPUBUEl9Ise8Yw+TkNHOEscM9wTPTGeRsfRhG3FZqHQLEYfhcO1hSBYgA+Moacw24VWYSt2ecFCsDVYqK3FFngR/hHzBYvmAzRrQJ/lo/8lrlYirjcBAr1vxAQtCImTRpfdwA3s3oFw2lxw27eGMyuZrHWgMbF3Av642TJ37XiRUpabSMH+n+w0Ww1rLLw13Baq41sm9r4VF9ix6/S2tjaxZWLfBHb09nPpf2h84Kkd+AT/Y1CrrlsAiQCWHqwljSEKAd6/jCD17dG7usFNQBuVbvtwaWJiYWJiPvo+xo3V5ej9cN7tBkAWJfrx2/6d9C5M/PmNBMdROXwX/pfKYA+zj1kmkam2DmnmKUbroxqJIx6p3cU1ARKc3+HahBEtt1VrG6wWjB1E/GbubDQ01mjXWq51ztk5Mjk5stOZGLk6n7965E9tPR+LG9mMarhZ2zVU3cioem5SD1MpkVOc+vxNd8V5REzDjlOpZJJ8/K6b5ut2DPbee3Mrl2vdfG/SKlYqRfOJzBDEJDfB1kRJs9I5LpNhVTfGBoKs2kbuNUU+HusoYoHv6eaXWCIVtR/BdKp5B8wvftF8+GFSQt08d878dLTvr6xz56w1naZnpzJLKD2f2ChJmpB5CUWQAKkXsVF5nXE2WE9KpAC1LaQmTA04yNMbZCcd9NSviz8wsXnWExRF8EiObZWuWpnB+CzzWw7NCDxPiKIn8HDVazuAZAi2u6eGrblfmTP+gck+XPkh9uDnQbM9P3N0juOF/jQuvDnkyGps5+gcz7HdF7Ecm8+cGUu/AjhzrljuI55dazrzDMWUXdw0TGyUXKyR8IWK2tIbXDd/bOklqXe/w5HrOXTG8Ey0xzf1zIWMbvrzZuICgu/2cc97jedJ7/Oe8OA9bvT8yJBlDY2AGT2fKxZzYHa+/e1vwwOdAwf6vxdQeefXkSwGhH7GhGaDr+kBwx5a/a9x4gma34LzZ85gu49JwdpsLt1gTV0kkNDt4sP+XQ7FhRWMSJNME3NqtAsYBIRA/QRxE0jFiORgSVpVEyN/KDl4kj4ivHkIxvH8KHrjiBcpzaMqUOhHPArRDmC237W4eNf7SBF9EzHl7tmR5FSnmTeN6hhoXhHCjOXuuq5Um+T+1RPrRSthZTaXhzbFdg3vyWdBTMBozTCFRqk6dzvL9FbC4hKDi42P21l30nWGk8bipkSicP09djWm3bAcU8NKrDCpOqJStQtjTjp62Mu6YGxaNJLDTiIRFpYmcDrNeV4kMYzKo3s3yFQ5TGo4kcadZjUH5HxbBB2/+AJv8Bc4WYZVjPzV73znxwQYO/BvkhR5clxWFfhctOtA/Xv3E+2hsZEFXNfAVTN4nhWmRn9BaCBGnmO2Mn8NO9ESNwDxNvoafxYwzQx8dDPtkPwm4Lcly2lYolRzLKQ5jZCkoeTngYYYtsKyXyNDEXeRXyAwyRFJM1gLoyIOrvV6zALgCfave9CVEYo9RTAbrrl+LdnGV9u9HrIqaYaN3o0d0X6yP5ri4iATF0aYi+8gJIteKXXvV2phK+iR6YgmLodKQ0kDNzDIUY9MR0zhmgUgpNbANZWNQuiR6Qjy1u4GGt1bnMjv+H5nkRRmKWcKS6aul9iEqRvpGbe4nxdgf9E196YNvQxI1c2ZXGk/L76J5RMyBheFTyQS8SAuKELKAMilzXQOIJ3iFQGp2JdSRCedy6VRqVK9obKQSq8NNVJCfyiviLhkXMLhgElwSjYQwwoaZigCPpOCqApazM6o2GlKKrBqzlYVQROwK4FDVCkmJkUuLikpSaXz4xwSYuvzNT4Ws3Pr8zN2TBucr+GTM8QYzoeT5c72TpkW+znTyV+V42JqxuXUGFc0uXy+zsbzSHevIIcAekqICfEachtHnjAn0ghPaVGTkEFJiCOzNcRERlcGaURH3bFEoGJ3LE7BiQrfHYvLpfSeyBZ6W1fiG7YuJkQuJetSj/UkJ8YvZ93Jxtke7yi6WGyj6OIil1yfn+JwwQHRo5yUrujXMdtXWA6R+QLWRImmLRLxaZib+mUCE9CUqLIjEZUfcQFNbsIuaBC7N0Gh2RbIYBHOV0KX42Z32VpCTQLMDiG/ipLL6OWGYQtJcAHiejA2njZEZanW5qWlLa2x0lWBEr2A6d5iBbZlsq/at41l9wuGlt/hJcfryWyRZfNjtm7Bq4eKhsVxhXiqYAdubfTaxc5hLydMPaOa5W3M/wENGeDgeJxjYGRgYADizTzM3vH8Nl8ZuJkYQODOQYfNMPr/r/+fmbiZ2IBcDgawNAAzJQvmeJxjYGRgYGIAAj0mhv+//n9l4mZgZEAFOgBfLARbAAB4nGNgYGBgwon//8cth6H2F5T+DcHE6iPK7L8wNgCFGwo+AAAAAAAAARIBJAE2AUYBWAIWAsgDNAP2BJgFIgVYBWoFugXUBkIGuAbsBxAHjAfkCEIIcgioCRgJZAmQCjQKpAssC0ALcAu4C/QMegyWDQ4NTg1+DgYOMhAGEG4AAHicY2BkYGDQYfRiEGEAASYg5gJCBob/YD4DABYOAaIAeJxtjz1uwkAQhZ/5iwJShBIpUrpVijQR5qeg4ADQU9Abs/5BttdaFiQukBPkDDlDTpAyZ8hR8mxGLhJ2pdX33rzZ0QAY4gsequPhtn6r08IN1YXbpKFwh/wk3MUAz8I9+iPhPl4xFx7gAQF/8DrVb/dwwi3c4U24Tf9duEP+EO7iEZ/CPfrfwn1s8CM8wIs3P6cuGaWhKdY6PmaBbXQDG20PqSnU1J803koX2gZO79T2rA6neOZcpCJrcrU0hdNZZlRpzV6Hzk+cKxfjcSS+H5ocZ6TcJuHWKUIYFFhDI8YRGTe2V+r/nQ07LA7UlVKYwsfkSm7FXFFnA1Y0dsxumVPsPXHmjK5DRB0xY5CTlnVnlc54DZ2yru3phPR9Tqi6Siww5o3+5P16dv4LqwRgqnicbZDZktwgDEV9p3HH43Y6k33f92T4KAVkmxoMBHC6/PfB7SRP0YPqHEpSIVUX1RZ19f+4xgV2EKixxy00uESLAzrcxhF3cIW7uIf7eICHeITHeIKneIbneIGXeIXXeIO3eIf3+ICP+ITP+IKv+IbvuIasWlLKzy4bN7QUoz9J7U/uD1ru82HDaIYxNxvPof1B7kaqkdWNWLFTZNlpipK0Pv6TyTtemr8qFKWxOzdJZaKyXJ+lVrbUrTmxUD4sBxVZmywVRS10pEGs2vLC8lykdwVrM9HAnXG9l+nnTKVFrHJZnp3pDcdmImOln7OYfOR9oCWQ3QXd7wP7YFkEO6c6crBLyYmzSPSLuzQatnr7u0g+5jabibdl6xzLDvs5WE+6mRNH6fv+6kTRlQPKHA25wfLx5GMZUUaud01iMXmsqt9gz4ZxAAA=") format("woff"),
12
+ url("../fonts/yith-icon.ttf?0e894d67ed2e93cb5f295baa68aeba0d") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
123
  content: "\e911";
124
  }
125
 
126
+ .yith-icon-image:before {
127
+ content: "\f10a";
128
+ }
129
+
130
  .yith-icon-info-squared:before {
131
  content: "\e922";
132
  }
175
  content: "\e910";
176
  }
177
 
178
+ .yith-icon-save:before {
179
+ content: "\f10b";
180
+ }
181
+
182
  .yith-icon-shield-money:before {
183
  content: "\e917";
184
  }
225
 
226
  /** Deprecated: use yith-icon-paypal instead */
227
  .yith-icon-paypal-svgrepo-com:before {
228
+ content: "\e91b";
229
  }
230
 
231
  /** Deprecated: use yith-icon-arrow-down instead */
290
 
291
  /** Deprecated: use yith-icon-edit instead */
292
  .yith-icon-pencil:before {
293
+ content: "\e907";
294
  }
295
 
296
  /** Deprecated: use yith-icon-reset instead */
297
  .yith-icon-update:before {
298
+ content: "\e910";
299
  }
plugin-fw/assets/css/yith-plugin-ui.css ADDED
@@ -0,0 +1,1623 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+ /**
3
+ * YITH Plugin UI style
4
+ *
5
+ * IMPORTANT: This file is automatically generated through SCSS files.
6
+ * Please don't edit it manually!
7
+ */
8
+ /**
9
+ * YITH CSS Variables
10
+ */
11
+ :root {
12
+ --yith-content-bg: #ffffff;
13
+ --yith-content-text: #3c434a;
14
+ --yith-primary: #00799f;
15
+ --yith-primary-hover: #0094c4;
16
+ --yith-primary-focus: #bddce6;
17
+ --yith-primary-text: #ffffff;
18
+ --yith-delete: #c41d04;
19
+ --yith-delete-hover: #dd2105;
20
+ --yith-delete-text: #ffffff;
21
+ --yith-delete-focus: #f0d2cd;
22
+ --yith-update: #94aa09;
23
+ --yith-update-hover: #7f9208;
24
+ --yith-update-text: #ffffff;
25
+ --yith-update-focus: #e7eccc;
26
+ --yith-outline-text: #0087b3;
27
+ --yith-outline-border: #0094c4;
28
+ --yith-outline-bg: #ffffff;
29
+ --yith-outline-bg-hover: rgba(157, 198, 205, 0.2);
30
+ --yith-outline-border-hover: #007ba3;
31
+ --yith-outline-focus: #dfeef2;
32
+ --yith-accent: #98aa36;
33
+ --yith-light-bg: #f0f6fb;
34
+ --yith-light-border-color: #d7e3e7;
35
+ --yith-light-shadow: rgba(145, 191, 227, 0.11);
36
+ --yith-light-accent: #0079b0;
37
+ --yith-success: #98aa36;
38
+ --yith-success-light: #d4df9a;
39
+ --yith-success-lighter: #eaefcc;
40
+ --yith-success-lightest: #f5f8e7;
41
+ --yith-table-row-highlight: #f0f6fb;
42
+ --yith-table-row-striped: #f6f7f7;
43
+ --yith-table-border-light: #eff0f0;
44
+ --yith-field-border-color: #d8d8d8;
45
+ --yith-field-border-weight: #d8d8d8;
46
+ --yith-field-border: 1px solid #d8d8d8;
47
+ --yith-link: #0079b0;
48
+ }
49
+
50
+ /**
51
+ * YITH Plugin UI - WP Pages
52
+ */
53
+ .yith-plugin-fw-wp-page-wrapper .yith-plugin-fw__back-to-wp-list__wrapper {
54
+ margin: -5px 0 15px;
55
+ }
56
+
57
+ .yith-plugin-fw-wp-page-wrapper .yith-plugin-fw__back-to-wp-list__wrapper .yith-plugin-fw__back-to-wp-list {
58
+ text-decoration: none;
59
+ font-weight: 600;
60
+ text-transform: uppercase;
61
+ color: var(--yith-link);
62
+ vertical-align: middle;
63
+ }
64
+
65
+ .yith-plugin-fw-wp-page-wrapper .yith-plugin-fw__back-to-wp-list__wrapper .yith-plugin-fw__back-to-wp-list:before {
66
+ content: "\e901";
67
+ font-family: yith-icon;
68
+ margin-right: 5px;
69
+ font-size: .8em;
70
+ vertical-align: middle;
71
+ }
72
+
73
+ .yith-plugin-fw-wp-page-wrapper .wrap div#message.updated {
74
+ display: none;
75
+ padding: 15px 40px 15px 45px;
76
+ margin: 15px 0 20px;
77
+ border-radius: 5px;
78
+ background: var(--yith-success-lightest);
79
+ border: 1px solid var(--yith-success-light);
80
+ font-weight: 600;
81
+ font-size: 14px;
82
+ text-align: left;
83
+ color: var(--yith-content-text);
84
+ box-shadow: 1px 1px 2px var(--yith-success-lighter);
85
+ }
86
+
87
+ .yith-plugin-fw-wp-page-wrapper .wrap div#message.updated:before {
88
+ font-family: yith-icon;
89
+ content: "\e921";
90
+ position: absolute;
91
+ top: 50%;
92
+ left: 13px;
93
+ font-size: 21px;
94
+ font-weight: 400;
95
+ transform: translateY(-50%);
96
+ color: var(--yith-success);
97
+ }
98
+
99
+ .yith-plugin-fw-wp-page-wrapper .wrap div#message.updated p {
100
+ padding: 0;
101
+ margin: 0;
102
+ }
103
+
104
+ .yith-plugin-fw-wp-page-wrapper .wrap div#message.updated .notice-dismiss {
105
+ position: absolute;
106
+ top: 50%;
107
+ right: 10px;
108
+ transform: translateY(-50%);
109
+ border-radius: 50%;
110
+ color: var(--yith-success);
111
+ padding: 7px;
112
+ background: transparent;
113
+ box-shadow: 0 0 0 5px rgba(0, 0, 0, 0);
114
+ transition: all .3s ease-in-out;
115
+ }
116
+
117
+ .yith-plugin-fw-wp-page-wrapper .wrap div#message.updated .notice-dismiss:before {
118
+ font-family: yith-icon;
119
+ content: "\e906";
120
+ font-weight: 600;
121
+ font-size: 12px;
122
+ color: inherit;
123
+ }
124
+
125
+ .yith-plugin-fw-wp-page-wrapper .wrap div#message.updated .notice-dismiss:hover {
126
+ box-shadow: 0 0 0 0 var(--yith-success-lighter);
127
+ background: var(--yith-success-lighter);
128
+ }
129
+
130
+ .yith-plugin-fw-wp-page-wrapper .wrap div#message.updated .notice-dismiss:hover:before, .yith-plugin-fw-wp-page-wrapper .wrap div#message.updated .notice-dismiss:active:before, .yith-plugin-fw-wp-page-wrapper .wrap div#message.updated .notice-dismiss:focus:before {
131
+ color: inherit;
132
+ }
133
+
134
+ /**
135
+ * YITH Plugin UI - Taxonomy Style
136
+ */
137
+ .yith-plugin-ui.yith-plugin-ui--taxonomy-type #col-container, .yith-plugin-ui--taxonomy-type #col-container {
138
+ display: flex;
139
+ }
140
+
141
+ .yith-plugin-ui.yith-plugin-ui--taxonomy-type #col-left, .yith-plugin-ui--taxonomy-type #col-left {
142
+ padding: 20px;
143
+ background: #f1f1f1;
144
+ border-radius: 8px;
145
+ box-sizing: border-box;
146
+ margin-right: 15px;
147
+ }
148
+
149
+ .yith-plugin-ui.yith-plugin-ui--taxonomy-type #col-right, .yith-plugin-ui--taxonomy-type #col-right {
150
+ flex: 1;
151
+ }
152
+
153
+ .yith-plugin-ui.yith-plugin-ui--taxonomy-type h2, .yith-plugin-ui--taxonomy-type h2 {
154
+ border: none;
155
+ padding: 0;
156
+ font-size: 14px;
157
+ background: transparent;
158
+ }
159
+
160
+ .yith-plugin-ui.yith-plugin-ui--taxonomy-type .wrap h1, .yith-plugin-ui--taxonomy-type .wrap h1 {
161
+ color: #2a8db0;
162
+ font-size: 16px;
163
+ font-weight: 600;
164
+ }
165
+
166
+ @media screen and (max-width: 782px) {
167
+ .yith-plugin-ui.yith-plugin-ui--taxonomy-type #col-container {
168
+ display: block;
169
+ }
170
+ .yith-plugin-ui.yith-plugin-ui--taxonomy-type #col-left, .yith-plugin-ui.yith-plugin-ui--taxonomy-type #col-right {
171
+ float: none;
172
+ width: 100%;
173
+ }
174
+ }
175
+
176
+ /**
177
+ * YITH Plugin UI - Components
178
+ */
179
+ .yith-plugin-ui .yith-plugin-fw__action-button, .yith-plugin-fw__action-button {
180
+ height: 35px;
181
+ width: 35px;
182
+ background-color: var(--yith-content-bg);
183
+ display: inline-block;
184
+ border: 0;
185
+ border-radius: 50%;
186
+ transition: .3s;
187
+ cursor: pointer;
188
+ box-shadow: 0 2px 7px rgba(170, 198, 222, 0.5);
189
+ outline: none;
190
+ position: relative;
191
+ margin: 0 5px 5px 0;
192
+ vertical-align: middle;
193
+ }
194
+
195
+ .yith-plugin-ui .yith-plugin-fw__action-button .yith-plugin-fw__action-button__link, .yith-plugin-fw__action-button .yith-plugin-fw__action-button__link {
196
+ height: 100%;
197
+ width: 100%;
198
+ display: inline-block;
199
+ }
200
+
201
+ .yith-plugin-ui .yith-plugin-fw__action-button .yith-plugin-fw__action-button__icon, .yith-plugin-fw__action-button .yith-plugin-fw__action-button__icon {
202
+ position: absolute;
203
+ color: var(--yith-link);
204
+ font-size: 17px;
205
+ top: 50%;
206
+ left: 50%;
207
+ transform: translateX(-50%) translateY(-50%);
208
+ }
209
+
210
+ .yith-plugin-ui .yith-plugin-fw__action-button.yith-plugin-fw__action-button--trash-action .yith-plugin-fw__action-button__icon,
211
+ .yith-plugin-ui .yith-plugin-fw__action-button.yith-plugin-fw__action-button--delete-action .yith-plugin-fw__action-button__icon, .yith-plugin-fw__action-button.yith-plugin-fw__action-button--trash-action .yith-plugin-fw__action-button__icon,
212
+ .yith-plugin-fw__action-button.yith-plugin-fw__action-button--delete-action .yith-plugin-fw__action-button__icon {
213
+ color: #a10000;
214
+ }
215
+
216
+ .yith-plugin-ui .yith-plugin-fw__action-button .yith-plugin-fw__action-button__menu, .yith-plugin-fw__action-button .yith-plugin-fw__action-button__menu {
217
+ position: absolute;
218
+ display: none;
219
+ flex-direction: column;
220
+ width: max-content;
221
+ right: 0;
222
+ margin: 5px 0 0 0;
223
+ padding: 8px 0;
224
+ background: var(--yith-content-bg);
225
+ border-radius: 5px;
226
+ box-shadow: 0 2px 7px rgba(170, 198, 222, 0.5);
227
+ z-index: 10;
228
+ animation: yith-plugin-fw-appear-from-top .3s forwards;
229
+ }
230
+
231
+ .yith-plugin-ui .yith-plugin-fw__action-button .yith-plugin-fw__action-button__menu__item, .yith-plugin-fw__action-button .yith-plugin-fw__action-button__menu__item {
232
+ margin: 0;
233
+ display: block;
234
+ padding: 7px 25px;
235
+ color: var(--yith-content-text);
236
+ cursor: pointer;
237
+ text-decoration: none;
238
+ text-align: right;
239
+ }
240
+
241
+ .yith-plugin-ui .yith-plugin-fw__action-button .yith-plugin-fw__action-button__menu__item:hover, .yith-plugin-fw__action-button .yith-plugin-fw__action-button__menu__item:hover {
242
+ color: var(--yith-link);
243
+ }
244
+
245
+ .yith-plugin-ui .yith-plugin-fw__action-button.yith-plugin-fw__action-button--has-menu .yith-plugin-fw__action-button__icon, .yith-plugin-fw__action-button.yith-plugin-fw__action-button--has-menu .yith-plugin-fw__action-button__icon {
246
+ color: var(--yith-content-text);
247
+ }
248
+
249
+ .yith-plugin-ui .yith-plugin-fw__action-button.yith-plugin-fw__action-button--has-menu.yith-plugin-fw__action-button--opened .yith-plugin-fw__action-button__icon, .yith-plugin-fw__action-button.yith-plugin-fw__action-button--has-menu.yith-plugin-fw__action-button--opened .yith-plugin-fw__action-button__icon {
250
+ color: var(--yith-link);
251
+ }
252
+
253
+ .yith-plugin-ui .yith-plugin-fw__action-button.yith-plugin-fw__action-button--has-menu.yith-plugin-fw__action-button--opened .yith-plugin-fw__action-button__menu, .yith-plugin-fw__action-button.yith-plugin-fw__action-button--has-menu.yith-plugin-fw__action-button--opened .yith-plugin-fw__action-button__menu {
254
+ display: flex;
255
+ }
256
+
257
+ .yith-plugin-ui .button-primary, .yith-plugin-ui .button-secondary, .wp-core-ui .yith-plugin-ui .button-primary, .wp-core-ui .yith-plugin-ui .button-secondary {
258
+ border-radius: 3px;
259
+ text-transform: none;
260
+ box-shadow: none;
261
+ border: 1px solid;
262
+ font-weight: 600;
263
+ padding: 0 12px;
264
+ outline: none;
265
+ height: auto;
266
+ transition: all ease 0.3s;
267
+ text-shadow: none;
268
+ display: inline-block;
269
+ text-decoration: none;
270
+ cursor: pointer;
271
+ }
272
+
273
+ .yith-plugin-ui .button-primary:focus, .yith-plugin-ui .button-secondary:focus, .wp-core-ui .yith-plugin-ui .button-primary:focus, .wp-core-ui .yith-plugin-ui .button-secondary:focus {
274
+ outline: none;
275
+ box-shadow: none;
276
+ }
277
+
278
+ .yith-plugin-ui .button-primary.button-small, .yith-plugin-ui .button-secondary.button-small, .wp-core-ui .yith-plugin-ui .button-primary.button-small, .wp-core-ui .yith-plugin-ui .button-secondary.button-small {
279
+ padding: 0 8px;
280
+ }
281
+
282
+ .yith-plugin-ui .button-secondary, .wp-core-ui .yith-plugin-ui .button-secondary {
283
+ background: var(--yith-outline-bg);
284
+ border: 1px solid var(--yith-outline-border);
285
+ color: var(--yith-outline-text);
286
+ }
287
+
288
+ .yith-plugin-ui .button-secondary:focus, .wp-core-ui .yith-plugin-ui .button-secondary:focus {
289
+ background: var(--yith-outline-bg);
290
+ border: 1px solid var(--yith-outline-border);
291
+ color: var(--yith-outline-text);
292
+ box-shadow: 0 0 0 3px var(--yith-outline-focus);
293
+ }
294
+
295
+ .yith-plugin-ui .button-secondary:hover, .yith-plugin-ui .button-secondary:active, .wp-core-ui .yith-plugin-ui .button-secondary:hover, .wp-core-ui .yith-plugin-ui .button-secondary:active {
296
+ background: var(--yith-outline-bg-hover);
297
+ border-color: var(--yith-outline-border-hover);
298
+ color: var(--yith-outline-text);
299
+ }
300
+
301
+ .yith-plugin-ui .button-primary, .wp-core-ui .yith-plugin-ui .button-primary {
302
+ background: var(--yith-primary);
303
+ color: var(--yith-primary-text);
304
+ border: 1px solid var(--yith-primary);
305
+ }
306
+
307
+ .yith-plugin-ui .button-primary:focus, .wp-core-ui .yith-plugin-ui .button-primary:focus {
308
+ background: var(--yith-primary);
309
+ color: var(--yith-primary-text);
310
+ border: 1px solid var(--yith-primary);
311
+ box-shadow: 0 0 0 3px var(--yith-primary-focus);
312
+ }
313
+
314
+ .yith-plugin-ui .button-primary:hover, .yith-plugin-ui .button-primary:active, .wp-core-ui .yith-plugin-ui .button-primary:hover, .wp-core-ui .yith-plugin-ui .button-primary:active {
315
+ background: var(--yith-primary-hover);
316
+ color: var(--yith-primary-text);
317
+ border: 1px solid var(--yith-primary-hover);
318
+ }
319
+
320
+ .yith-plugin-ui .button.action,
321
+ .yith-plugin-ui #doaction,
322
+ .yith-plugin-ui #doaction2,
323
+ .yith-plugin-ui #post-query-submit,
324
+ .yith-plugin-ui #search-submit,
325
+ .yith-plugin-ui .button.filter-button, .wp-core-ui .yith-plugin-ui .button.action,
326
+ .wp-core-ui .yith-plugin-ui #doaction,
327
+ .wp-core-ui .yith-plugin-ui #doaction2,
328
+ .wp-core-ui .yith-plugin-ui #post-query-submit,
329
+ .wp-core-ui .yith-plugin-ui #search-submit,
330
+ .wp-core-ui .yith-plugin-ui .button.filter-button {
331
+ background: var(--yith-outline-bg);
332
+ border: 1px solid var(--yith-outline-border);
333
+ color: var(--yith-outline-text);
334
+ height: auto;
335
+ line-height: 33px;
336
+ border-radius: 8px;
337
+ padding: 0 15px;
338
+ font-weight: 600;
339
+ }
340
+
341
+ .yith-plugin-ui .button.action:focus,
342
+ .yith-plugin-ui #doaction:focus,
343
+ .yith-plugin-ui #doaction2:focus,
344
+ .yith-plugin-ui #post-query-submit:focus,
345
+ .yith-plugin-ui #search-submit:focus,
346
+ .yith-plugin-ui .button.filter-button:focus, .wp-core-ui .yith-plugin-ui .button.action:focus,
347
+ .wp-core-ui .yith-plugin-ui #doaction:focus,
348
+ .wp-core-ui .yith-plugin-ui #doaction2:focus,
349
+ .wp-core-ui .yith-plugin-ui #post-query-submit:focus,
350
+ .wp-core-ui .yith-plugin-ui #search-submit:focus,
351
+ .wp-core-ui .yith-plugin-ui .button.filter-button:focus {
352
+ background: var(--yith-outline-bg);
353
+ border: 1px solid var(--yith-outline-border);
354
+ color: var(--yith-outline-text);
355
+ box-shadow: 0 0 0 3px var(--yith-outline-focus);
356
+ }
357
+
358
+ .yith-plugin-ui .button.action:hover, .yith-plugin-ui .button.action:active,
359
+ .yith-plugin-ui #doaction:hover,
360
+ .yith-plugin-ui #doaction:active,
361
+ .yith-plugin-ui #doaction2:hover,
362
+ .yith-plugin-ui #doaction2:active,
363
+ .yith-plugin-ui #post-query-submit:hover,
364
+ .yith-plugin-ui #post-query-submit:active,
365
+ .yith-plugin-ui #search-submit:hover,
366
+ .yith-plugin-ui #search-submit:active,
367
+ .yith-plugin-ui .button.filter-button:hover,
368
+ .yith-plugin-ui .button.filter-button:active, .wp-core-ui .yith-plugin-ui .button.action:hover, .wp-core-ui .yith-plugin-ui .button.action:active,
369
+ .wp-core-ui .yith-plugin-ui #doaction:hover,
370
+ .wp-core-ui .yith-plugin-ui #doaction:active,
371
+ .wp-core-ui .yith-plugin-ui #doaction2:hover,
372
+ .wp-core-ui .yith-plugin-ui #doaction2:active,
373
+ .wp-core-ui .yith-plugin-ui #post-query-submit:hover,
374
+ .wp-core-ui .yith-plugin-ui #post-query-submit:active,
375
+ .wp-core-ui .yith-plugin-ui #search-submit:hover,
376
+ .wp-core-ui .yith-plugin-ui #search-submit:active,
377
+ .wp-core-ui .yith-plugin-ui .button.filter-button:hover,
378
+ .wp-core-ui .yith-plugin-ui .button.filter-button:active {
379
+ background: var(--yith-outline-bg-hover);
380
+ border-color: var(--yith-outline-border-hover);
381
+ color: var(--yith-outline-text);
382
+ }
383
+
384
+ .yith-plugin-ui .tablenav .tablenav-pages .button,
385
+ .yith-plugin-ui .tablenav .tablenav-pages .tablenav-pages-navspan, .wp-core-ui .yith-plugin-ui .tablenav .tablenav-pages .button,
386
+ .wp-core-ui .yith-plugin-ui .tablenav .tablenav-pages .tablenav-pages-navspan {
387
+ background: var(--yith-outline-bg);
388
+ border: 1px solid var(--yith-outline-border);
389
+ color: var(--yith-outline-text);
390
+ }
391
+
392
+ .yith-plugin-ui .tablenav .tablenav-pages .button:focus,
393
+ .yith-plugin-ui .tablenav .tablenav-pages .tablenav-pages-navspan:focus, .wp-core-ui .yith-plugin-ui .tablenav .tablenav-pages .button:focus,
394
+ .wp-core-ui .yith-plugin-ui .tablenav .tablenav-pages .tablenav-pages-navspan:focus {
395
+ background: var(--yith-outline-bg);
396
+ border: 1px solid var(--yith-outline-border);
397
+ color: var(--yith-outline-text);
398
+ box-shadow: 0 0 0 3px var(--yith-outline-focus);
399
+ }
400
+
401
+ .yith-plugin-ui .tablenav .tablenav-pages .button:hover, .yith-plugin-ui .tablenav .tablenav-pages .button:active,
402
+ .yith-plugin-ui .tablenav .tablenav-pages .tablenav-pages-navspan:hover,
403
+ .yith-plugin-ui .tablenav .tablenav-pages .tablenav-pages-navspan:active, .wp-core-ui .yith-plugin-ui .tablenav .tablenav-pages .button:hover, .wp-core-ui .yith-plugin-ui .tablenav .tablenav-pages .button:active,
404
+ .wp-core-ui .yith-plugin-ui .tablenav .tablenav-pages .tablenav-pages-navspan:hover,
405
+ .wp-core-ui .yith-plugin-ui .tablenav .tablenav-pages .tablenav-pages-navspan:active {
406
+ background: var(--yith-outline-bg-hover);
407
+ border-color: var(--yith-outline-border-hover);
408
+ color: var(--yith-outline-text);
409
+ }
410
+
411
+ @media screen and (max-width: 782px) {
412
+ .yith-plugin-ui .tablenav .tablenav-pages .button, .yith-plugin-ui .tablenav .tablenav-pages .tablenav-pages-navspan, .wp-core-ui .yith-plugin-ui .tablenav .tablenav-pages .button, .wp-core-ui .yith-plugin-ui .tablenav .tablenav-pages .tablenav-pages-navspan {
413
+ min-width: 44px;
414
+ padding: 12px 8px;
415
+ font-size: 18px;
416
+ line-height: 1;
417
+ }
418
+ }
419
+
420
+ .yith-plugin-ui .yith-plugin-fw__button, .yith-plugin-ui [class^="yith-plugin-fw__button--"], .yith-plugin-ui [class*=" yith-plugin-fw__button--"],
421
+ .yith-plugin-ui .yith-add-button, .yith-plugin-ui .yith-edit-button, .yith-plugin-ui .yith-update-button, .yith-plugin-ui .yith-remove-button, .yith-plugin-ui .yith-plugin-fw-upload-button, .yith-plugin-ui .yith-save-button, .yith-plugin-ui .yith-plugin-fw-select-all, .yith-plugin-ui .yith-plugin-fw-deselect-all, .yith-plugin-ui .yith-plugin-fw-upload-button-reset, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button, .wp-core-ui .yith-plugin-ui [class^="yith-plugin-fw__button--"], .wp-core-ui .yith-plugin-ui [class*=" yith-plugin-fw__button--"],
422
+ .wp-core-ui .yith-plugin-ui .yith-add-button, .wp-core-ui .yith-plugin-ui .yith-edit-button, .wp-core-ui .yith-plugin-ui .yith-update-button, .wp-core-ui .yith-plugin-ui .yith-remove-button, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button, .wp-core-ui .yith-plugin-ui .yith-save-button, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-select-all, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-deselect-all, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button-reset {
423
+ display: inline-block;
424
+ height: auto;
425
+ line-height: 30px;
426
+ border-radius: 4px;
427
+ padding: 0 17px;
428
+ font-weight: 600;
429
+ cursor: pointer;
430
+ transition: all .3s ease-in-out;
431
+ text-decoration: none;
432
+ }
433
+
434
+ .yith-plugin-ui .yith-plugin-fw__button:focus, .yith-plugin-ui [class^="yith-plugin-fw__button--"]:focus, .yith-plugin-ui [class*=" yith-plugin-fw__button--"]:focus,
435
+ .yith-plugin-ui .yith-add-button:focus, .yith-plugin-ui .yith-edit-button:focus, .yith-plugin-ui .yith-update-button:focus, .yith-plugin-ui .yith-remove-button:focus, .yith-plugin-ui .yith-plugin-fw-upload-button:focus, .yith-plugin-ui .yith-save-button:focus, .yith-plugin-ui .yith-plugin-fw-select-all:focus, .yith-plugin-ui .yith-plugin-fw-deselect-all:focus, .yith-plugin-ui .yith-plugin-fw-upload-button-reset:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button:focus, .wp-core-ui .yith-plugin-ui [class^="yith-plugin-fw__button--"]:focus, .wp-core-ui .yith-plugin-ui [class*=" yith-plugin-fw__button--"]:focus,
436
+ .wp-core-ui .yith-plugin-ui .yith-add-button:focus, .wp-core-ui .yith-plugin-ui .yith-edit-button:focus, .wp-core-ui .yith-plugin-ui .yith-update-button:focus, .wp-core-ui .yith-plugin-ui .yith-remove-button:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button:focus, .wp-core-ui .yith-plugin-ui .yith-save-button:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-select-all:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-deselect-all:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button-reset:focus {
437
+ outline: none;
438
+ box-shadow: none;
439
+ }
440
+
441
+ .yith-plugin-ui .yith-plugin-fw__button--primary, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--primary {
442
+ background: var(--yith-primary);
443
+ color: var(--yith-primary-text);
444
+ border: 1px solid var(--yith-primary);
445
+ }
446
+
447
+ .yith-plugin-ui .yith-plugin-fw__button--primary:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--primary:focus {
448
+ background: var(--yith-primary);
449
+ color: var(--yith-primary-text);
450
+ border: 1px solid var(--yith-primary);
451
+ box-shadow: 0 0 0 3px var(--yith-primary-focus);
452
+ }
453
+
454
+ .yith-plugin-ui .yith-plugin-fw__button--primary:hover, .yith-plugin-ui .yith-plugin-fw__button--primary:active, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--primary:hover, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--primary:active {
455
+ background: var(--yith-primary-hover);
456
+ color: var(--yith-primary-text);
457
+ border: 1px solid var(--yith-primary-hover);
458
+ }
459
+
460
+ .yith-plugin-ui .yith-plugin-fw__button--secondary, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--secondary {
461
+ background: var(--yith-outline-bg);
462
+ border: 1px solid var(--yith-outline-border);
463
+ color: var(--yith-outline-text);
464
+ }
465
+
466
+ .yith-plugin-ui .yith-plugin-fw__button--secondary:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--secondary:focus {
467
+ background: var(--yith-outline-bg);
468
+ border: 1px solid var(--yith-outline-border);
469
+ color: var(--yith-outline-text);
470
+ box-shadow: 0 0 0 3px var(--yith-outline-focus);
471
+ }
472
+
473
+ .yith-plugin-ui .yith-plugin-fw__button--secondary:hover, .yith-plugin-ui .yith-plugin-fw__button--secondary:active, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--secondary:hover, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--secondary:active {
474
+ background: var(--yith-outline-bg-hover);
475
+ border-color: var(--yith-outline-border-hover);
476
+ color: var(--yith-outline-text);
477
+ }
478
+
479
+ .yith-plugin-ui .yith-plugin-fw__button--delete, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--delete {
480
+ background: var(--yith-delete);
481
+ color: var(--yith-delete-text);
482
+ border: 1px solid var(--yith-delete);
483
+ }
484
+
485
+ .yith-plugin-ui .yith-plugin-fw__button--delete:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--delete:focus {
486
+ background: var(--yith-delete);
487
+ color: var(--yith-delete-text);
488
+ border: 1px solid var(--yith-delete);
489
+ box-shadow: 0 0 0 3px var(--yith-delete-focus);
490
+ }
491
+
492
+ .yith-plugin-ui .yith-plugin-fw__button--delete:hover, .yith-plugin-ui .yith-plugin-fw__button--delete:active, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--delete:hover, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--delete:active {
493
+ background: var(--yith-delete-hover);
494
+ color: var(--yith-delete-text);
495
+ border: 1px solid var(--yith-delete-hover);
496
+ }
497
+
498
+ .yith-plugin-ui .yith-plugin-fw__button--add, .yith-plugin-ui .yith-add-button, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add, .wp-core-ui .yith-plugin-ui .yith-add-button {
499
+ background: var(--yith-primary);
500
+ color: var(--yith-primary-text);
501
+ border: 1px solid var(--yith-primary);
502
+ }
503
+
504
+ .yith-plugin-ui .yith-plugin-fw__button--add:focus, .yith-plugin-ui .yith-add-button:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:focus, .wp-core-ui .yith-plugin-ui .yith-add-button:focus {
505
+ background: var(--yith-primary);
506
+ color: var(--yith-primary-text);
507
+ border: 1px solid var(--yith-primary);
508
+ box-shadow: 0 0 0 3px var(--yith-primary-focus);
509
+ }
510
+
511
+ .yith-plugin-ui .yith-plugin-fw__button--add:hover, .yith-plugin-ui .yith-plugin-fw__button--add:active, .yith-plugin-ui .yith-add-button:hover, .yith-plugin-ui .yith-add-button:active, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:hover, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:active, .wp-core-ui .yith-plugin-ui .yith-add-button:hover, .wp-core-ui .yith-plugin-ui .yith-add-button:active {
512
+ background: var(--yith-primary-hover);
513
+ color: var(--yith-primary-text);
514
+ border: 1px solid var(--yith-primary-hover);
515
+ }
516
+
517
+ .yith-plugin-ui .yith-plugin-fw__button--add:before, .yith-plugin-ui .yith-add-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:before, .wp-core-ui .yith-plugin-ui .yith-add-button:before {
518
+ font-family: yith-icon;
519
+ content: "";
520
+ margin: 0 8px 0 -5px;
521
+ font-size: 15px;
522
+ font-weight: 400;
523
+ vertical-align: top;
524
+ }
525
+
526
+ .yith-plugin-ui .yith-plugin-fw__button--add.closed, .yith-plugin-ui .yith-add-button.closed, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed, .wp-core-ui .yith-plugin-ui .yith-add-button.closed {
527
+ background: var(--yith-outline-bg);
528
+ border: 1px solid var(--yith-outline-border);
529
+ color: var(--yith-outline-text);
530
+ }
531
+
532
+ .yith-plugin-ui .yith-plugin-fw__button--add.closed:focus, .yith-plugin-ui .yith-add-button.closed:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed:focus, .wp-core-ui .yith-plugin-ui .yith-add-button.closed:focus {
533
+ background: var(--yith-outline-bg);
534
+ border: 1px solid var(--yith-outline-border);
535
+ color: var(--yith-outline-text);
536
+ box-shadow: 0 0 0 3px var(--yith-outline-focus);
537
+ }
538
+
539
+ .yith-plugin-ui .yith-plugin-fw__button--add.closed:hover, .yith-plugin-ui .yith-plugin-fw__button--add.closed:active, .yith-plugin-ui .yith-add-button.closed:hover, .yith-plugin-ui .yith-add-button.closed:active, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed:hover, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed:active, .wp-core-ui .yith-plugin-ui .yith-add-button.closed:hover, .wp-core-ui .yith-plugin-ui .yith-add-button.closed:active {
540
+ background: var(--yith-outline-bg-hover);
541
+ border-color: var(--yith-outline-border-hover);
542
+ color: var(--yith-outline-text);
543
+ }
544
+
545
+ .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .yith-plugin-ui .yith-add-button.closed:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .wp-core-ui .yith-plugin-ui .yith-add-button.closed:before {
546
+ font-family: yith-icon;
547
+ content: "";
548
+ margin: 0 8px 0 -5px;
549
+ font-size: 15px;
550
+ font-weight: 400;
551
+ vertical-align: top;
552
+ }
553
+
554
+ .yith-plugin-ui .yith-plugin-fw__button--close, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close {
555
+ background: var(--yith-outline-bg);
556
+ border: 1px solid var(--yith-outline-border);
557
+ color: var(--yith-outline-text);
558
+ }
559
+
560
+ .yith-plugin-ui .yith-plugin-fw__button--close:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close:focus {
561
+ background: var(--yith-outline-bg);
562
+ border: 1px solid var(--yith-outline-border);
563
+ color: var(--yith-outline-text);
564
+ box-shadow: 0 0 0 3px var(--yith-outline-focus);
565
+ }
566
+
567
+ .yith-plugin-ui .yith-plugin-fw__button--close:hover, .yith-plugin-ui .yith-plugin-fw__button--close:active, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close:hover, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close:active {
568
+ background: var(--yith-outline-bg-hover);
569
+ border-color: var(--yith-outline-border-hover);
570
+ color: var(--yith-outline-text);
571
+ }
572
+
573
+ .yith-plugin-ui .yith-plugin-fw__button--close:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close:before {
574
+ font-family: yith-icon;
575
+ content: "";
576
+ margin: 0 8px 0 -5px;
577
+ font-size: 15px;
578
+ font-weight: 400;
579
+ vertical-align: top;
580
+ }
581
+
582
+ .yith-plugin-ui .yith-plugin-fw__button--edit, .yith-plugin-ui .yith-edit-button, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--edit, .wp-core-ui .yith-plugin-ui .yith-edit-button {
583
+ background: var(--yith-outline-bg);
584
+ border: 1px solid var(--yith-outline-border);
585
+ color: var(--yith-outline-text);
586
+ }
587
+
588
+ .yith-plugin-ui .yith-plugin-fw__button--edit:focus, .yith-plugin-ui .yith-edit-button:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--edit:focus, .wp-core-ui .yith-plugin-ui .yith-edit-button:focus {
589
+ background: var(--yith-outline-bg);
590
+ border: 1px solid var(--yith-outline-border);
591
+ color: var(--yith-outline-text);
592
+ box-shadow: 0 0 0 3px var(--yith-outline-focus);
593
+ }
594
+
595
+ .yith-plugin-ui .yith-plugin-fw__button--edit:hover, .yith-plugin-ui .yith-plugin-fw__button--edit:active, .yith-plugin-ui .yith-edit-button:hover, .yith-plugin-ui .yith-edit-button:active, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--edit:hover, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--edit:active, .wp-core-ui .yith-plugin-ui .yith-edit-button:hover, .wp-core-ui .yith-plugin-ui .yith-edit-button:active {
596
+ background: var(--yith-outline-bg-hover);
597
+ border-color: var(--yith-outline-border-hover);
598
+ color: var(--yith-outline-text);
599
+ }
600
+
601
+ .yith-plugin-ui .yith-plugin-fw__button--edit:before, .yith-plugin-ui .yith-edit-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--edit:before, .wp-core-ui .yith-plugin-ui .yith-edit-button:before {
602
+ font-family: yith-icon;
603
+ content: "";
604
+ margin: 0 8px 0 -5px;
605
+ font-size: 15px;
606
+ font-weight: 400;
607
+ vertical-align: top;
608
+ }
609
+
610
+ .yith-plugin-ui .yith-plugin-fw__button--update, .yith-plugin-ui .yith-update-button, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--update, .wp-core-ui .yith-plugin-ui .yith-update-button {
611
+ background: var(--yith-update);
612
+ color: var(--yith-update-text);
613
+ border: 1px solid var(--yith-update);
614
+ }
615
+
616
+ .yith-plugin-ui .yith-plugin-fw__button--update:focus, .yith-plugin-ui .yith-update-button:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--update:focus, .wp-core-ui .yith-plugin-ui .yith-update-button:focus {
617
+ background: var(--yith-update);
618
+ color: var(--yith-update-text);
619
+ border: 1px solid var(--yith-update);
620
+ box-shadow: 0 0 0 3px var(--yith-update-focus);
621
+ }
622
+
623
+ .yith-plugin-ui .yith-plugin-fw__button--update:hover, .yith-plugin-ui .yith-plugin-fw__button--update:active, .yith-plugin-ui .yith-update-button:hover, .yith-plugin-ui .yith-update-button:active, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--update:hover, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--update:active, .wp-core-ui .yith-plugin-ui .yith-update-button:hover, .wp-core-ui .yith-plugin-ui .yith-update-button:active {
624
+ background: var(--yith-update-hover);
625
+ color: var(--yith-update-text);
626
+ border: 1px solid var(--yith-update-hover);
627
+ }
628
+
629
+ .yith-plugin-ui .yith-plugin-fw__button--update:before, .yith-plugin-ui .yith-update-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--update:before, .wp-core-ui .yith-plugin-ui .yith-update-button:before {
630
+ font-family: yith-icon;
631
+ content: "";
632
+ margin: 0 8px 0 -5px;
633
+ font-size: 15px;
634
+ font-weight: 400;
635
+ vertical-align: top;
636
+ }
637
+
638
+ .yith-plugin-ui .yith-plugin-fw__button--trash, .yith-plugin-ui .yith-remove-button, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--trash, .wp-core-ui .yith-plugin-ui .yith-remove-button {
639
+ background: var(--yith-delete);
640
+ color: var(--yith-delete-text);
641
+ border: 1px solid var(--yith-delete);
642
+ }
643
+
644
+ .yith-plugin-ui .yith-plugin-fw__button--trash:focus, .yith-plugin-ui .yith-remove-button:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--trash:focus, .wp-core-ui .yith-plugin-ui .yith-remove-button:focus {
645
+ background: var(--yith-delete);
646
+ color: var(--yith-delete-text);
647
+ border: 1px solid var(--yith-delete);
648
+ box-shadow: 0 0 0 3px var(--yith-delete-focus);
649
+ }
650
+
651
+ .yith-plugin-ui .yith-plugin-fw__button--trash:hover, .yith-plugin-ui .yith-plugin-fw__button--trash:active, .yith-plugin-ui .yith-remove-button:hover, .yith-plugin-ui .yith-remove-button:active, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--trash:hover, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--trash:active, .wp-core-ui .yith-plugin-ui .yith-remove-button:hover, .wp-core-ui .yith-plugin-ui .yith-remove-button:active {
652
+ background: var(--yith-delete-hover);
653
+ color: var(--yith-delete-text);
654
+ border: 1px solid var(--yith-delete-hover);
655
+ }
656
+
657
+ .yith-plugin-ui .yith-plugin-fw__button--trash:before, .yith-plugin-ui .yith-remove-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--trash:before, .wp-core-ui .yith-plugin-ui .yith-remove-button:before {
658
+ font-family: yith-icon;
659
+ content: "";
660
+ margin: 0 8px 0 -5px;
661
+ font-size: 15px;
662
+ font-weight: 400;
663
+ vertical-align: top;
664
+ }
665
+
666
+ .yith-plugin-ui .yith-plugin-fw__button--upload, .yith-plugin-ui .yith-plugin-fw-upload-button, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--upload, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button {
667
+ background: var(--yith-primary);
668
+ color: var(--yith-primary-text);
669
+ border: 1px solid var(--yith-primary);
670
+ }
671
+
672
+ .yith-plugin-ui .yith-plugin-fw__button--upload:focus, .yith-plugin-ui .yith-plugin-fw-upload-button:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--upload:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button:focus {
673
+ background: var(--yith-primary);
674
+ color: var(--yith-primary-text);
675
+ border: 1px solid var(--yith-primary);
676
+ box-shadow: 0 0 0 3px var(--yith-primary-focus);
677
+ }
678
+
679
+ .yith-plugin-ui .yith-plugin-fw__button--upload:hover, .yith-plugin-ui .yith-plugin-fw__button--upload:active, .yith-plugin-ui .yith-plugin-fw-upload-button:hover, .yith-plugin-ui .yith-plugin-fw-upload-button:active, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--upload:hover, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--upload:active, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button:hover, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button:active {
680
+ background: var(--yith-primary-hover);
681
+ color: var(--yith-primary-text);
682
+ border: 1px solid var(--yith-primary-hover);
683
+ }
684
+
685
+ .yith-plugin-ui .yith-plugin-fw__button--upload:before, .yith-plugin-ui .yith-plugin-fw-upload-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--upload:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button:before {
686
+ font-family: yith-icon;
687
+ content: "";
688
+ margin: 0 8px 0 -5px;
689
+ font-size: 15px;
690
+ font-weight: 400;
691
+ vertical-align: top;
692
+ }
693
+
694
+ .yith-plugin-ui .yith-save-button, .wp-core-ui .yith-plugin-ui .yith-save-button {
695
+ background: var(--yith-primary);
696
+ color: var(--yith-primary-text);
697
+ border: 1px solid var(--yith-primary);
698
+ }
699
+
700
+ .yith-plugin-ui .yith-save-button:focus, .wp-core-ui .yith-plugin-ui .yith-save-button:focus {
701
+ background: var(--yith-primary);
702
+ color: var(--yith-primary-text);
703
+ border: 1px solid var(--yith-primary);
704
+ box-shadow: 0 0 0 3px var(--yith-primary-focus);
705
+ }
706
+
707
+ .yith-plugin-ui .yith-save-button:hover, .yith-plugin-ui .yith-save-button:active, .wp-core-ui .yith-plugin-ui .yith-save-button:hover, .wp-core-ui .yith-plugin-ui .yith-save-button:active {
708
+ background: var(--yith-primary-hover);
709
+ color: var(--yith-primary-text);
710
+ border: 1px solid var(--yith-primary-hover);
711
+ }
712
+
713
+ .yith-plugin-ui .yith-plugin-fw-select-all,
714
+ .yith-plugin-ui .yith-plugin-fw-deselect-all,
715
+ .yith-plugin-ui .yith-plugin-fw-upload-button-reset, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-select-all,
716
+ .wp-core-ui .yith-plugin-ui .yith-plugin-fw-deselect-all,
717
+ .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button-reset {
718
+ background: var(--yith-outline-bg);
719
+ border: 1px solid var(--yith-outline-border);
720
+ color: var(--yith-outline-text);
721
+ }
722
+
723
+ .yith-plugin-ui .yith-plugin-fw-select-all:focus,
724
+ .yith-plugin-ui .yith-plugin-fw-deselect-all:focus,
725
+ .yith-plugin-ui .yith-plugin-fw-upload-button-reset:focus, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-select-all:focus,
726
+ .wp-core-ui .yith-plugin-ui .yith-plugin-fw-deselect-all:focus,
727
+ .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button-reset:focus {
728
+ background: var(--yith-outline-bg);
729
+ border: 1px solid var(--yith-outline-border);
730
+ color: var(--yith-outline-text);
731
+ box-shadow: 0 0 0 3px var(--yith-outline-focus);
732
+ }
733
+
734
+ .yith-plugin-ui .yith-plugin-fw-select-all:hover, .yith-plugin-ui .yith-plugin-fw-select-all:active,
735
+ .yith-plugin-ui .yith-plugin-fw-deselect-all:hover,
736
+ .yith-plugin-ui .yith-plugin-fw-deselect-all:active,
737
+ .yith-plugin-ui .yith-plugin-fw-upload-button-reset:hover,
738
+ .yith-plugin-ui .yith-plugin-fw-upload-button-reset:active, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-select-all:hover, .wp-core-ui .yith-plugin-ui .yith-plugin-fw-select-all:active,
739
+ .wp-core-ui .yith-plugin-ui .yith-plugin-fw-deselect-all:hover,
740
+ .wp-core-ui .yith-plugin-ui .yith-plugin-fw-deselect-all:active,
741
+ .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button-reset:hover,
742
+ .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button-reset:active {
743
+ background: var(--yith-outline-bg-hover);
744
+ border-color: var(--yith-outline-border-hover);
745
+ color: var(--yith-outline-text);
746
+ }
747
+
748
+ .yith-plugin-ui .button-secondary span.yith-icon, .wp-core-ui .yith-plugin-ui .button-secondary span.yith-icon {
749
+ margin-left: 0;
750
+ margin-right: 10px;
751
+ line-height: normal;
752
+ }
753
+
754
+ .yith-plugin-ui .button-secondary span.yith-icon:before, .wp-core-ui .yith-plugin-ui .button-secondary span.yith-icon:before {
755
+ color: inherit;
756
+ font-size: 15px;
757
+ font-weight: 400;
758
+ }
759
+
760
+ .yith-plugin-ui .yith-plugin-fw__button--with-icon, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--with-icon {
761
+ position: relative;
762
+ padding-left: 30px;
763
+ }
764
+
765
+ .yith-plugin-ui .yith-plugin-fw__button--with-icon i, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--with-icon i {
766
+ position: absolute;
767
+ top: 50%;
768
+ left: 10px;
769
+ transform: translateY(-50%);
770
+ font-size: 1.15em;
771
+ font-weight: 400;
772
+ }
773
+
774
+ .yith-plugin-ui .yith-plugin-fw__button--xl, .yith-plugin-ui .button-xl, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--xl, .wp-core-ui .yith-plugin-ui .button-xl {
775
+ padding: 0 20px;
776
+ font-size: 14px;
777
+ line-height: 38px;
778
+ }
779
+
780
+ .yith-plugin-ui .yith-plugin-fw__button--xl::before, .yith-plugin-ui .button-xl::before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--xl::before, .wp-core-ui .yith-plugin-ui .button-xl::before {
781
+ margin: 0 10px 0 -5px;
782
+ }
783
+
784
+ .yith-plugin-ui .yith-plugin-fw__button--xl.yith-plugin-fw__button--with-icon, .yith-plugin-ui .button-xl.yith-plugin-fw__button--with-icon, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--xl.yith-plugin-fw__button--with-icon, .wp-core-ui .yith-plugin-ui .button-xl.yith-plugin-fw__button--with-icon {
785
+ padding-left: 40px;
786
+ }
787
+
788
+ .yith-plugin-ui .yith-plugin-fw__button--xl.yith-plugin-fw__button--with-icon i, .yith-plugin-ui .button-xl.yith-plugin-fw__button--with-icon i, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--xl.yith-plugin-fw__button--with-icon i, .wp-core-ui .yith-plugin-ui .button-xl.yith-plugin-fw__button--with-icon i {
789
+ left: 14px;
790
+ }
791
+
792
+ .yith-plugin-ui .yith-plugin-fw__button--xxl, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--xxl {
793
+ padding: 0 28px;
794
+ font-size: 16px;
795
+ line-height: 45px;
796
+ }
797
+
798
+ .yith-plugin-ui .yith-plugin-fw__button--xxl::before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--xxl::before {
799
+ margin: 0 15px 0 -10px;
800
+ }
801
+
802
+ .yith-plugin-ui .yith-plugin-fw__button--xxl.yith-plugin-fw__button--with-icon, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--xxl.yith-plugin-fw__button--with-icon {
803
+ padding-left: 45px;
804
+ }
805
+
806
+ .yith-plugin-ui .yith-plugin-fw__button--xxl.yith-plugin-fw__button--with-icon i, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--xxl.yith-plugin-fw__button--with-icon i {
807
+ left: 15px;
808
+ }
809
+
810
+ .yith-plugin-fw__boxed-row, .yith-plugin-fw__boxed-row--hover-highlight {
811
+ background: var(--yith-content-bg);
812
+ border-radius: 5px;
813
+ box-shadow: 0 0 0 1px var(--yith-light-border-color), 0 3px 11px 6px var(--yith-light-shadow);
814
+ transition: background-color .2s ease-in-out;
815
+ padding: 25px;
816
+ margin-bottom: 25px;
817
+ margin-top: 25px;
818
+ }
819
+
820
+ .yith-plugin-fw__boxed-row--hover-highlight:hover {
821
+ background: var(--yith-table-row-highlight);
822
+ }
823
+
824
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__message {
825
+ margin-bottom: 20px;
826
+ }
827
+
828
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__footer {
829
+ text-align: right;
830
+ }
831
+
832
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button {
833
+ height: auto;
834
+ line-height: 33px;
835
+ border-radius: 4px;
836
+ padding: 0 20px;
837
+ font-weight: 600;
838
+ cursor: pointer;
839
+ display: inline-block;
840
+ margin-right: 10px;
841
+ }
842
+
843
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button:last-child {
844
+ margin-right: 0;
845
+ }
846
+
847
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button.yith-plugin-fw__confirm__button--cancel {
848
+ background: var(--yith-outline-bg);
849
+ border: 1px solid var(--yith-outline-border);
850
+ color: var(--yith-outline-text);
851
+ }
852
+
853
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button.yith-plugin-fw__confirm__button--cancel:focus {
854
+ background: var(--yith-outline-bg);
855
+ border: 1px solid var(--yith-outline-border);
856
+ color: var(--yith-outline-text);
857
+ box-shadow: 0 0 0 3px var(--yith-outline-focus);
858
+ }
859
+
860
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button.yith-plugin-fw__confirm__button--cancel:hover, .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button.yith-plugin-fw__confirm__button--cancel:active {
861
+ background: var(--yith-outline-bg-hover);
862
+ border-color: var(--yith-outline-border-hover);
863
+ color: var(--yith-outline-text);
864
+ }
865
+
866
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button.yith-plugin-fw__confirm__button--confirm {
867
+ background: var(--yith-primary);
868
+ color: var(--yith-primary-text);
869
+ border: 1px solid var(--yith-primary);
870
+ }
871
+
872
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button.yith-plugin-fw__confirm__button--confirm:focus {
873
+ background: var(--yith-primary);
874
+ color: var(--yith-primary-text);
875
+ border: 1px solid var(--yith-primary);
876
+ box-shadow: 0 0 0 3px var(--yith-primary-focus);
877
+ }
878
+
879
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button.yith-plugin-fw__confirm__button--confirm:hover, .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button.yith-plugin-fw__confirm__button--confirm:active {
880
+ background: var(--yith-primary-hover);
881
+ color: var(--yith-primary-text);
882
+ border: 1px solid var(--yith-primary-hover);
883
+ }
884
+
885
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button.yith-plugin-fw__confirm__button--delete {
886
+ background: var(--yith-delete);
887
+ color: var(--yith-delete-text);
888
+ border: 1px solid var(--yith-delete);
889
+ }
890
+
891
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button.yith-plugin-fw__confirm__button--delete:focus {
892
+ background: var(--yith-delete);
893
+ color: var(--yith-delete-text);
894
+ border: 1px solid var(--yith-delete);
895
+ box-shadow: 0 0 0 3px var(--yith-delete-focus);
896
+ }
897
+
898
+ .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button.yith-plugin-fw__confirm__button--delete:hover, .yith-plugin-fw__confirm__wrap .yith-plugin-fw__confirm__button.yith-plugin-fw__confirm__button--delete:active {
899
+ background: var(--yith-delete-hover);
900
+ color: var(--yith-delete-text);
901
+ border: 1px solid var(--yith-delete-hover);
902
+ }
903
+
904
+ .yith-plugin-fw__list-table-blank-state {
905
+ padding: 30px 30px 0;
906
+ text-align: center;
907
+ display: flex;
908
+ flex-direction: column;
909
+ }
910
+
911
+ .yith-plugin-fw__list-table-blank-state > * {
912
+ margin-bottom: 30px;
913
+ }
914
+
915
+ .yith-plugin-fw__list-table-blank-state img.yith-plugin-fw__list-table-blank-state__icon {
916
+ width: 100px;
917
+ margin: 0 auto 30px;
918
+ }
919
+
920
+ .yith-plugin-fw__list-table-blank-state i.yith-plugin-fw__list-table-blank-state__icon {
921
+ font-size: 65px;
922
+ margin: 0 auto 30px;
923
+ }
924
+
925
+ .yith-plugin-fw__list-table-blank-state .yith-plugin-fw__list-table-blank-state__message {
926
+ font-size: 1.4em;
927
+ line-height: 1.5;
928
+ }
929
+
930
+ .yith-plugin-fw__modal__wrap {
931
+ display: flex;
932
+ align-items: center;
933
+ justify-content: center;
934
+ position: fixed;
935
+ top: 0;
936
+ left: 0;
937
+ width: 100%;
938
+ height: 100%;
939
+ z-index: 999999;
940
+ background: rgba(34, 59, 80, 0.7);
941
+ animation: yith-plugin-fw-fade-in .3s forwards;
942
+ box-sizing: border-box;
943
+ }
944
+
945
+ .yith-plugin-fw__modal__wrap .yith-plugin-fw__modal__main {
946
+ position: relative;
947
+ background: #fff;
948
+ border-radius: 10px;
949
+ box-shadow: 1px 3px 16px rgba(0, 22, 59, 0.4);
950
+ animation: yith-plugin-fw-appear-from-top .3s forwards;
951
+ overflow: hidden;
952
+ max-width: calc(100% - 20px);
953
+ max-height: calc(100% - 20px);
954
+ display: flex;
955
+ flex-direction: column;
956
+ }
957
+
958
+ .yith-plugin-fw__modal__wrap .yith-plugin-fw__modal__close {
959
+ position: absolute;
960
+ top: 0;
961
+ right: 0;
962
+ padding: 8px;
963
+ font-size: 14px;
964
+ font-weight: 600;
965
+ color: #aaa;
966
+ cursor: pointer;
967
+ }
968
+
969
+ .yith-plugin-fw__modal__wrap .yith-plugin-fw__modal__close:hover {
970
+ color: #444;
971
+ }
972
+
973
+ .yith-plugin-fw__modal__wrap .yith-plugin-fw__modal__title {
974
+ padding: 20px 25px;
975
+ font-size: 1.5em;
976
+ font-weight: 600;
977
+ line-height: 1.5em;
978
+ color: var(--yith-primary);
979
+ }
980
+
981
+ .yith-plugin-fw__modal__wrap .yith-plugin-fw__modal__content {
982
+ padding: 0 25px 25px;
983
+ }
984
+
985
+ .yith-plugin-fw__modal__wrap .yith-plugin-fw__modal__footer {
986
+ padding: 25px;
987
+ background: #f7f7f7;
988
+ }
989
+
990
+ .yith-plugin-fw__modal__wrap.yith-plugin-fw__modal__wrap--scroll-content .yith-plugin-fw__modal__content {
991
+ overflow-y: auto;
992
+ }
993
+
994
+ .yith-plugin-fw__modal--opened {
995
+ overflow: hidden;
996
+ }
997
+
998
+ .yith-plugin-fw__modal--allow-wp-menu .yith-plugin-fw__modal__wrap {
999
+ z-index: 99;
1000
+ padding-left: 160px;
1001
+ padding-top: 32px;
1002
+ }
1003
+
1004
+ .yith-plugin-fw__modal--allow-wp-menu #adminmenuback {
1005
+ z-index: 100;
1006
+ }
1007
+
1008
+ @media only screen and (max-width: 960px) {
1009
+ .folded .yith-plugin-fw__modal__wrap {
1010
+ padding-left: 36px;
1011
+ }
1012
+ .auto-fold .yith-plugin-fw__modal--allow-wp-menu .yith-plugin-fw__modal__wrap {
1013
+ padding-left: 36px;
1014
+ }
1015
+ }
1016
+
1017
+ @media screen and (max-width: 782px) {
1018
+ .auto-fold .yith-plugin-fw__modal--allow-wp-menu .yith-plugin-fw__modal__wrap {
1019
+ z-index: 999999;
1020
+ width: 100%;
1021
+ height: 100%;
1022
+ padding-left: 0;
1023
+ padding-top: 0;
1024
+ }
1025
+ .auto-fold .yith-plugin-fw__modal--allow-wp-menu-in-mobile .yith-plugin-fw__modal__wrap {
1026
+ z-index: 99;
1027
+ padding-top: 46px;
1028
+ }
1029
+ .auto-fold .yith-plugin-fw__modal--allow-wp-menu-in-mobile.wp-responsive-open .yith-plugin-fw__modal__wrap {
1030
+ padding-left: 190px;
1031
+ }
1032
+ }
1033
+
1034
+ #tiptip_holder {
1035
+ display: none;
1036
+ z-index: 8675309;
1037
+ position: absolute;
1038
+ top: 0;
1039
+ /*rtl:ignore*/
1040
+ left: 0;
1041
+ }
1042
+
1043
+ #tiptip_holder.tip_top {
1044
+ padding-bottom: 5px;
1045
+ }
1046
+
1047
+ #tiptip_holder.tip_top #tiptip_arrow_inner {
1048
+ margin-top: -7px;
1049
+ margin-left: -6px;
1050
+ border-top-color: #333;
1051
+ }
1052
+
1053
+ #tiptip_holder.tip_bottom {
1054
+ padding-top: 5px;
1055
+ }
1056
+
1057
+ #tiptip_holder.tip_bottom #tiptip_arrow_inner {
1058
+ margin-top: -5px;
1059
+ margin-left: -6px;
1060
+ border-bottom-color: #333;
1061
+ }
1062
+
1063
+ #tiptip_holder.tip_right {
1064
+ padding-left: 5px;
1065
+ }
1066
+
1067
+ #tiptip_holder.tip_right #tiptip_arrow_inner {
1068
+ margin-top: -6px;
1069
+ margin-left: -5px;
1070
+ border-right-color: #333;
1071
+ }
1072
+
1073
+ #tiptip_holder.tip_left {
1074
+ padding-right: 5px;
1075
+ }
1076
+
1077
+ #tiptip_holder.tip_left #tiptip_arrow_inner {
1078
+ margin-top: -6px;
1079
+ margin-left: -7px;
1080
+ border-left-color: #333;
1081
+ }
1082
+
1083
+ #tiptip_holder #tiptip_content {
1084
+ color: #fff;
1085
+ font-size: 0.8em;
1086
+ max-width: 150px;
1087
+ background: #333;
1088
+ text-align: center;
1089
+ border-radius: 3px;
1090
+ padding: 0.618em 1em;
1091
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
1092
+ }
1093
+
1094
+ #tiptip_holder #tiptip_content code {
1095
+ padding: 1px;
1096
+ background: #888;
1097
+ }
1098
+
1099
+ #tiptip_holder #tiptip_arrow,
1100
+ #tiptip_holder #tiptip_arrow_inner {
1101
+ position: absolute;
1102
+ border-color: transparent;
1103
+ border-style: solid;
1104
+ border-width: 6px;
1105
+ height: 0;
1106
+ width: 0;
1107
+ }
1108
+
1109
+ /**
1110
+ * YITH Plugin UI - Post Type Style
1111
+ */
1112
+ table.yith-plugin-fw__classic-table {
1113
+ border: 2px solid var(--yith-table-border-light);
1114
+ background: var(--yith-content-bg);
1115
+ box-shadow: none;
1116
+ border-spacing: 0;
1117
+ }
1118
+
1119
+ table.yith-plugin-fw__classic-table th, table.yith-plugin-fw__classic-table thead td, table.yith-plugin-fw__classic-table tfoot td {
1120
+ text-align: left;
1121
+ line-height: 1.3em;
1122
+ font-size: 14px;
1123
+ }
1124
+
1125
+ table.yith-plugin-fw__classic-table thead th, table.yith-plugin-fw__classic-table thead td {
1126
+ border-bottom: 0;
1127
+ }
1128
+
1129
+ table.yith-plugin-fw__classic-table tfoot th, table.yith-plugin-fw__classic-table tfoot td {
1130
+ border-top: 0;
1131
+ }
1132
+
1133
+ table.yith-plugin-fw__classic-table tbody tr th, table.yith-plugin-fw__classic-table tbody tr td {
1134
+ vertical-align: middle;
1135
+ padding: 15px;
1136
+ }
1137
+
1138
+ table.yith-plugin-fw__classic-table tbody tr:hover {
1139
+ background: var(--yith-table-row-highlight);
1140
+ }
1141
+
1142
+ table.yith-plugin-fw__classic-table thead td, table.yith-plugin-fw__classic-table thead th, table.yith-plugin-fw__classic-table tfoot td, table.yith-plugin-fw__classic-table tfoot th {
1143
+ padding: 15px;
1144
+ font-weight: 600;
1145
+ }
1146
+
1147
+ table.yith-plugin-fw__classic-table tbody > :nth-child(odd) {
1148
+ background-color: var(--yith-table-row-striped);
1149
+ }
1150
+
1151
+ table.yith-plugin-fw__classic-table.wp-list-table tfoot {
1152
+ display: none;
1153
+ }
1154
+
1155
+ table.yith-plugin-fw__classic-table.wp-list-table .check-column {
1156
+ width: 2em;
1157
+ }
1158
+
1159
+ table.yith-plugin-fw__classic-table.wp-list-table th.sortable a, table.yith-plugin-fw__classic-table.wp-list-table th.sorted a {
1160
+ padding: 0 8px 0 0;
1161
+ color: inherit;
1162
+ }
1163
+
1164
+ table.yith-plugin-fw__classic-table.wp-list-table th.sortable a:hover, table.yith-plugin-fw__classic-table.wp-list-table th.sorted a:hover {
1165
+ color: var(--yith-link);
1166
+ }
1167
+
1168
+ table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator {
1169
+ visibility: visible;
1170
+ }
1171
+
1172
+ table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator:before {
1173
+ font-family: yith-icon;
1174
+ content: "\f106";
1175
+ color: inherit;
1176
+ font-size: 10px;
1177
+ top: 0;
1178
+ left: 0;
1179
+ }
1180
+
1181
+ table.yith-plugin-fw__classic-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1182
+ table.yith-plugin-fw__classic-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1183
+ table.yith-plugin-fw__classic-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1184
+ content: "\e903";
1185
+ font-weight: 600;
1186
+ }
1187
+
1188
+ table.yith-plugin-fw__classic-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1189
+ table.yith-plugin-fw__classic-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1190
+ table.yith-plugin-fw__classic-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1191
+ content: "\e900";
1192
+ font-weight: 600;
1193
+ }
1194
+
1195
+ table.yith-plugin-fw__classic-table.wp-list-table thead th.column-actions, table.yith-plugin-fw__classic-table.wp-list-table tfoot th.column-actions {
1196
+ visibility: hidden;
1197
+ }
1198
+
1199
+ table.yith-plugin-fw__classic-table.wp-list-table th.column-actions, table.yith-plugin-fw__classic-table.wp-list-table td.column-actions {
1200
+ text-align: right;
1201
+ }
1202
+
1203
+ table.yith-plugin-fw__classic-table.wp-list-table .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
1204
+ opacity: 0;
1205
+ transition: .3s;
1206
+ }
1207
+
1208
+ table.yith-plugin-fw__classic-table.wp-list-table tbody tr:hover .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
1209
+ opacity: 1;
1210
+ }
1211
+
1212
+ table.yith-plugin-fw__boxed-table {
1213
+ border: 0;
1214
+ border-spacing: 0 20px;
1215
+ box-shadow: none;
1216
+ background: transparent;
1217
+ }
1218
+
1219
+ table.yith-plugin-fw__boxed-table th, table.yith-plugin-fw__boxed-table thead td, table.yith-plugin-fw__boxed-table tfoot td {
1220
+ text-align: left;
1221
+ line-height: 1.3em;
1222
+ font-size: 14px;
1223
+ }
1224
+
1225
+ table.yith-plugin-fw__boxed-table thead th, table.yith-plugin-fw__boxed-table thead td {
1226
+ border-bottom: 0;
1227
+ padding: 0 0 0 25px;
1228
+ font-weight: 600;
1229
+ }
1230
+
1231
+ table.yith-plugin-fw__boxed-table tbody tr {
1232
+ background: var(--yith-content-bg);
1233
+ border-radius: 5px;
1234
+ box-shadow: 0 0 0 1px var(--yith-light-border-color), 0 3px 11px 6px var(--yith-light-shadow);
1235
+ transition: background-color .2s ease-in-out;
1236
+ }
1237
+
1238
+ table.yith-plugin-fw__boxed-table tbody tr th, table.yith-plugin-fw__boxed-table tbody tr td {
1239
+ background: transparent;
1240
+ border-radius: 5px;
1241
+ vertical-align: middle;
1242
+ padding: 25px 0 25px 25px;
1243
+ }
1244
+
1245
+ table.yith-plugin-fw__boxed-table tbody tr td:last-child {
1246
+ padding-right: 25px;
1247
+ }
1248
+
1249
+ table.yith-plugin-fw__boxed-table tbody tr:hover {
1250
+ background: var(--yith-table-row-highlight);
1251
+ }
1252
+
1253
+ table.yith-plugin-fw__boxed-table.wp-list-table tfoot {
1254
+ display: none;
1255
+ }
1256
+
1257
+ table.yith-plugin-fw__boxed-table.wp-list-table .check-column {
1258
+ width: 2em;
1259
+ }
1260
+
1261
+ table.yith-plugin-fw__boxed-table.wp-list-table th.sortable a, table.yith-plugin-fw__boxed-table.wp-list-table th.sorted a {
1262
+ padding: 0 8px 0 0;
1263
+ color: inherit;
1264
+ }
1265
+
1266
+ table.yith-plugin-fw__boxed-table.wp-list-table th.sortable a:hover, table.yith-plugin-fw__boxed-table.wp-list-table th.sorted a:hover {
1267
+ color: var(--yith-link);
1268
+ }
1269
+
1270
+ table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator {
1271
+ visibility: visible;
1272
+ }
1273
+
1274
+ table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator:before {
1275
+ font-family: yith-icon;
1276
+ content: "\f106";
1277
+ color: inherit;
1278
+ font-size: 10px;
1279
+ top: 0;
1280
+ left: 0;
1281
+ }
1282
+
1283
+ table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1284
+ table.yith-plugin-fw__boxed-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1285
+ table.yith-plugin-fw__boxed-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1286
+ content: "\e903";
1287
+ font-weight: 600;
1288
+ }
1289
+
1290
+ table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1291
+ table.yith-plugin-fw__boxed-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1292
+ table.yith-plugin-fw__boxed-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1293
+ content: "\e900";
1294
+ font-weight: 600;
1295
+ }
1296
+
1297
+ table.yith-plugin-fw__boxed-table.wp-list-table thead th.column-actions, table.yith-plugin-fw__boxed-table.wp-list-table tfoot th.column-actions {
1298
+ visibility: hidden;
1299
+ }
1300
+
1301
+ table.yith-plugin-fw__boxed-table.wp-list-table th.column-actions, table.yith-plugin-fw__boxed-table.wp-list-table td.column-actions {
1302
+ text-align: right;
1303
+ }
1304
+
1305
+ table.yith-plugin-fw__boxed-table.wp-list-table .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
1306
+ opacity: 0;
1307
+ transition: .3s;
1308
+ }
1309
+
1310
+ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
1311
+ opacity: 1;
1312
+ }
1313
+
1314
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table {
1315
+ border: 2px solid var(--yith-table-border-light);
1316
+ background: var(--yith-content-bg);
1317
+ box-shadow: none;
1318
+ border-spacing: 0;
1319
+ }
1320
+
1321
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table th, .yith-plugin-ui--classic-wp-list-style table.wp-list-table thead td, .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot td, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table thead td, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot td {
1322
+ text-align: left;
1323
+ line-height: 1.3em;
1324
+ font-size: 14px;
1325
+ }
1326
+
1327
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table thead th, .yith-plugin-ui--classic-wp-list-style table.wp-list-table thead td, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table thead th, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table thead td {
1328
+ border-bottom: 0;
1329
+ }
1330
+
1331
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot th, .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot td, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot th, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot td {
1332
+ border-top: 0;
1333
+ }
1334
+
1335
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table tbody tr th, .yith-plugin-ui--classic-wp-list-style table.wp-list-table tbody tr td, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table tbody tr th, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table tbody tr td {
1336
+ vertical-align: middle;
1337
+ padding: 15px;
1338
+ }
1339
+
1340
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table tbody tr:hover, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table tbody tr:hover {
1341
+ background: var(--yith-table-row-highlight);
1342
+ }
1343
+
1344
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table thead td, .yith-plugin-ui--classic-wp-list-style table.wp-list-table thead th, .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot td, .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot th, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table thead td, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table thead th, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot td, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot th {
1345
+ padding: 15px;
1346
+ font-weight: 600;
1347
+ }
1348
+
1349
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table tbody > :nth-child(odd), .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table tbody > :nth-child(odd) {
1350
+ background-color: var(--yith-table-row-striped);
1351
+ }
1352
+
1353
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot {
1354
+ display: none;
1355
+ }
1356
+
1357
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table .check-column, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table .check-column {
1358
+ width: 2em;
1359
+ }
1360
+
1361
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sortable a, .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted a, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sortable a, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted a {
1362
+ padding: 0 8px 0 0;
1363
+ color: inherit;
1364
+ }
1365
+
1366
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sortable a:hover, .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted a:hover, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sortable a:hover, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted a:hover {
1367
+ color: var(--yith-link);
1368
+ }
1369
+
1370
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator {
1371
+ visibility: visible;
1372
+ }
1373
+
1374
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before {
1375
+ font-family: yith-icon;
1376
+ content: "\f106";
1377
+ color: inherit;
1378
+ font-size: 10px;
1379
+ top: 0;
1380
+ left: 0;
1381
+ }
1382
+
1383
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1384
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1385
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1386
+ .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1387
+ .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1388
+ content: "\e903";
1389
+ font-weight: 600;
1390
+ }
1391
+
1392
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1393
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1394
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1395
+ .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1396
+ .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1397
+ content: "\e900";
1398
+ font-weight: 600;
1399
+ }
1400
+
1401
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table thead th.column-actions, .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot th.column-actions, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table thead th.column-actions, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table tfoot th.column-actions {
1402
+ visibility: hidden;
1403
+ }
1404
+
1405
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.column-actions, .yith-plugin-ui--classic-wp-list-style table.wp-list-table td.column-actions, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.column-actions, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table td.column-actions {
1406
+ text-align: right;
1407
+ }
1408
+
1409
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible), .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
1410
+ opacity: 0;
1411
+ transition: .3s;
1412
+ }
1413
+
1414
+ .yith-plugin-ui--classic-wp-list-style table.wp-list-table tbody tr:hover .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible), .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table tbody tr:hover .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
1415
+ opacity: 1;
1416
+ }
1417
+
1418
+ .yith-plugin-ui--classic-wp-list-style .tablenav.bottom, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style .tablenav.bottom {
1419
+ display: none;
1420
+ }
1421
+
1422
+ .yith-plugin-ui--classic-wp-list-style .tablenav.bottom .yith-plugin-fw__list-table-blank-state, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style .tablenav.bottom .yith-plugin-fw__list-table-blank-state {
1423
+ display: flex;
1424
+ }
1425
+
1426
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table {
1427
+ border: 0;
1428
+ border-spacing: 0 20px;
1429
+ box-shadow: none;
1430
+ background: transparent;
1431
+ }
1432
+
1433
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th, .yith-plugin-ui--boxed-wp-list-style table.wp-list-table thead td, .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tfoot td, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table thead td, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tfoot td {
1434
+ text-align: left;
1435
+ line-height: 1.3em;
1436
+ font-size: 14px;
1437
+ }
1438
+
1439
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table thead th, .yith-plugin-ui--boxed-wp-list-style table.wp-list-table thead td, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table thead th, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table thead td {
1440
+ border-bottom: 0;
1441
+ padding: 0 0 0 25px;
1442
+ font-weight: 600;
1443
+ }
1444
+
1445
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tbody tr, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tbody tr {
1446
+ background: var(--yith-content-bg);
1447
+ border-radius: 5px;
1448
+ box-shadow: 0 0 0 1px var(--yith-light-border-color), 0 3px 11px 6px var(--yith-light-shadow);
1449
+ transition: background-color .2s ease-in-out;
1450
+ }
1451
+
1452
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tbody tr th, .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tbody tr td, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tbody tr th, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tbody tr td {
1453
+ background: transparent;
1454
+ border-radius: 5px;
1455
+ vertical-align: middle;
1456
+ padding: 25px 0 25px 25px;
1457
+ }
1458
+
1459
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tbody tr td:last-child, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tbody tr td:last-child {
1460
+ padding-right: 25px;
1461
+ }
1462
+
1463
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tbody tr:hover, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tbody tr:hover {
1464
+ background: var(--yith-table-row-highlight);
1465
+ }
1466
+
1467
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tfoot, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tfoot {
1468
+ display: none;
1469
+ }
1470
+
1471
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .check-column, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .check-column {
1472
+ width: 2em;
1473
+ }
1474
+
1475
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sortable a, .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted a, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sortable a, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted a {
1476
+ padding: 0 8px 0 0;
1477
+ color: inherit;
1478
+ }
1479
+
1480
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sortable a:hover, .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted a:hover, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sortable a:hover, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted a:hover {
1481
+ color: var(--yith-link);
1482
+ }
1483
+
1484
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator {
1485
+ visibility: visible;
1486
+ }
1487
+
1488
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before {
1489
+ font-family: yith-icon;
1490
+ content: "\f106";
1491
+ color: inherit;
1492
+ font-size: 10px;
1493
+ top: 0;
1494
+ left: 0;
1495
+ }
1496
+
1497
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1498
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1499
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1500
+ .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1501
+ .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1502
+ content: "\e903";
1503
+ font-weight: 600;
1504
+ }
1505
+
1506
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1507
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1508
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1509
+ .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1510
+ .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1511
+ content: "\e900";
1512
+ font-weight: 600;
1513
+ }
1514
+
1515
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table thead th.column-actions, .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tfoot th.column-actions, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table thead th.column-actions, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tfoot th.column-actions {
1516
+ visibility: hidden;
1517
+ }
1518
+
1519
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.column-actions, .yith-plugin-ui--boxed-wp-list-style table.wp-list-table td.column-actions, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.column-actions, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table td.column-actions {
1520
+ text-align: right;
1521
+ }
1522
+
1523
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible), .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
1524
+ opacity: 0;
1525
+ transition: .3s;
1526
+ }
1527
+
1528
+ .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tbody tr:hover .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible), .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table tbody tr:hover .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
1529
+ opacity: 1;
1530
+ }
1531
+
1532
+ .yith-plugin-ui--boxed-wp-list-style .tablenav.bottom, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style .tablenav.bottom {
1533
+ display: none;
1534
+ }
1535
+
1536
+ .yith-plugin-ui--boxed-wp-list-style .tablenav.bottom .yith-plugin-fw__list-table-blank-state, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style .tablenav.bottom .yith-plugin-fw__list-table-blank-state {
1537
+ display: flex;
1538
+ }
1539
+
1540
+ /**
1541
+ * YITH Animations
1542
+ */
1543
+ .yith-plugin-fw-animate__appear-from-bottom {
1544
+ animation: yith-plugin-fw-appear-from-bottom .3s forwards;
1545
+ }
1546
+
1547
+ .yith-plugin-fw-animate__appear-from-top {
1548
+ animation: yith-plugin-fw-appear-from-top .3s forwards;
1549
+ }
1550
+
1551
+ .yith-plugin-fw-animate__fade-in {
1552
+ animation: yith-plugin-fw-fade-in .3s forwards;
1553
+ }
1554
+
1555
+ @-webkit-keyframes yith-plugin-fw-appear-from-top {
1556
+ from {
1557
+ opacity: 0;
1558
+ transform: translateY(-30%);
1559
+ -webkit-transform: translateY(-30%);
1560
+ }
1561
+ to {
1562
+ opacity: 1;
1563
+ transform: translateY(0);
1564
+ -webkit-transform: translateY(0);
1565
+ }
1566
+ }
1567
+
1568
+ @keyframes yith-plugin-fw-appear-from-top {
1569
+ from {
1570
+ opacity: 0;
1571
+ transform: translateY(-30%);
1572
+ -webkit-transform: translateY(-30%);
1573
+ }
1574
+ to {
1575
+ opacity: 1;
1576
+ transform: translateY(0);
1577
+ -webkit-transform: translateY(0);
1578
+ }
1579
+ }
1580
+
1581
+ @-webkit-keyframes yith-plugin-fw-appear-from-bottom {
1582
+ from {
1583
+ opacity: 0;
1584
+ transform: translateY(30%);
1585
+ -webkit-transform: translateY(30%);
1586
+ }
1587
+ to {
1588
+ opacity: 1;
1589
+ transform: translateY(0);
1590
+ -webkit-transform: translateY(0);
1591
+ }
1592
+ }
1593
+
1594
+ @keyframes yith-plugin-fw-appear-from-bottom {
1595
+ from {
1596
+ opacity: 0;
1597
+ transform: translateY(30%);
1598
+ -webkit-transform: translateY(30%);
1599
+ }
1600
+ to {
1601
+ opacity: 1;
1602
+ transform: translateY(0);
1603
+ -webkit-transform: translateY(0);
1604
+ }
1605
+ }
1606
+
1607
+ @-webkit-keyframes yith-plugin-fw-fade-in {
1608
+ from {
1609
+ opacity: 0;
1610
+ }
1611
+ to {
1612
+ opacity: 1;
1613
+ }
1614
+ }
1615
+
1616
+ @keyframes yith-plugin-fw-fade-in {
1617
+ from {
1618
+ opacity: 0;
1619
+ }
1620
+ to {
1621
+ opacity: 1;
1622
+ }
1623
+ }
plugin-fw/assets/fonts/yith-icon.eot CHANGED
Binary file
plugin-fw/assets/fonts/yith-icon.ttf CHANGED
Binary file
plugin-fw/assets/fonts/yith-icon.woff2 CHANGED
Binary file
plugin-fw/assets/js/jquery-tiptip/jquery.tipTip.js ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * TipTip
3
+ * Copyright 2010 Drew Wilson
4
+ * www.drewwilson.com
5
+ * code.drewwilson.com/entry/tiptip-jquery-plugin
6
+ *
7
+ * Version 1.3 - Updated: Mar. 23, 2010
8
+ *
9
+ * This Plug-In will create a custom tooltip to replace the default
10
+ * browser tooltip. It is extremely lightweight and very smart in
11
+ * that it detects the edges of the browser window and will make sure
12
+ * the tooltip stays within the current window size. As a result the
13
+ * tooltip will adjust itself to be displayed above, below, to the left
14
+ * or to the right depending on what is necessary to stay within the
15
+ * browser window. It is completely customizable as well via CSS.
16
+ *
17
+ * This TipTip jQuery plug-in is dual licensed under the MIT and GPL licenses:
18
+ * http://www.opensource.org/licenses/mit-license.php
19
+ * http://www.gnu.org/licenses/gpl.html
20
+ */
21
+
22
+ (function($){
23
+ $.fn.tipTip = function(options) {
24
+ var defaults = {
25
+ activation: "hover",
26
+ keepAlive: false,
27
+ maxWidth: "200px",
28
+ edgeOffset: 3,
29
+ defaultPosition: "bottom",
30
+ delay: 400,
31
+ fadeIn: 200,
32
+ fadeOut: 200,
33
+ attribute: "title",
34
+ content: false, // HTML or String to fill TipTIp with
35
+ enter: function(){},
36
+ exit: function(){}
37
+ };
38
+ var opts = $.extend(defaults, options);
39
+
40
+ // Setup tip tip elements and render them to the DOM
41
+ if($("#tiptip_holder").length <= 0){
42
+ var tiptip_holder = $('<div id="tiptip_holder" style="max-width:'+ opts.maxWidth +';"></div>');
43
+ var tiptip_content = $('<div id="tiptip_content"></div>');
44
+ var tiptip_arrow = $('<div id="tiptip_arrow"></div>');
45
+ $("body").append(tiptip_holder.html(tiptip_content).prepend(tiptip_arrow.html('<div id="tiptip_arrow_inner"></div>')));
46
+ } else {
47
+ var tiptip_holder = $("#tiptip_holder");
48
+ var tiptip_content = $("#tiptip_content");
49
+ var tiptip_arrow = $("#tiptip_arrow");
50
+ }
51
+
52
+ return this.each(function(){
53
+ var org_elem = $(this);
54
+ if(opts.content){
55
+ var org_title = opts.content;
56
+ } else {
57
+ var org_title = org_elem.attr(opts.attribute);
58
+ }
59
+ if(org_title != ""){
60
+ if(!opts.content){
61
+ org_elem.removeAttr(opts.attribute); //remove original Attribute
62
+ }
63
+ var timeout = false;
64
+
65
+ if(opts.activation == "hover"){
66
+ org_elem.hover(function(){
67
+ active_tiptip();
68
+ }, function(){
69
+ if(!opts.keepAlive || !tiptip_holder.is(':hover')){
70
+ deactive_tiptip();
71
+ }
72
+ });
73
+ if(opts.keepAlive){
74
+ tiptip_holder.hover(function(){}, function(){
75
+ deactive_tiptip();
76
+ });
77
+ }
78
+ } else if(opts.activation == "focus"){
79
+ org_elem.focus(function(){
80
+ active_tiptip();
81
+ }).blur(function(){
82
+ deactive_tiptip();
83
+ });
84
+ } else if(opts.activation == "click"){
85
+ org_elem.click(function(){
86
+ active_tiptip();
87
+ return false;
88
+ }).hover(function(){},function(){
89
+ if(!opts.keepAlive){
90
+ deactive_tiptip();
91
+ }
92
+ });
93
+ if(opts.keepAlive){
94
+ tiptip_holder.hover(function(){}, function(){
95
+ deactive_tiptip();
96
+ });
97
+ }
98
+ }
99
+
100
+ function active_tiptip(){
101
+ opts.enter.call(this);
102
+ tiptip_content.html(org_title);
103
+ tiptip_holder.hide().removeAttr("class").css("margin","0");
104
+ tiptip_arrow.removeAttr("style");
105
+
106
+ var top = parseInt(org_elem.offset()['top']);
107
+ var left = parseInt(org_elem.offset()['left']);
108
+ var org_width = parseInt(org_elem.outerWidth());
109
+ var org_height = parseInt(org_elem.outerHeight());
110
+ var tip_w = tiptip_holder.outerWidth();
111
+ var tip_h = tiptip_holder.outerHeight();
112
+ var w_compare = Math.round((org_width - tip_w) / 2);
113
+ var h_compare = Math.round((org_height - tip_h) / 2);
114
+ var marg_left = Math.round(left + w_compare);
115
+ var marg_top = Math.round(top + org_height + opts.edgeOffset);
116
+ var t_class = "";
117
+ var arrow_top = "";
118
+ var arrow_left = Math.round(tip_w - 12) / 2;
119
+
120
+ if(opts.defaultPosition == "bottom"){
121
+ t_class = "_bottom";
122
+ } else if(opts.defaultPosition == "top"){
123
+ t_class = "_top";
124
+ } else if(opts.defaultPosition == "left"){
125
+ t_class = "_left";
126
+ } else if(opts.defaultPosition == "right"){
127
+ t_class = "_right";
128
+ }
129
+
130
+ var right_compare = (w_compare + left) < parseInt($(window).scrollLeft());
131
+ var left_compare = (tip_w + left) > parseInt($(window).width());
132
+
133
+ if((right_compare && w_compare < 0) || (t_class == "_right" && !left_compare) || (t_class == "_left" && left < (tip_w + opts.edgeOffset + 5))){
134
+ t_class = "_right";
135
+ arrow_top = Math.round(tip_h - 13) / 2;
136
+ arrow_left = -12;
137
+ marg_left = Math.round(left + org_width + opts.edgeOffset);
138
+ marg_top = Math.round(top + h_compare);
139
+ } else if((left_compare && w_compare < 0) || (t_class == "_left" && !right_compare)){
140
+ t_class = "_left";
141
+ arrow_top = Math.round(tip_h - 13) / 2;
142
+ arrow_left = Math.round(tip_w);
143
+ marg_left = Math.round(left - (tip_w + opts.edgeOffset + 5));
144
+ marg_top = Math.round(top + h_compare);
145
+ }
146
+
147
+ var top_compare = (top + org_height + opts.edgeOffset + tip_h + 8) > parseInt($(window).height() + $(window).scrollTop());
148
+ var bottom_compare = ((top + org_height) - (opts.edgeOffset + tip_h + 8)) < 0;
149
+
150
+ if(top_compare || (t_class == "_bottom" && top_compare) || (t_class == "_top" && !bottom_compare)){
151
+ if(t_class == "_top" || t_class == "_bottom"){
152
+ t_class = "_top";
153
+ } else {
154
+ t_class = t_class+"_top";
155
+ }
156
+ arrow_top = tip_h;
157
+ marg_top = Math.round(top - (tip_h + 5 + opts.edgeOffset));
158
+ } else if(bottom_compare | (t_class == "_top" && bottom_compare) || (t_class == "_bottom" && !top_compare)){
159
+ if(t_class == "_top" || t_class == "_bottom"){
160
+ t_class = "_bottom";
161
+ } else {
162
+ t_class = t_class+"_bottom";
163
+ }
164
+ arrow_top = -12;
165
+ marg_top = Math.round(top + org_height + opts.edgeOffset);
166
+ }
167
+
168
+ if(t_class == "_right_top" || t_class == "_left_top"){
169
+ marg_top = marg_top + 5;
170
+ } else if(t_class == "_right_bottom" || t_class == "_left_bottom"){
171
+ marg_top = marg_top - 5;
172
+ }
173
+ if(t_class == "_left_top" || t_class == "_left_bottom"){
174
+ marg_left = marg_left + 5;
175
+ }
176
+ tiptip_arrow.css({"margin-left": arrow_left+"px", "margin-top": arrow_top+"px"});
177
+ tiptip_holder.css({"margin-left": marg_left+"px", "margin-top": marg_top+"px"}).attr("class","tip"+t_class);
178
+
179
+ if (timeout){ clearTimeout(timeout); }
180
+ timeout = setTimeout(function(){ tiptip_holder.stop(true,true).fadeIn(opts.fadeIn); }, opts.delay);
181
+ }
182
+
183
+ function deactive_tiptip(){
184
+ opts.exit.call(this);
185
+ if (timeout){ clearTimeout(timeout); }
186
+ tiptip_holder.fadeOut(opts.fadeOut);
187
+ }
188
+ }
189
+ });
190
+ }
191
+ })(jQuery);
plugin-fw/assets/js/jquery-tiptip/jquery.tipTip.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(O){O.fn.tipTip=function(t){var g,b,M,w=O.extend({activation:"hover",keepAlive:!1,maxWidth:"200px",edgeOffset:3,defaultPosition:"bottom",delay:400,fadeIn:200,fadeOut:200,attribute:"title",content:!1,enter:function(){},exit:function(){}},t);return O("#tiptip_holder").length<=0?(g=O('<div id="tiptip_holder" style="max-width:'+w.maxWidth+';"></div>'),b=O('<div id="tiptip_content"></div>'),M=O('<div id="tiptip_arrow"></div>'),O("body").append(g.html(b).prepend(M.html('<div id="tiptip_arrow_inner"></div>')))):(g=O("#tiptip_holder"),b=O("#tiptip_content"),M=O("#tiptip_arrow")),this.each(function(){var _,v,m=O(this);function t(){w.enter.call(this),b.html(_),g.hide().removeAttr("class").css("margin","0"),M.removeAttr("style");var t=parseInt(m.offset().top),e=parseInt(m.offset().left),o=parseInt(m.outerWidth()),i=parseInt(m.outerHeight()),n=g.outerWidth(),r=g.outerHeight(),a=Math.round((o-n)/2),f=Math.round((i-r)/2),d=Math.round(e+a),u=Math.round(t+i+w.edgeOffset),p="",h="",l=Math.round(n-12)/2;"bottom"==w.defaultPosition?p="_bottom":"top"==w.defaultPosition?p="_top":"left"==w.defaultPosition?p="_left":"right"==w.defaultPosition&&(p="_right");var c=a+e<parseInt(O(window).scrollLeft()),s=n+e>parseInt(O(window).width());c&&a<0||"_right"==p&&!s||"_left"==p&&e<n+w.edgeOffset+5?(p="_right",h=Math.round(r-13)/2,l=-12,d=Math.round(e+o+w.edgeOffset),u=Math.round(t+f)):(s&&a<0||"_left"==p&&!c)&&(p="_left",h=Math.round(r-13)/2,l=Math.round(n),d=Math.round(e-(n+w.edgeOffset+5)),u=Math.round(t+f));n=t+i+w.edgeOffset+r+8>parseInt(O(window).height()+O(window).scrollTop()),f=t+i-(w.edgeOffset+r+8)<0;n||"_bottom"==p&&n||"_top"==p&&!f?("_top"==p||"_bottom"==p?p="_top":p+="_top",h=r,u=Math.round(t-(r+5+w.edgeOffset))):(f|("_top"==p&&f)||"_bottom"==p&&!n)&&("_top"==p||"_bottom"==p?p="_bottom":p+="_bottom",h=-12,u=Math.round(t+i+w.edgeOffset)),"_right_top"==p||"_left_top"==p?u+=5:"_right_bottom"!=p&&"_left_bottom"!=p||(u-=5),"_left_top"!=p&&"_left_bottom"!=p||(d+=5),M.css({"margin-left":l+"px","margin-top":h+"px"}),g.css({"margin-left":d+"px","margin-top":u+"px"}).attr("class","tip"+p),v&&clearTimeout(v),v=setTimeout(function(){g.stop(!0,!0).fadeIn(w.fadeIn)},w.delay)}function e(){w.exit.call(this),v&&clearTimeout(v),g.fadeOut(w.fadeOut)}""!=(_=w.content?w.content:m.attr(w.attribute))&&(w.content||m.removeAttr(w.attribute),v=!1,"hover"==w.activation?(m.hover(function(){t()},function(){w.keepAlive&&g.is(":hover")||e()}),w.keepAlive&&g.hover(function(){},function(){e()})):"focus"==w.activation?m.focus(function(){t()}).blur(function(){e()}):"click"==w.activation&&(m.click(function(){return t(),!1}).hover(function(){},function(){w.keepAlive||e()}),w.keepAlive&&g.hover(function(){},function(){e()})))})}}(jQuery);
plugin-fw/assets/js/metabox.js CHANGED
@@ -89,22 +89,22 @@
89
  function dependencies_handler( id, deps, values, type ) {
90
  var result = true;
91
 
92
-
93
- //Single dependency
94
  if ( typeof ( deps ) == 'string' ) {
95
- if ( deps.substr( 0, 6 ) == ':radio' ) {
96
  deps = deps + ':checked';
97
  }
98
 
99
- var val = $( deps ).val();
 
 
100
 
101
- if ( $( deps ).attr( 'type' ) == 'checkbox' ) {
102
- var thisCheck = $( deps );
103
- if ( thisCheck.is( ':checked' ) ) {
104
- val = 'yes';
105
- } else {
106
- val = 'no';
107
- }
108
  }
109
 
110
  values = values.split( ',' );
89
  function dependencies_handler( id, deps, values, type ) {
90
  var result = true;
91
 
 
 
92
  if ( typeof ( deps ) == 'string' ) {
93
+ if ( deps.substr( 0, 6 ) === ':radio' ) {
94
  deps = deps + ':checked';
95
  }
96
 
97
+ var depsOn = $( deps ),
98
+ depsOnType = depsOn.attr( 'type' ),
99
+ val = depsOn.val();
100
 
101
+ switch ( depsOnType ){
102
+ case 'checkbox':
103
+ val = depsOn.is( ':checked' ) ? 'yes' : 'no';
104
+ break;
105
+ case 'radio':
106
+ val = depsOn.find( 'input[type="radio"]' ).filter( ':checked' ).val();
107
+ break;
108
  }
109
 
110
  values = values.split( ',' );
plugin-fw/assets/js/metabox.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){e(".metaboxes-tab").each(function(){var t=e(this),a=t.find(".tabs-panel");a.hide();var i=wpCookies.get("active_metabox_tab");i=null==i?t.find("ul.metaboxes-tabs li:first-child a").attr("href"):"#"+i,t.find(i).show(),t.find(".metaboxes-tabs a").on("click",function(t){t.preventDefault();var i=e(this).parent();if(!i.hasClass("tabs")){var s=e(this).attr("href");i.addClass("tabs").siblings("li").removeClass("tabs"),a.hide(),e(s).show()}})});var t=e("#_active_page_options-container"),a=t.parent().html();function i(t,a,i,s){var n=!0;if("string"==typeof a){":radio"==a.substr(0,6)&&(a+=":checked");var d=e(a).val();if("checkbox"==e(a).attr("type"))d=e(a).is(":checked")?"yes":"no";i=i.split(",");for(var o=0;o<i.length;o++){if(d==i[o]){n=!0;break}n=!1}}var r,c=e(t),h=e(t+"-container").parent(),b=s.split("-");for(r in b){var l=b[r];if(n)switch(l){case"disable":h.removeClass("yith-disabled"),c.attr("disabled",!1);break;case"hide":case"hideNow":h.show();break;case"hideme":c.show();break;case"fadeOut":h.show();break;case"fadeInOut":case"fadeIn":default:h.show(500)}else switch(l){case"disable":h.addClass("yith-disabled"),c.attr("disabled",!0);break;case"hide":case"hideNow":h.hide();break;case"hideme":c.hide();break;case"fadeInOut":case"fadeOut":h.hide(500);break;case"fadeIn":default:h.hide()}}}t.parent().remove(),e(a).insertAfter("#yit-post-setting .handlediv"),e(a).insertAfter("#yit-page-setting .handlediv"),t.on("click",function(){e("#_active_page_options").is(":checked")?e("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,"pointer-events":"auto"}):e("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,"pointer-events":"none"})}).trigger("click"),e(document.body).on("yith-plugin-fw-metabox-init-deps",function(){e(document.body).trigger("yith-plugin-fw-init-radio"),e(".metaboxes-tab [data-dep-target]:not(.yith-plugin-fw-metabox-deps-initialized)").each(function(){var t=e(this),a="#"+t.data("dep-target"),s="#"+t.data("dep-id"),n=t.data("dep-value"),d=t.data("dep-type");i(a,s,n.toString(),d),e(s).on("change",function(){i(a,s,n.toString(),d)}).change(),t.addClass("yith-plugin-fw-metabox-deps-initialized")})}).trigger("yith-plugin-fw-metabox-init-deps")}(jQuery);
1
+ !function(e){e(".metaboxes-tab").each(function(){var t=e(this),a=t.find(".tabs-panel");a.hide();var i=wpCookies.get("active_metabox_tab");i=null==i?t.find("ul.metaboxes-tabs li:first-child a").attr("href"):"#"+i,t.find(i).show(),t.find(".metaboxes-tabs a").on("click",function(t){t.preventDefault();var i=e(this).parent();if(!i.hasClass("tabs")){var s=e(this).attr("href");i.addClass("tabs").siblings("li").removeClass("tabs"),a.hide(),e(s).show()}})});var t=e("#_active_page_options-container"),a=t.parent().html();function i(t,a,i,s){var n=!0;if("string"==typeof a){":radio"===a.substr(0,6)&&(a+=":checked");var d=e(a),o=d.attr("type"),r=d.val();switch(o){case"checkbox":r=d.is(":checked")?"yes":"no";break;case"radio":r=d.find('input[type="radio"]').filter(":checked").val()}i=i.split(",");for(var c=0;c<i.length;c++){if(r==i[c]){n=!0;break}n=!1}}var h,b=e(t),l=e(t+"-container").parent(),p=s.split("-");for(h in p){var f=p[h];if(n)switch(f){case"disable":l.removeClass("yith-disabled"),b.attr("disabled",!1);break;case"hide":case"hideNow":l.show();break;case"hideme":b.show();break;case"fadeOut":l.show();break;case"fadeInOut":case"fadeIn":default:l.show(500)}else switch(f){case"disable":l.addClass("yith-disabled"),b.attr("disabled",!0);break;case"hide":case"hideNow":l.hide();break;case"hideme":b.hide();break;case"fadeInOut":case"fadeOut":l.hide(500);break;case"fadeIn":default:l.hide()}}}t.parent().remove(),e(a).insertAfter("#yit-post-setting .handlediv"),e(a).insertAfter("#yit-page-setting .handlediv"),t.on("click",function(){e("#_active_page_options").is(":checked")?e("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,"pointer-events":"auto"}):e("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,"pointer-events":"none"})}).trigger("click"),e(document.body).on("yith-plugin-fw-metabox-init-deps",function(){e(document.body).trigger("yith-plugin-fw-init-radio"),e(".metaboxes-tab [data-dep-target]:not(.yith-plugin-fw-metabox-deps-initialized)").each(function(){var t=e(this),a="#"+t.data("dep-target"),s="#"+t.data("dep-id"),n=t.data("dep-value"),d=t.data("dep-type");i(a,s,n.toString(),d),e(s).on("change",function(){i(a,s,n.toString(),d)}).change(),t.addClass("yith-plugin-fw-metabox-deps-initialized")})}).trigger("yith-plugin-fw-metabox-init-deps")}(jQuery);
plugin-fw/assets/js/wp-pages.js CHANGED
@@ -8,16 +8,27 @@
8
  */
9
 
10
  jQuery( function ( $ ) {
11
- var wrap = $( '.yith-plugin-fw-wp-page-wrapper' ),
12
- notices = $( 'div.updated, div.error, div.notice' );
 
13
 
14
- // prevents the WC message for changes when leaving the panel page
15
- $( '.yith-plugin-fw-wp-page-wrapper .woo-nav-tab-wrapper' ).removeClass( 'woo-nav-tab-wrapper' ).addClass( 'yith-nav-tab-wrapper' );
16
 
17
- // prevent moving notices withing the tab in WP Pages and move them into the wrapper
18
- notices.addClass( 'inline' );
19
- if ( wrap.length ) {
20
- wrap.prepend( notices );
21
- }
 
 
 
 
 
 
 
 
 
 
22
 
23
  } );
8
  */
9
 
10
  jQuery( function ( $ ) {
11
+ var wrap = $( '.yith-plugin-fw-wp-page-wrapper' ),
12
+ notices = $( 'div.updated, div.error, div.notice' ).not( '#message' ),
13
+ message = $( 'div#message.updated' );
14
 
15
+ // prevents the WC message for changes when leaving the panel page
16
+ $( '.yith-plugin-fw-wp-page-wrapper .woo-nav-tab-wrapper' ).removeClass( 'woo-nav-tab-wrapper' ).addClass( 'yith-nav-tab-wrapper' );
17
 
18
+ // prevent moving notices withing the tab in WP Pages and move them into the wrapper
19
+ notices.addClass( 'inline' );
20
+ if ( wrap.length ) {
21
+ wrap.prepend( notices );
22
+ }
23
+
24
+ // Update message animation.
25
+ if ( message.length ) {
26
+ message.addClass( 'yith-plugin-fw-animate__appear-from-top' ).show();
27
+ message.on( 'click', '.notice-dismiss', function ( e ) {
28
+ e.stopPropagation();
29
+ message.removeClass( 'yith-plugin-fw-animate__appear-from-top' ).slideUp( 200 );
30
+ } )
31
+
32
+ }
33
 
34
  } );
plugin-fw/assets/js/wp-pages.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(a){var p=a(".yith-plugin-fw-wp-page-wrapper"),e=a("div.updated, div.error, div.notice");a(".yith-plugin-fw-wp-page-wrapper .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper"),e.addClass("inline"),p.length&&p.prepend(e)});
1
+ jQuery(function(a){var e=a(".yith-plugin-fw-wp-page-wrapper"),p=a("div.updated, div.error, div.notice").not("#message"),i=a("div#message.updated");a(".yith-plugin-fw-wp-page-wrapper .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper"),p.addClass("inline"),e.length&&e.prepend(p),i.length&&(i.addClass("yith-plugin-fw-animate__appear-from-top").show(),i.on("click",".notice-dismiss",function(a){a.stopPropagation(),i.removeClass("yith-plugin-fw-animate__appear-from-top").slideUp(200)}))});
plugin-fw/assets/js/yit-plugin-panel.js CHANGED
@@ -11,24 +11,22 @@ jQuery( function ( $ ) {
11
  // Handle dependencies.
12
  function dependencies_handler( id, deps, values, type ) {
13
  var result = true;
14
- //Single dependency
15
  if ( typeof ( deps ) == 'string' ) {
16
- // ??
17
- if ( deps.substr( 0, 6 ) == ':radio' ) {
18
  deps = deps + ':checked';
19
  }
20
 
21
- var input_type = $( deps ).data( 'type' ),
22
- val = $( deps ).val();
 
23
 
24
- if ( 'checkbox' === input_type ) {
25
- val = $( deps ).is( ':checked' ) ? 'yes' : 'no';
26
- } else if ( 'radio' === input_type ) {
27
- val = $( deps ).find( 'input[type="radio"]' ).filter( ':checked' ).val();
28
- }
29
-
30
- if ( $( deps + '-wrapper' ).data( 'type' ) === 'select-images' ) {
31
- val = $( deps + '-wrapper' ).find( 'select' ).first().val();
32
  }
33
 
34
  values = values.split( ',' );
@@ -174,38 +172,113 @@ jQuery( function ( $ ) {
174
  } );
175
 
176
 
177
- // prevents the WC message for changes when leaving the panel page
178
  $( '.yith-plugin-fw-panel .woo-nav-tab-wrapper' ).removeClass( 'woo-nav-tab-wrapper' ).addClass( 'yith-nav-tab-wrapper' );
179
 
180
  var wrap = $( '.wrap.yith-plugin-ui' ).first(),
181
  notices = $( 'div.updated, div.error, div.notice' );
182
 
183
- // prevent moving notices into the wrapper
184
  notices.addClass( 'inline' );
185
  if ( wrap.length ) {
186
  wrap.prepend( notices );
187
  }
188
 
189
 
190
- // TAB MENU AND SUB TABS
191
- var active_subnav = $( document ).find( '.yith-nav-sub-tab.nav-tab-active' );
 
 
 
 
 
 
 
 
 
192
 
193
- if ( active_subnav.length ) {
194
- // WP page
195
- var mainWrapper = $( document ).find( '.yith-plugin-fw-wp-page-wrapper' );
196
- if ( !mainWrapper.length ) {
197
- mainWrapper = $( document ).find( '#wpbody-content > .yith-plugin-ui' );
 
 
 
 
198
  }
 
199
 
200
- if ( mainWrapper ) {
201
- // serach first for deafult wrap
202
- var wrap = mainWrapper.find( '.yit-admin-panel-content-wrap' );
203
- if ( wrap.length ) {
204
- wrap.addClass( 'has-subnav' );
 
 
 
 
205
  } else {
206
- // try to wrap a generic wrap div in main wrapper
207
- mainWrapper.find( '.wrap' ).wrap( '<div class="wrap subnav-wrap"></div>' );
208
  }
209
  }
210
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  } );
11
  // Handle dependencies.
12
  function dependencies_handler( id, deps, values, type ) {
13
  var result = true;
 
14
  if ( typeof ( deps ) == 'string' ) {
15
+ if ( deps.substr( 0, 6 ) === ':radio' ) {
 
16
  deps = deps + ':checked';
17
  }
18
 
19
+ var depsOn = $( deps ),
20
+ depsOnType = depsOn.attr( 'type' ),
21
+ val = depsOn.val();
22
 
23
+ switch ( depsOnType ) {
24
+ case 'checkbox':
25
+ val = depsOn.is( ':checked' ) ? 'yes' : 'no';
26
+ break;
27
+ case 'radio':
28
+ val = depsOn.find( 'input[type="radio"]' ).filter( ':checked' ).val();
29
+ break;
 
30
  }
31
 
32
  values = values.split( ',' );
172
  } );
173
 
174
 
175
+ // Prevent the WC message for changes when leaving the panel page
176
  $( '.yith-plugin-fw-panel .woo-nav-tab-wrapper' ).removeClass( 'woo-nav-tab-wrapper' ).addClass( 'yith-nav-tab-wrapper' );
177
 
178
  var wrap = $( '.wrap.yith-plugin-ui' ).first(),
179
  notices = $( 'div.updated, div.error, div.notice' );
180
 
181
+ // Prevent moving notices into the wrapper
182
  notices.addClass( 'inline' );
183
  if ( wrap.length ) {
184
  wrap.prepend( notices );
185
  }
186
 
187
 
188
+ // Additional wrapping just in case 'wrap' div is placed within a sub-tab and it's not already wrapped twice.
189
+ // TODO: Deprecated usage, it'll be removed, since also custom panels should use the automatic-wrapping through 'show_container' param.
190
+ ( function () {
191
+ var active_subnav = $( '.yith-nav-sub-tab.nav-tab-active' ),
192
+ subnav_wrap = $( '.yith-plugin-fw-wp-page__sub-tab-wrap' );
193
+
194
+ if ( active_subnav.length && !subnav_wrap.length ) {
195
+ var mainWrapper = $( '.yith-plugin-fw-wp-page-wrapper' );
196
+ if ( !mainWrapper.length ) {
197
+ mainWrapper = $( '#wpbody-content > .yith-plugin-ui' );
198
+ }
199
 
200
+ if ( mainWrapper ) {
201
+ var defaultWrap = mainWrapper.find( '.yit-admin-panel-content-wrap' ); // at first, search for default wrap.
202
+ if ( defaultWrap.length ) {
203
+ defaultWrap.addClass( 'has-subnav' );
204
+ } else {
205
+ // try to wrap a generic wrap div in main wrapper
206
+ mainWrapper.find( '.wrap' ).wrap( '<div class="yith-plugin-fw-wp-page__sub-tab-wrap"></div>' );
207
+ }
208
+ }
209
  }
210
+ } )();
211
 
212
+ // Float save button.
213
+ ( function () {
214
+ var floatSaveButton = $( '#yith-plugin-fw-float-save-button' ),
215
+ mainForm = $( '#plugin-fw-wc' ),
216
+ saveButton = document.querySelector( '#main-save-button' );
217
+
218
+ function checkButtonPosition() {
219
+ if ( isInViewport( saveButton ) ) {
220
+ floatSaveButton.removeClass( 'visible' );
221
  } else {
222
+ floatSaveButton.addClass( 'visible' );
 
223
  }
224
  }
225
+
226
+ function isInViewport( el ) {
227
+ var rect = el.getBoundingClientRect(),
228
+ viewport = {
229
+ width : window.innerWidth || document.documentElement.clientWidth,
230
+ height: window.innerHeight || document.documentElement.clientHeight
231
+ };
232
+ return (
233
+ rect.top >= 0 &&
234
+ rect.left >= 0 &&
235
+ rect.top <= viewport.height &&
236
+ rect.left <= viewport.width
237
+ );
238
+ }
239
+
240
+ if ( floatSaveButton.length > 0 && mainForm.length > 0 ) {
241
+ checkButtonPosition();
242
+ document.addEventListener( 'scroll', checkButtonPosition, { passive: true } );
243
+
244
+ $( document ).on( 'click', '#yith-plugin-fw-float-save-button', function ( e ) {
245
+ e.preventDefault();
246
+ floatSaveButton.block(
247
+ {
248
+ message : null,
249
+ overlayCSS: {
250
+ background: 'transparent',
251
+ opacity : 0.6
252
+ }
253
+ }
254
+ );
255
+ $.post( document.location.href, mainForm.serialize() )
256
+ .done( function ( response ) {
257
+ floatSaveButton.unblock()
258
+ .addClass( 'green' )
259
+ .fadeOut( 300 )
260
+ .html( '<i class="yith-icon yith-icon-check"></i>' + floatSaveButton.data( 'saved-label' ) )
261
+ .fadeIn( 300 )
262
+ .delay( 2500 )
263
+ .queue(
264
+ function ( next ) {
265
+ floatSaveButton.fadeOut(
266
+ 500,
267
+ function () {
268
+ $( this ).removeClass( 'green' );
269
+ $( this ).html( '<i class="yith-icon yith-icon-save"></i>' + $( this ).data( 'default-label' ) ).fadeIn( 500 );
270
+ }
271
+ );
272
+ next();
273
+ } );
274
+
275
+ // Prevent WooCommerce warning for changes without saving.
276
+ window.onbeforeunload = null;
277
+
278
+ $( document ).trigger( 'yith-plugin-fw-float-save-button-after-saving', [response] );
279
+ } );
280
+ } )
281
+ }
282
+ } )();
283
+
284
  } );
plugin-fw/assets/js/yit-plugin-panel.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(e){function a(){e("[data-dep-target]:not( .deps-initialized )").each(function(){var a=e(this);if(!a.closest(".metaboxes-tab").length){a.addClass("deps-initialized");var t="#"+a.data("dep-target"),i="#"+a.data("dep-id"),n=a.data("dep-value"),d=a.data("dep-type");e(i).on("change",function(){!function(a,t,i,n){var d=!0;if("string"==typeof t){":radio"==t.substr(0,6)&&(t+=":checked");var s=e(t).data("type"),r=e(t).val();"checkbox"===s?r=e(t).is(":checked")?"yes":"no":"radio"===s&&(r=e(t).find('input[type="radio"]').filter(":checked").val()),"select-images"===e(t+"-wrapper").data("type")&&(r=e(t+"-wrapper").find("select").first().val()),i=i.split(",");for(var c=0;c<i.length;c++){if(r==i[c]){d=!0;break}d=!1}}var o=e(a),l=e(a+"-container").closest("tr");l.length<1&&(l=o.closest(".yith-plugin-fw-panel-wc-row, .yith-toggle-content-row"));var h,p=n.split("-");for(h in p){var u=p[h];if(d)switch(u){case"disable":l.removeClass("yith-disabled"),o.attr("disabled",!1);break;case"hide":case"hideNow":l.show();break;case"hideme":o.show();break;case"fadeOut":l.show();break;case"fadeInOut":case"fadeIn":default:l.show(500)}else switch(u){case"disable":l.addClass("yith-disabled"),o.attr("disabled",!0);break;case"hide":case"hideNow":l.hide();break;case"hideme":o.hide();break;case"fadeInOut":case"fadeOut":l.hide(500);break;case"fadeIn":default:l.hide()}}}(t,i,n.toString(),d)}).trigger("change")}})}a(),e(document).on("yith-add-box-button-toggle",a),e(".rm_connectedlist").each(function(){var a=e(this).find("ul"),t=e(this).find(":hidden");a.sortable({connectWith:a,update:function(i,n){var d={};a.each(function(){var a={};e(this).children().each(function(){a[e(this).data("option")]=e(this).text()}),d[e(this).data("list")]=a}),t.val(JSON.stringify(d).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),e(function(){e(".google-analytic-generate").click(function(){var a=e("#"+e(this).data("textarea")).data("codemirrorInstance"),t="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";t+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",t+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",t+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",t+="ga('create', '"+e("#"+e(this).data("input")).val()+"', '"+e(this).data("basename")+"');\n",t+="ga('send', 'pageview');\n",a.replaceRange(t,a.getCursor("start"),a.getCursor("end"))})}),e(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var t=e(".wrap.yith-plugin-ui").first(),i=e("div.updated, div.error, div.notice");if(i.addClass("inline"),t.length&&t.prepend(i),e(document).find(".yith-nav-sub-tab.nav-tab-active").length){var n=e(document).find(".yith-plugin-fw-wp-page-wrapper");if(n.length||(n=e(document).find("#wpbody-content > .yith-plugin-ui")),n)(t=n.find(".yit-admin-panel-content-wrap")).length?t.addClass("has-subnav"):n.find(".wrap").wrap('<div class="wrap subnav-wrap"></div>')}});
1
+ jQuery(function(e){function t(){e("[data-dep-target]:not( .deps-initialized )").each(function(){var t=e(this);if(!t.closest(".metaboxes-tab").length){t.addClass("deps-initialized");var a="#"+t.data("dep-target"),i="#"+t.data("dep-id"),n=t.data("dep-value"),s=t.data("dep-type");e(i).on("change",function(){!function(t,a,i,n){var s=!0;if("string"==typeof a){":radio"===a.substr(0,6)&&(a+=":checked");var d=e(a),o=d.attr("type"),r=d.val();switch(o){case"checkbox":r=d.is(":checked")?"yes":"no";break;case"radio":r=d.find('input[type="radio"]').filter(":checked").val()}i=i.split(",");for(var c=0;c<i.length;c++){if(r==i[c]){s=!0;break}s=!1}}var l=e(t),h=e(t+"-container").closest("tr");h.length<1&&(h=l.closest(".yith-plugin-fw-panel-wc-row, .yith-toggle-content-row"));var u,g=n.split("-");for(u in g){var f=g[u];if(s)switch(f){case"disable":h.removeClass("yith-disabled"),l.attr("disabled",!1);break;case"hide":case"hideNow":h.show();break;case"hideme":l.show();break;case"fadeOut":h.show();break;case"fadeInOut":case"fadeIn":default:h.show(500)}else switch(f){case"disable":h.addClass("yith-disabled"),l.attr("disabled",!0);break;case"hide":case"hideNow":h.hide();break;case"hideme":l.hide();break;case"fadeInOut":case"fadeOut":h.hide(500);break;case"fadeIn":default:h.hide()}}}(a,i,n.toString(),s)}).trigger("change")}})}t(),e(document).on("yith-add-box-button-toggle",t),e(".rm_connectedlist").each(function(){var t=e(this).find("ul"),a=e(this).find(":hidden");t.sortable({connectWith:t,update:function(i,n){var s={};t.each(function(){var t={};e(this).children().each(function(){t[e(this).data("option")]=e(this).text()}),s[e(this).data("list")]=t}),a.val(JSON.stringify(s).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),e(function(){e(".google-analytic-generate").click(function(){var t=e("#"+e(this).data("textarea")).data("codemirrorInstance"),a="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";a+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",a+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",a+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",a+="ga('create', '"+e("#"+e(this).data("input")).val()+"', '"+e(this).data("basename")+"');\n",a+="ga('send', 'pageview');\n",t.replaceRange(a,t.getCursor("start"),t.getCursor("end"))})}),e(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var a=e(".wrap.yith-plugin-ui").first(),i=e("div.updated, div.error, div.notice");i.addClass("inline"),a.length&&a.prepend(i),function(){var t=e(".yith-nav-sub-tab.nav-tab-active"),a=e(".yith-plugin-fw-wp-page__sub-tab-wrap");if(t.length&&!a.length){var i=e(".yith-plugin-fw-wp-page-wrapper");if(i.length||(i=e("#wpbody-content > .yith-plugin-ui")),i){var n=i.find(".yit-admin-panel-content-wrap");n.length?n.addClass("has-subnav"):i.find(".wrap").wrap('<div class="yith-plugin-fw-wp-page__sub-tab-wrap"></div>')}}}(),function(){var t=e("#yith-plugin-fw-float-save-button"),a=e("#plugin-fw-wc"),i=document.querySelector("#main-save-button");function n(){var e,a;e=i.getBoundingClientRect(),a={width:window.innerWidth||document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight},e.top>=0&&e.left>=0&&e.top<=a.height&&e.left<=a.width?t.removeClass("visible"):t.addClass("visible")}t.length>0&&a.length>0&&(n(),document.addEventListener("scroll",n,{passive:!0}),e(document).on("click","#yith-plugin-fw-float-save-button",function(i){i.preventDefault(),t.block({message:null,overlayCSS:{background:"transparent",opacity:.6}}),e.post(document.location.href,a.serialize()).done(function(a){t.unblock().addClass("green").fadeOut(300).html('<i class="yith-icon yith-icon-check"></i>'+t.data("saved-label")).fadeIn(300).delay(2500).queue(function(a){t.fadeOut(500,function(){e(this).removeClass("green"),e(this).html('<i class="yith-icon yith-icon-save"></i>'+e(this).data("default-label")).fadeIn(500)}),a()}),window.onbeforeunload=null,e(document).trigger("yith-plugin-fw-float-save-button-after-saving",[a])})}))}()});
plugin-fw/assets/js/yith-fields.js CHANGED
@@ -17,7 +17,7 @@
17
  sliderWrapper : $( '.yith-plugin-fw-image-gallery ul.slides-wrapper' )
18
  },
19
  $sidebars = $( '.yith-plugin-fw-sidebar-layout' ),
20
- $slider = $( '.yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal' ),
21
  $icons = $( '.yit-icons-manager-wrapper' ),
22
  $checkgroup = $( ".yith-plugin-ui td.forminp-checkbox" );
23
 
@@ -323,7 +323,7 @@
323
 
324
 
325
  slide: function ( event, ui ) {
326
- $( this ).find( 'input' ).val( ui.value );
327
  $( this ).find( '.ui-slider-handle' ).text( ui.value );
328
  $( this ).siblings( '.feedback' ).find( 'strong' ).text( ui.value + labels );
329
  }
@@ -794,7 +794,7 @@
794
 
795
  units.removeClass( fw_dimensions.selectors.units.selectedClass );
796
  unit.addClass( fw_dimensions.selectors.units.selectedClass );
797
- valueField.val( value );
798
  },
799
  linkedChange: function () {
800
  var button = $( this ).closest( fw_dimensions.selectors.linked.button ),
@@ -859,6 +859,92 @@
859
  tip.fadeOut( 400 );
860
  }, 1500 );
861
  wrap.data( 'tip-timeout', timeout );
862
- } )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
863
 
864
  } )( jQuery );
17
  sliderWrapper : $( '.yith-plugin-fw-image-gallery ul.slides-wrapper' )
18
  },
19
  $sidebars = $( '.yith-plugin-fw-sidebar-layout' ),
20
+ $slider = $( '.yith-plugin-fw-slider-container .ui-slider-horizontal' ),
21
  $icons = $( '.yit-icons-manager-wrapper' ),
22
  $checkgroup = $( ".yith-plugin-ui td.forminp-checkbox" );
23
 
323
 
324
 
325
  slide: function ( event, ui ) {
326
+ $( this ).find( 'input' ).val( ui.value ).trigger( 'change' );
327
  $( this ).find( '.ui-slider-handle' ).text( ui.value );
328
  $( this ).siblings( '.feedback' ).find( 'strong' ).text( ui.value + labels );
329
  }
794
 
795
  units.removeClass( fw_dimensions.selectors.units.selectedClass );
796
  unit.addClass( fw_dimensions.selectors.units.selectedClass );
797
+ valueField.val( value ).trigger( 'change' );
798
  },
799
  linkedChange: function () {
800
  var button = $( this ).closest( fw_dimensions.selectors.linked.button ),
859
  tip.fadeOut( 400 );
860
  }, 1500 );
861
  wrap.data( 'tip-timeout', timeout );
862
+ } );
863
+
864
+ /**
865
+ * Action buttons
866
+ */
867
+ var actionButtons = {
868
+ init : function () {
869
+ $( document ).on( 'click', '.yith-plugin-fw__action-button--has-menu', actionButtons.open );
870
+ $( document ).on( 'click', '.yith-plugin-fw__action-button__menu', actionButtons.stopPropagation );
871
+ $( document ).on( 'click', actionButtons.closeAll );
872
+ },
873
+ closeAll : function () {
874
+ $( '.yith-plugin-fw__action-button--opened' ).removeClass( 'yith-plugin-fw__action-button--opened' );
875
+ },
876
+ open : function ( e ) {
877
+ var button = $( this ).closest( '.yith-plugin-fw__action-button' ),
878
+ wasOpened = button.hasClass( 'yith-plugin-fw__action-button--opened' );
879
+ e.preventDefault();
880
+ e.stopPropagation();
881
+
882
+ actionButtons.closeAll();
883
+
884
+ if ( !wasOpened ) {
885
+ button.addClass( 'yith-plugin-fw__action-button--opened' );
886
+ }
887
+ },
888
+ stopPropagation: function ( e ) {
889
+ e.stopPropagation();
890
+ }
891
+ };
892
+ actionButtons.init();
893
+
894
+ /**
895
+ * Require confirmation link
896
+ */
897
+ $( document ).on( 'click', 'a.yith-plugin-fw__require-confirmation-link', function ( e ) {
898
+ var link = $( this ).closest( 'a.yith-plugin-fw__require-confirmation-link' ),
899
+ url = link.attr( 'href' );
900
+
901
+ if ( url && '#' !== url ) {
902
+ e.preventDefault();
903
+ e.stopPropagation();
904
+ if ( 'yith' in window && 'ui' in yith ) {
905
+ var dataForOptions = [
906
+ 'title',
907
+ 'message',
908
+ 'confirmButtonType',
909
+ 'cancelButton',
910
+ 'confirmButton'
911
+ ],
912
+ options = {}, i;
913
+
914
+ for ( i in dataForOptions ) {
915
+ var key = dataForOptions[ i ],
916
+ value = link.data( key );
917
+
918
+ if ( typeof value !== 'undefined' ) {
919
+ options[ key ] = value;
920
+ }
921
+ }
922
+
923
+ options.onConfirm = function () {
924
+ window.location.href = url;
925
+ };
926
+
927
+ options.closeAfterConfirm = false;
928
+
929
+ yith.ui.confirm( options );
930
+
931
+ }
932
+ }
933
+
934
+ } );
935
+
936
+ /**
937
+ * Tips
938
+ */
939
+ $( document ).on( 'yith-plugin-fw-tips-init', function () {
940
+ $( '.yith-plugin-fw__tips' ).tipTip(
941
+ {
942
+ attribute: 'data-tip',
943
+ fadeIn : 50,
944
+ fadeOut : 50,
945
+ delay : 200
946
+ }
947
+ );
948
+ } ).trigger( 'yith-plugin-fw-tips-init' );
949
 
950
  } )( jQuery );
plugin-fw/assets/js/yith-fields.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){e(document).on("yith_fields_init",function(){var t=e(".yith-plugin-fw-datepicker"),i=e(".yith-plugin-fw-colorpicker"),n={imgPreviewHandler:".yith-plugin-fw-upload-img-preview",uploadButtonHandler:".yith-plugin-fw-upload-button",imgUrlHandler:".yith-plugin-fw-upload-img-url",resetButtonHandler:".yith-plugin-fw-upload-button-reset",imgUrl:e(".yith-plugin-fw-upload-img-url")},a=e(".add_media"),l={rootSelector:".yith-plugin-fw-image-gallery",buttonSelector:".yith-plugin-fw-image-gallery .image-gallery-button",sliderWrapper:e(".yith-plugin-fw-image-gallery ul.slides-wrapper")},o=e(".yith-plugin-fw-sidebar-layout"),s=e(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),r=e(".yit-icons-manager-wrapper");e(".yith-plugin-ui td.forminp-checkbox");t.each(function(){var t=e(this),i=t.data(),n=t.next(".yith-icon-calendar");i.showAnim=!1,i.beforeShow=function(e,t){t.dpDiv.addClass("yith-plugin-fw-datepicker-div")},i.onClose=function(e,t){t.dpDiv.removeClass("yith-plugin-fw-datepicker-div")},t.datepicker(i),n&&n.on("click",function(){t.datepicker("show")})}),i.wpColorPicker({palettes:!1,width:200,mode:"hsl",clear:function(){var t=e(this);t.val(t.data("default-color")),t.change()}}),i.each(function(){var t=e(this).data("variations-label"),i=e(this).closest(".yith-plugin-fw-colorpicker-field-wrapper"),n=e(this).closest(".yith-single-colorpicker"),a=i.find(".wp-picker-input-wrap"),l=n.find(".wp-picker-input-wrap");if(a.length&&i.find("a.wp-color-result").attr("title",t),n.length&&n.find("a.wp-color-result").attr("title",t),!a.find(".wp-picker-default-custom").length){var o=e("<span/>").attr({"class":"wp-picker-default-custom"});a.find(".wp-picker-default").wrap(o)}l.find(".wp-picker-default-custom").length||(o=e("<span/>").attr({"class":"wp-picker-default-custom"}),l.find(".wp-picker-default").wrap(o))}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(n.imgUrl.change(function(){var t=e(this).val(),i=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico|svg)"),a=e(this).parent().find(n.imgPreviewHandler).first();a.length<1&&(a=e(this).parent().parent().find(n.imgPreviewHandler).first()),i.test(t)?a.html('<img src="'+t+'" style="max-width:100px; max-height:100px;" />'):a.html("")}).trigger("change"),e(document).on("click",n.uploadButtonHandler,function(t){t.preventDefault();var i,a=e(this).attr("id").replace(/-button$/,"").replace(/(\[|\])/g,"\\$1");if(i)i.open();else{var l=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];(i=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:l})).on("select",function(){var t=i.state().get("selection").first().toJSON();e("#"+a).val(t.url),e("#"+a+"-yith-attachment-id")&&e("#"+a+"-yith-attachment-id").val(t.id),n.imgUrl.trigger("change")}),i.open()}}),e(document).on("click",n.resetButtonHandler,function(t){var i=e(this),a=i.attr("id").replace(/(\[|\])/g,"\\$1"),l=i.attr("id").replace(/-button-reset$/,"").replace(/(\[|\])/g,"\\$1"),o=e("#"+a).data("default");e("#"+l).val(o),n.imgUrl.trigger("change")}));a.on("click",function(){}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(e(document).on("click",l.buttonSelector,function(t){var i=e(this),n=i.closest(l.rootSelector),a=n.find(".image_gallery_ids"),o=a.val(),s=n.find("ul.slides-wrapper"),r=wp.media.frames.image_gallery=wp.media({title:i.data("choose"),button:{text:i.data("update")},states:[new wp.media.controller.Library({title:i.data("choose"),filterable:"all",multiple:!0})]});r.on("select",function(){r.state().get("selection").map(function(e){(e=e.toJSON()).id&&(o=o?o+","+e.id:e.id,s.append('<li class="image" data-attachment_id="'+e.id+'"><img src="'+e.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+i.data("delete")+'">x</a></li></ul></li>'))}),a.val(o),a.trigger("change")}),r.open()}),l.sliderWrapper.each(function(){var t=e(this);t.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style")},update:function(i,n){var a="";t.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");a=a+t+","}),t.closest(l.rootSelector).find(".image_gallery_ids").val(a)}})}),l.sliderWrapper.on("click","a.delete",function(t){t.preventDefault();var i=e(this).closest(l.rootSelector),n=i.find("ul.slides-wrapper"),a=i.find(".image_gallery_ids"),o="";e(this).closest("li.image").remove(),n.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");o=o+t+","}),a.val(o)})),o.each(function(){e(this).find("img").on("click",function(){var t=e(this).closest(".yith-plugin-fw-sidebar-layout"),i=t.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container"),n=t.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container"),a=e(this).data("type");if(e(this).parent().children(":radio").attr("checked",!1),e(this).prev(":radio").attr("checked",!0),void 0!==a)switch(a){case"left":i.show(),n.hide();break;case"right":n.show(),i.hide();break;case"double":i.show(),n.show();break;default:i.hide(),n.hide()}})}),s.each(function(){var t=e(this).data("val"),i=e(this).data("min"),n=e(this).data("max"),a=e(this).data("step"),l=e(this).data("labels");e(this).slider({value:t,min:i,max:n,range:"min",step:a,create:function(){e(this).find(".ui-slider-handle").text(e(this).slider("value"))},slide:function(t,i){e(this).find("input").val(i.value),e(this).find(".ui-slider-handle").text(i.value),e(this).siblings(".feedback").find("strong").text(i.value+l)}})}),e(function(){e(document).on("yith-plugin-fw-codemirror-init",function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.codeEditor&&e(".codemirror:not(.codemirror--initialized)").each(function(){var t=e(this).data("settings"),i=wp.codeEditor.initialize(e(this),t);e(this).addClass("codemirror--initialized"),e(this).data("codemirrorInstance",i)})}).trigger("yith-plugin-fw-codemirror-init")}),e(document).on("click",".yith-plugin-fw-select-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!0).trigger("change")}),e(document).on("click",".yith-plugin-fw-deselect-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!1).trigger("change")}),r.each(function(){var t=e(this),i=t.find(".yit-icons-manager-icon-preview").first(),n=t.find(".yit-icons-manager-icon-text");t.on("click",".yit-icons-manager-list li",function(a){var l=e(a.target).closest("li"),o=l.data("font"),s=l.data("icon"),r=l.data("key"),d=l.data("name");i.attr("data-font",o),i.attr("data-icon",s),i.attr("data-key",r),i.attr("data-name",d),n.val(o+":"+d),t.find(".yit-icons-manager-list li").removeClass("active"),l.addClass("active")}),t.on("click",".yit-icons-manager-action-set-default",function(){t.find(".yit-icons-manager-list li.default").trigger("click")})}),e(document).on("click",".yith-plugin-fw-select-images__item",function(){var t=e(this),i=t.data("key"),n=t.closest(".yith-plugin-fw-select-images__wrapper"),a=n.find(".yith-plugin-fw-select-images__item"),l=n.find("select").first();l.length&&(l.val(i).trigger("yith_select_images_value_changed").trigger("change"),a.removeClass("yith-plugin-fw-select-images__item--selected"),t.addClass("yith-plugin-fw-select-images__item--selected"))}),e(document.body).trigger("wc-enhanced-select-init"),e(document).find(".ui-sortable .yith-toggle-elements").sortable({cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",stop:function(t,i){var n=jQuery(".ui-sortable-handle"),a=0,l=new Array;for(a=0;a<n.length;a++)l[a]=e(n[a]).data("item_key");l.length>0&&e(this).closest(".toggle-element").saveToggleElement(null,l)}}),e(document.body).trigger("yith-framework-enhanced-select-init")}).trigger("yith_fields_init"),e(document).on("click",".yith-plugin-fw-onoff-container span",function(){var t=e(this).prev("input");t.prop("disabled")||t.trigger("click")}),e(document).on("click",".yith-plugin-fw-onoff-container input",function(t){e(this).is(":checked")?e(this).attr("value","yes").addClass("onoffchecked"):e(this).attr("value","no").removeClass("onoffchecked"),e(this).trigger("change")}),e.fn.saveToggleElement=function(t,i){var n=e(this),a="yith_plugin_fw_save_toggle_element",l=n.serializeToggleElement(),o=n.find(".yith-toggle_wrapper"),s=o.attr("id"),r=e.urlParam("tab");l.append("security",o.data("nonce")),void 0!==i&&i.length>0&&l.append("yith_toggle_elements_order_keys",i),n.closest(".metaboxes-tab.yith-plugin-ui").length?(a="yith_plugin_fw_save_toggle_element_metabox",post_id=e(this).closest("form#post").find("#post_ID").val(),yit_metaboxes_nonce=e(this).closest("form#post").find("#yit_metaboxes_nonce").val(),metabox_tab=e(this).closest(".tabs-panel").attr("id"),url=yith_framework_fw_fields.ajax_url+"?action="+a+"&post_ID="+post_id+"&yit_metaboxes_nonce="+yit_metaboxes_nonce+"&toggle_id="+s+"&metabox_tab="+metabox_tab):url=yith_framework_fw_fields.admin_url+"?action="+a+"&tab="+r+"&toggle_id="+s,e.ajax({type:"POST",url:url,data:l,contentType:!1,processData:!1,success:function(i){t&&t.removeClass("show"),e(document).trigger("yith_save_toggle_element_done",[i,n])}})},e.fn.serializeToggleElement=function(){var t=e(this),i=new FormData,n=e(t).find(":input").serializeArray();return e.each(n,function(e,t){el_name=t.name,i.append(t.name,t.value)}),i},e.fn.formatToggleTitle=function(){var t=e(this),i=t.find(":input"),n=t.find("span.title").data("title_format"),a=t.find(".subtitle").data("subtitle_format"),l=new RegExp("[^%%]+(?=[%%])","g");if(void 0!==n)var o=n.match(l);if(void 0!==a)var s=a.match(l);e.each(i,function(t,i){void 0!==e(i).attr("id")&&($field_id=e(i).attr("id"),$field_array=$field_id.split("_"),$field_array.pop(),$field_id=$field_array.join("_"),$field_val=e(i).val(),null!=o&&void 0!==o&&-1!==o.indexOf($field_id)&&(n=n.replace("%%"+$field_id+"%%",$field_val)),null!=s&&void 0!==s&&-1!==s.indexOf($field_id)&&(a=a.replace("%%"+$field_id+"%%",$field_val)))}),""!==n&&t.find("span.title").html(n),""!==a&&t.find(".subtitle").html(a),e(document).trigger("yith-toggle-element-item-title",[t])},e.urlParam=function(e){var t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.search);return null!==t&&(t[1]||0)},e(document).on("click",".yith-toggle-title",function(t){var i=e(t.target),n=i.closest(".yith-toggle-row"),a=n.find(".yith-toggle-content");if(i.hasClass("yith-plugin-fw-onoff")||i.hasClass("yith-icon-drag"))return!1;n.is(".yith-toggle-row-opened")?a.slideUp(400):a.slideDown(400),n.toggleClass("yith-toggle-row-opened")}),e(document).on("click",".yith-add-box-button",function(t){t.preventDefault();var i=e(this),n=i.data("box_id"),a=i.data("closed_label"),l=i.data("opened_label"),o=i.closest(".yith-toggle_wrapper").attr("id"),s=wp.template("yith-toggle-element-add-box-content-"+o);""!==n&&(e("#"+n).html(s({index:"box_id"})).slideToggle(),""!==a&&(i.html()===a?i.html(l).removeClass("closed"):i.html(a).addClass("closed")),e(document).trigger("yith_fields_init"),e(document).trigger("yith-add-box-button-toggle",[i]))}),e(document).on("click",".yith-add-box-buttons .yith-save-button",function(t){t.preventDefault();var i=e(this).parents(".yith-add-box"),n=e(this).closest(".yith-toggle_wrapper").attr("id"),a=i.find(".spinner"),l=e(this).parents(".toggle-element"),o=i.find(":input"),s=0,r=e('<input type="hidden">');l.find(".yith-toggle-row").each(function(){var t=parseInt(e(this).data("item_key"));s<=t&&(s=t+1)}),r.val(s),e(document).trigger("yith-toggle-change-counter",[r,i]),s=r.val();var d=wp.template("yith-toggle-element-item-"+n),c=e(d({index:s}));a.addClass("show"),e.each(o,function(t,i){if(void 0!==e(i).attr("id")){var n=e(i).attr("id"),a=e(i).val();n="radio"===e(i).attr("type")?(n=(n=e(i).closest(".yith-plugin-fw-radio").attr("id")).replace("new_","")+"_"+s)+"-"+a:n.replace("new_","")+"_"+s,e(i).is(":checked")&&e(c).find("#"+n).prop("checked",!0),(e(i).hasClass("yith-post-search")||e(i).hasClass("yith-term-search"))&&e(c).find("#"+n).html(e("#"+e(i).attr("id")).html()),e(c).find("#"+n).val(a)}}),e(c).formatToggleTitle();var u=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-add",[i,c,u]);setTimeout(function(){if("yes"===u.val()){e(l).find(".yith-toggle-elements").append(c),e(i).find(".yith-plugin-fw-datepicker").datepicker("destroy"),e(i).html(""),e(i).prev(".yith-add-box-button").trigger("click"),l.saveToggleElement();setTimeout(function(){e(l).find(".highlight").removeClass("highlight")},2e3),e(document).trigger("yith_fields_init")}},1e3)}),e(document).on("click",".yith-toggle-row .yith-save-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element"),n=e(this).closest(".yith-toggle-row"),a=n.find(".spinner");n.formatToggleTitle();var l=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-update",[i,n,l]),"yes"===l.val()&&(a.addClass("show"),i.saveToggleElement(a))}),e(document).on("click",".yith-toggle-row .yith-delete-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element");e(this).closest(".yith-toggle-row").remove(),i.saveToggleElement()}),e(document).on("click",".yith-toggle-onoff",function(t){t.preventDefault(),e(this).closest(".toggle-element").saveToggleElement()}),e(document).on("click",".yith-plugin-fw-radio input[type=radio]",function(){var t=e(this).closest(".yith-plugin-fw-radio"),i=e(this).val();t.val(i).data("value",i).trigger("change")}),e(document.body).on("yith-plugin-fw-init-radio",function(){e(".yith-plugin-fw-radio:not(.yith-plugin-fw-radio--initialized)").each(function(){e(this).val(e(this).data("value")),e(this).addClass("yith-plugin-fw-radio--initialized")})}).trigger("yith-plugin-fw-init-radio"),e(document).on("click",".yith-password-eye",function(){var t=e(this),i=e(this).closest(".yith-password-wrapper").find("input");"password"===i.attr("type")?(i.attr("type","text"),t.addClass("yith-password-eye-closed")):(i.attr("type","password"),t.removeClass("yith-password-eye-closed"))}),e(document).on("select2:open",function(t){e(t.target).closest(".yith-plugin-ui").length&&e(".select2-results").closest(".select2-container").addClass("yith-plugin-fw-select2-container")});var t={selectors:{wrapper:".yith-plugin-fw-dimensions",units:{wrapper:".yith-plugin-fw-dimensions__units",single:".yith-plugin-fw-dimensions__unit",value:".yith-plugin-fw-dimensions__unit__value",selectedClass:"yith-plugin-fw-dimensions__unit--selected"},linked:{button:".yith-plugin-fw-dimensions__linked",value:".yith-plugin-fw-dimensions__linked__value",wrapperActiveClass:"yith-plugin-fw-dimensions--linked-active"},dimensions:{number:".yith-plugin-fw-dimensions__dimension__number"}},init:function(){var i=t;e(document).on("click",i.selectors.units.single,i.unitChange),e(document).on("click",i.selectors.linked.button,i.linkedChange),e(document).on("change keyup",i.selectors.dimensions.number,i.numberChange)},unitChange:function(i){var n=e(this).closest(t.selectors.units.single),a=n.closest(t.selectors.units.wrapper),l=a.find(t.selectors.units.single),o=a.find(t.selectors.units.value).first(),s=n.data("value");l.removeClass(t.selectors.units.selectedClass),n.addClass(t.selectors.units.selectedClass),o.val(s)},linkedChange:function(){var i=e(this).closest(t.selectors.linked.button),n=i.closest(t.selectors.wrapper),a=i.find(t.selectors.linked.value);"yes"===a.val()?(n.removeClass(t.selectors.linked.wrapperActiveClass),a.val("no")):(n.addClass(t.selectors.linked.wrapperActiveClass),a.val("yes"),n.find(t.selectors.dimensions.number).first().trigger("change"))},numberChange:function(i){var n=e(this).closest(t.selectors.dimensions.number),a=n.closest(t.selectors.wrapper);a.hasClass(t.selectors.linked.wrapperActiveClass)&&a.find(t.selectors.dimensions.number).val(n.val())}};t.init();e(document).on("click",".yith-plugin-fw-copy-to-clipboard__copy",function(){var t,i=e(this).closest(".yith-plugin-fw-copy-to-clipboard"),n=i.find(".yith-plugin-fw-copy-to-clipboard__field"),a=i.find(".yith-plugin-fw-copy-to-clipboard__tip"),l=i.data("tip-timeout");l&&clearTimeout(l),n.select(),document.execCommand("copy"),(t="getSelection"in window&&window.getSelection())?"empty"in t?t.empty():"removeAllRanges"in t&&t.removeAllRanges():"selection"in document&&document.selection.empty(),a.fadeIn(400),l=setTimeout(function(){a.fadeOut(400)},1500),i.data("tip-timeout",l)})}(jQuery);
1
+ !function(e){e(document).on("yith_fields_init",function(){var t=e(".yith-plugin-fw-datepicker"),i=e(".yith-plugin-fw-colorpicker"),n={imgPreviewHandler:".yith-plugin-fw-upload-img-preview",uploadButtonHandler:".yith-plugin-fw-upload-button",imgUrlHandler:".yith-plugin-fw-upload-img-url",resetButtonHandler:".yith-plugin-fw-upload-button-reset",imgUrl:e(".yith-plugin-fw-upload-img-url")},a=e(".add_media"),l={rootSelector:".yith-plugin-fw-image-gallery",buttonSelector:".yith-plugin-fw-image-gallery .image-gallery-button",sliderWrapper:e(".yith-plugin-fw-image-gallery ul.slides-wrapper")},o=e(".yith-plugin-fw-sidebar-layout"),s=e(".yith-plugin-fw-slider-container .ui-slider-horizontal"),r=e(".yit-icons-manager-wrapper");e(".yith-plugin-ui td.forminp-checkbox");t.each(function(){var t=e(this),i=t.data(),n=t.next(".yith-icon-calendar");i.showAnim=!1,i.beforeShow=function(e,t){t.dpDiv.addClass("yith-plugin-fw-datepicker-div")},i.onClose=function(e,t){t.dpDiv.removeClass("yith-plugin-fw-datepicker-div")},t.datepicker(i),n&&n.on("click",function(){t.datepicker("show")})}),i.wpColorPicker({palettes:!1,width:200,mode:"hsl",clear:function(){var t=e(this);t.val(t.data("default-color")),t.change()}}),i.each(function(){var t=e(this).data("variations-label"),i=e(this).closest(".yith-plugin-fw-colorpicker-field-wrapper"),n=e(this).closest(".yith-single-colorpicker"),a=i.find(".wp-picker-input-wrap"),l=n.find(".wp-picker-input-wrap");if(a.length&&i.find("a.wp-color-result").attr("title",t),n.length&&n.find("a.wp-color-result").attr("title",t),!a.find(".wp-picker-default-custom").length){var o=e("<span/>").attr({"class":"wp-picker-default-custom"});a.find(".wp-picker-default").wrap(o)}l.find(".wp-picker-default-custom").length||(o=e("<span/>").attr({"class":"wp-picker-default-custom"}),l.find(".wp-picker-default").wrap(o))}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(n.imgUrl.change(function(){var t=e(this).val(),i=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico|svg)"),a=e(this).parent().find(n.imgPreviewHandler).first();a.length<1&&(a=e(this).parent().parent().find(n.imgPreviewHandler).first()),i.test(t)?a.html('<img src="'+t+'" style="max-width:100px; max-height:100px;" />'):a.html("")}).trigger("change"),e(document).on("click",n.uploadButtonHandler,function(t){t.preventDefault();var i,a=e(this).attr("id").replace(/-button$/,"").replace(/(\[|\])/g,"\\$1");if(i)i.open();else{var l=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];(i=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:l})).on("select",function(){var t=i.state().get("selection").first().toJSON();e("#"+a).val(t.url),e("#"+a+"-yith-attachment-id")&&e("#"+a+"-yith-attachment-id").val(t.id),n.imgUrl.trigger("change")}),i.open()}}),e(document).on("click",n.resetButtonHandler,function(t){var i=e(this),a=i.attr("id").replace(/(\[|\])/g,"\\$1"),l=i.attr("id").replace(/-button-reset$/,"").replace(/(\[|\])/g,"\\$1"),o=e("#"+a).data("default");e("#"+l).val(o),n.imgUrl.trigger("change")}));a.on("click",function(){}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(e(document).on("click",l.buttonSelector,function(t){var i=e(this),n=i.closest(l.rootSelector),a=n.find(".image_gallery_ids"),o=a.val(),s=n.find("ul.slides-wrapper"),r=wp.media.frames.image_gallery=wp.media({title:i.data("choose"),button:{text:i.data("update")},states:[new wp.media.controller.Library({title:i.data("choose"),filterable:"all",multiple:!0})]});r.on("select",function(){r.state().get("selection").map(function(e){(e=e.toJSON()).id&&(o=o?o+","+e.id:e.id,s.append('<li class="image" data-attachment_id="'+e.id+'"><img src="'+e.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+i.data("delete")+'">x</a></li></ul></li>'))}),a.val(o),a.trigger("change")}),r.open()}),l.sliderWrapper.each(function(){var t=e(this);t.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style")},update:function(i,n){var a="";t.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");a=a+t+","}),t.closest(l.rootSelector).find(".image_gallery_ids").val(a)}})}),l.sliderWrapper.on("click","a.delete",function(t){t.preventDefault();var i=e(this).closest(l.rootSelector),n=i.find("ul.slides-wrapper"),a=i.find(".image_gallery_ids"),o="";e(this).closest("li.image").remove(),n.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");o=o+t+","}),a.val(o)})),o.each(function(){e(this).find("img").on("click",function(){var t=e(this).closest(".yith-plugin-fw-sidebar-layout"),i=t.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container"),n=t.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container"),a=e(this).data("type");if(e(this).parent().children(":radio").attr("checked",!1),e(this).prev(":radio").attr("checked",!0),void 0!==a)switch(a){case"left":i.show(),n.hide();break;case"right":n.show(),i.hide();break;case"double":i.show(),n.show();break;default:i.hide(),n.hide()}})}),s.each(function(){var t=e(this).data("val"),i=e(this).data("min"),n=e(this).data("max"),a=e(this).data("step"),l=e(this).data("labels");e(this).slider({value:t,min:i,max:n,range:"min",step:a,create:function(){e(this).find(".ui-slider-handle").text(e(this).slider("value"))},slide:function(t,i){e(this).find("input").val(i.value).trigger("change"),e(this).find(".ui-slider-handle").text(i.value),e(this).siblings(".feedback").find("strong").text(i.value+l)}})}),e(function(){e(document).on("yith-plugin-fw-codemirror-init",function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.codeEditor&&e(".codemirror:not(.codemirror--initialized)").each(function(){var t=e(this).data("settings"),i=wp.codeEditor.initialize(e(this),t);e(this).addClass("codemirror--initialized"),e(this).data("codemirrorInstance",i)})}).trigger("yith-plugin-fw-codemirror-init")}),e(document).on("click",".yith-plugin-fw-select-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!0).trigger("change")}),e(document).on("click",".yith-plugin-fw-deselect-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!1).trigger("change")}),r.each(function(){var t=e(this),i=t.find(".yit-icons-manager-icon-preview").first(),n=t.find(".yit-icons-manager-icon-text");t.on("click",".yit-icons-manager-list li",function(a){var l=e(a.target).closest("li"),o=l.data("font"),s=l.data("icon"),r=l.data("key"),c=l.data("name");i.attr("data-font",o),i.attr("data-icon",s),i.attr("data-key",r),i.attr("data-name",c),n.val(o+":"+c),t.find(".yit-icons-manager-list li").removeClass("active"),l.addClass("active")}),t.on("click",".yit-icons-manager-action-set-default",function(){t.find(".yit-icons-manager-list li.default").trigger("click")})}),e(document).on("click",".yith-plugin-fw-select-images__item",function(){var t=e(this),i=t.data("key"),n=t.closest(".yith-plugin-fw-select-images__wrapper"),a=n.find(".yith-plugin-fw-select-images__item"),l=n.find("select").first();l.length&&(l.val(i).trigger("yith_select_images_value_changed").trigger("change"),a.removeClass("yith-plugin-fw-select-images__item--selected"),t.addClass("yith-plugin-fw-select-images__item--selected"))}),e(document.body).trigger("wc-enhanced-select-init"),e(document).find(".ui-sortable .yith-toggle-elements").sortable({cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",stop:function(t,i){var n=jQuery(".ui-sortable-handle"),a=0,l=new Array;for(a=0;a<n.length;a++)l[a]=e(n[a]).data("item_key");l.length>0&&e(this).closest(".toggle-element").saveToggleElement(null,l)}}),e(document.body).trigger("yith-framework-enhanced-select-init")}).trigger("yith_fields_init"),e(document).on("click",".yith-plugin-fw-onoff-container span",function(){var t=e(this).prev("input");t.prop("disabled")||t.trigger("click")}),e(document).on("click",".yith-plugin-fw-onoff-container input",function(t){e(this).is(":checked")?e(this).attr("value","yes").addClass("onoffchecked"):e(this).attr("value","no").removeClass("onoffchecked"),e(this).trigger("change")}),e.fn.saveToggleElement=function(t,i){var n=e(this),a="yith_plugin_fw_save_toggle_element",l=n.serializeToggleElement(),o=n.find(".yith-toggle_wrapper"),s=o.attr("id"),r=e.urlParam("tab");l.append("security",o.data("nonce")),void 0!==i&&i.length>0&&l.append("yith_toggle_elements_order_keys",i),n.closest(".metaboxes-tab.yith-plugin-ui").length?(a="yith_plugin_fw_save_toggle_element_metabox",post_id=e(this).closest("form#post").find("#post_ID").val(),yit_metaboxes_nonce=e(this).closest("form#post").find("#yit_metaboxes_nonce").val(),metabox_tab=e(this).closest(".tabs-panel").attr("id"),url=yith_framework_fw_fields.ajax_url+"?action="+a+"&post_ID="+post_id+"&yit_metaboxes_nonce="+yit_metaboxes_nonce+"&toggle_id="+s+"&metabox_tab="+metabox_tab):url=yith_framework_fw_fields.admin_url+"?action="+a+"&tab="+r+"&toggle_id="+s,e.ajax({type:"POST",url:url,data:l,contentType:!1,processData:!1,success:function(i){t&&t.removeClass("show"),e(document).trigger("yith_save_toggle_element_done",[i,n])}})},e.fn.serializeToggleElement=function(){var t=e(this),i=new FormData,n=e(t).find(":input").serializeArray();return e.each(n,function(e,t){el_name=t.name,i.append(t.name,t.value)}),i},e.fn.formatToggleTitle=function(){var t=e(this),i=t.find(":input"),n=t.find("span.title").data("title_format"),a=t.find(".subtitle").data("subtitle_format"),l=new RegExp("[^%%]+(?=[%%])","g");if(void 0!==n)var o=n.match(l);if(void 0!==a)var s=a.match(l);e.each(i,function(t,i){void 0!==e(i).attr("id")&&($field_id=e(i).attr("id"),$field_array=$field_id.split("_"),$field_array.pop(),$field_id=$field_array.join("_"),$field_val=e(i).val(),null!=o&&void 0!==o&&-1!==o.indexOf($field_id)&&(n=n.replace("%%"+$field_id+"%%",$field_val)),null!=s&&void 0!==s&&-1!==s.indexOf($field_id)&&(a=a.replace("%%"+$field_id+"%%",$field_val)))}),""!==n&&t.find("span.title").html(n),""!==a&&t.find(".subtitle").html(a),e(document).trigger("yith-toggle-element-item-title",[t])},e.urlParam=function(e){var t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.search);return null!==t&&(t[1]||0)},e(document).on("click",".yith-toggle-title",function(t){var i=e(t.target),n=i.closest(".yith-toggle-row"),a=n.find(".yith-toggle-content");if(i.hasClass("yith-plugin-fw-onoff")||i.hasClass("yith-icon-drag"))return!1;n.is(".yith-toggle-row-opened")?a.slideUp(400):a.slideDown(400),n.toggleClass("yith-toggle-row-opened")}),e(document).on("click",".yith-add-box-button",function(t){t.preventDefault();var i=e(this),n=i.data("box_id"),a=i.data("closed_label"),l=i.data("opened_label"),o=i.closest(".yith-toggle_wrapper").attr("id"),s=wp.template("yith-toggle-element-add-box-content-"+o);""!==n&&(e("#"+n).html(s({index:"box_id"})).slideToggle(),""!==a&&(i.html()===a?i.html(l).removeClass("closed"):i.html(a).addClass("closed")),e(document).trigger("yith_fields_init"),e(document).trigger("yith-add-box-button-toggle",[i]))}),e(document).on("click",".yith-add-box-buttons .yith-save-button",function(t){t.preventDefault();var i=e(this).parents(".yith-add-box"),n=e(this).closest(".yith-toggle_wrapper").attr("id"),a=i.find(".spinner"),l=e(this).parents(".toggle-element"),o=i.find(":input"),s=0,r=e('<input type="hidden">');l.find(".yith-toggle-row").each(function(){var t=parseInt(e(this).data("item_key"));s<=t&&(s=t+1)}),r.val(s),e(document).trigger("yith-toggle-change-counter",[r,i]),s=r.val();var c=wp.template("yith-toggle-element-item-"+n),d=e(c({index:s}));a.addClass("show"),e.each(o,function(t,i){if(void 0!==e(i).attr("id")){var n=e(i).attr("id"),a=e(i).val();n="radio"===e(i).attr("type")?(n=(n=e(i).closest(".yith-plugin-fw-radio").attr("id")).replace("new_","")+"_"+s)+"-"+a:n.replace("new_","")+"_"+s,e(i).is(":checked")&&e(d).find("#"+n).prop("checked",!0),(e(i).hasClass("yith-post-search")||e(i).hasClass("yith-term-search"))&&e(d).find("#"+n).html(e("#"+e(i).attr("id")).html()),e(d).find("#"+n).val(a)}}),e(d).formatToggleTitle();var u=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-add",[i,d,u]);setTimeout(function(){if("yes"===u.val()){e(l).find(".yith-toggle-elements").append(d),e(i).find(".yith-plugin-fw-datepicker").datepicker("destroy"),e(i).html(""),e(i).prev(".yith-add-box-button").trigger("click"),l.saveToggleElement();setTimeout(function(){e(l).find(".highlight").removeClass("highlight")},2e3),e(document).trigger("yith_fields_init")}},1e3)}),e(document).on("click",".yith-toggle-row .yith-save-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element"),n=e(this).closest(".yith-toggle-row"),a=n.find(".spinner");n.formatToggleTitle();var l=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-update",[i,n,l]),"yes"===l.val()&&(a.addClass("show"),i.saveToggleElement(a))}),e(document).on("click",".yith-toggle-row .yith-delete-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element");e(this).closest(".yith-toggle-row").remove(),i.saveToggleElement()}),e(document).on("click",".yith-toggle-onoff",function(t){t.preventDefault(),e(this).closest(".toggle-element").saveToggleElement()}),e(document).on("click",".yith-plugin-fw-radio input[type=radio]",function(){var t=e(this).closest(".yith-plugin-fw-radio"),i=e(this).val();t.val(i).data("value",i).trigger("change")}),e(document.body).on("yith-plugin-fw-init-radio",function(){e(".yith-plugin-fw-radio:not(.yith-plugin-fw-radio--initialized)").each(function(){e(this).val(e(this).data("value")),e(this).addClass("yith-plugin-fw-radio--initialized")})}).trigger("yith-plugin-fw-init-radio"),e(document).on("click",".yith-password-eye",function(){var t=e(this),i=e(this).closest(".yith-password-wrapper").find("input");"password"===i.attr("type")?(i.attr("type","text"),t.addClass("yith-password-eye-closed")):(i.attr("type","password"),t.removeClass("yith-password-eye-closed"))}),e(document).on("select2:open",function(t){e(t.target).closest(".yith-plugin-ui").length&&e(".select2-results").closest(".select2-container").addClass("yith-plugin-fw-select2-container")});var t={selectors:{wrapper:".yith-plugin-fw-dimensions",units:{wrapper:".yith-plugin-fw-dimensions__units",single:".yith-plugin-fw-dimensions__unit",value:".yith-plugin-fw-dimensions__unit__value",selectedClass:"yith-plugin-fw-dimensions__unit--selected"},linked:{button:".yith-plugin-fw-dimensions__linked",value:".yith-plugin-fw-dimensions__linked__value",wrapperActiveClass:"yith-plugin-fw-dimensions--linked-active"},dimensions:{number:".yith-plugin-fw-dimensions__dimension__number"}},init:function(){var i=t;e(document).on("click",i.selectors.units.single,i.unitChange),e(document).on("click",i.selectors.linked.button,i.linkedChange),e(document).on("change keyup",i.selectors.dimensions.number,i.numberChange)},unitChange:function(i){var n=e(this).closest(t.selectors.units.single),a=n.closest(t.selectors.units.wrapper),l=a.find(t.selectors.units.single),o=a.find(t.selectors.units.value).first(),s=n.data("value");l.removeClass(t.selectors.units.selectedClass),n.addClass(t.selectors.units.selectedClass),o.val(s).trigger("change")},linkedChange:function(){var i=e(this).closest(t.selectors.linked.button),n=i.closest(t.selectors.wrapper),a=i.find(t.selectors.linked.value);"yes"===a.val()?(n.removeClass(t.selectors.linked.wrapperActiveClass),a.val("no")):(n.addClass(t.selectors.linked.wrapperActiveClass),a.val("yes"),n.find(t.selectors.dimensions.number).first().trigger("change"))},numberChange:function(i){var n=e(this).closest(t.selectors.dimensions.number),a=n.closest(t.selectors.wrapper);a.hasClass(t.selectors.linked.wrapperActiveClass)&&a.find(t.selectors.dimensions.number).val(n.val())}};t.init();e(document).on("click",".yith-plugin-fw-copy-to-clipboard__copy",function(){var t,i=e(this).closest(".yith-plugin-fw-copy-to-clipboard"),n=i.find(".yith-plugin-fw-copy-to-clipboard__field"),a=i.find(".yith-plugin-fw-copy-to-clipboard__tip"),l=i.data("tip-timeout");l&&clearTimeout(l),n.select(),document.execCommand("copy"),(t="getSelection"in window&&window.getSelection())?"empty"in t?t.empty():"removeAllRanges"in t&&t.removeAllRanges():"selection"in document&&document.selection.empty(),a.fadeIn(400),l=setTimeout(function(){a.fadeOut(400)},1500),i.data("tip-timeout",l)});var i={init:function(){e(document).on("click",".yith-plugin-fw__action-button--has-menu",i.open),e(document).on("click",".yith-plugin-fw__action-button__menu",i.stopPropagation),e(document).on("click",i.closeAll)},closeAll:function(){e(".yith-plugin-fw__action-button--opened").removeClass("yith-plugin-fw__action-button--opened")},open:function(t){var n=e(this).closest(".yith-plugin-fw__action-button"),a=n.hasClass("yith-plugin-fw__action-button--opened");t.preventDefault(),t.stopPropagation(),i.closeAll(),a||n.addClass("yith-plugin-fw__action-button--opened")},stopPropagation:function(e){e.stopPropagation()}};i.init(),e(document).on("click","a.yith-plugin-fw__require-confirmation-link",function(t){var i=e(this).closest("a.yith-plugin-fw__require-confirmation-link"),n=i.attr("href");if(n&&"#"!==n&&(t.preventDefault(),t.stopPropagation(),"yith"in window&&"ui"in yith)){var a,l=["title","message","confirmButtonType","cancelButton","confirmButton"],o={};for(a in l){var s=l[a],r=i.data(s);void 0!==r&&(o[s]=r)}o.onConfirm=function(){window.location.href=n},o.closeAfterConfirm=!1,yith.ui.confirm(o)}}),e(document).on("yith-plugin-fw-tips-init",function(){e(".yith-plugin-fw__tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200})}).trigger("yith-plugin-fw-tips-init")}(jQuery);
plugin-fw/assets/js/yith-ui.js ADDED
@@ -0,0 +1,306 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* globals yith_plugin_fw_ui */
2
+
3
+ // Make sure the yith object exists.
4
+ window.yith = window.yith || {};
5
+
6
+ ( function ( $, yith ) {
7
+ yith.ui = yith.ui || {};
8
+
9
+ var cssClasses = function ( classes ) {
10
+ if ( typeof classes === 'string' ) {
11
+ return classes;
12
+ } else {
13
+ var filteredClasses = [];
14
+
15
+ for ( var value of classes ) {
16
+ if ( value && filteredClasses.indexOf( value ) < 0 ) {
17
+ filteredClasses.push( cssClasses( value ) );
18
+ }
19
+ }
20
+ return filteredClasses.join( ' ' );
21
+ }
22
+ }
23
+
24
+ var stopEventPropagation = function ( e ) {
25
+ e.stopPropagation();
26
+ };
27
+
28
+ /**
29
+ * Confirm window.
30
+ */
31
+ yith.ui.confirm = function ( options ) {
32
+ var defaults = {
33
+ title : false,
34
+ message : false,
35
+ onConfirm : false,
36
+ onCancel : false,
37
+ onClose : false,
38
+ classes : {
39
+ wrap : '',
40
+ content: '',
41
+ title : '',
42
+ message: '',
43
+ footer : '',
44
+ cancel : '',
45
+ confirm: ''
46
+ },
47
+ confirmButtonType : 'confirm',
48
+ cancelButton : yith_plugin_fw_ui.i18n.cancel,
49
+ confirmButton : yith_plugin_fw_ui.i18n.confirm,
50
+ width : 350,
51
+ closeAfterConfirm : true,
52
+ allowWpMenu : false,
53
+ allowWpMenuInMobile : false,
54
+ showClose : true,
55
+ closeWhenClickingOnOverlay: false
56
+ },
57
+ self = {};
58
+
59
+ options = typeof options !== 'undefined' ? options : {};
60
+ options = $.extend( {}, defaults, options );
61
+ options.classes = $.extend( {}, defaults.classes, options.classes );
62
+
63
+ var classes = {
64
+ wrap : cssClasses( ['yith-plugin-fw__confirm__wrap', options.classes.wrap] ),
65
+ content: cssClasses( ['yith-plugin-fw__confirm__content', options.classes.content] ),
66
+ title : cssClasses( ['yith-plugin-fw__confirm__title', options.classes.title] ),
67
+ message: cssClasses( ['yith-plugin-fw__confirm__message', options.classes.message] ),
68
+ footer : cssClasses( ['yith-plugin-fw__confirm__footer', options.classes.footer] ),
69
+ cancel : cssClasses( ['yith-plugin-fw__confirm__button', 'yith-plugin-fw__confirm__button--cancel', options.classes.cancel] ),
70
+ confirm: cssClasses( ['yith-plugin-fw__confirm__button', 'yith-plugin-fw__confirm__button--' + options.confirmButtonType, options.classes.confirm] )
71
+ },
72
+ dom = {
73
+ message: false,
74
+ footer : false,
75
+ cancel : false,
76
+ confirm: false
77
+ },
78
+ modal = false,
79
+ initialize = function () {
80
+ create();
81
+ initEvents();
82
+ },
83
+ handleClose = function () {
84
+ modal && modal.close();
85
+ modal = false;
86
+ },
87
+ create = function () {
88
+ dom.message = $( '<div class="' + classes.message + '">' );
89
+ dom.footer = $( '<div class="' + classes.footer + '">' );
90
+ dom.cancel = $( '<span class="' + classes.cancel + '">' + options.cancelButton + '</span>' );
91
+ dom.confirm = $( '<span class="' + classes.confirm + '">' + options.confirmButton + '</span>' );
92
+
93
+
94
+ if ( options.message ) {
95
+ dom.message.html( options.message );
96
+ }
97
+
98
+ dom.footer.append( dom.cancel );
99
+ dom.footer.append( dom.confirm );
100
+
101
+ modal = yith.ui.modal(
102
+ {
103
+ classes : {
104
+ wrap : classes.wrap,
105
+ title : classes.title,
106
+ content: classes.content
107
+ },
108
+ title : options.title,
109
+ content : [dom.message, dom.footer],
110
+ width : options.width,
111
+ allowWpMenu : options.allowWpMenu,
112
+ allowWpMenuInMobile : options.allowWpMenuInMobile,
113
+ showClose : options.showClose,
114
+ onClose : options.onClose,
115
+ closeWhenClickingOnOverlay: options.closeWhenClickingOnOverlay
116
+ }
117
+ );
118
+ },
119
+ handleCancel = function () {
120
+ if ( typeof options.onCancel === 'function' ) {
121
+ options.onCancel();
122
+ }
123
+
124
+ handleClose();
125
+ },
126
+ handleConfirm = function () {
127
+ if ( typeof options.onConfirm === 'function' ) {
128
+ options.onConfirm();
129
+ }
130
+
131
+ if ( options.closeAfterConfirm ) {
132
+ handleClose();
133
+ }
134
+ },
135
+ initEvents = function () {
136
+ dom.cancel.on( 'click', handleCancel );
137
+ dom.confirm.on( 'click', handleConfirm );
138
+ };
139
+
140
+ initialize();
141
+
142
+ self.elements = $.extend( {}, dom );
143
+ self.modal = $.extend( {}, modal );
144
+ self.close = handleClose;
145
+ self.cancel = handleCancel;
146
+ };
147
+
148
+
149
+ /**
150
+ * Modal window.
151
+ */
152
+ yith.ui.modal = function ( options ) {
153
+ var defaults = {
154
+ allowWpMenu : true,
155
+ allowWpMenuInMobile : false,
156
+ title : false,
157
+ content : false,
158
+ footer : false,
159
+ showClose : true,
160
+ closeSelector : false,
161
+ classes : {
162
+ wrap : '',
163
+ main : '',
164
+ close : '',
165
+ title : '',
166
+ content: '',
167
+ footer : ''
168
+ },
169
+ width : 500,
170
+ allowClosingWithEsc : true,
171
+ closeWhenClickingOnOverlay: false,
172
+ scrollContent : true,
173
+ onClose : false
174
+ },
175
+ self = {};
176
+
177
+ options = typeof options !== 'undefined' ? options : {};
178
+ options = $.extend( {}, defaults, options );
179
+ options.classes = $.extend( {}, defaults.classes, options.classes );
180
+
181
+ var container = $( '#wpwrap' ),
182
+ classes = {
183
+ wrap : ['yith-plugin-ui', 'yith-plugin-fw__modal__wrap', options.classes.wrap],
184
+ main : ['yith-plugin-fw__modal__main', options.classes.main],
185
+ close : ['yith-plugin-fw__modal__close', 'yith-icon', 'yith-icon-close', options.classes.close],
186
+ title : ['yith-plugin-fw__modal__title', options.classes.title],
187
+ content: ['yith-plugin-fw__modal__content', options.classes.content],
188
+ footer : ['yith-plugin-fw__modal__footer', options.classes.footer]
189
+ },
190
+ dom = {
191
+ wrap : false,
192
+ main : false,
193
+ close : false,
194
+ title : false,
195
+ content: false,
196
+ footer : false
197
+ },
198
+ initialize = function () {
199
+ handleClose();
200
+
201
+ create();
202
+ initEvents();
203
+ },
204
+ handleClose = function () {
205
+ $( '.yith-plugin-fw__modal__wrap' ).remove();
206
+ container.removeClass( 'yith-plugin-fw__modal--opened' );
207
+ container.removeClass( 'yith-plugin-fw__modal--allow-wp-menu' );
208
+ container.removeClass( 'yith-plugin-fw__modal--allow-wp-menu-in-mobile' );
209
+
210
+ if ( typeof options.onClose === 'function' ) {
211
+ options.onClose();
212
+ }
213
+ },
214
+ create = function () {
215
+ dom.wrap = $( '<div class="' + cssClasses( classes.wrap ) + '">' );
216
+ dom.main = $( '<div class="' + cssClasses( classes.main ) + '">' );
217
+ dom.close = $( '<span class="' + cssClasses( classes.close ) + '">' );
218
+ dom.title = $( '<div class="' + cssClasses( classes.title ) + '">' );
219
+ dom.content = $( '<div class="' + cssClasses( classes.content ) + '">' );
220
+ dom.footer = $( '<div class="' + cssClasses( classes.footer ) + '">' );
221
+
222
+ dom.main.css( { width: options.width } );
223
+
224
+
225
+ if ( options.title ) {
226
+ if ( typeof options.title === 'string' ) {
227
+ dom.title.html( options.title );
228
+ } else {
229
+ dom.title.append( options.title );
230
+ }
231
+ }
232
+
233
+ if ( options.content ) {
234
+ if ( typeof options.content === 'string' ) {
235
+ dom.content.html( options.content );
236
+ } else {
237
+ dom.content.append( options.content );
238
+ }
239
+ }
240
+
241
+ if ( options.showClose ) {
242
+ dom.main.append( dom.close );
243
+ }
244
+
245
+ dom.main.append( dom.title );
246
+ dom.main.append( dom.content );
247
+
248
+
249
+ if ( options.footer ) {
250
+ if ( typeof options.footer === 'string' ) {
251
+ dom.footer.html( options.footer );
252
+ } else {
253
+ dom.footer.append( options.footer );
254
+ }
255
+
256
+ dom.main.append( dom.footer );
257
+ }
258
+
259
+
260
+ dom.wrap.append( dom.main );
261
+
262
+ if ( options.scrollContent ) {
263
+ dom.wrap.addClass( 'yith-plugin-fw__modal__wrap--scroll-content' );
264
+ }
265
+
266
+ container.append( dom.wrap );
267
+ container.addClass( 'yith-plugin-fw__modal--opened' );
268
+ if ( options.allowWpMenu ) {
269
+ container.addClass( 'yith-plugin-fw__modal--allow-wp-menu' );
270
+ }
271
+
272
+ if ( options.allowWpMenuInMobile ) {
273
+ container.addClass( 'yith-plugin-fw__modal--allow-wp-menu-in-mobile' );
274
+ }
275
+
276
+
277
+ },
278
+ initEvents = function () {
279
+ dom.close.on( 'click', handleClose );
280
+ if ( options.closeSelector ) {
281
+ container.on( 'click', options.closeSelector, handleClose );
282
+ }
283
+
284
+ if ( options.closeWhenClickingOnOverlay ) {
285
+ dom.wrap.on( 'click', handleClose );
286
+ dom.main.on( 'click', stopEventPropagation );
287
+ }
288
+
289
+ $( document ).on( 'keydown', handleKeyboard );
290
+ },
291
+ handleKeyboard = function ( event ) {
292
+ if ( options.allowClosingWithEsc && event.keyCode === 27 ) {
293
+ handleClose();
294
+ }
295
+ }
296
+
297
+ initialize();
298
+
299
+ self.elements = $.extend( {}, dom );
300
+ self.close = handleClose;
301
+
302
+ return self;
303
+
304
+ }
305
+
306
+ } )( window.jQuery, window.yith );
plugin-fw/assets/js/yith-ui.min.js ADDED
@@ -0,0 +1 @@
 
1
+ window.yith=window.yith||{},function(n,e){e.ui=e.ui||{};var o=function(n){if("string"==typeof n)return n;var e=[];for(var t of n)t&&e.indexOf(t)<0&&e.push(o(t));return e.join(" ")},t=function(n){n.stopPropagation()};e.ui.confirm=function(t){var l={title:!1,message:!1,onConfirm:!1,onCancel:!1,onClose:!1,classes:{wrap:"",content:"",title:"",message:"",footer:"",cancel:"",confirm:""},confirmButtonType:"confirm",cancelButton:yith_plugin_fw_ui.i18n.cancel,confirmButton:yith_plugin_fw_ui.i18n.confirm,width:350,closeAfterConfirm:!0,allowWpMenu:!1,allowWpMenuInMobile:!1,showClose:!0,closeWhenClickingOnOverlay:!1},i={};t=void 0!==t?t:{},(t=n.extend({},l,t)).classes=n.extend({},l.classes,t.classes);var s={wrap:o(["yith-plugin-fw__confirm__wrap",t.classes.wrap]),content:o(["yith-plugin-fw__confirm__content",t.classes.content]),title:o(["yith-plugin-fw__confirm__title",t.classes.title]),message:o(["yith-plugin-fw__confirm__message",t.classes.message]),footer:o(["yith-plugin-fw__confirm__footer",t.classes.footer]),cancel:o(["yith-plugin-fw__confirm__button","yith-plugin-fw__confirm__button--cancel",t.classes.cancel]),confirm:o(["yith-plugin-fw__confirm__button","yith-plugin-fw__confirm__button--"+t.confirmButtonType,t.classes.confirm])},c={message:!1,footer:!1,cancel:!1,confirm:!1},a=!1,r=function(){a&&a.close(),a=!1},f=function(){"function"==typeof t.onCancel&&t.onCancel(),r()},p=function(){"function"==typeof t.onConfirm&&t.onConfirm(),t.closeAfterConfirm&&r()},m=function(){c.cancel.on("click",f),c.confirm.on("click",p)};(function(){c.message=n('<div class="'+s.message+'">'),c.footer=n('<div class="'+s.footer+'">'),c.cancel=n('<span class="'+s.cancel+'">'+t.cancelButton+"</span>"),c.confirm=n('<span class="'+s.confirm+'">'+t.confirmButton+"</span>"),t.message&&c.message.html(t.message),c.footer.append(c.cancel),c.footer.append(c.confirm),a=e.ui.modal({classes:{wrap:s.wrap,title:s.title,content:s.content},title:t.title,content:[c.message,c.footer],width:t.width,allowWpMenu:t.allowWpMenu,allowWpMenuInMobile:t.allowWpMenuInMobile,showClose:t.showClose,onClose:t.onClose,closeWhenClickingOnOverlay:t.closeWhenClickingOnOverlay})})(),m(),i.elements=n.extend({},c),i.modal=n.extend({},a),i.close=r,i.cancel=f},e.ui.modal=function(e){var l={allowWpMenu:!0,allowWpMenuInMobile:!1,title:!1,content:!1,footer:!1,showClose:!0,closeSelector:!1,classes:{wrap:"",main:"",close:"",title:"",content:"",footer:""},width:500,allowClosingWithEsc:!0,closeWhenClickingOnOverlay:!1,scrollContent:!0,onClose:!1},i={};e=void 0!==e?e:{},(e=n.extend({},l,e)).classes=n.extend({},l.classes,e.classes);var s=n("#wpwrap"),c={wrap:["yith-plugin-ui","yith-plugin-fw__modal__wrap",e.classes.wrap],main:["yith-plugin-fw__modal__main",e.classes.main],close:["yith-plugin-fw__modal__close","yith-icon","yith-icon-close",e.classes.close],title:["yith-plugin-fw__modal__title",e.classes.title],content:["yith-plugin-fw__modal__content",e.classes.content],footer:["yith-plugin-fw__modal__footer",e.classes.footer]},a={wrap:!1,main:!1,close:!1,title:!1,content:!1,footer:!1},r=function(){n(".yith-plugin-fw__modal__wrap").remove(),s.removeClass("yith-plugin-fw__modal--opened"),s.removeClass("yith-plugin-fw__modal--allow-wp-menu"),s.removeClass("yith-plugin-fw__modal--allow-wp-menu-in-mobile"),"function"==typeof e.onClose&&e.onClose()},f=function(){a.wrap=n('<div class="'+o(c.wrap)+'">'),a.main=n('<div class="'+o(c.main)+'">'),a.close=n('<span class="'+o(c.close)+'">'),a.title=n('<div class="'+o(c.title)+'">'),a.content=n('<div class="'+o(c.content)+'">'),a.footer=n('<div class="'+o(c.footer)+'">'),a.main.css({width:e.width}),e.title&&("string"==typeof e.title?a.title.html(e.title):a.title.append(e.title)),e.content&&("string"==typeof e.content?a.content.html(e.content):a.content.append(e.content)),e.showClose&&a.main.append(a.close),a.main.append(a.title),a.main.append(a.content),e.footer&&("string"==typeof e.footer?a.footer.html(e.footer):a.footer.append(e.footer),a.main.append(a.footer)),a.wrap.append(a.main),e.scrollContent&&a.wrap.addClass("yith-plugin-fw__modal__wrap--scroll-content"),s.append(a.wrap),s.addClass("yith-plugin-fw__modal--opened"),e.allowWpMenu&&s.addClass("yith-plugin-fw__modal--allow-wp-menu"),e.allowWpMenuInMobile&&s.addClass("yith-plugin-fw__modal--allow-wp-menu-in-mobile")},p=function(){a.close.on("click",r),e.closeSelector&&s.on("click",e.closeSelector,r),e.closeWhenClickingOnOverlay&&(a.wrap.on("click",r),a.main.on("click",t)),n(document).on("keydown",m)},m=function(n){e.allowClosingWithEsc&&27===n.keyCode&&r()};return r(),f(),p(),i.elements=n.extend({},a),i.close=r,i}}(window.jQuery,window.yith);
plugin-fw/dist/gutenberg/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-url'), 'version' => 'ef3cdcc6d1490e83026aab4f8e255fab');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-url'), 'version' => '2844b0e480878ce2f72473c4114265fe');
plugin-fw/dist/gutenberg/index.js CHANGED
@@ -1 +1 @@
1
- (window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[]).push([[1],{27:function(e,t,n){},28:function(e,t,n){}}]),function(e){function t(t){for(var r,c,i=t[0],l=t[1],s=t[2],f=0,p=[];f<i.length;f++)c=i[f],Object.prototype.hasOwnProperty.call(o,c)&&o[c]&&p.push(o[c][0]),o[c]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);for(u&&u(t);p.length;)p.shift()();return a.push.apply(a,s||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],r=!0,i=1;i<n.length;i++){var l=n[i];0!==o[l]&&(r=!1)}r&&(a.splice(t--,1),e=c(c.s=n[0]))}return e}var r={},o={0:0},a=[];function c(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.m=e,c.c=r,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)c.d(n,r,function(t){return e[t]}.bind(null,r));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="";var i=window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[],l=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var u=l;a.push([29,1]),n()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.React},function(e,t,n){var r=n(17),o=n(18),a=n(19),c=n(21);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||c()}},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.lodash},function(e,t,n){var r,o,a,c,i;r=n(22),o=n(10).utf8,a=n(23),c=n(10).bin,(i=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?c.stringToBytes(e):o.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),l=8*e.length,s=1732584193,u=-271733879,f=-1732584194,p=271733878,h=0;h<n.length;h++)n[h]=16711935&(n[h]<<8|n[h]>>>24)|4278255360&(n[h]<<24|n[h]>>>8);n[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var d=i._ff,b=i._gg,y=i._hh,g=i._ii;for(h=0;h<n.length;h+=16){var m=s,v=u,_=f,j=p;s=d(s,u,f,p,n[h+0],7,-680876936),p=d(p,s,u,f,n[h+1],12,-389564586),f=d(f,p,s,u,n[h+2],17,606105819),u=d(u,f,p,s,n[h+3],22,-1044525330),s=d(s,u,f,p,n[h+4],7,-176418897),p=d(p,s,u,f,n[h+5],12,1200080426),f=d(f,p,s,u,n[h+6],17,-1473231341),u=d(u,f,p,s,n[h+7],22,-45705983),s=d(s,u,f,p,n[h+8],7,1770035416),p=d(p,s,u,f,n[h+9],12,-1958414417),f=d(f,p,s,u,n[h+10],17,-42063),u=d(u,f,p,s,n[h+11],22,-1990404162),s=d(s,u,f,p,n[h+12],7,1804603682),p=d(p,s,u,f,n[h+13],12,-40341101),f=d(f,p,s,u,n[h+14],17,-1502002290),s=b(s,u=d(u,f,p,s,n[h+15],22,1236535329),f,p,n[h+1],5,-165796510),p=b(p,s,u,f,n[h+6],9,-1069501632),f=b(f,p,s,u,n[h+11],14,643717713),u=b(u,f,p,s,n[h+0],20,-373897302),s=b(s,u,f,p,n[h+5],5,-701558691),p=b(p,s,u,f,n[h+10],9,38016083),f=b(f,p,s,u,n[h+15],14,-660478335),u=b(u,f,p,s,n[h+4],20,-405537848),s=b(s,u,f,p,n[h+9],5,568446438),p=b(p,s,u,f,n[h+14],9,-1019803690),f=b(f,p,s,u,n[h+3],14,-187363961),u=b(u,f,p,s,n[h+8],20,1163531501),s=b(s,u,f,p,n[h+13],5,-1444681467),p=b(p,s,u,f,n[h+2],9,-51403784),f=b(f,p,s,u,n[h+7],14,1735328473),s=y(s,u=b(u,f,p,s,n[h+12],20,-1926607734),f,p,n[h+5],4,-378558),p=y(p,s,u,f,n[h+8],11,-2022574463),f=y(f,p,s,u,n[h+11],16,1839030562),u=y(u,f,p,s,n[h+14],23,-35309556),s=y(s,u,f,p,n[h+1],4,-1530992060),p=y(p,s,u,f,n[h+4],11,1272893353),f=y(f,p,s,u,n[h+7],16,-155497632),u=y(u,f,p,s,n[h+10],23,-1094730640),s=y(s,u,f,p,n[h+13],4,681279174),p=y(p,s,u,f,n[h+0],11,-358537222),f=y(f,p,s,u,n[h+3],16,-722521979),u=y(u,f,p,s,n[h+6],23,76029189),s=y(s,u,f,p,n[h+9],4,-640364487),p=y(p,s,u,f,n[h+12],11,-421815835),f=y(f,p,s,u,n[h+15],16,530742520),s=g(s,u=y(u,f,p,s,n[h+2],23,-995338651),f,p,n[h+0],6,-198630844),p=g(p,s,u,f,n[h+7],10,1126891415),f=g(f,p,s,u,n[h+14],15,-1416354905),u=g(u,f,p,s,n[h+5],21,-57434055),s=g(s,u,f,p,n[h+12],6,1700485571),p=g(p,s,u,f,n[h+3],10,-1894986606),f=g(f,p,s,u,n[h+10],15,-1051523),u=g(u,f,p,s,n[h+1],21,-2054922799),s=g(s,u,f,p,n[h+8],6,1873313359),p=g(p,s,u,f,n[h+15],10,-30611744),f=g(f,p,s,u,n[h+6],15,-1560198380),u=g(u,f,p,s,n[h+13],21,1309151649),s=g(s,u,f,p,n[h+4],6,-145523070),p=g(p,s,u,f,n[h+11],10,-1120210379),f=g(f,p,s,u,n[h+2],15,718787259),u=g(u,f,p,s,n[h+9],21,-343485551),s=s+m>>>0,u=u+v>>>0,f=f+_>>>0,p=p+j>>>0}return r.endian([s,u,f,p])})._ff=function(e,t,n,r,o,a,c){var i=e+(t&n|~t&r)+(o>>>0)+c;return(i<<a|i>>>32-a)+t},i._gg=function(e,t,n,r,o,a,c){var i=e+(t&r|n&~r)+(o>>>0)+c;return(i<<a|i>>>32-a)+t},i._hh=function(e,t,n,r,o,a,c){var i=e+(t^n^r)+(o>>>0)+c;return(i<<a|i>>>32-a)+t},i._ii=function(e,t,n,r,o,a,c){var i=e+(n^(t|~r))+(o>>>0)+c;return(i<<a|i>>>32-a)+t},i._blocksize=16,i._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(i(e,t));return t&&t.asBytes?n:t&&t.asString?c.bytesToString(n):r.bytesToHex(n)}},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.compose},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.url},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(24);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(25),o=n(26);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return n}}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?t.push(n.charAt(o>>>6*(3-a)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&t.push((n.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|n.indexOf(e.charAt(r))>>>6-2*o);return t}},e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},,,function(e,t,n){"use strict";n.r(t);var r=n(3),o=n.n(r),a=n(0),c=n(2),i=n(6),l=n.n(i),s=n(11),u=n(12);function f(e){if(e.status>=200&&e.status<300)return e;throw e}function p(e){return e.json?e.json():e.text()}var h=Object(a.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"})),d=n(5),b=n.n(d),y=function(e,t,n){var r=!0;if(t&&t.id&&"value"in t){var o=t.value;["toggle","checkbox"].includes(n)&&(o=!0===o||"yes"===o||1===o),o=b.a.isArray(o)?o:[o],r=void 0!==e[t.id]&&o.includes(e[t.id])}return r},g=function(e,t){var n=e.controlType,r=!0;if(e.deps)if(b.a.isArray(e.deps))for(var o in e.deps){var a=e.deps[o];if(!(r=y(t,a,n)))break}else r=y(t,e.deps,n);return r},m=function(e,t){var n="",r=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?r=jQuery.fn[e.callback]:e.callback in window&&(r=window[e.callback])),"function"==typeof r)n=r(t,e);else{var a=e.attributes?Object.entries(e.attributes).map((function(e){var n=o()(e,2),r=n[0],a=n[1],c=g(a,t),i=t[r];if(c&&void 0!==i)return r+"="+(a.remove_quotes?i:'"'.concat(i,'"'))})):[],c=a.length?" "+a.join(" "):"";n="[".concat(e.shortcode_name).concat(c,"]")}return n},v=n(1),_=n(7),j=n(13),w=n.n(j),k=n(14),x=n.n(k),O=n(15),C=n.n(O),E=n(16),S=n.n(E),T=n(9),A=n.n(T),B=n(4);n(27);var N=function(e){C()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=A()(t);if(n){var o=A()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return S()(this,e)});function o(){var e;return w()(this,o),(e=r.apply(this,arguments)).state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},e.ajaxTimeout=!1,e}return x()(o,[{key:"componentDidMount",value:function(){this.updateShortcode()}},{key:"componentDidUpdate",value:function(e,t,n){var r=this.state,o=r.shortcode,a=r.shortcodeHash,c=r.ajaxSuccess,i=r.ajaxResponse,l=r.ajaxUpdated;Object(d.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&l&&(c&&Object(B.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",o,a,i),Object(B.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",o,a,i),this.setState({ajaxUpdated:!1}))}},{key:"updateShortcode",value:function(){var e=this,t=this.props,n=t.attributes,r=t.blockArgs;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});var o=m(r,n),a=l()(o);r.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),Object(B.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,a),this.ajaxTimeout=setTimeout((function(){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=Object(u.addQueryArgs)(t,e),fetch(t).then(f).then(p)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:o}).then((function(t){e.setState({loading:!1,firstLoading:!1,html:t.html,shortcode:o,shortcodeHash:a,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:t})})).catch((function(e){console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:o,shortcode:o,shortcodeHash:a})}},{key:"render",value:function(){var e=this.state,t=e.html,n=e.loading,r=e.firstLoading,o=e.shortcode,c=e.shortcodeHash,i=this.props.blockArgs,l=i.do_shortcode,s=i.title,u=i.empty_message,f="block-editor-yith-plugin-fw-shortcode-block",p=[f],d=l?"html":"shortcode",b=t,y="";r&&n?d="first-loading":l&&!t&&(d="empty-html",b=o,!n&&u&&(y=u));var g=["first-loading","empty-html","shortcode"].includes(d),m=!["first-loading","empty-html"].includes(d),_=!!y;return p.push("".concat(f,"--").concat(d)),p.push("".concat(f,_?"--has-message":"--no-message")),p.push("yith_block_".concat(c)),Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:p.join(" ")},n?Object(a.createElement)("div",{className:"".concat(f,"__spinner-wrap")},Object(a.createElement)(v.Spinner,null)):"",g&&Object(a.createElement)("div",{className:"".concat(f,"__title components-placeholder__label")},h,s),_&&Object(a.createElement)(a.RawHTML,{className:"".concat(f,"__message")},y),m&&Object(a.createElement)(a.RawHTML,{className:"".concat(f,"__content")},b)))}}]),o}(c.Component),R=n(8);function P(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,c=e.help,i=e.disableAlpha,l=Object(R.useInstanceId)(P),s="inspector-yith-color-picker-control-".concat(l);return Object(a.createElement)(v.BaseControl,{id:s,label:n,className:"block-editor-yith-color-control ".concat(t),help:c},Object(a.createElement)(v.ColorPicker,{color:o,disableAlpha:i,onChangeComplete:r}))}function M(e){var t=e.label,n=e.colorValue;return Object(a.createElement)(a.Fragment,null,t,!!n&&Object(a.createElement)(v.ColorIndicator,{colorValue:n}))}function I(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,c=e.help,i=e.palette,l=e.clearable;i=i||Object(_.__experimentalUseEditorFeature)("color.palette");var s=Object(R.useInstanceId)(I),u="inspector-yith-color-palette-control-".concat(s);return Object(a.createElement)(v.BaseControl,{id:u,className:"block-editor-yith-color-palette-control ".concat(t),help:c},Object(a.createElement)("fieldset",null,Object(a.createElement)("legend",null,Object(a.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},Object(a.createElement)(v.BaseControl.VisualLabel,null,Object(a.createElement)(M,{colorValue:o,label:n})))),Object(a.createElement)(v.ColorPalette,{value:o,onChange:r,colors:i,clearable:l})))}n(28);for(var H=function(e,t){return function(n){var r=n.attributes,c=(n.className,n.setAttributes),i=function(e,t,n){["colorpicker","color"].includes(n)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());var r={};r[t]=e,c(r)};return Object(a.createElement)(a.Fragment,null,!!t.attributes&&Object(a.createElement)(_.InspectorControls,null,Object(a.createElement)(v.PanelBody,null,Object.entries(t.attributes).map((function(t){var n=o()(t,2),c=function(t,n){var o=n.controlType,c=r[t],l=function(e,t){var n="";return e.helps&&e.helps.checked&&e.helps.unchecked?n=t?e.helps.checked:e.helps.unchecked:e.help&&(n=e.help),n}(n,c),s="".concat(e,"__").concat(t,"-field-wrapper"),u=g(n,r);n.wrapper_class&&(s+=" "+n.wrapper_class);var f=!1;if(u)switch(o){case"select":f=Object(a.createElement)(v.SelectControl,{className:s,key:t,value:c,label:n.label,options:n.options,selected:c,help:l,multiple:!!n.multiple,onChange:function(e){i(e,t,o)}});break;case"text":f=Object(a.createElement)(v.TextControl,{className:s,key:t,value:c,label:n.label,help:l,onChange:function(e){i(e,t,o)}});break;case"textarea":f=Object(a.createElement)(v.TextareaControl,{className:s,key:t,value:c,label:n.label,help:l,onChange:function(e){i(e,t,o)}});break;case"toggle":f=Object(a.createElement)(v.ToggleControl,{className:s,key:t,value:c,label:n.label,help:l,checked:c,onChange:function(e){i(e,t,o)}});break;case"checkbox":f=Object(a.createElement)(v.CheckboxControl,{className:s,key:t,value:c,label:n.label,help:l,checked:c,onChange:function(e){i(e,t,o)}});break;case"number":case"range":f=Object(a.createElement)(v.RangeControl,{className:s,key:t,value:c,label:n.label,help:l,min:n.min,max:n.max,onChange:function(e){i(e,t,o)}});break;case"color":case"colorpicker":f=Object(a.createElement)(P,{className:s,key:t,label:n.label,help:l,value:c,disableAlpha:n.disableAlpha,onChange:function(e){i(e,t,o)}});break;case"color-palette":f=Object(a.createElement)(I,{className:s,key:t,label:n.label,help:l,value:c,clearable:n.clearable||!1,onChange:function(e){i(e,t,o)}});break;case"radio":f=Object(a.createElement)(v.RadioControl,{key:t,value:c,label:n.label,options:n.options,selected:c,checked:c,help:l,onChange:function(e){i(e,t,o)}});break;default:f=!1}return f}(n[0],n[1]);if(c)return c})))),Object(a.createElement)(N,{attributes:r,blockArgs:t}))}},L=function(){var e=Q[U];Object(B.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"jQuery"in window&&(e.delay?setTimeout((function(){jQuery(document).trigger(e.key,Object.values(n))}),e.delay):jQuery(document).trigger(e.key,Object.values(n)))}))},U=0,Q=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];U<Q.length;U++)L();for(var F=function(){var e=o()(J[D],2),t=e[0],n=e[1];Object(s.registerBlockType)("yith/"+t,{title:n.title,description:n.description,category:n.category,attributes:n.attributes,icon:void 0!==n.icon?n.icon:h,keywords:n.keywords,edit:H(t,n),save:function(e){var t=e.attributes;return m(n,t)},deprecated:[{attributes:n.attributes,save:function(e){var t=e.attributes,r=m(n,t),o='<span class="yith_block_'+l()(r)+'">'+r+"</span>";return Object(a.createElement)(a.RawHTML,null,o)}}]})},D=0,J=Object.entries(yithGutenbergBlocks);D<J.length;D++)F()}]);
1
+ (window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[]).push([[1],{27:function(e,t,o){},28:function(e,t,o){}}]),function(e){function t(t){for(var r,c,l=t[0],s=t[1],i=t[2],p=0,f=[];p<l.length;p++)c=l[p],Object.prototype.hasOwnProperty.call(n,c)&&n[c]&&f.push(n[c][0]),n[c]=0;for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r]);for(u&&u(t);f.length;)f.shift()();return a.push.apply(a,i||[]),o()}function o(){for(var e,t=0;t<a.length;t++){for(var o=a[t],r=!0,l=1;l<o.length;l++){var s=o[l];0!==n[s]&&(r=!1)}r&&(a.splice(t--,1),e=c(c.s=o[0]))}return e}var r={},n={0:0},a=[];function c(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,c),o.l=!0,o.exports}c.m=e,c.c=r,c.d=function(e,t,o){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(c.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)c.d(o,r,function(t){return e[t]}.bind(null,r));return o},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="";var l=window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[],s=l.push.bind(l);l.push=t,l=l.slice();for(var i=0;i<l.length;i++)t(l[i]);var u=s;a.push([29,1]),o()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.React},function(e,t,o){var r=o(17),n=o(18),a=o(19),c=o(21);e.exports=function(e,t){return r(e)||n(e,t)||a(e,t)||c()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.lodash},function(e,t,o){var r,n,a,c,l;r=o(22),n=o(10).utf8,a=o(23),c=o(10).bin,(l=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?c.stringToBytes(e):n.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var o=r.bytesToWords(e),s=8*e.length,i=1732584193,u=-271733879,p=-1732584194,f=271733878,d=0;d<o.length;d++)o[d]=16711935&(o[d]<<8|o[d]>>>24)|4278255360&(o[d]<<24|o[d]>>>8);o[s>>>5]|=128<<s%32,o[14+(s+64>>>9<<4)]=s;var h=l._ff,b=l._gg,y=l._hh,g=l._ii;for(d=0;d<o.length;d+=16){var m=i,_=u,v=p,x=f;i=h(i,u,p,f,o[d+0],7,-680876936),f=h(f,i,u,p,o[d+1],12,-389564586),p=h(p,f,i,u,o[d+2],17,606105819),u=h(u,p,f,i,o[d+3],22,-1044525330),i=h(i,u,p,f,o[d+4],7,-176418897),f=h(f,i,u,p,o[d+5],12,1200080426),p=h(p,f,i,u,o[d+6],17,-1473231341),u=h(u,p,f,i,o[d+7],22,-45705983),i=h(i,u,p,f,o[d+8],7,1770035416),f=h(f,i,u,p,o[d+9],12,-1958414417),p=h(p,f,i,u,o[d+10],17,-42063),u=h(u,p,f,i,o[d+11],22,-1990404162),i=h(i,u,p,f,o[d+12],7,1804603682),f=h(f,i,u,p,o[d+13],12,-40341101),p=h(p,f,i,u,o[d+14],17,-1502002290),i=b(i,u=h(u,p,f,i,o[d+15],22,1236535329),p,f,o[d+1],5,-165796510),f=b(f,i,u,p,o[d+6],9,-1069501632),p=b(p,f,i,u,o[d+11],14,643717713),u=b(u,p,f,i,o[d+0],20,-373897302),i=b(i,u,p,f,o[d+5],5,-701558691),f=b(f,i,u,p,o[d+10],9,38016083),p=b(p,f,i,u,o[d+15],14,-660478335),u=b(u,p,f,i,o[d+4],20,-405537848),i=b(i,u,p,f,o[d+9],5,568446438),f=b(f,i,u,p,o[d+14],9,-1019803690),p=b(p,f,i,u,o[d+3],14,-187363961),u=b(u,p,f,i,o[d+8],20,1163531501),i=b(i,u,p,f,o[d+13],5,-1444681467),f=b(f,i,u,p,o[d+2],9,-51403784),p=b(p,f,i,u,o[d+7],14,1735328473),i=y(i,u=b(u,p,f,i,o[d+12],20,-1926607734),p,f,o[d+5],4,-378558),f=y(f,i,u,p,o[d+8],11,-2022574463),p=y(p,f,i,u,o[d+11],16,1839030562),u=y(u,p,f,i,o[d+14],23,-35309556),i=y(i,u,p,f,o[d+1],4,-1530992060),f=y(f,i,u,p,o[d+4],11,1272893353),p=y(p,f,i,u,o[d+7],16,-155497632),u=y(u,p,f,i,o[d+10],23,-1094730640),i=y(i,u,p,f,o[d+13],4,681279174),f=y(f,i,u,p,o[d+0],11,-358537222),p=y(p,f,i,u,o[d+3],16,-722521979),u=y(u,p,f,i,o[d+6],23,76029189),i=y(i,u,p,f,o[d+9],4,-640364487),f=y(f,i,u,p,o[d+12],11,-421815835),p=y(p,f,i,u,o[d+15],16,530742520),i=g(i,u=y(u,p,f,i,o[d+2],23,-995338651),p,f,o[d+0],6,-198630844),f=g(f,i,u,p,o[d+7],10,1126891415),p=g(p,f,i,u,o[d+14],15,-1416354905),u=g(u,p,f,i,o[d+5],21,-57434055),i=g(i,u,p,f,o[d+12],6,1700485571),f=g(f,i,u,p,o[d+3],10,-1894986606),p=g(p,f,i,u,o[d+10],15,-1051523),u=g(u,p,f,i,o[d+1],21,-2054922799),i=g(i,u,p,f,o[d+8],6,1873313359),f=g(f,i,u,p,o[d+15],10,-30611744),p=g(p,f,i,u,o[d+6],15,-1560198380),u=g(u,p,f,i,o[d+13],21,1309151649),i=g(i,u,p,f,o[d+4],6,-145523070),f=g(f,i,u,p,o[d+11],10,-1120210379),p=g(p,f,i,u,o[d+2],15,718787259),u=g(u,p,f,i,o[d+9],21,-343485551),i=i+m>>>0,u=u+_>>>0,p=p+v>>>0,f=f+x>>>0}return r.endian([i,u,p,f])})._ff=function(e,t,o,r,n,a,c){var l=e+(t&o|~t&r)+(n>>>0)+c;return(l<<a|l>>>32-a)+t},l._gg=function(e,t,o,r,n,a,c){var l=e+(t&r|o&~r)+(n>>>0)+c;return(l<<a|l>>>32-a)+t},l._hh=function(e,t,o,r,n,a,c){var l=e+(t^o^r)+(n>>>0)+c;return(l<<a|l>>>32-a)+t},l._ii=function(e,t,o,r,n,a,c){var l=e+(o^(t|~r))+(n>>>0)+c;return(l<<a|l>>>32-a)+t},l._blocksize=16,l._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var o=r.wordsToBytes(l(e,t));return t&&t.asBytes?o:t&&t.asString?c.bytesToString(o):r.bytesToHex(o)}},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.compose},function(e,t){function o(t){return e.exports=o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,o(t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var o={utf8:{stringToBytes:function(e){return o.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(o.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],o=0;o<e.length;o++)t.push(255&e.charCodeAt(o));return t},bytesToString:function(e){for(var t=[],o=0;o<e.length;o++)t.push(String.fromCharCode(e[o]));return t.join("")}}};e.exports=o},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.url},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function o(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var r=o(24);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var r=o(25).default,n=o(26);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?n(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var o=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=o){var r,n,a=[],c=!0,l=!1;try{for(o=o.call(e);!(c=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{c||null==o.return||o.return()}finally{if(l)throw n}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var r=o(20);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var o,r;o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],o=0,r=0;o<e.length;o++,r+=8)t[r>>>5]|=e[o]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],o=0;o<32*e.length;o+=8)t.push(e[o>>>5]>>>24-o%32&255);return t},bytesToHex:function(e){for(var t=[],o=0;o<e.length;o++)t.push((e[o]>>>4).toString(16)),t.push((15&e[o]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substr(o,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var n=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?t.push(o.charAt(n>>>6*(3-a)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,n=0;r<e.length;n=++r%4)0!=n&&t.push((o.indexOf(e.charAt(r-1))&Math.pow(2,-2*n+8)-1)<<2*n|o.indexOf(e.charAt(r))>>>6-2*n);return t}},e.exports=r},function(e,t){function o(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(o(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&o(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t){function o(t,r){return e.exports=o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,o(t,r)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function o(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=o=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=o=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),o(t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},,,function(e,t,o){"use strict";o.r(t);var r=o(3),n=o.n(r),a=o(0),c=o(2),l=o(6),s=o.n(l),i=o(11),u=o(12);function p(e){if(e.status>=200&&e.status<300)return e;throw e}function f(e){return e.json?e.json():e.text()}var d=Object(a.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"})),h=o(5),b=o.n(h),y=function(e,t,o){var r=!0;if(t&&t.id&&"value"in t){var n=t.value;["toggle","checkbox"].includes(o)&&(n=!0===n||"yes"===n||1===n),n=b.a.isArray(n)?n:[n],r=void 0!==e[t.id]&&n.includes(e[t.id])}return r},g=function(e,t){var o=e.controlType,r=!0;if(e.deps)if(b.a.isArray(e.deps))for(var n in e.deps){var a=e.deps[n];if(!(r=y(t,a,o)))break}else r=y(t,e.deps,o);return r},m=function(e,t){var o="",r=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?r=jQuery.fn[e.callback]:e.callback in window&&(r=window[e.callback])),"function"==typeof r)o=r(t,e);else{var a=e.attributes?Object.entries(e.attributes).map((function(e){var o=n()(e,2),r=o[0],a=o[1],c=g(a,t),l=t[r];if(c&&void 0!==l)return r+"="+(a.remove_quotes?l:'"'.concat(l,'"'))})):[],c=a.length?" "+a.join(" "):"";o="[".concat(e.shortcode_name).concat(c,"]")}return o},_=o(1),v=o(7),x=o(13),j=o.n(x),w=o(14),k=o.n(w),O=o(15),C=o.n(O),E=o(16),S=o.n(E),T=o(9),A=o.n(T),M=o(4);o(27);var B=function(e){C()(n,e);var t,o,r=(t=n,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=A()(t);if(o){var n=A()(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return S()(this,e)});function n(){var e;return j()(this,n),(e=r.apply(this,arguments)).state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},e.ajaxTimeout=!1,e}return k()(n,[{key:"componentDidMount",value:function(){this.updateShortcode()}},{key:"componentDidUpdate",value:function(e,t,o){var r=this.state,n=r.shortcode,a=r.shortcodeHash,c=r.ajaxSuccess,l=r.ajaxResponse,s=r.ajaxUpdated;Object(h.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(c&&Object(M.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",n,a,l),Object(M.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",n,a,l),this.setState({ajaxUpdated:!1}))}},{key:"updateShortcode",value:function(){var e=this,t=this.props,o=t.attributes,r=t.blockArgs;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});var n=m(r,o),a=s()(n);r.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),Object(M.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",n,a),this.ajaxTimeout=setTimeout((function(){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=Object(u.addQueryArgs)(t,e),fetch(t).then(p).then(f)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:n}).then((function(t){e.setState({loading:!1,firstLoading:!1,html:t.html,shortcode:n,shortcodeHash:a,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:t})})).catch((function(e){console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:n,shortcode:n,shortcodeHash:a})}},{key:"render",value:function(){var e=this.state,t=e.html,o=e.loading,r=e.firstLoading,n=e.shortcode,c=e.shortcodeHash,l=this.props.blockArgs,s=l.do_shortcode,i=l.title,u=l.empty_message,p="block-editor-yith-plugin-fw-shortcode-block",f=[p],h=s?"html":"shortcode",b=t,y="";r&&o?h="first-loading":s&&!t&&(h="empty-html",b=n,!o&&u&&(y=u));var g=["first-loading","empty-html","shortcode"].includes(h),m=!["first-loading","empty-html"].includes(h),v=!!y;return f.push("".concat(p,"--").concat(h)),f.push("".concat(p,v?"--has-message":"--no-message")),f.push("yith_block_".concat(c)),Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:f.join(" ")},o?Object(a.createElement)("div",{className:"".concat(p,"__spinner-wrap")},Object(a.createElement)(_.Spinner,null)):"",g&&Object(a.createElement)("div",{className:"".concat(p,"__title components-placeholder__label")},d,i),v&&Object(a.createElement)(a.RawHTML,{className:"".concat(p,"__message")},y),m&&Object(a.createElement)(a.RawHTML,{className:"".concat(p,"__content")},b)))}}]),n}(c.Component),N=o(8);function R(e){var t=e.className,o=e.label,r=e.onChange,n=e.value,c=e.help,l=e.disableAlpha,s=Object(N.useInstanceId)(R),i="inspector-yith-color-picker-control-".concat(s);return Object(a.createElement)(_.BaseControl,{id:i,label:o,className:"block-editor-yith-color-control ".concat(t),help:c},Object(a.createElement)(_.ColorPicker,{color:n,disableAlpha:l,onChangeComplete:r}))}function P(e){var t=e.label,o=e.colorValue;return Object(a.createElement)(a.Fragment,null,t,!!o&&Object(a.createElement)(_.ColorIndicator,{colorValue:o}))}function I(e){var t=e.className,o=e.label,r=e.onChange,n=e.value,c=e.help,l=e.palette,s=e.clearable;l=l||Object(v.__experimentalUseEditorFeature)("color.palette");var i=Object(N.useInstanceId)(I),u="inspector-yith-color-palette-control-".concat(i);return Object(a.createElement)(_.BaseControl,{id:u,className:"block-editor-yith-color-palette-control ".concat(t),help:c},Object(a.createElement)("fieldset",null,Object(a.createElement)("legend",null,Object(a.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},Object(a.createElement)(_.BaseControl.VisualLabel,null,Object(a.createElement)(P,{colorValue:n,label:o})))),Object(a.createElement)(_.ColorPalette,{value:n,onChange:r,colors:l,clearable:s})))}o(28);for(var H=function(e,t){return function(o){var r=o.attributes,c=(o.className,o.setAttributes),l=function(e,t,o){["colorpicker","color"].includes(o)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());var r={};r[t]=e,c(r)};return Object(a.createElement)(a.Fragment,null,!!t.attributes&&Object(a.createElement)(v.InspectorControls,null,Object(a.createElement)(_.PanelBody,null,Object.entries(t.attributes).map((function(t){var o=n()(t,2),c=function(t,o){var n=o.controlType,c=r[t],s=function(e,t){var o="";return e.helps&&e.helps.checked&&e.helps.unchecked?o=t?e.helps.checked:e.helps.unchecked:e.help&&(o=e.help),o}(o,c),i="".concat(e,"__").concat(t,"-field-wrapper"),u=g(o,r);o.wrapper_class&&(i+=" "+o.wrapper_class);var p=!1;if(u)switch(n){case"select":p=Object(a.createElement)(_.SelectControl,{className:i,key:t,value:c,label:o.label,options:o.options,selected:c,help:s,multiple:!!o.multiple,onChange:function(e){l(e,t,n)}});break;case"text":p=Object(a.createElement)(_.TextControl,{className:i,key:t,value:c,label:o.label,help:s,onChange:function(e){l(e,t,n)}});break;case"textarea":p=Object(a.createElement)(_.TextareaControl,{className:i,key:t,value:c,label:o.label,help:s,onChange:function(e){l(e,t,n)}});break;case"toggle":p=Object(a.createElement)(_.ToggleControl,{className:i,key:t,value:c,label:o.label,help:s,checked:c,onChange:function(e){l(e,t,n)}});break;case"checkbox":p=Object(a.createElement)(_.CheckboxControl,{className:i,key:t,value:c,label:o.label,help:s,checked:c,onChange:function(e){l(e,t,n)}});break;case"number":case"range":p=Object(a.createElement)(_.RangeControl,{className:i,key:t,value:c,label:o.label,help:s,min:o.min,max:o.max,onChange:function(e){l(e,t,n)}});break;case"color":case"colorpicker":p=Object(a.createElement)(R,{className:i,key:t,label:o.label,help:s,value:c,disableAlpha:o.disableAlpha,onChange:function(e){l(e,t,n)}});break;case"color-palette":p=Object(a.createElement)(I,{className:i,key:t,label:o.label,help:s,value:c,clearable:o.clearable||!1,onChange:function(e){l(e,t,n)}});break;case"radio":p=Object(a.createElement)(_.RadioControl,{key:t,value:c,label:o.label,options:o.options,selected:c,checked:c,help:s,onChange:function(e){l(e,t,n)}});break;default:p=!1}return p}(o[0],o[1]);if(c)return c})))),Object(a.createElement)(B,{attributes:r,blockArgs:t}))}},L=function(){var e=Q[U];Object(M.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];"jQuery"in window&&(e.delay?setTimeout((function(){jQuery(document).trigger(e.key,Object.values(o))}),e.delay):jQuery(document).trigger(e.key,Object.values(o)))}))},U=0,Q=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];U<Q.length;U++)L();for(var F=function(){var e=n()(V[J],2),t=e[0],o=e[1];Object(i.registerBlockType)("yith/"+t,{title:o.title,description:o.description,category:o.category,attributes:o.attributes,icon:void 0!==o.icon?o.icon:d,keywords:o.keywords,edit:H(t,o),save:function(e){var t=e.attributes;return m(o,t)},deprecated:[{attributes:o.attributes,save:function(e){var t=e.attributes,r=m(o,t),n='<span class="yith_block_'+s()(r)+'">'+r+"</span>";return Object(a.createElement)(a.RawHTML,null,n)}}]})},J=0,V=Object.entries(yithGutenbergBlocks);J<V.length;J++)F()}]);
plugin-fw/dist/gutenberg/style-index.css CHANGED
@@ -1,2 +1,4 @@
1
- .block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading{padding:1em 1em 1.2em;border:1px solid #1e1e1e;border-radius:4px}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode .block-editor-yith-plugin-fw-shortcode-block__content{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;font-size:13px;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.block-editor-yith-plugin-fw-shortcode-block{position:relative;min-height:30px}.block-editor-yith-plugin-fw-shortcode-block .block-editor-yith-plugin-fw-shortcode-block__spinner-wrap{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%)}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html.block-editor-yith-plugin-fw-shortcode-block--no-message .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__message{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-style:italic;font-size:13px}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__content{display:none}
 
2
  .block-editor-yith-color-palette-control .block-editor-yith-color-palette-control__color-indicator{margin-bottom:12px}.block-editor-yith-color-palette-control .component-color-indicator{vertical-align:text-bottom}
 
1
+ .block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html{padding:1em 1em 1.2em;border:1px solid #1e1e1e;border-radius:4px}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode .block-editor-yith-plugin-fw-shortcode-block__content{font-family:Menlo, Consolas, monaco, monospace;color:#1e1e1e;font-size:13px;padding:0.8em 1em;border:1px solid #ddd;border-radius:4px}.block-editor-yith-plugin-fw-shortcode-block{position:relative;min-height:30px}.block-editor-yith-plugin-fw-shortcode-block .block-editor-yith-plugin-fw-shortcode-block__spinner-wrap{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%)}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html.block-editor-yith-plugin-fw-shortcode-block--no-message .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__message{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;font-style:italic;font-size:13px}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__content{display:none}
2
+
3
  .block-editor-yith-color-palette-control .block-editor-yith-color-palette-control__color-indicator{margin-bottom:12px}.block-editor-yith-color-palette-control .component-color-indicator{vertical-align:text-bottom}
4
+
plugin-fw/includes/class-yit-assets.php CHANGED
@@ -68,23 +68,25 @@ if ( ! class_exists( 'YIT_Assets' ) ) {
68
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
69
 
70
  // Register scripts.
 
71
  wp_register_script( 'yith-colorpicker', YIT_CORE_PLUGIN_URL . '/assets/js/yith-colorpicker.min.js', array( 'jquery', 'wp-color-picker' ), '3.0.0', true );
72
- wp_register_script( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/js/yith-fields' . $suffix . '.js', array( 'jquery', 'jquery-ui-datepicker', 'yith-colorpicker', 'jquery-ui-slider', 'jquery-ui-sortable' ), $this->version, true );
73
  wp_register_script( 'yith-date-format', YIT_CORE_PLUGIN_URL . '/assets/js/yith-date-format' . $suffix . '.js', array( 'jquery', 'jquery-ui-datepicker' ), $this->version, true );
74
 
75
- wp_register_script( 'yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox' . $suffix . '.js', array( 'jquery', 'wp-color-picker', 'yith-plugin-fw-fields' ), $this->version, true );
76
- wp_register_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel' . $suffix . '.js', array( 'jquery', 'wp-color-picker', 'jquery-ui-sortable', 'yith-plugin-fw-fields' ), $this->version, true );
77
  wp_register_script( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/js/jquery.colorbox' . $suffix . '.js', array( 'jquery' ), '1.6.3', true );
78
  wp_register_script( 'yith_how_to', YIT_CORE_PLUGIN_URL . '/assets/js/how-to' . $suffix . '.js', array( 'jquery' ), $this->version, true );
79
  wp_register_script( 'yith-plugin-fw-wp-pages', YIT_CORE_PLUGIN_URL . '/assets/js/wp-pages' . $suffix . '.js', array( 'jquery' ), $this->version, false );
80
 
81
  // Register styles.
82
- wp_register_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', array(), $this->version );
 
83
  wp_register_style( 'jquery-ui-style', YIT_CORE_PLUGIN_URL . '/assets/css/jquery-ui/jquery-ui.min.css', array(), '1.11.4' );
84
  wp_register_style( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/css/colorbox.css', array(), $this->version );
85
  wp_register_style( 'yit-upgrade-to-pro', YIT_CORE_PLUGIN_URL . '/assets/css/yit-upgrade-to-pro.css', array( 'colorbox' ), $this->version );
86
- wp_register_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css', array(), $this->version );
87
- wp_register_style( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/css/yith-fields.css', array( 'yith-plugin-fw-icon-font' ), $this->version );
88
 
89
  wp_register_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900', array(), $this->version );
90
 
@@ -95,6 +97,7 @@ if ( ! class_exists( 'YIT_Assets' ) ) {
95
 
96
  wp_register_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce_version );
97
  } else {
 
98
  wp_register_script( 'select2', YIT_CORE_PLUGIN_URL . '/assets/js/select2/select2.min.js', array( 'jquery' ), '4.0.3', true );
99
  wp_register_style( 'yith-select2-no-wc', YIT_CORE_PLUGIN_URL . '/assets/css/yith-select2-no-wc.css', false, $this->version );
100
  }
@@ -120,6 +123,17 @@ if ( ! class_exists( 'YIT_Assets' ) ) {
120
  )
121
  );
122
 
 
 
 
 
 
 
 
 
 
 
 
123
  // Localize color-picker to avoid issues with WordPress 5.5.
124
  if ( version_compare( $wp_version, '5.5-RC', '>=' ) ) {
125
  wp_localize_script(
68
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
69
 
70
  // Register scripts.
71
+ wp_register_script( 'yith-ui', YIT_CORE_PLUGIN_URL . '/assets/js/yith-ui' . $suffix . '.js', array( 'jquery' ), $this->version, true );
72
  wp_register_script( 'yith-colorpicker', YIT_CORE_PLUGIN_URL . '/assets/js/yith-colorpicker.min.js', array( 'jquery', 'wp-color-picker' ), '3.0.0', true );
73
+ wp_register_script( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/js/yith-fields' . $suffix . '.js', array( 'jquery', 'jquery-ui-datepicker', 'yith-colorpicker', 'jquery-ui-slider', 'jquery-ui-sortable', 'jquery-tiptip', 'yith-ui' ), $this->version, true );
74
  wp_register_script( 'yith-date-format', YIT_CORE_PLUGIN_URL . '/assets/js/yith-date-format' . $suffix . '.js', array( 'jquery', 'jquery-ui-datepicker' ), $this->version, true );
75
 
76
+ wp_register_script( 'yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox' . $suffix . '.js', array( 'jquery', 'wp-color-picker', 'yith-plugin-fw-fields', 'yith-ui' ), $this->version, true );
77
+ wp_register_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel' . $suffix . '.js', array( 'jquery', 'wp-color-picker', 'jquery-ui-sortable', 'yith-plugin-fw-fields', 'yith-ui' ), $this->version, true );
78
  wp_register_script( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/js/jquery.colorbox' . $suffix . '.js', array( 'jquery' ), '1.6.3', true );
79
  wp_register_script( 'yith_how_to', YIT_CORE_PLUGIN_URL . '/assets/js/how-to' . $suffix . '.js', array( 'jquery' ), $this->version, true );
80
  wp_register_script( 'yith-plugin-fw-wp-pages', YIT_CORE_PLUGIN_URL . '/assets/js/wp-pages' . $suffix . '.js', array( 'jquery' ), $this->version, false );
81
 
82
  // Register styles.
83
+ wp_register_style( 'yith-plugin-ui', YIT_CORE_PLUGIN_URL . '/assets/css/yith-plugin-ui.css', array( 'yith-plugin-fw-icon-font' ), $this->version );
84
+ wp_register_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', array( 'yith-plugin-ui' ), $this->version );
85
  wp_register_style( 'jquery-ui-style', YIT_CORE_PLUGIN_URL . '/assets/css/jquery-ui/jquery-ui.min.css', array(), '1.11.4' );
86
  wp_register_style( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/css/colorbox.css', array(), $this->version );
87
  wp_register_style( 'yit-upgrade-to-pro', YIT_CORE_PLUGIN_URL . '/assets/css/yit-upgrade-to-pro.css', array( 'colorbox' ), $this->version );
88
+ wp_register_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css', array( 'yith-plugin-ui' ), $this->version );
89
+ wp_register_style( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/css/yith-fields.css', array( 'yith-plugin-ui' ), $this->version );
90
 
91
  wp_register_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900', array(), $this->version );
92
 
97
 
98
  wp_register_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce_version );
99
  } else {
100
+ wp_register_script( 'jquery-tiptip', YIT_CORE_PLUGIN_URL . '/assets/js/jquery-tiptip/jquery.tipTip' . $suffix . '.js', array( 'jquery' ), '1.3', true );
101
  wp_register_script( 'select2', YIT_CORE_PLUGIN_URL . '/assets/js/select2/select2.min.js', array( 'jquery' ), '4.0.3', true );
102
  wp_register_style( 'yith-select2-no-wc', YIT_CORE_PLUGIN_URL . '/assets/css/yith-select2-no-wc.css', false, $this->version );
103
  }
123
  )
124
  );
125
 
126
+ wp_localize_script(
127
+ 'yith-ui',
128
+ 'yith_plugin_fw_ui',
129
+ array(
130
+ 'i18n' => array(
131
+ 'confirm' => _x( 'Confirm', 'Button text', 'yith-plugin-fw' ),
132
+ 'cancel' => _x( 'Cancel', 'Button text', 'yith-plugin-fw' ),
133
+ ),
134
+ )
135
+ );
136
+
137
  // Localize color-picker to avoid issues with WordPress 5.5.
138
  if ( version_compare( $wp_version, '5.5-RC', '>=' ) ) {
139
  wp_localize_script(
plugin-fw/includes/class-yit-metabox.php CHANGED
@@ -293,8 +293,11 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
293
 
294
  /**
295
  * Show the meta-box
 
 
 
296
  */
297
- public function show() {
298
  $this->reorder_tabs();
299
 
300
  $args = array(
@@ -302,6 +305,10 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
302
  'class' => isset( $this->options['class'] ) ? $this->options['class'] : '',
303
  );
304
 
 
 
 
 
305
  yit_plugin_get_template( YIT_CORE_PLUGIN_PATH, 'metaboxes/tab.php', $args );
306
  }
307
 
293
 
294
  /**
295
  * Show the meta-box
296
+ *
297
+ * @param WP_Post $post The post.
298
+ * @param array $meta_box The meta-box info array.
299
  */
300
+ public function show( $post, $meta_box ) {
301
  $this->reorder_tabs();
302
 
303
  $args = array(
305
  'class' => isset( $this->options['class'] ) ? $this->options['class'] : '',
306
  );
307
 
308
+ if ( isset( $meta_box, $meta_box['id'] ) ) {
309
+ do_action( "yith_plugin_fw_metabox_before_render_{$meta_box['id']}", $post, $meta_box );
310
+ }
311
+
312
  yit_plugin_get_template( YIT_CORE_PLUGIN_PATH, 'metaboxes/tab.php', $args );
313
  }
314
 
plugin-fw/includes/class-yit-plugin-panel.php CHANGED
@@ -178,6 +178,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
178
  'page' => $this->settings['page'],
179
  'current_tab' => isset( $tabs['tab'] ) ? $tabs['tab'] : '',
180
  'current_sub_tab' => isset( $tabs['sub_tab'] ) ? $tabs['sub_tab'] : '',
 
181
  );
182
 
183
  if ( ! $is_block_editor ) {
@@ -692,8 +693,10 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
692
  */
693
  public function get_tab_info_by_options( $tab_options ) {
694
  $type = $this->get_tab_type_by_options( $tab_options );
695
- $info = array( 'type' => $type );
696
  $first = ! ! $tab_options && is_array( $tab_options ) ? current( $tab_options ) : array();
 
 
 
697
  if ( 'post_type' === $type ) {
698
  $info['post_type'] = isset( $first['post_type'] ) ? $first['post_type'] : '';
699
  } elseif ( 'taxonomy' === $type ) {
@@ -1376,7 +1379,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
1376
  if ( 'admin.php' === $pagenow && $screen && strpos( $screen->id, $this->settings['page'] ) !== false ) {
1377
  switch ( $field['type'] ) {
1378
  case 'datepicker':
1379
- echo '<span class="yith-icon yith-icon-calendar"></span>';
1380
  break;
1381
  default:
1382
  break;
@@ -1400,9 +1403,13 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
1400
  $tabs = array(
1401
  'tab' => $info['parent'],
1402
  'sub_tab' => $key,
 
1403
  );
1404
  } else {
1405
- $tabs = array( 'tab' => $key );
 
 
 
1406
  }
1407
  break;
1408
  }
@@ -1429,9 +1436,13 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
1429
  $tabs = array(
1430
  'tab' => $info['parent'],
1431
  'sub_tab' => $key,
 
1432
  );
1433
  } else {
1434
- $tabs = array( 'tab' => $key );
 
 
 
1435
  }
1436
  break;
1437
  }
@@ -1478,17 +1489,45 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
1478
  */
1479
  public function print_panel_tabs_in_wp_pages() {
1480
  if ( self::$panel_tabs_in_wp_pages ) {
 
 
1481
  wp_enqueue_style( 'yit-plugin-style' );
1482
  wp_enqueue_script( 'yit-plugin-panel' );
1483
 
1484
  $wrap_class = isset( $this->settings['class'] ) ? $this->settings['class'] : '';
1485
- ?>
1486
- <div class="yith-plugin-fw-wp-page-wrapper">
1487
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1488
  echo '<div class="' . esc_attr( $wrap_class ) . '">';
 
1489
  $this->add_plugin_banner( $this->settings['page'] );
1490
  $this->print_tabs_nav( self::$panel_tabs_in_wp_pages );
1491
  echo '</div>';
 
 
 
 
1492
  }
1493
  }
1494
 
@@ -1500,6 +1539,11 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
1500
  */
1501
  public function print_panel_tabs_in_wp_pages_end() {
1502
  if ( self::$panel_tabs_in_wp_pages ) {
 
 
 
 
 
1503
  echo '</div><!-- /yith-plugin-fw-wp-page-wrapper -->';
1504
  }
1505
  }
178
  'page' => $this->settings['page'],
179
  'current_tab' => isset( $tabs['tab'] ) ? $tabs['tab'] : '',
180
  'current_sub_tab' => isset( $tabs['sub_tab'] ) ? $tabs['sub_tab'] : '',
181
+ 'options' => isset( $tabs['options'] ) ? $tabs['options'] : array(),
182
  );
183
 
184
  if ( ! $is_block_editor ) {
693
  */
694
  public function get_tab_info_by_options( $tab_options ) {
695
  $type = $this->get_tab_type_by_options( $tab_options );
 
696
  $first = ! ! $tab_options && is_array( $tab_options ) ? current( $tab_options ) : array();
697
+ $info = $first;
698
+
699
+ $info['type'] = $type;
700
  if ( 'post_type' === $type ) {
701
  $info['post_type'] = isset( $first['post_type'] ) ? $first['post_type'] : '';
702
  } elseif ( 'taxonomy' === $type ) {
1379
  if ( 'admin.php' === $pagenow && $screen && strpos( $screen->id, $this->settings['page'] ) !== false ) {
1380
  switch ( $field['type'] ) {
1381
  case 'datepicker':
1382
+ echo '<span class="yith-icon yith-icon-calendar yith-icon--right-overlay"></span>';
1383
  break;
1384
  default:
1385
  break;
1403
  $tabs = array(
1404
  'tab' => $info['parent'],
1405
  'sub_tab' => $key,
1406
+ 'options' => $info,
1407
  );
1408
  } else {
1409
+ $tabs = array(
1410
+ 'tab' => $key,
1411
+ 'options' => $info,
1412
+ );
1413
  }
1414
  break;
1415
  }
1436
  $tabs = array(
1437
  'tab' => $info['parent'],
1438
  'sub_tab' => $key,
1439
+ 'options' => $info,
1440
  );
1441
  } else {
1442
+ $tabs = array(
1443
+ 'tab' => $key,
1444
+ 'options' => $info,
1445
+ );
1446
  }
1447
  break;
1448
  }
1489
  */
1490
  public function print_panel_tabs_in_wp_pages() {
1491
  if ( self::$panel_tabs_in_wp_pages ) {
1492
+ global $pagenow;
1493
+
1494
  wp_enqueue_style( 'yit-plugin-style' );
1495
  wp_enqueue_script( 'yit-plugin-panel' );
1496
 
1497
  $wrap_class = isset( $this->settings['class'] ) ? $this->settings['class'] : '';
1498
+ $options = isset( self::$panel_tabs_in_wp_pages['options'] ) ? self::$panel_tabs_in_wp_pages['options'] : array();
1499
+
1500
+ $options_to_classes = array( 'type', 'post_type', 'taxonomy' );
1501
+ $page_wrapper_classes = array(
1502
+ 'yith-plugin-fw-wp-page-wrapper',
1503
+ isset( $options['wrapper-class'] ) ? $options['wrapper-class'] : '',
1504
+ );
1505
+
1506
+ if ( in_array( $pagenow, array( 'edit.php', 'edit-tags.php' ), true ) ) {
1507
+ $options_to_classes[] = 'wp-list-style';
1508
+ $page_wrapper_classes[] = 'yith-plugin-ui';
1509
+ }
1510
+
1511
+ foreach ( $options_to_classes as $key ) {
1512
+ if ( isset( $options[ $key ] ) ) {
1513
+ $option = $options[ $key ];
1514
+ $page_wrapper_classes[] = "yith-plugin-ui--{$option}-{$key}";
1515
+ }
1516
+ }
1517
+
1518
+ $page_wrapper_classes = implode( ' ', array_filter( $page_wrapper_classes ) );
1519
+
1520
+ echo '<div class="' . esc_attr( $page_wrapper_classes ) . '">';
1521
+
1522
  echo '<div class="' . esc_attr( $wrap_class ) . '">';
1523
+
1524
  $this->add_plugin_banner( $this->settings['page'] );
1525
  $this->print_tabs_nav( self::$panel_tabs_in_wp_pages );
1526
  echo '</div>';
1527
+
1528
+ if ( self::$panel_tabs_in_wp_pages['current_sub_tab'] ) {
1529
+ echo '<div class="yith-plugin-fw-wp-page__sub-tab-wrap">';
1530
+ }
1531
  }
1532
  }
1533
 
1539
  */
1540
  public function print_panel_tabs_in_wp_pages_end() {
1541
  if ( self::$panel_tabs_in_wp_pages ) {
1542
+
1543
+ if ( self::$panel_tabs_in_wp_pages['current_sub_tab'] ) {
1544
+ echo '</div><!-- /yith-plugin-fw-wp-page__sub-tab-wrap -->';
1545
+ }
1546
+
1547
  echo '</div><!-- /yith-plugin-fw-wp-page-wrapper -->';
1548
  }
1549
  }
plugin-fw/includes/class-yith-post-type-admin.php ADDED
@@ -0,0 +1,474 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Post Type Admin
4
+ *
5
+ * @class YITH_Post_Type_Admin
6
+ * @package YITH\PluginFramework\Classes
7
+ */
8
+
9
+ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
+
11
+ if ( ! class_exists( 'YITH_Post_Type_Admin' ) ) {
12
+ /**
13
+ * YITH_Post_Type_Admin class.
14
+ *
15
+ * @author Leanza Francesco <leanzafrancesco@gmail.com>
16
+ */
17
+ abstract class YITH_Post_Type_Admin {
18
+
19
+ /**
20
+ * The post type.
21
+ *
22
+ * @var string
23
+ */
24
+ protected $post_type = '';
25
+
26
+ /**
27
+ * The object to be shown for each row.
28
+ *
29
+ * @var object|null
30
+ */
31
+ protected $object = null;
32
+
33
+ /**
34
+ * The ID of the Post to be shown for each row.
35
+ *
36
+ * @var int|null
37
+ */
38
+ protected $post_id = null;
39
+
40
+ /**
41
+ * The single instance of the class.
42
+ *
43
+ * @var YITH_Post_Type_Admin[]
44
+ */
45
+ private static $instances = array();
46
+
47
+ /**
48
+ * Singleton implementation.
49
+ *
50
+ * @return YITH_Post_Type_Admin
51
+ */
52
+ public static function instance() {
53
+ $class = get_called_class();
54
+
55
+ return ! empty( self::$instances[ $class ] ) ? self::$instances[ $class ] : self::$instances[ $class ] = new $class();
56
+ }
57
+
58
+ /**
59
+ * YITH_Admin_Post_List_Table constructor.
60
+ */
61
+ protected function __construct() {
62
+ if ( $this->post_type && $this->is_enabled() ) {
63
+ if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
64
+ // use "admin_init" for AJAX calls, since in case of AJAX, "current_screen" is not fired.
65
+ add_action( 'admin_init', array( $this, 'init_wp_list_handlers' ) );
66
+ } else {
67
+ add_action( 'current_screen', array( $this, 'init_wp_list_handlers' ) );
68
+ }
69
+
70
+ add_action( 'edit_form_top', array( $this, 'print_back_to_wp_list_button' ) );
71
+ }
72
+ }
73
+
74
+ /**
75
+ * Return true if it's enabled.
76
+ *
77
+ * @return bool
78
+ */
79
+ protected function is_enabled() {
80
+ return is_admin();
81
+ }
82
+
83
+ /**
84
+ * Return true if you want to use the object when you render columns. False otherwise.
85
+ * This is useful if you have an object representing your Custom Post Type that handles the CRUD.
86
+ * Note: if you use the object, you should set it by overriding the YITH_Post_Type_Admin::prepare_row_data method.
87
+ *
88
+ * @return bool
89
+ */
90
+ protected function use_object() {
91
+ return true;
92
+ }
93
+
94
+ /**
95
+ * Return true if the wp-list handlers should be loaded.
96
+ *
97
+ * @return bool
98
+ */
99
+ protected function should_wp_list_handlers_be_loaded() {
100
+ $screen_id = false;
101
+
102
+ if ( function_exists( 'get_current_screen' ) ) {
103
+ $screen = get_current_screen();
104
+ $screen_id = isset( $screen, $screen->id ) ? $screen->id : '';
105
+ }
106
+
107
+ if ( ! empty( $_REQUEST['screen'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
108
+ $screen_id = sanitize_text_field( wp_unslash( $_REQUEST['screen'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
109
+ }
110
+
111
+ return ! ! $screen_id && ( 'edit-' . $this->post_type === $screen_id );
112
+ }
113
+
114
+ /**
115
+ * Initialize the WP List handlers.
116
+ */
117
+ public function init_wp_list_handlers() {
118
+ if ( $this->should_wp_list_handlers_be_loaded() ) {
119
+ add_action( 'manage_posts_extra_tablenav', array( $this, 'maybe_render_blank_state' ) );
120
+
121
+ add_action( 'restrict_manage_posts', array( $this, 'maybe_render_filters' ) );
122
+ add_filter( 'request', array( $this, 'request_query' ) );
123
+
124
+ add_filter( 'list_table_primary_column', array( $this, 'list_table_primary_column' ), 10, 2 );
125
+ add_filter( 'post_row_actions', array( $this, 'row_actions' ), 100, 2 );
126
+
127
+ add_filter( 'default_hidden_columns', array( $this, 'default_hidden_columns' ), 10, 2 );
128
+ add_filter( 'manage_edit-' . $this->post_type . '_sortable_columns', array( $this, 'define_sortable_columns' ) );
129
+ add_filter( 'manage_' . $this->post_type . '_posts_columns', array( $this, 'define_columns' ) );
130
+ add_filter( 'bulk_actions-edit-' . $this->post_type, array( $this, 'define_bulk_actions' ) );
131
+
132
+ add_action( 'manage_' . $this->post_type . '_posts_custom_column', array( $this, 'render_columns' ), 10, 2 );
133
+ add_filter( 'handle_bulk_actions-edit-' . $this->post_type, array( $this, 'handle_bulk_actions' ), 10, 3 );
134
+
135
+ add_action( 'disable_months_dropdown', array( $this, 'disable_months_dropdown' ), 10, 2 );
136
+ }
137
+ }
138
+
139
+ /**
140
+ * --------------------------------------------------------------------------
141
+ * Getters and definers methods
142
+ * --------------------------------------------------------------------------
143
+ *
144
+ * Methods for getting data from the objects. Usually you need to override them in your class.
145
+ */
146
+
147
+ /**
148
+ * Get actions to show in the list table as action-buttons
149
+ *
150
+ * @return array
151
+ */
152
+ protected function get_item_actions() {
153
+ return array();
154
+ }
155
+
156
+ /**
157
+ * Retrieve an array of parameters for blank state.
158
+ *
159
+ * @return array{
160
+ * @type string $icon The YITH icon. You can use this one (to use an YITH icon) or icon_class or icon_url.
161
+ * @type string $icon_class The icon class. You can use this one (to use a custom class for your icon) or icon or icon_url.
162
+ * @type string $icon_url The icon URL. You can use this one (to specify an icon URL) or icon_icon or icon_class.
163
+ * @type string $message The message to be shown.
164
+ * @type string $cta {
165
+ * The call-to-action button params.
166
+ * @type string $title The call-to-action button title.
167
+ * @type string $icon The call-to-action button icon.
168
+ * @type string $url The call-to-action button URL.
169
+ * @type string $class The call-to-action button class.
170
+ * }
171
+ * }
172
+ */
173
+ protected function get_blank_state_params() {
174
+ return array();
175
+ }
176
+
177
+ /**
178
+ * Define primary column.
179
+ *
180
+ * @return string
181
+ */
182
+ protected function get_primary_column() {
183
+ return '';
184
+ }
185
+
186
+ /**
187
+ * Define hidden columns.
188
+ *
189
+ * @return array
190
+ */
191
+ protected function get_default_hidden_columns() {
192
+ return array();
193
+ }
194
+
195
+ /**
196
+ * Define which columns are sortable.
197
+ *
198
+ * @param array $columns Existing columns.
199
+ *
200
+ * @return array
201
+ */
202
+ public function define_sortable_columns( $columns ) {
203
+ return $columns;
204
+ }
205
+
206
+ /**
207
+ * Define which columns to show on this screen.
208
+ *
209
+ * @param array $columns Existing columns.
210
+ *
211
+ * @return array
212
+ */
213
+ public function define_columns( $columns ) {
214
+ return $columns;
215
+ }
216
+
217
+ /**
218
+ * Define bulk actions.
219
+ *
220
+ * @param array $actions Existing actions.
221
+ *
222
+ * @return array
223
+ */
224
+ public function define_bulk_actions( $actions ) {
225
+ return $actions;
226
+ }
227
+
228
+ /**
229
+ * Pre-fetch any data for the row each column has access to it, by loading $this->object.
230
+ *
231
+ * @param int $post_id Post ID being shown.
232
+ */
233
+ protected function prepare_row_data( $post_id ) {
234
+ }
235
+
236
+ /**
237
+ * Render any custom filters and search inputs for the list table.
238
+ */
239
+ protected function render_filters() {
240
+ }
241
+
242
+ /**
243
+ * Handle any custom filters.
244
+ *
245
+ * @param array $query_vars Query vars.
246
+ *
247
+ * @return array
248
+ */
249
+ protected function query_filters( $query_vars ) {
250
+ return $query_vars;
251
+ }
252
+
253
+ /**
254
+ * Handle bulk actions.
255
+ *
256
+ * @param string $redirect_to URL to redirect to.
257
+ * @param string $action Action name.
258
+ * @param array $ids List of ids.
259
+ *
260
+ * @return string
261
+ */
262
+ public function handle_bulk_actions( $redirect_to, $action, $ids ) {
263
+ return esc_url_raw( $redirect_to );
264
+ }
265
+
266
+ /**
267
+ * Has the months dropdown enabled?
268
+ *
269
+ * @return bool
270
+ */
271
+ protected function has_months_dropdown_enabled() {
272
+ return false;
273
+ }
274
+
275
+ /**
276
+ * Return the text of the "back to WP List" button.
277
+ * Return empty string if you want to hide the button.
278
+ *
279
+ * @return string
280
+ */
281
+ protected function get_back_to_wp_list_text() {
282
+ $post_type_object = get_post_type_object( $this->post_type );
283
+ $name = ! ! $post_type_object ? get_post_type_labels( $post_type_object )->name : '';
284
+
285
+ // translators: %s is the name of the post type (example Back to "Membership Plans").
286
+ return ! ! $name ? sprintf( __( 'Back to "%s"', 'yith-plugin-fw' ), $name ) : __( 'Back to the list', 'yith-plugin-fw' );
287
+ }
288
+
289
+ /**
290
+ * --------------------------------------------------------------------------
291
+ * Utils hook handlers
292
+ * --------------------------------------------------------------------------
293
+ *
294
+ * Methods for handling hooks.
295
+ */
296
+
297
+ /**
298
+ * Adjust which columns are displayed by default.
299
+ *
300
+ * @param array $hidden Current hidden columns.
301
+ * @param object $screen Current screen.
302
+ *
303
+ * @return array
304
+ */
305
+ public function default_hidden_columns( $hidden, $screen ) {
306
+ if ( isset( $screen->id ) && 'edit-' . $this->post_type === $screen->id ) {
307
+ $hidden = array_merge( $hidden, $this->get_default_hidden_columns() );
308
+ }
309
+
310
+ return $hidden;
311
+ }
312
+
313
+ /**
314
+ * Set list table primary column.
315
+ *
316
+ * @param string $default Default value.
317
+ * @param string $screen_id Current screen ID.
318
+ *
319
+ * @return string
320
+ */
321
+ public function list_table_primary_column( $default, $screen_id ) {
322
+ if ( 'edit-' . $this->post_type === $screen_id && $this->get_primary_column() ) {
323
+ return $this->get_primary_column();
324
+ }
325
+
326
+ return $default;
327
+ }
328
+
329
+ /**
330
+ * Show blank slate.
331
+ *
332
+ * @param string $which String which table-nav is being shown.
333
+ */
334
+ public function maybe_render_blank_state( $which ) {
335
+ global $post_type;
336
+
337
+ if ( $this->get_blank_state_params() && $post_type === $this->post_type && 'bottom' === $which ) {
338
+ $counts = (array) wp_count_posts( $post_type );
339
+ unset( $counts['auto-draft'] );
340
+ $count = array_sum( $counts );
341
+
342
+ if ( 0 < $count ) {
343
+ return;
344
+ }
345
+
346
+ $this->render_blank_state();
347
+
348
+ echo '<style type="text/css">#posts-filter .wp-list-table, #posts-filter .tablenav.top, .tablenav.bottom > *, .wrap .subsubsub { display: none; } #posts-filter .tablenav.bottom { height: auto; display: block } </style>';
349
+ }
350
+ }
351
+
352
+ /**
353
+ * Render blank state. Extend to add content.
354
+ */
355
+ protected function render_blank_state() {
356
+ $component = $this->get_blank_state_params();
357
+ $component['type'] = 'list-table-blank-state';
358
+
359
+ yith_plugin_fw_get_component( $component, true );
360
+ }
361
+
362
+ /**
363
+ * Render individual columns.
364
+ *
365
+ * @param string $column Column ID to render.
366
+ * @param int $post_id Post ID being shown.
367
+ */
368
+ public function render_columns( $column, $post_id ) {
369
+ if ( empty( $this->post_id ) || $this->post_id !== $post_id ) {
370
+ $this->post_id = $post_id;
371
+ $this->prepare_row_data( $post_id );
372
+ }
373
+
374
+ if ( $this->use_object() && ! $this->object ) {
375
+ return;
376
+ }
377
+
378
+ $render_method = 'render_' . str_replace( '-', '_', $column ) . '_column';
379
+
380
+ if ( is_callable( array( $this, $render_method ) ) ) {
381
+ $this->{$render_method}();
382
+ }
383
+ }
384
+
385
+ /**
386
+ * Set row actions: remove row actions, since we show actions through action-buttons.
387
+ *
388
+ * @param array $actions Array of actions.
389
+ * @param WP_Post $post Current post object.
390
+ *
391
+ * @return array
392
+ */
393
+ public function row_actions( $actions, $post ) {
394
+ if ( $this->post_type === $post->post_type ) {
395
+ return array();
396
+ }
397
+
398
+ return $actions;
399
+ }
400
+
401
+ /**
402
+ * See if we should render search filters or not.
403
+ */
404
+ public function maybe_render_filters() {
405
+ global $typenow;
406
+
407
+ if ( $this->post_type === $typenow ) {
408
+ $this->render_filters();
409
+ }
410
+ }
411
+
412
+ /**
413
+ * Handle any filters.
414
+ *
415
+ * @param array $query_vars Query vars.
416
+ *
417
+ * @return array
418
+ */
419
+ public function request_query( $query_vars ) {
420
+ global $typenow;
421
+
422
+ if ( $this->post_type === $typenow ) {
423
+ return $this->query_filters( $query_vars );
424
+ }
425
+
426
+ return $query_vars;
427
+ }
428
+
429
+ /**
430
+ * Disable Months dropdown for Bookings
431
+ *
432
+ * @param bool $disable Set true to disable.
433
+ * @param string $post_type The post type.
434
+ *
435
+ * @return bool
436
+ */
437
+ public function disable_months_dropdown( $disable, $post_type ) {
438
+ if ( $this->post_type === $post_type ) {
439
+ $disable = ! $this->has_months_dropdown_enabled();
440
+ }
441
+
442
+ return $disable;
443
+ }
444
+
445
+ /**
446
+ * Print the "Back to WP List" button in Edit Post pages
447
+ */
448
+ public function print_back_to_wp_list_button() {
449
+ $screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
450
+ $screen_id = $screen ? $screen->id : false;
451
+
452
+ if ( $screen_id === $this->post_type ) {
453
+ $url = add_query_arg( array( 'post_type' => $this->post_type ), admin_url( 'edit.php' ) );
454
+ $text = $this->get_back_to_wp_list_text();
455
+ if ( $text ) {
456
+ ?>
457
+ <div id='yith-plugin-fw__back-to-wp-list__wrapper' class='yith-plugin-fw__back-to-wp-list__wrapper'>
458
+ <a id='yith-plugin-fw__back-to-wp-list' class='yith-plugin-fw__back-to-wp-list' href='<?php echo esc_url( $url ); ?>'><?php echo esc_html( $text ); ?></a>
459
+ </div>
460
+ <script type="text/javascript">
461
+ ( function () {
462
+ var wrap = document.querySelector( '.wrap' ),
463
+ backTo = document.querySelector( '#yith-plugin-fw__back-to-wp-list__wrapper' );
464
+
465
+ wrap.insertBefore( backTo, wrap.childNodes[ 0 ] );
466
+ } )();
467
+ </script>
468
+ <?php
469
+ }
470
+ }
471
+ }
472
+
473
+ }
474
+ }
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.6.10
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
- * @version 3.6.8
11
  * @package YITH\PluginFramework
12
  */
13
 
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.7.0
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
+ * @version 3.7.0
11
  * @package YITH\PluginFramework
12
  */
13
 
plugin-fw/languages/yith-plugin-fw-el.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-el.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-04-12 11:06:33+00:00\n"
8
  "PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
9
  "Language: el_GR\n"
10
  "MIME-Version: 1.0\n"
@@ -13,27 +13,27 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:129
17
  msgid "Clear"
18
  msgstr "Καθαρισμός"
19
 
20
- #: includes/class-yit-assets.php:130
21
  msgid "Clear color"
22
  msgstr "Καθαρισμός χρώματος"
23
 
24
- #: includes/class-yit-assets.php:131
25
  msgid "Default"
26
  msgstr "Προεπιλεγμένο"
27
 
28
- #: includes/class-yit-assets.php:132
29
  msgid "Select default color"
30
  msgstr "Επιλογή προεπιλεγμένου χρώματος"
31
 
32
- #: includes/class-yit-assets.php:133
33
  msgid "Select Color"
34
  msgstr "Επιλογή Χρώματος"
35
 
36
- #: includes/class-yit-assets.php:134
37
  msgid "Color value"
38
  msgstr "Αξία χρώματος"
39
 
@@ -50,18 +50,17 @@ msgstr "Ρυθμίσεις Προσθέτου"
50
  msgid "Settings"
51
  msgstr "Ρυθμίσεις"
52
 
53
- #: includes/class-yit-plugin-panel.php:450
54
- #: includes/class-yit-plugin-panel.php:453
55
  msgid "How to install premium version"
56
  msgstr "Πώς να εγκαταστήσετε την προηγμένη έκδοση"
57
 
58
- #: includes/class-yit-plugin-panel.php:619
59
  #: includes/class-yit-plugin-subpanel.php:132
60
- #: templates/panel/woocommerce/woocommerce-form.php:28
61
  msgid "Save Changes"
62
  msgstr "Αποθήκευση Αλλαγών"
63
 
64
- #: includes/class-yit-plugin-panel.php:624
65
  #: includes/class-yit-plugin-subpanel.php:136
66
  #: templates/panel/woocommerce/woocommerce-form.php:14
67
  msgid ""
@@ -70,74 +69,73 @@ msgstr ""
70
  "Αν συνεχίσετε με αυτή την ενέργεια θα επαναφέρετε όλες τις επιλογές στη "
71
  "σελίδα."
72
 
73
- #: includes/class-yit-plugin-panel.php:624
74
  #: includes/class-yit-plugin-subpanel.php:136
75
  #: templates/panel/woocommerce/woocommerce-form.php:14
76
  msgid "Are you sure?"
77
  msgstr "Είστε σίγουρος;"
78
 
79
- #: includes/class-yit-plugin-panel.php:628
80
  #: includes/class-yit-plugin-subpanel.php:139
81
  msgid "Reset to default"
82
  msgstr "Επαναφορά σε προεπιλεγμένο"
83
 
84
- #: includes/class-yit-plugin-panel.php:865
85
  msgid ""
86
  "The element you have entered already exists. Please, enter another name."
87
  msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
88
 
89
- #: includes/class-yit-plugin-panel.php:866
90
  msgid "Settings saved"
91
  msgstr "Ρυθμίσεις αποθηκεύτηκαν"
92
 
93
- #: includes/class-yit-plugin-panel.php:867
94
  msgid "Settings reset"
95
  msgstr "Επαναφορά ρυθμίσεων"
96
 
97
- #: includes/class-yit-plugin-panel.php:868
98
  msgid "Element deleted correctly."
99
  msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
100
 
101
- #: includes/class-yit-plugin-panel.php:869
102
- #: includes/class-yit-plugin-panel.php:870
103
  msgid "Element updated correctly."
104
  msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
105
 
106
- #: includes/class-yit-plugin-panel.php:871
107
  msgid "Database imported correctly."
108
  msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
109
 
110
- #: includes/class-yit-plugin-panel.php:872
111
  msgid "An error has occurred during import. Please try again."
112
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
113
 
114
- #: includes/class-yit-plugin-panel.php:873
115
  msgid "The added file is not valid."
116
  msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
117
 
118
- #: includes/class-yit-plugin-panel.php:874
119
  msgid "Sorry, import is disabled."
120
  msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
121
 
122
- #: includes/class-yit-plugin-panel.php:875
123
  msgid "Sorting successful."
124
  msgstr "Διαλογή επιτυχής."
125
 
126
- #: includes/class-yit-plugin-panel.php:1343
127
  msgid "We need your support"
128
  msgstr "Χρειαζόμαστε την υποστήριξή σας"
129
 
130
- #: includes/class-yit-plugin-panel.php:1344
131
  msgid "to keep updating and improving the plugin. Please,"
132
  msgstr ""
133
  "για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
134
 
135
- #: includes/class-yit-plugin-panel.php:1346
136
- #, fuzzy
137
  msgid "help us by leaving a good review"
138
- msgstr "βοηθήστε μας αφήνοντας μια βαθμολογία πέντε αστέρων"
139
 
140
- #: includes/class-yit-plugin-panel.php:1347
141
  msgid ":) Thanks!"
142
  msgstr ":) Ευχαριστώ!"
143
 
@@ -189,6 +187,16 @@ msgstr ""
189
  "Παρουσιάστηκε σφάλμα, που πιθανότατα σημαίνει ότι έπεσε το τροφοδοτικό. "
190
  "Προσπαθήστε ξανά αργότερα."
191
 
 
 
 
 
 
 
 
 
 
 
192
  #: includes/class-yith-system-status.php:110
193
  msgid "WordPress Version"
194
  msgstr "Έκδοση WordPress"
@@ -487,7 +495,16 @@ msgstr "Ανέβασμα"
487
  msgid "Reset"
488
  msgstr "Επαναφορά"
489
 
490
- #: templates/panel/woocommerce/woocommerce-form.php:34
 
 
 
 
 
 
 
 
 
491
  msgid "Reset Defaults"
492
  msgstr "Επαναφορά Προεπιλεγμένων"
493
 
@@ -570,7 +587,34 @@ msgstr "Cache εξωτερικού αντικειμένου"
570
  msgid "Plugins Requirements"
571
  msgstr "Προϋποθέσεις Πρόσθετων"
572
 
573
- #: yit-plugin.php:190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
574
  msgid "License"
575
  msgstr "Άδεια χρήσης προϊόντος"
576
 
@@ -589,6 +633,16 @@ msgctxt "[gutenberg]: Category Name"
589
  msgid "YITH"
590
  msgstr "YITH"
591
 
 
 
 
 
 
 
 
 
 
 
592
  #: includes/class-yith-dashboard.php:96
593
  msgctxt "Plugin FW"
594
  msgid "View Changelog"
@@ -693,27 +747,92 @@ msgctxt "YES/NO button: use MAX 4 characters!"
693
  msgid "NO"
694
  msgstr "ΟΧΙ"
695
 
696
- #: yit-plugin.php:78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
697
  msgctxt "Plugin Row Meta"
698
  msgid "Live Demo"
699
  msgstr "Live Demo"
700
 
701
- #: yit-plugin.php:82
702
  msgctxt "Plugin Row Meta"
703
  msgid "Documentation"
704
  msgstr "Εγχειρίδιο χρήσης"
705
 
706
- #: yit-plugin.php:86
707
  msgctxt "Plugin Row Meta"
708
  msgid "Support"
709
  msgstr "Υποστήριξη"
710
 
711
- #: yit-plugin.php:90
712
  msgctxt "Plugin Row Meta"
713
  msgid "Premium version"
714
  msgstr "Premium έκδοση"
715
 
716
- #: yit-plugin.php:186
717
  msgctxt "Action links"
718
  msgid "Settings"
719
  msgstr "Ρυθμίσεις"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-05-20 06:53:10+00:00\n"
8
  "PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
9
  "Language: el_GR\n"
10
  "MIME-Version: 1.0\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:143
17
  msgid "Clear"
18
  msgstr "Καθαρισμός"
19
 
20
+ #: includes/class-yit-assets.php:144
21
  msgid "Clear color"
22
  msgstr "Καθαρισμός χρώματος"
23
 
24
+ #: includes/class-yit-assets.php:145
25
  msgid "Default"
26
  msgstr "Προεπιλεγμένο"
27
 
28
+ #: includes/class-yit-assets.php:146
29
  msgid "Select default color"
30
  msgstr "Επιλογή προεπιλεγμένου χρώματος"
31
 
32
+ #: includes/class-yit-assets.php:147
33
  msgid "Select Color"
34
  msgstr "Επιλογή Χρώματος"
35
 
36
+ #: includes/class-yit-assets.php:148
37
  msgid "Color value"
38
  msgstr "Αξία χρώματος"
39
 
50
  msgid "Settings"
51
  msgstr "Ρυθμίσεις"
52
 
53
+ #: includes/class-yit-plugin-panel.php:451
54
+ #: includes/class-yit-plugin-panel.php:454
55
  msgid "How to install premium version"
56
  msgstr "Πώς να εγκαταστήσετε την προηγμένη έκδοση"
57
 
58
+ #: includes/class-yit-plugin-panel.php:620
59
  #: includes/class-yit-plugin-subpanel.php:132
 
60
  msgid "Save Changes"
61
  msgstr "Αποθήκευση Αλλαγών"
62
 
63
+ #: includes/class-yit-plugin-panel.php:625
64
  #: includes/class-yit-plugin-subpanel.php:136
65
  #: templates/panel/woocommerce/woocommerce-form.php:14
66
  msgid ""
69
  "Αν συνεχίσετε με αυτή την ενέργεια θα επαναφέρετε όλες τις επιλογές στη "
70
  "σελίδα."
71
 
72
+ #: includes/class-yit-plugin-panel.php:625
73
  #: includes/class-yit-plugin-subpanel.php:136
74
  #: templates/panel/woocommerce/woocommerce-form.php:14
75
  msgid "Are you sure?"
76
  msgstr "Είστε σίγουρος;"
77
 
78
+ #: includes/class-yit-plugin-panel.php:629
79
  #: includes/class-yit-plugin-subpanel.php:139
80
  msgid "Reset to default"
81
  msgstr "Επαναφορά σε προεπιλεγμένο"
82
 
83
+ #: includes/class-yit-plugin-panel.php:868
84
  msgid ""
85
  "The element you have entered already exists. Please, enter another name."
86
  msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
87
 
88
+ #: includes/class-yit-plugin-panel.php:869
89
  msgid "Settings saved"
90
  msgstr "Ρυθμίσεις αποθηκεύτηκαν"
91
 
92
+ #: includes/class-yit-plugin-panel.php:870
93
  msgid "Settings reset"
94
  msgstr "Επαναφορά ρυθμίσεων"
95
 
96
+ #: includes/class-yit-plugin-panel.php:871
97
  msgid "Element deleted correctly."
98
  msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
99
 
100
+ #: includes/class-yit-plugin-panel.php:872
101
+ #: includes/class-yit-plugin-panel.php:873
102
  msgid "Element updated correctly."
103
  msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
104
 
105
+ #: includes/class-yit-plugin-panel.php:874
106
  msgid "Database imported correctly."
107
  msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
108
 
109
+ #: includes/class-yit-plugin-panel.php:875
110
  msgid "An error has occurred during import. Please try again."
111
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
112
 
113
+ #: includes/class-yit-plugin-panel.php:876
114
  msgid "The added file is not valid."
115
  msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
116
 
117
+ #: includes/class-yit-plugin-panel.php:877
118
  msgid "Sorry, import is disabled."
119
  msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
120
 
121
+ #: includes/class-yit-plugin-panel.php:878
122
  msgid "Sorting successful."
123
  msgstr "Διαλογή επιτυχής."
124
 
125
+ #: includes/class-yit-plugin-panel.php:1346
126
  msgid "We need your support"
127
  msgstr "Χρειαζόμαστε την υποστήριξή σας"
128
 
129
+ #: includes/class-yit-plugin-panel.php:1347
130
  msgid "to keep updating and improving the plugin. Please,"
131
  msgstr ""
132
  "για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
133
 
134
+ #: includes/class-yit-plugin-panel.php:1349
 
135
  msgid "help us by leaving a good review"
136
+ msgstr ""
137
 
138
+ #: includes/class-yit-plugin-panel.php:1350
139
  msgid ":) Thanks!"
140
  msgstr ":) Ευχαριστώ!"
141
 
187
  "Παρουσιάστηκε σφάλμα, που πιθανότατα σημαίνει ότι έπεσε το τροφοδοτικό. "
188
  "Προσπαθήστε ξανά αργότερα."
189
 
190
+ #. translators: %s is the name of the post type (example Back to "Membership
191
+ #. Plans").
192
+ #: includes/class-yith-post-type-admin.php:286
193
+ msgid "Back to \"%s\""
194
+ msgstr ""
195
+
196
+ #: includes/class-yith-post-type-admin.php:286
197
+ msgid "Back to the list"
198
+ msgstr ""
199
+
200
  #: includes/class-yith-system-status.php:110
201
  msgid "WordPress Version"
202
  msgstr "Έκδοση WordPress"
495
  msgid "Reset"
496
  msgstr "Επαναφορά"
497
 
498
+ #: templates/panel/woocommerce/woocommerce-form.php:28
499
+ #: templates/panel/woocommerce/woocommerce-form.php:32
500
+ msgid "Save Options"
501
+ msgstr ""
502
+
503
+ #: templates/panel/woocommerce/woocommerce-form.php:32
504
+ msgid "Options Saved"
505
+ msgstr ""
506
+
507
+ #: templates/panel/woocommerce/woocommerce-form.php:38
508
  msgid "Reset Defaults"
509
  msgstr "Επαναφορά Προεπιλεγμένων"
510
 
587
  msgid "Plugins Requirements"
588
  msgstr "Προϋποθέσεις Πρόσθετων"
589
 
590
+ #. translators: %s is the title of the post object.
591
+ #: yit-functions.php:1823
592
+ msgid "Are you sure you want to move \"%s\" to trash?"
593
+ msgstr ""
594
+
595
+ #. translators: %s is the title of the post object.
596
+ #: yit-functions.php:1825 yit-functions.php:1983
597
+ msgid "Are you sure you want to delete \"%s\"?"
598
+ msgstr ""
599
+
600
+ #: yit-functions.php:1825 yit-functions.php:1983
601
+ msgid ""
602
+ "This action cannot be undone and you will be not able to recover this data."
603
+ msgstr ""
604
+
605
+ #: yit-functions.php:1891
606
+ msgid "Confirm trash"
607
+ msgstr ""
608
+
609
+ #: yit-functions.php:1908 yit-functions.php:2035
610
+ msgid "Confirm delete"
611
+ msgstr ""
612
+
613
+ #: yit-functions.php:1921 yit-functions.php:1929 yit-functions.php:2046
614
+ msgid "Further actions"
615
+ msgstr ""
616
+
617
+ #: yit-plugin.php:203
618
  msgid "License"
619
  msgstr "Άδεια χρήσης προϊόντος"
620
 
633
  msgid "YITH"
634
  msgstr "YITH"
635
 
636
+ #: includes/class-yit-assets.php:131
637
+ msgctxt "Button text"
638
+ msgid "Confirm"
639
+ msgstr ""
640
+
641
+ #: includes/class-yit-assets.php:132
642
+ msgctxt "Button text"
643
+ msgid "Cancel"
644
+ msgstr ""
645
+
646
  #: includes/class-yith-dashboard.php:96
647
  msgctxt "Plugin FW"
648
  msgid "View Changelog"
747
  msgid "NO"
748
  msgstr "ΟΧΙ"
749
 
750
+ #: yit-functions.php:1837
751
+ msgctxt "Post action"
752
+ msgid "Preview"
753
+ msgstr ""
754
+
755
+ #: yit-functions.php:1846
756
+ msgctxt "Post action"
757
+ msgid "View"
758
+ msgstr ""
759
+
760
+ #: yit-functions.php:1857
761
+ msgctxt "Post action"
762
+ msgid "Edit"
763
+ msgstr ""
764
+
765
+ #: yit-functions.php:1865
766
+ msgctxt "Post action"
767
+ msgid "Duplicate"
768
+ msgstr ""
769
+
770
+ #: yit-functions.php:1877
771
+ msgctxt "Post action"
772
+ msgid "Restore"
773
+ msgstr ""
774
+
775
+ #: yit-functions.php:1885
776
+ msgctxt "Post action"
777
+ msgid "Trash"
778
+ msgstr ""
779
+
780
+ #: yit-functions.php:1901
781
+ msgctxt "Post action"
782
+ msgid "Delete Permanently"
783
+ msgstr ""
784
+
785
+ #: yit-functions.php:1893
786
+ msgctxt "Trash confirmation action"
787
+ msgid "Yes, trash"
788
+ msgstr ""
789
+
790
+ #: yit-functions.php:1910 yit-functions.php:2037
791
+ msgctxt "Delete confirmation action"
792
+ msgid "Yes, delete"
793
+ msgstr ""
794
+
795
+ #: yit-functions.php:1997
796
+ msgctxt "Term action"
797
+ msgid "View"
798
+ msgstr ""
799
+
800
+ #: yit-functions.php:2007
801
+ msgctxt "Term action"
802
+ msgid "Edit"
803
+ msgstr ""
804
+
805
+ #: yit-functions.php:2015
806
+ msgctxt "Term action"
807
+ msgid "Duplicate"
808
+ msgstr ""
809
+
810
+ #: yit-functions.php:2028
811
+ msgctxt "Term action"
812
+ msgid "Delete"
813
+ msgstr ""
814
+
815
+ #: yit-plugin.php:84
816
  msgctxt "Plugin Row Meta"
817
  msgid "Live Demo"
818
  msgstr "Live Demo"
819
 
820
+ #: yit-plugin.php:88
821
  msgctxt "Plugin Row Meta"
822
  msgid "Documentation"
823
  msgstr "Εγχειρίδιο χρήσης"
824
 
825
+ #: yit-plugin.php:92
826
  msgctxt "Plugin Row Meta"
827
  msgid "Support"
828
  msgstr "Υποστήριξη"
829
 
830
+ #: yit-plugin.php:96
831
  msgctxt "Plugin Row Meta"
832
  msgid "Premium version"
833
  msgstr "Premium έκδοση"
834
 
835
+ #: yit-plugin.php:199
836
  msgctxt "Action links"
837
  msgid "Settings"
838
  msgstr "Ρυθμίσεις"
plugin-fw/languages/yith-plugin-fw-es_ES.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-es_ES.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-04-12 11:06:33+00:00\n"
8
- "PO-Revision-Date: 2021-03-15 15:43:52+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -13,27 +13,27 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:129
17
  msgid "Clear"
18
  msgstr "Borrar"
19
 
20
- #: includes/class-yit-assets.php:130
21
  msgid "Clear color"
22
  msgstr "Borrar color"
23
 
24
- #: includes/class-yit-assets.php:131
25
  msgid "Default"
26
  msgstr "Predeterminado"
27
 
28
- #: includes/class-yit-assets.php:132
29
  msgid "Select default color"
30
  msgstr "Seleccionar color predeterminado"
31
 
32
- #: includes/class-yit-assets.php:133
33
  msgid "Select Color"
34
  msgstr "Seleccionar color"
35
 
36
- #: includes/class-yit-assets.php:134
37
  msgid "Color value"
38
  msgstr "Valor del color"
39
 
@@ -49,18 +49,17 @@ msgstr "Ajustes del plugin"
49
  msgid "Settings"
50
  msgstr "Ajustes"
51
 
52
- #: includes/class-yit-plugin-panel.php:450
53
- #: includes/class-yit-plugin-panel.php:453
54
  msgid "How to install premium version"
55
  msgstr "Cómo instalar la versión premium"
56
 
57
- #: includes/class-yit-plugin-panel.php:619
58
  #: includes/class-yit-plugin-subpanel.php:132
59
- #: templates/panel/woocommerce/woocommerce-form.php:28
60
  msgid "Save Changes"
61
  msgstr "Guardar cambios"
62
 
63
- #: includes/class-yit-plugin-panel.php:624
64
  #: includes/class-yit-plugin-subpanel.php:136
65
  #: templates/panel/woocommerce/woocommerce-form.php:14
66
  msgid ""
@@ -69,75 +68,74 @@ msgstr ""
69
  "Si continúas con esta acción, restablecerás todas las opciones en esta "
70
  "página."
71
 
72
- #: includes/class-yit-plugin-panel.php:624
73
  #: includes/class-yit-plugin-subpanel.php:136
74
  #: templates/panel/woocommerce/woocommerce-form.php:14
75
  msgid "Are you sure?"
76
  msgstr "¿Estás seguro?"
77
 
78
- #: includes/class-yit-plugin-panel.php:628
79
  #: includes/class-yit-plugin-subpanel.php:139
80
  msgid "Reset to default"
81
  msgstr "Restablecer valores predeterminados"
82
 
83
- #: includes/class-yit-plugin-panel.php:865
84
  msgid ""
85
  "The element you have entered already exists. Please, enter another name."
86
  msgstr ""
87
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
88
 
89
- #: includes/class-yit-plugin-panel.php:866
90
  msgid "Settings saved"
91
  msgstr "Ajustes guardados"
92
 
93
- #: includes/class-yit-plugin-panel.php:867
94
  msgid "Settings reset"
95
  msgstr "Restablecer ajustes"
96
 
97
- #: includes/class-yit-plugin-panel.php:868
98
  msgid "Element deleted correctly."
99
  msgstr "Elemento eliminado correctamente."
100
 
101
- #: includes/class-yit-plugin-panel.php:869
102
- #: includes/class-yit-plugin-panel.php:870
103
  msgid "Element updated correctly."
104
  msgstr "Elemento actualizado correctamente."
105
 
106
- #: includes/class-yit-plugin-panel.php:871
107
  msgid "Database imported correctly."
108
  msgstr "Base de datos importada correctamente."
109
 
110
- #: includes/class-yit-plugin-panel.php:872
111
  msgid "An error has occurred during import. Please try again."
112
  msgstr ""
113
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
114
 
115
- #: includes/class-yit-plugin-panel.php:873
116
  msgid "The added file is not valid."
117
  msgstr "El archivo añadido no es válido."
118
 
119
- #: includes/class-yit-plugin-panel.php:874
120
  msgid "Sorry, import is disabled."
121
  msgstr "Lo siento, la importación está desactivada."
122
 
123
- #: includes/class-yit-plugin-panel.php:875
124
  msgid "Sorting successful."
125
  msgstr "Clasificación realizada con éxito"
126
 
127
- #: includes/class-yit-plugin-panel.php:1343
128
  msgid "We need your support"
129
  msgstr "Necesitamos tu apoyo"
130
 
131
- #: includes/class-yit-plugin-panel.php:1344
132
  msgid "to keep updating and improving the plugin. Please,"
133
  msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
134
 
135
- #: includes/class-yit-plugin-panel.php:1346
136
- #, fuzzy
137
  msgid "help us by leaving a good review"
138
- msgstr "ayúdanos con una valoración de cinco estrellas"
139
 
140
- #: includes/class-yit-plugin-panel.php:1347
141
  msgid ":) Thanks!"
142
  msgstr ":) ¡Gracias!"
143
 
@@ -198,6 +196,16 @@ msgstr ""
198
  "Ha ocurrido un error, lo que puede que signifique que el feed ha caído. "
199
  "Inténtalo de nuevo más tarde."
200
 
 
 
 
 
 
 
 
 
 
 
201
  #: includes/class-yith-system-status.php:110
202
  msgid "WordPress Version"
203
  msgstr "Versión de WordPress"
@@ -494,7 +502,16 @@ msgstr "Subir"
494
  msgid "Reset"
495
  msgstr "Restablecer"
496
 
497
- #: templates/panel/woocommerce/woocommerce-form.php:34
 
 
 
 
 
 
 
 
 
498
  msgid "Reset Defaults"
499
  msgstr "Restablecer valores predeterminados"
500
 
@@ -576,7 +593,34 @@ msgstr "Caché objeto externo"
576
  msgid "Plugins Requirements"
577
  msgstr "Requerimientos de los plugins"
578
 
579
- #: yit-plugin.php:190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
580
  msgid "License"
581
  msgstr "Licencia"
582
 
@@ -595,6 +639,16 @@ msgctxt "[gutenberg]: Category Name"
595
  msgid "YITH"
596
  msgstr "YITH"
597
 
 
 
 
 
 
 
 
 
 
 
598
  #: includes/class-yith-dashboard.php:96
599
  msgctxt "Plugin FW"
600
  msgid "View Changelog"
@@ -697,27 +751,92 @@ msgctxt "YES/NO button: use MAX 4 characters!"
697
  msgid "NO"
698
  msgstr "NO"
699
 
700
- #: yit-plugin.php:78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
701
  msgctxt "Plugin Row Meta"
702
  msgid "Live Demo"
703
  msgstr "Demostración en vivo"
704
 
705
- #: yit-plugin.php:82
706
  msgctxt "Plugin Row Meta"
707
  msgid "Documentation"
708
  msgstr "Documentación"
709
 
710
- #: yit-plugin.php:86
711
  msgctxt "Plugin Row Meta"
712
  msgid "Support"
713
  msgstr "Soporte"
714
 
715
- #: yit-plugin.php:90
716
  msgctxt "Plugin Row Meta"
717
  msgid "Premium version"
718
  msgstr "Versión premium"
719
 
720
- #: yit-plugin.php:186
721
  msgctxt "Action links"
722
  msgid "Settings"
723
  msgstr "Ajustes"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-05-20 06:53:10+00:00\n"
8
+ "PO-Revision-Date: 2021-05-17 07:56:00+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:143
17
  msgid "Clear"
18
  msgstr "Borrar"
19
 
20
+ #: includes/class-yit-assets.php:144
21
  msgid "Clear color"
22
  msgstr "Borrar color"
23
 
24
+ #: includes/class-yit-assets.php:145
25
  msgid "Default"
26
  msgstr "Predeterminado"
27
 
28
+ #: includes/class-yit-assets.php:146
29
  msgid "Select default color"
30
  msgstr "Seleccionar color predeterminado"
31
 
32
+ #: includes/class-yit-assets.php:147
33
  msgid "Select Color"
34
  msgstr "Seleccionar color"
35
 
36
+ #: includes/class-yit-assets.php:148
37
  msgid "Color value"
38
  msgstr "Valor del color"
39
 
49
  msgid "Settings"
50
  msgstr "Ajustes"
51
 
52
+ #: includes/class-yit-plugin-panel.php:451
53
+ #: includes/class-yit-plugin-panel.php:454
54
  msgid "How to install premium version"
55
  msgstr "Cómo instalar la versión premium"
56
 
57
+ #: includes/class-yit-plugin-panel.php:620
58
  #: includes/class-yit-plugin-subpanel.php:132
 
59
  msgid "Save Changes"
60
  msgstr "Guardar cambios"
61
 
62
+ #: includes/class-yit-plugin-panel.php:625
63
  #: includes/class-yit-plugin-subpanel.php:136
64
  #: templates/panel/woocommerce/woocommerce-form.php:14
65
  msgid ""
68
  "Si continúas con esta acción, restablecerás todas las opciones en esta "
69
  "página."
70
 
71
+ #: includes/class-yit-plugin-panel.php:625
72
  #: includes/class-yit-plugin-subpanel.php:136
73
  #: templates/panel/woocommerce/woocommerce-form.php:14
74
  msgid "Are you sure?"
75
  msgstr "¿Estás seguro?"
76
 
77
+ #: includes/class-yit-plugin-panel.php:629
78
  #: includes/class-yit-plugin-subpanel.php:139
79
  msgid "Reset to default"
80
  msgstr "Restablecer valores predeterminados"
81
 
82
+ #: includes/class-yit-plugin-panel.php:868
83
  msgid ""
84
  "The element you have entered already exists. Please, enter another name."
85
  msgstr ""
86
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
87
 
88
+ #: includes/class-yit-plugin-panel.php:869
89
  msgid "Settings saved"
90
  msgstr "Ajustes guardados"
91
 
92
+ #: includes/class-yit-plugin-panel.php:870
93
  msgid "Settings reset"
94
  msgstr "Restablecer ajustes"
95
 
96
+ #: includes/class-yit-plugin-panel.php:871
97
  msgid "Element deleted correctly."
98
  msgstr "Elemento eliminado correctamente."
99
 
100
+ #: includes/class-yit-plugin-panel.php:872
101
+ #: includes/class-yit-plugin-panel.php:873
102
  msgid "Element updated correctly."
103
  msgstr "Elemento actualizado correctamente."
104
 
105
+ #: includes/class-yit-plugin-panel.php:874
106
  msgid "Database imported correctly."
107
  msgstr "Base de datos importada correctamente."
108
 
109
+ #: includes/class-yit-plugin-panel.php:875
110
  msgid "An error has occurred during import. Please try again."
111
  msgstr ""
112
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
113
 
114
+ #: includes/class-yit-plugin-panel.php:876
115
  msgid "The added file is not valid."
116
  msgstr "El archivo añadido no es válido."
117
 
118
+ #: includes/class-yit-plugin-panel.php:877
119
  msgid "Sorry, import is disabled."
120
  msgstr "Lo siento, la importación está desactivada."
121
 
122
+ #: includes/class-yit-plugin-panel.php:878
123
  msgid "Sorting successful."
124
  msgstr "Clasificación realizada con éxito"
125
 
126
+ #: includes/class-yit-plugin-panel.php:1346
127
  msgid "We need your support"
128
  msgstr "Necesitamos tu apoyo"
129
 
130
+ #: includes/class-yit-plugin-panel.php:1347
131
  msgid "to keep updating and improving the plugin. Please,"
132
  msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
133
 
134
+ #: includes/class-yit-plugin-panel.php:1349
 
135
  msgid "help us by leaving a good review"
136
+ msgstr "ayúdanos dejando una buena valoración"
137
 
138
+ #: includes/class-yit-plugin-panel.php:1350
139
  msgid ":) Thanks!"
140
  msgstr ":) ¡Gracias!"
141
 
196
  "Ha ocurrido un error, lo que puede que signifique que el feed ha caído. "
197
  "Inténtalo de nuevo más tarde."
198
 
199
+ #. translators: %s is the name of the post type (example Back to "Membership
200
+ #. Plans").
201
+ #: includes/class-yith-post-type-admin.php:286
202
+ msgid "Back to \"%s\""
203
+ msgstr "Volver a \"%s\""
204
+
205
+ #: includes/class-yith-post-type-admin.php:286
206
+ msgid "Back to the list"
207
+ msgstr "Volver a la lista"
208
+
209
  #: includes/class-yith-system-status.php:110
210
  msgid "WordPress Version"
211
  msgstr "Versión de WordPress"
502
  msgid "Reset"
503
  msgstr "Restablecer"
504
 
505
+ #: templates/panel/woocommerce/woocommerce-form.php:28
506
+ #: templates/panel/woocommerce/woocommerce-form.php:32
507
+ msgid "Save Options"
508
+ msgstr "Guardar Opciones"
509
+
510
+ #: templates/panel/woocommerce/woocommerce-form.php:32
511
+ msgid "Options Saved"
512
+ msgstr "Opciones guardadas"
513
+
514
+ #: templates/panel/woocommerce/woocommerce-form.php:38
515
  msgid "Reset Defaults"
516
  msgstr "Restablecer valores predeterminados"
517
 
593
  msgid "Plugins Requirements"
594
  msgstr "Requerimientos de los plugins"
595
 
596
+ #. translators: %s is the title of the post object.
597
+ #: yit-functions.php:1823
598
+ msgid "Are you sure you want to move \"%s\" to trash?"
599
+ msgstr "¿Estás seguro de que quieres mover \"%s\" a la papelera?"
600
+
601
+ #. translators: %s is the title of the post object.
602
+ #: yit-functions.php:1825 yit-functions.php:1983
603
+ msgid "Are you sure you want to delete \"%s\"?"
604
+ msgstr "¿Estás seguro de que quieres borrar \"%s\"?"
605
+
606
+ #: yit-functions.php:1825 yit-functions.php:1983
607
+ msgid ""
608
+ "This action cannot be undone and you will be not able to recover this data."
609
+ msgstr "Esta acción no se puede revertir y no podrá recuperar estos datos."
610
+
611
+ #: yit-functions.php:1891
612
+ msgid "Confirm trash"
613
+ msgstr "Confirmar el traslado a la papelera"
614
+
615
+ #: yit-functions.php:1908 yit-functions.php:2035
616
+ msgid "Confirm delete"
617
+ msgstr "Confirmar el borrado"
618
+
619
+ #: yit-functions.php:1921 yit-functions.php:1929 yit-functions.php:2046
620
+ msgid "Further actions"
621
+ msgstr "Otras acciones"
622
+
623
+ #: yit-plugin.php:203
624
  msgid "License"
625
  msgstr "Licencia"
626
 
639
  msgid "YITH"
640
  msgstr "YITH"
641
 
642
+ #: includes/class-yit-assets.php:131
643
+ msgctxt "Button text"
644
+ msgid "Confirm"
645
+ msgstr "Confirmar"
646
+
647
+ #: includes/class-yit-assets.php:132
648
+ msgctxt "Button text"
649
+ msgid "Cancel"
650
+ msgstr "Cancelar"
651
+
652
  #: includes/class-yith-dashboard.php:96
653
  msgctxt "Plugin FW"
654
  msgid "View Changelog"
751
  msgid "NO"
752
  msgstr "NO"
753
 
754
+ #: yit-functions.php:1837
755
+ msgctxt "Post action"
756
+ msgid "Preview"
757
+ msgstr "Previsualizar"
758
+
759
+ #: yit-functions.php:1846
760
+ msgctxt "Post action"
761
+ msgid "View"
762
+ msgstr "Ver"
763
+
764
+ #: yit-functions.php:1857
765
+ msgctxt "Post action"
766
+ msgid "Edit"
767
+ msgstr "Editar"
768
+
769
+ #: yit-functions.php:1865
770
+ msgctxt "Post action"
771
+ msgid "Duplicate"
772
+ msgstr "Duplicar"
773
+
774
+ #: yit-functions.php:1877
775
+ msgctxt "Post action"
776
+ msgid "Restore"
777
+ msgstr "Restaurar"
778
+
779
+ #: yit-functions.php:1885
780
+ msgctxt "Post action"
781
+ msgid "Trash"
782
+ msgstr "A la papelera"
783
+
784
+ #: yit-functions.php:1901
785
+ msgctxt "Post action"
786
+ msgid "Delete Permanently"
787
+ msgstr "Borrar permanentemente"
788
+
789
+ #: yit-functions.php:1893
790
+ msgctxt "Trash confirmation action"
791
+ msgid "Yes, trash"
792
+ msgstr "Si, a la papelera"
793
+
794
+ #: yit-functions.php:1910 yit-functions.php:2037
795
+ msgctxt "Delete confirmation action"
796
+ msgid "Yes, delete"
797
+ msgstr "Si, borrar"
798
+
799
+ #: yit-functions.php:1997
800
+ msgctxt "Term action"
801
+ msgid "View"
802
+ msgstr "Ver"
803
+
804
+ #: yit-functions.php:2007
805
+ msgctxt "Term action"
806
+ msgid "Edit"
807
+ msgstr "Editar"
808
+
809
+ #: yit-functions.php:2015
810
+ msgctxt "Term action"
811
+ msgid "Duplicate"
812
+ msgstr "Duplicar"
813
+
814
+ #: yit-functions.php:2028
815
+ msgctxt "Term action"
816
+ msgid "Delete"
817
+ msgstr "Borrar"
818
+
819
+ #: yit-plugin.php:84
820
  msgctxt "Plugin Row Meta"
821
  msgid "Live Demo"
822
  msgstr "Demostración en vivo"
823
 
824
+ #: yit-plugin.php:88
825
  msgctxt "Plugin Row Meta"
826
  msgid "Documentation"
827
  msgstr "Documentación"
828
 
829
+ #: yit-plugin.php:92
830
  msgctxt "Plugin Row Meta"
831
  msgid "Support"
832
  msgstr "Soporte"
833
 
834
+ #: yit-plugin.php:96
835
  msgctxt "Plugin Row Meta"
836
  msgid "Premium version"
837
  msgstr "Versión premium"
838
 
839
+ #: yit-plugin.php:199
840
  msgctxt "Action links"
841
  msgid "Settings"
842
  msgstr "Ajustes"
plugin-fw/languages/yith-plugin-fw-it_IT.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-it_IT.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-04-12 11:06:33+00:00\n"
8
- "PO-Revision-Date: 2021-04-02 11:09:29+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -13,27 +13,27 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:129
17
  msgid "Clear"
18
  msgstr "Rimuovi"
19
 
20
- #: includes/class-yit-assets.php:130
21
  msgid "Clear color"
22
  msgstr "Rimuovi colore"
23
 
24
- #: includes/class-yit-assets.php:131
25
  msgid "Default"
26
  msgstr "Predefinito"
27
 
28
- #: includes/class-yit-assets.php:132
29
  msgid "Select default color"
30
  msgstr "Seleziona il colore predefinito"
31
 
32
- #: includes/class-yit-assets.php:133
33
  msgid "Select Color"
34
  msgstr "Seleziona il colore"
35
 
36
- #: includes/class-yit-assets.php:134
37
  msgid "Color value"
38
  msgstr "Valore del colore"
39
 
@@ -49,18 +49,17 @@ msgstr "Impostazioni plugin"
49
  msgid "Settings"
50
  msgstr "Impostazioni"
51
 
52
- #: includes/class-yit-plugin-panel.php:450
53
- #: includes/class-yit-plugin-panel.php:453
54
  msgid "How to install premium version"
55
  msgstr "Come installare la versione premium"
56
 
57
- #: includes/class-yit-plugin-panel.php:619
58
  #: includes/class-yit-plugin-subpanel.php:132
59
- #: templates/panel/woocommerce/woocommerce-form.php:28
60
  msgid "Save Changes"
61
  msgstr "Salva modifiche"
62
 
63
- #: includes/class-yit-plugin-panel.php:624
64
  #: includes/class-yit-plugin-subpanel.php:136
65
  #: templates/panel/woocommerce/woocommerce-form.php:14
66
  msgid ""
@@ -69,73 +68,72 @@ msgstr ""
69
  "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
70
  "reimpostate."
71
 
72
- #: includes/class-yit-plugin-panel.php:624
73
  #: includes/class-yit-plugin-subpanel.php:136
74
  #: templates/panel/woocommerce/woocommerce-form.php:14
75
  msgid "Are you sure?"
76
  msgstr "Sei sicuro?"
77
 
78
- #: includes/class-yit-plugin-panel.php:628
79
  #: includes/class-yit-plugin-subpanel.php:139
80
  msgid "Reset to default"
81
  msgstr "Ripristina configurazione predefinita"
82
 
83
- #: includes/class-yit-plugin-panel.php:865
84
  msgid ""
85
  "The element you have entered already exists. Please, enter another name."
86
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
87
 
88
- #: includes/class-yit-plugin-panel.php:866
89
  msgid "Settings saved"
90
  msgstr "Impostazioni salvate"
91
 
92
- #: includes/class-yit-plugin-panel.php:867
93
  msgid "Settings reset"
94
  msgstr "Impostazioni azzerate"
95
 
96
- #: includes/class-yit-plugin-panel.php:868
97
  msgid "Element deleted correctly."
98
  msgstr "Elemento rimosso correttamente."
99
 
100
- #: includes/class-yit-plugin-panel.php:869
101
- #: includes/class-yit-plugin-panel.php:870
102
  msgid "Element updated correctly."
103
  msgstr "Elemento aggiornato correttamente."
104
 
105
- #: includes/class-yit-plugin-panel.php:871
106
  msgid "Database imported correctly."
107
  msgstr "Database importato correttamente."
108
 
109
- #: includes/class-yit-plugin-panel.php:872
110
  msgid "An error has occurred during import. Please try again."
111
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
112
 
113
- #: includes/class-yit-plugin-panel.php:873
114
  msgid "The added file is not valid."
115
  msgstr "Il file aggiunto non è valido."
116
 
117
- #: includes/class-yit-plugin-panel.php:874
118
  msgid "Sorry, import is disabled."
119
  msgstr "Ci dispiace, l'importazione è disabilitata."
120
 
121
- #: includes/class-yit-plugin-panel.php:875
122
  msgid "Sorting successful."
123
  msgstr "Ordinamento effettuato con successo."
124
 
125
- #: includes/class-yit-plugin-panel.php:1343
126
  msgid "We need your support"
127
  msgstr "Abbiamo bisogno del tuo sostegno"
128
 
129
- #: includes/class-yit-plugin-panel.php:1344
130
  msgid "to keep updating and improving the plugin. Please,"
131
  msgstr "per poter continuare ad aggiornare e migliorare il plugin."
132
 
133
- #: includes/class-yit-plugin-panel.php:1346
134
- #, fuzzy
135
  msgid "help us by leaving a good review"
136
- msgstr "Puoi darci una mano lasciando una recensione a 5 stelle"
137
 
138
- #: includes/class-yit-plugin-panel.php:1347
139
  msgid ":) Thanks!"
140
  msgstr ":) Grazie!"
141
 
@@ -195,6 +193,16 @@ msgstr ""
195
  "Si è verificato un errore probabilmente causato dal feed non disponibile. "
196
  "Riprova più tardi."
197
 
 
 
 
 
 
 
 
 
 
 
198
  #: includes/class-yith-system-status.php:110
199
  msgid "WordPress Version"
200
  msgstr "Versione di WordPress"
@@ -425,7 +433,7 @@ msgstr "Personalizzato:"
425
 
426
  #: templates/fields/date-format.php:70
427
  msgid "Preview:"
428
- msgstr "Anteprima"
429
 
430
  #: templates/fields/icons.php:63
431
  msgid "Set Default"
@@ -492,7 +500,16 @@ msgstr "Carica"
492
  msgid "Reset"
493
  msgstr "Ripristina"
494
 
495
- #: templates/panel/woocommerce/woocommerce-form.php:34
 
 
 
 
 
 
 
 
 
496
  msgid "Reset Defaults"
497
  msgstr "Ripristina impostazioni iniziali"
498
 
@@ -576,7 +593,36 @@ msgstr "External object cache"
576
  msgid "Plugins Requirements"
577
  msgstr "Requisiti plugin"
578
 
579
- #: yit-plugin.php:190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
580
  msgid "License"
581
  msgstr "Chiave di licenza"
582
 
@@ -595,6 +641,16 @@ msgctxt "[gutenberg]: Category Name"
595
  msgid "YITH"
596
  msgstr "YITH"
597
 
 
 
 
 
 
 
 
 
 
 
598
  #: includes/class-yith-dashboard.php:96
599
  msgctxt "Plugin FW"
600
  msgid "View Changelog"
@@ -698,27 +754,92 @@ msgctxt "YES/NO button: use MAX 4 characters!"
698
  msgid "NO"
699
  msgstr "NO"
700
 
701
- #: yit-plugin.php:78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
702
  msgctxt "Plugin Row Meta"
703
  msgid "Live Demo"
704
  msgstr "Live Demo"
705
 
706
- #: yit-plugin.php:82
707
  msgctxt "Plugin Row Meta"
708
  msgid "Documentation"
709
  msgstr "Documentazione"
710
 
711
- #: yit-plugin.php:86
712
  msgctxt "Plugin Row Meta"
713
  msgid "Support"
714
  msgstr "Assistenza"
715
 
716
- #: yit-plugin.php:90
717
  msgctxt "Plugin Row Meta"
718
  msgid "Premium version"
719
  msgstr "Versione premium"
720
 
721
- #: yit-plugin.php:186
722
  msgctxt "Action links"
723
  msgid "Settings"
724
  msgstr "Impostazioni"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-05-20 06:53:10+00:00\n"
8
+ "PO-Revision-Date: 2021-05-17 07:27:22+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:143
17
  msgid "Clear"
18
  msgstr "Rimuovi"
19
 
20
+ #: includes/class-yit-assets.php:144
21
  msgid "Clear color"
22
  msgstr "Rimuovi colore"
23
 
24
+ #: includes/class-yit-assets.php:145
25
  msgid "Default"
26
  msgstr "Predefinito"
27
 
28
+ #: includes/class-yit-assets.php:146
29
  msgid "Select default color"
30
  msgstr "Seleziona il colore predefinito"
31
 
32
+ #: includes/class-yit-assets.php:147
33
  msgid "Select Color"
34
  msgstr "Seleziona il colore"
35
 
36
+ #: includes/class-yit-assets.php:148
37
  msgid "Color value"
38
  msgstr "Valore del colore"
39
 
49
  msgid "Settings"
50
  msgstr "Impostazioni"
51
 
52
+ #: includes/class-yit-plugin-panel.php:451
53
+ #: includes/class-yit-plugin-panel.php:454
54
  msgid "How to install premium version"
55
  msgstr "Come installare la versione premium"
56
 
57
+ #: includes/class-yit-plugin-panel.php:620
58
  #: includes/class-yit-plugin-subpanel.php:132
 
59
  msgid "Save Changes"
60
  msgstr "Salva modifiche"
61
 
62
+ #: includes/class-yit-plugin-panel.php:625
63
  #: includes/class-yit-plugin-subpanel.php:136
64
  #: templates/panel/woocommerce/woocommerce-form.php:14
65
  msgid ""
68
  "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
69
  "reimpostate."
70
 
71
+ #: includes/class-yit-plugin-panel.php:625
72
  #: includes/class-yit-plugin-subpanel.php:136
73
  #: templates/panel/woocommerce/woocommerce-form.php:14
74
  msgid "Are you sure?"
75
  msgstr "Sei sicuro?"
76
 
77
+ #: includes/class-yit-plugin-panel.php:629
78
  #: includes/class-yit-plugin-subpanel.php:139
79
  msgid "Reset to default"
80
  msgstr "Ripristina configurazione predefinita"
81
 
82
+ #: includes/class-yit-plugin-panel.php:868
83
  msgid ""
84
  "The element you have entered already exists. Please, enter another name."
85
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
86
 
87
+ #: includes/class-yit-plugin-panel.php:869
88
  msgid "Settings saved"
89
  msgstr "Impostazioni salvate"
90
 
91
+ #: includes/class-yit-plugin-panel.php:870
92
  msgid "Settings reset"
93
  msgstr "Impostazioni azzerate"
94
 
95
+ #: includes/class-yit-plugin-panel.php:871
96
  msgid "Element deleted correctly."
97
  msgstr "Elemento rimosso correttamente."
98
 
99
+ #: includes/class-yit-plugin-panel.php:872
100
+ #: includes/class-yit-plugin-panel.php:873
101
  msgid "Element updated correctly."
102
  msgstr "Elemento aggiornato correttamente."
103
 
104
+ #: includes/class-yit-plugin-panel.php:874
105
  msgid "Database imported correctly."
106
  msgstr "Database importato correttamente."
107
 
108
+ #: includes/class-yit-plugin-panel.php:875
109
  msgid "An error has occurred during import. Please try again."
110
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
111
 
112
+ #: includes/class-yit-plugin-panel.php:876
113
  msgid "The added file is not valid."
114
  msgstr "Il file aggiunto non è valido."
115
 
116
+ #: includes/class-yit-plugin-panel.php:877
117
  msgid "Sorry, import is disabled."
118
  msgstr "Ci dispiace, l'importazione è disabilitata."
119
 
120
+ #: includes/class-yit-plugin-panel.php:878
121
  msgid "Sorting successful."
122
  msgstr "Ordinamento effettuato con successo."
123
 
124
+ #: includes/class-yit-plugin-panel.php:1346
125
  msgid "We need your support"
126
  msgstr "Abbiamo bisogno del tuo sostegno"
127
 
128
+ #: includes/class-yit-plugin-panel.php:1347
129
  msgid "to keep updating and improving the plugin. Please,"
130
  msgstr "per poter continuare ad aggiornare e migliorare il plugin."
131
 
132
+ #: includes/class-yit-plugin-panel.php:1349
 
133
  msgid "help us by leaving a good review"
134
+ msgstr "Puoi darci una mano lasciando una recensione positiva"
135
 
136
+ #: includes/class-yit-plugin-panel.php:1350
137
  msgid ":) Thanks!"
138
  msgstr ":) Grazie!"
139
 
193
  "Si è verificato un errore probabilmente causato dal feed non disponibile. "
194
  "Riprova più tardi."
195
 
196
+ #. translators: %s is the name of the post type (example Back to "Membership
197
+ #. Plans").
198
+ #: includes/class-yith-post-type-admin.php:286
199
+ msgid "Back to \"%s\""
200
+ msgstr "Torna a \"%s\""
201
+
202
+ #: includes/class-yith-post-type-admin.php:286
203
+ msgid "Back to the list"
204
+ msgstr "Torna all'elenco"
205
+
206
  #: includes/class-yith-system-status.php:110
207
  msgid "WordPress Version"
208
  msgstr "Versione di WordPress"
433
 
434
  #: templates/fields/date-format.php:70
435
  msgid "Preview:"
436
+ msgstr "Anteprima:"
437
 
438
  #: templates/fields/icons.php:63
439
  msgid "Set Default"
500
  msgid "Reset"
501
  msgstr "Ripristina"
502
 
503
+ #: templates/panel/woocommerce/woocommerce-form.php:28
504
+ #: templates/panel/woocommerce/woocommerce-form.php:32
505
+ msgid "Save Options"
506
+ msgstr "Salva le opzioni"
507
+
508
+ #: templates/panel/woocommerce/woocommerce-form.php:32
509
+ msgid "Options Saved"
510
+ msgstr "Opzioni salvate"
511
+
512
+ #: templates/panel/woocommerce/woocommerce-form.php:38
513
  msgid "Reset Defaults"
514
  msgstr "Ripristina impostazioni iniziali"
515
 
593
  msgid "Plugins Requirements"
594
  msgstr "Requisiti plugin"
595
 
596
+ #. translators: %s is the title of the post object.
597
+ #: yit-functions.php:1823
598
+ msgid "Are you sure you want to move \"%s\" to trash?"
599
+ msgstr "Sei sicuro di voler spostare \"%s\" nel cestino?"
600
+
601
+ #. translators: %s is the title of the post object.
602
+ #: yit-functions.php:1825 yit-functions.php:1983
603
+ msgid "Are you sure you want to delete \"%s\"?"
604
+ msgstr "Sei sicuro di voler eliminare \"%s\"?"
605
+
606
+ #: yit-functions.php:1825 yit-functions.php:1983
607
+ msgid ""
608
+ "This action cannot be undone and you will be not able to recover this data."
609
+ msgstr ""
610
+ "Quest'azione non può essere annullata e non sarà possibile recuperare questi "
611
+ "dati."
612
+
613
+ #: yit-functions.php:1891
614
+ msgid "Confirm trash"
615
+ msgstr "Conferma eliminazione"
616
+
617
+ #: yit-functions.php:1908 yit-functions.php:2035
618
+ msgid "Confirm delete"
619
+ msgstr "Conferma eliminazione"
620
+
621
+ #: yit-functions.php:1921 yit-functions.php:1929 yit-functions.php:2046
622
+ msgid "Further actions"
623
+ msgstr "Altre azioni"
624
+
625
+ #: yit-plugin.php:203
626
  msgid "License"
627
  msgstr "Chiave di licenza"
628
 
641
  msgid "YITH"
642
  msgstr "YITH"
643
 
644
+ #: includes/class-yit-assets.php:131
645
+ msgctxt "Button text"
646
+ msgid "Confirm"
647
+ msgstr "Conferma"
648
+
649
+ #: includes/class-yit-assets.php:132
650
+ msgctxt "Button text"
651
+ msgid "Cancel"
652
+ msgstr "Annulla"
653
+
654
  #: includes/class-yith-dashboard.php:96
655
  msgctxt "Plugin FW"
656
  msgid "View Changelog"
754
  msgid "NO"
755
  msgstr "NO"
756
 
757
+ #: yit-functions.php:1837
758
+ msgctxt "Post action"
759
+ msgid "Preview"
760
+ msgstr "Anteprima"
761
+
762
+ #: yit-functions.php:1846
763
+ msgctxt "Post action"
764
+ msgid "View"
765
+ msgstr "Visualizza"
766
+
767
+ #: yit-functions.php:1857
768
+ msgctxt "Post action"
769
+ msgid "Edit"
770
+ msgstr "Modifica"
771
+
772
+ #: yit-functions.php:1865
773
+ msgctxt "Post action"
774
+ msgid "Duplicate"
775
+ msgstr "Duplica"
776
+
777
+ #: yit-functions.php:1877
778
+ msgctxt "Post action"
779
+ msgid "Restore"
780
+ msgstr "Ripristina"
781
+
782
+ #: yit-functions.php:1885
783
+ msgctxt "Post action"
784
+ msgid "Trash"
785
+ msgstr "Cestina"
786
+
787
+ #: yit-functions.php:1901
788
+ msgctxt "Post action"
789
+ msgid "Delete Permanently"
790
+ msgstr "Cancella definitivamente"
791
+
792
+ #: yit-functions.php:1893
793
+ msgctxt "Trash confirmation action"
794
+ msgid "Yes, trash"
795
+ msgstr "Sì, cestina"
796
+
797
+ #: yit-functions.php:1910 yit-functions.php:2037
798
+ msgctxt "Delete confirmation action"
799
+ msgid "Yes, delete"
800
+ msgstr "Sì, elimina"
801
+
802
+ #: yit-functions.php:1997
803
+ msgctxt "Term action"
804
+ msgid "View"
805
+ msgstr "Visualizza"
806
+
807
+ #: yit-functions.php:2007
808
+ msgctxt "Term action"
809
+ msgid "Edit"
810
+ msgstr "Modifica"
811
+
812
+ #: yit-functions.php:2015
813
+ msgctxt "Term action"
814
+ msgid "Duplicate"
815
+ msgstr "Duplica"
816
+
817
+ #: yit-functions.php:2028
818
+ msgctxt "Term action"
819
+ msgid "Delete"
820
+ msgstr "Elimina"
821
+
822
+ #: yit-plugin.php:84
823
  msgctxt "Plugin Row Meta"
824
  msgid "Live Demo"
825
  msgstr "Live Demo"
826
 
827
+ #: yit-plugin.php:88
828
  msgctxt "Plugin Row Meta"
829
  msgid "Documentation"
830
  msgstr "Documentazione"
831
 
832
+ #: yit-plugin.php:92
833
  msgctxt "Plugin Row Meta"
834
  msgid "Support"
835
  msgstr "Assistenza"
836
 
837
+ #: yit-plugin.php:96
838
  msgctxt "Plugin Row Meta"
839
  msgid "Premium version"
840
  msgstr "Versione premium"
841
 
842
+ #: yit-plugin.php:199
843
  msgctxt "Action links"
844
  msgid "Settings"
845
  msgstr "Impostazioni"
plugin-fw/languages/yith-plugin-fw-nl_NL.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-nl_NL.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-04-12 11:06:33+00:00\n"
8
- "PO-Revision-Date: 2021-04-05 19:01:01+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -13,27 +13,27 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:129
17
  msgid "Clear"
18
  msgstr "Wissen"
19
 
20
- #: includes/class-yit-assets.php:130
21
  msgid "Clear color"
22
  msgstr "Kleur wissen"
23
 
24
- #: includes/class-yit-assets.php:131
25
  msgid "Default"
26
  msgstr "Standaard"
27
 
28
- #: includes/class-yit-assets.php:132
29
  msgid "Select default color"
30
  msgstr "Standaardkleur selecteren"
31
 
32
- #: includes/class-yit-assets.php:133
33
  msgid "Select Color"
34
  msgstr "Kleur selecteren"
35
 
36
- #: includes/class-yit-assets.php:134
37
  msgid "Color value"
38
  msgstr "Kleurwaarde"
39
 
@@ -49,18 +49,17 @@ msgstr "Plugin instellingen"
49
  msgid "Settings"
50
  msgstr "Instellingen"
51
 
52
- #: includes/class-yit-plugin-panel.php:450
53
- #: includes/class-yit-plugin-panel.php:453
54
  msgid "How to install premium version"
55
  msgstr "Hoe installeer ik de premium versie"
56
 
57
- #: includes/class-yit-plugin-panel.php:619
58
  #: includes/class-yit-plugin-subpanel.php:132
59
- #: templates/panel/woocommerce/woocommerce-form.php:28
60
  msgid "Save Changes"
61
  msgstr "Wijzigingen opslaan"
62
 
63
- #: includes/class-yit-plugin-panel.php:624
64
  #: includes/class-yit-plugin-subpanel.php:136
65
  #: templates/panel/woocommerce/woocommerce-form.php:14
66
  msgid ""
@@ -68,73 +67,72 @@ msgid ""
68
  msgstr ""
69
  "Als je doorgaat met deze actie, zal je alle opties op deze pagina resetten."
70
 
71
- #: includes/class-yit-plugin-panel.php:624
72
  #: includes/class-yit-plugin-subpanel.php:136
73
  #: templates/panel/woocommerce/woocommerce-form.php:14
74
  msgid "Are you sure?"
75
  msgstr "Weet je het zeker?"
76
 
77
- #: includes/class-yit-plugin-panel.php:628
78
  #: includes/class-yit-plugin-subpanel.php:139
79
  msgid "Reset to default"
80
  msgstr "Resetten naar standaard"
81
 
82
- #: includes/class-yit-plugin-panel.php:865
83
  msgid ""
84
  "The element you have entered already exists. Please, enter another name."
85
  msgstr "Het element dat je hebt ingevoerd bestaat al. Voer een andere naam in."
86
 
87
- #: includes/class-yit-plugin-panel.php:866
88
  msgid "Settings saved"
89
  msgstr "Instellingen opgeslagen"
90
 
91
- #: includes/class-yit-plugin-panel.php:867
92
  msgid "Settings reset"
93
  msgstr "Instellingen resetten"
94
 
95
- #: includes/class-yit-plugin-panel.php:868
96
  msgid "Element deleted correctly."
97
  msgstr "Element juist verwijderd."
98
 
99
- #: includes/class-yit-plugin-panel.php:869
100
- #: includes/class-yit-plugin-panel.php:870
101
  msgid "Element updated correctly."
102
  msgstr "Element juist geüpdatet."
103
 
104
- #: includes/class-yit-plugin-panel.php:871
105
  msgid "Database imported correctly."
106
  msgstr "Database juist geïmporteerd."
107
 
108
- #: includes/class-yit-plugin-panel.php:872
109
  msgid "An error has occurred during import. Please try again."
110
  msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
111
 
112
- #: includes/class-yit-plugin-panel.php:873
113
  msgid "The added file is not valid."
114
  msgstr "Het toegevoegde bestand is niet geldig."
115
 
116
- #: includes/class-yit-plugin-panel.php:874
117
  msgid "Sorry, import is disabled."
118
  msgstr "Sorry, importeren is uitgeschakeld."
119
 
120
- #: includes/class-yit-plugin-panel.php:875
121
  msgid "Sorting successful."
122
  msgstr "Succesvol gesorteerd."
123
 
124
- #: includes/class-yit-plugin-panel.php:1343
125
  msgid "We need your support"
126
  msgstr "We hebben je hulp nodig"
127
 
128
- #: includes/class-yit-plugin-panel.php:1344
129
  msgid "to keep updating and improving the plugin. Please,"
130
  msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
131
 
132
- #: includes/class-yit-plugin-panel.php:1346
133
- #, fuzzy
134
  msgid "help us by leaving a good review"
135
- msgstr "help ons door een 5-sterren waardering achter te laten"
136
 
137
- #: includes/class-yit-plugin-panel.php:1347
138
  msgid ":) Thanks!"
139
  msgstr ":) Bedankt!"
140
 
@@ -194,6 +192,16 @@ msgstr ""
194
  "Er is een fout opgetreden, wat waarschijnlijk betekent dat de feed niet "
195
  "werkt. Probeer het later opnieuw."
196
 
 
 
 
 
 
 
 
 
 
 
197
  #: includes/class-yith-system-status.php:110
198
  msgid "WordPress Version"
199
  msgstr "WordPress Versie"
@@ -490,7 +498,16 @@ msgstr "Upload"
490
  msgid "Reset"
491
  msgstr "Resetten"
492
 
493
- #: templates/panel/woocommerce/woocommerce-form.php:34
 
 
 
 
 
 
 
 
 
494
  msgid "Reset Defaults"
495
  msgstr "Reset Standaard instellingen"
496
 
@@ -573,7 +590,36 @@ msgstr "Externe object cache"
573
  msgid "Plugins Requirements"
574
  msgstr "Plugin benodigdheden"
575
 
576
- #: yit-plugin.php:190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
577
  msgid "License"
578
  msgstr "Licentie"
579
 
@@ -592,6 +638,16 @@ msgctxt "[gutenberg]: Category Name"
592
  msgid "YITH"
593
  msgstr "YITH"
594
 
 
 
 
 
 
 
 
 
 
 
595
  #: includes/class-yith-dashboard.php:96
596
  msgctxt "Plugin FW"
597
  msgid "View Changelog"
@@ -694,27 +750,92 @@ msgctxt "YES/NO button: use MAX 4 characters!"
694
  msgid "NO"
695
  msgstr "NEE"
696
 
697
- #: yit-plugin.php:78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
698
  msgctxt "Plugin Row Meta"
699
  msgid "Live Demo"
700
  msgstr "Live Demo"
701
 
702
- #: yit-plugin.php:82
703
  msgctxt "Plugin Row Meta"
704
  msgid "Documentation"
705
  msgstr "Documentatie"
706
 
707
- #: yit-plugin.php:86
708
  msgctxt "Plugin Row Meta"
709
  msgid "Support"
710
  msgstr "Ondersteuning"
711
 
712
- #: yit-plugin.php:90
713
  msgctxt "Plugin Row Meta"
714
  msgid "Premium version"
715
  msgstr "Premium versie"
716
 
717
- #: yit-plugin.php:186
718
  msgctxt "Action links"
719
  msgid "Settings"
720
  msgstr "Instellingen"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-05-20 06:53:10+00:00\n"
8
+ "PO-Revision-Date: 2021-05-17 13:15:16+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:143
17
  msgid "Clear"
18
  msgstr "Wissen"
19
 
20
+ #: includes/class-yit-assets.php:144
21
  msgid "Clear color"
22
  msgstr "Kleur wissen"
23
 
24
+ #: includes/class-yit-assets.php:145
25
  msgid "Default"
26
  msgstr "Standaard"
27
 
28
+ #: includes/class-yit-assets.php:146
29
  msgid "Select default color"
30
  msgstr "Standaardkleur selecteren"
31
 
32
+ #: includes/class-yit-assets.php:147
33
  msgid "Select Color"
34
  msgstr "Kleur selecteren"
35
 
36
+ #: includes/class-yit-assets.php:148
37
  msgid "Color value"
38
  msgstr "Kleurwaarde"
39
 
49
  msgid "Settings"
50
  msgstr "Instellingen"
51
 
52
+ #: includes/class-yit-plugin-panel.php:451
53
+ #: includes/class-yit-plugin-panel.php:454
54
  msgid "How to install premium version"
55
  msgstr "Hoe installeer ik de premium versie"
56
 
57
+ #: includes/class-yit-plugin-panel.php:620
58
  #: includes/class-yit-plugin-subpanel.php:132
 
59
  msgid "Save Changes"
60
  msgstr "Wijzigingen opslaan"
61
 
62
+ #: includes/class-yit-plugin-panel.php:625
63
  #: includes/class-yit-plugin-subpanel.php:136
64
  #: templates/panel/woocommerce/woocommerce-form.php:14
65
  msgid ""
67
  msgstr ""
68
  "Als je doorgaat met deze actie, zal je alle opties op deze pagina resetten."
69
 
70
+ #: includes/class-yit-plugin-panel.php:625
71
  #: includes/class-yit-plugin-subpanel.php:136
72
  #: templates/panel/woocommerce/woocommerce-form.php:14
73
  msgid "Are you sure?"
74
  msgstr "Weet je het zeker?"
75
 
76
+ #: includes/class-yit-plugin-panel.php:629
77
  #: includes/class-yit-plugin-subpanel.php:139
78
  msgid "Reset to default"
79
  msgstr "Resetten naar standaard"
80
 
81
+ #: includes/class-yit-plugin-panel.php:868
82
  msgid ""
83
  "The element you have entered already exists. Please, enter another name."
84
  msgstr "Het element dat je hebt ingevoerd bestaat al. Voer een andere naam in."
85
 
86
+ #: includes/class-yit-plugin-panel.php:869
87
  msgid "Settings saved"
88
  msgstr "Instellingen opgeslagen"
89
 
90
+ #: includes/class-yit-plugin-panel.php:870
91
  msgid "Settings reset"
92
  msgstr "Instellingen resetten"
93
 
94
+ #: includes/class-yit-plugin-panel.php:871
95
  msgid "Element deleted correctly."
96
  msgstr "Element juist verwijderd."
97
 
98
+ #: includes/class-yit-plugin-panel.php:872
99
+ #: includes/class-yit-plugin-panel.php:873
100
  msgid "Element updated correctly."
101
  msgstr "Element juist geüpdatet."
102
 
103
+ #: includes/class-yit-plugin-panel.php:874
104
  msgid "Database imported correctly."
105
  msgstr "Database juist geïmporteerd."
106
 
107
+ #: includes/class-yit-plugin-panel.php:875
108
  msgid "An error has occurred during import. Please try again."
109
  msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
110
 
111
+ #: includes/class-yit-plugin-panel.php:876
112
  msgid "The added file is not valid."
113
  msgstr "Het toegevoegde bestand is niet geldig."
114
 
115
+ #: includes/class-yit-plugin-panel.php:877
116
  msgid "Sorry, import is disabled."
117
  msgstr "Sorry, importeren is uitgeschakeld."
118
 
119
+ #: includes/class-yit-plugin-panel.php:878
120
  msgid "Sorting successful."
121
  msgstr "Succesvol gesorteerd."
122
 
123
+ #: includes/class-yit-plugin-panel.php:1346
124
  msgid "We need your support"
125
  msgstr "We hebben je hulp nodig"
126
 
127
+ #: includes/class-yit-plugin-panel.php:1347
128
  msgid "to keep updating and improving the plugin. Please,"
129
  msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
130
 
131
+ #: includes/class-yit-plugin-panel.php:1349
 
132
  msgid "help us by leaving a good review"
133
+ msgstr "help ons door een goede beoordeling achter te laten"
134
 
135
+ #: includes/class-yit-plugin-panel.php:1350
136
  msgid ":) Thanks!"
137
  msgstr ":) Bedankt!"
138
 
192
  "Er is een fout opgetreden, wat waarschijnlijk betekent dat de feed niet "
193
  "werkt. Probeer het later opnieuw."
194
 
195
+ #. translators: %s is the name of the post type (example Back to "Membership
196
+ #. Plans").
197
+ #: includes/class-yith-post-type-admin.php:286
198
+ msgid "Back to \"%s\""
199
+ msgstr "Terug naar \"%s\""
200
+
201
+ #: includes/class-yith-post-type-admin.php:286
202
+ msgid "Back to the list"
203
+ msgstr "Terug naar de lijst"
204
+
205
  #: includes/class-yith-system-status.php:110
206
  msgid "WordPress Version"
207
  msgstr "WordPress Versie"
498
  msgid "Reset"
499
  msgstr "Resetten"
500
 
501
+ #: templates/panel/woocommerce/woocommerce-form.php:28
502
+ #: templates/panel/woocommerce/woocommerce-form.php:32
503
+ msgid "Save Options"
504
+ msgstr "Opties opslaan"
505
+
506
+ #: templates/panel/woocommerce/woocommerce-form.php:32
507
+ msgid "Options Saved"
508
+ msgstr "Opties opgeslagen"
509
+
510
+ #: templates/panel/woocommerce/woocommerce-form.php:38
511
  msgid "Reset Defaults"
512
  msgstr "Reset Standaard instellingen"
513
 
590
  msgid "Plugins Requirements"
591
  msgstr "Plugin benodigdheden"
592
 
593
+ #. translators: %s is the title of the post object.
594
+ #: yit-functions.php:1823
595
+ msgid "Are you sure you want to move \"%s\" to trash?"
596
+ msgstr "Weet je zeker dat je \"%s\" naar de prullenbak wilt verplaatsen?"
597
+
598
+ #. translators: %s is the title of the post object.
599
+ #: yit-functions.php:1825 yit-functions.php:1983
600
+ msgid "Are you sure you want to delete \"%s\"?"
601
+ msgstr "Weet je zeker dat je \"%s\" wilt verwijderen?"
602
+
603
+ #: yit-functions.php:1825 yit-functions.php:1983
604
+ msgid ""
605
+ "This action cannot be undone and you will be not able to recover this data."
606
+ msgstr ""
607
+ "Deze actie kan niet ongedaan gemaakt worden and je zult deze gegevens niet "
608
+ "kunnen herstellen."
609
+
610
+ #: yit-functions.php:1891
611
+ msgid "Confirm trash"
612
+ msgstr "Verplaatsen naar prullenbak bevestigen"
613
+
614
+ #: yit-functions.php:1908 yit-functions.php:2035
615
+ msgid "Confirm delete"
616
+ msgstr "Verwijderen bevestigen"
617
+
618
+ #: yit-functions.php:1921 yit-functions.php:1929 yit-functions.php:2046
619
+ msgid "Further actions"
620
+ msgstr "Verdere acties"
621
+
622
+ #: yit-plugin.php:203
623
  msgid "License"
624
  msgstr "Licentie"
625
 
638
  msgid "YITH"
639
  msgstr "YITH"
640
 
641
+ #: includes/class-yit-assets.php:131
642
+ msgctxt "Button text"
643
+ msgid "Confirm"
644
+ msgstr "Bevestigen"
645
+
646
+ #: includes/class-yit-assets.php:132
647
+ msgctxt "Button text"
648
+ msgid "Cancel"
649
+ msgstr "Annuleren"
650
+
651
  #: includes/class-yith-dashboard.php:96
652
  msgctxt "Plugin FW"
653
  msgid "View Changelog"
750
  msgid "NO"
751
  msgstr "NEE"
752
 
753
+ #: yit-functions.php:1837
754
+ msgctxt "Post action"
755
+ msgid "Preview"
756
+ msgstr "Voorbeeld"
757
+
758
+ #: yit-functions.php:1846
759
+ msgctxt "Post action"
760
+ msgid "View"
761
+ msgstr "Bekijken"
762
+
763
+ #: yit-functions.php:1857
764
+ msgctxt "Post action"
765
+ msgid "Edit"
766
+ msgstr "Bewerken"
767
+
768
+ #: yit-functions.php:1865
769
+ msgctxt "Post action"
770
+ msgid "Duplicate"
771
+ msgstr "Dupliceren"
772
+
773
+ #: yit-functions.php:1877
774
+ msgctxt "Post action"
775
+ msgid "Restore"
776
+ msgstr "Herstellen"
777
+
778
+ #: yit-functions.php:1885
779
+ msgctxt "Post action"
780
+ msgid "Trash"
781
+ msgstr "Prullenbak"
782
+
783
+ #: yit-functions.php:1901
784
+ msgctxt "Post action"
785
+ msgid "Delete Permanently"
786
+ msgstr "Permanent verijwderen"
787
+
788
+ #: yit-functions.php:1893
789
+ msgctxt "Trash confirmation action"
790
+ msgid "Yes, trash"
791
+ msgstr "Ja, verplaatsen naar prullenbak"
792
+
793
+ #: yit-functions.php:1910 yit-functions.php:2037
794
+ msgctxt "Delete confirmation action"
795
+ msgid "Yes, delete"
796
+ msgstr "Ja, verwijderen"
797
+
798
+ #: yit-functions.php:1997
799
+ msgctxt "Term action"
800
+ msgid "View"
801
+ msgstr "Bekijken"
802
+
803
+ #: yit-functions.php:2007
804
+ msgctxt "Term action"
805
+ msgid "Edit"
806
+ msgstr "Bewerken"
807
+
808
+ #: yit-functions.php:2015
809
+ msgctxt "Term action"
810
+ msgid "Duplicate"
811
+ msgstr "Dupliceren"
812
+
813
+ #: yit-functions.php:2028
814
+ msgctxt "Term action"
815
+ msgid "Delete"
816
+ msgstr "Verwijderen"
817
+
818
+ #: yit-plugin.php:84
819
  msgctxt "Plugin Row Meta"
820
  msgid "Live Demo"
821
  msgstr "Live Demo"
822
 
823
+ #: yit-plugin.php:88
824
  msgctxt "Plugin Row Meta"
825
  msgid "Documentation"
826
  msgstr "Documentatie"
827
 
828
+ #: yit-plugin.php:92
829
  msgctxt "Plugin Row Meta"
830
  msgid "Support"
831
  msgstr "Ondersteuning"
832
 
833
+ #: yit-plugin.php:96
834
  msgctxt "Plugin Row Meta"
835
  msgid "Premium version"
836
  msgstr "Premium versie"
837
 
838
+ #: yit-plugin.php:199
839
  msgctxt "Action links"
840
  msgid "Settings"
841
  msgstr "Instellingen"
plugin-fw/languages/yith-plugin-fw.pot CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-04-12 11:06:33+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,27 +24,27 @@ msgstr ""
24
  "X-Textdomain-Support: yes\n"
25
  "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
- #: includes/class-yit-assets.php:129
28
  msgid "Clear"
29
  msgstr ""
30
 
31
- #: includes/class-yit-assets.php:130
32
  msgid "Clear color"
33
  msgstr ""
34
 
35
- #: includes/class-yit-assets.php:131
36
  msgid "Default"
37
  msgstr ""
38
 
39
- #: includes/class-yit-assets.php:132
40
  msgid "Select default color"
41
  msgstr ""
42
 
43
- #: includes/class-yit-assets.php:133
44
  msgid "Select Color"
45
  msgstr ""
46
 
47
- #: includes/class-yit-assets.php:134
48
  msgid "Color value"
49
  msgstr ""
50
 
@@ -60,88 +60,87 @@ msgstr ""
60
  msgid "Settings"
61
  msgstr ""
62
 
63
- #: includes/class-yit-plugin-panel.php:450
64
- #: includes/class-yit-plugin-panel.php:453
65
  msgid "How to install premium version"
66
  msgstr ""
67
 
68
- #: includes/class-yit-plugin-panel.php:619
69
  #: includes/class-yit-plugin-subpanel.php:132
70
- #: templates/panel/woocommerce/woocommerce-form.php:28
71
  msgid "Save Changes"
72
  msgstr ""
73
 
74
- #: includes/class-yit-plugin-panel.php:624
75
  #: includes/class-yit-plugin-subpanel.php:136
76
  #: templates/panel/woocommerce/woocommerce-form.php:14
77
  msgid "If you continue with this action, you will reset all options in this page."
78
  msgstr ""
79
 
80
- #: includes/class-yit-plugin-panel.php:624
81
  #: includes/class-yit-plugin-subpanel.php:136
82
  #: templates/panel/woocommerce/woocommerce-form.php:14
83
  msgid "Are you sure?"
84
  msgstr ""
85
 
86
- #: includes/class-yit-plugin-panel.php:628
87
  #: includes/class-yit-plugin-subpanel.php:139
88
  msgid "Reset to default"
89
  msgstr ""
90
 
91
- #: includes/class-yit-plugin-panel.php:865
92
  msgid "The element you have entered already exists. Please, enter another name."
93
  msgstr ""
94
 
95
- #: includes/class-yit-plugin-panel.php:866
96
  msgid "Settings saved"
97
  msgstr ""
98
 
99
- #: includes/class-yit-plugin-panel.php:867
100
  msgid "Settings reset"
101
  msgstr ""
102
 
103
- #: includes/class-yit-plugin-panel.php:868
104
  msgid "Element deleted correctly."
105
  msgstr ""
106
 
107
- #: includes/class-yit-plugin-panel.php:869
108
- #: includes/class-yit-plugin-panel.php:870
109
  msgid "Element updated correctly."
110
  msgstr ""
111
 
112
- #: includes/class-yit-plugin-panel.php:871
113
  msgid "Database imported correctly."
114
  msgstr ""
115
 
116
- #: includes/class-yit-plugin-panel.php:872
117
  msgid "An error has occurred during import. Please try again."
118
  msgstr ""
119
 
120
- #: includes/class-yit-plugin-panel.php:873
121
  msgid "The added file is not valid."
122
  msgstr ""
123
 
124
- #: includes/class-yit-plugin-panel.php:874
125
  msgid "Sorry, import is disabled."
126
  msgstr ""
127
 
128
- #: includes/class-yit-plugin-panel.php:875
129
  msgid "Sorting successful."
130
  msgstr ""
131
 
132
- #: includes/class-yit-plugin-panel.php:1343
133
  msgid "We need your support"
134
  msgstr ""
135
 
136
- #: includes/class-yit-plugin-panel.php:1344
137
  msgid "to keep updating and improving the plugin. Please,"
138
  msgstr ""
139
 
140
- #: includes/class-yit-plugin-panel.php:1346
141
  msgid "help us by leaving a good review"
142
  msgstr ""
143
 
144
- #: includes/class-yit-plugin-panel.php:1347
145
  msgid ":) Thanks!"
146
  msgstr ""
147
 
@@ -191,6 +190,16 @@ msgid ""
191
  "later."
192
  msgstr ""
193
 
 
 
 
 
 
 
 
 
 
 
194
  #: includes/class-yith-system-status.php:110
195
  msgid "WordPress Version"
196
  msgstr ""
@@ -475,7 +484,16 @@ msgstr ""
475
  msgid "Reset"
476
  msgstr ""
477
 
478
- #: templates/panel/woocommerce/woocommerce-form.php:34
 
 
 
 
 
 
 
 
 
479
  msgid "Reset Defaults"
480
  msgstr ""
481
 
@@ -555,7 +573,33 @@ msgstr ""
555
  msgid "Plugins Requirements"
556
  msgstr ""
557
 
558
- #: yit-plugin.php:190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
559
  msgid "License"
560
  msgstr ""
561
 
@@ -574,6 +618,16 @@ msgctxt "[gutenberg]: Category Name"
574
  msgid "YITH"
575
  msgstr ""
576
 
 
 
 
 
 
 
 
 
 
 
577
  #: includes/class-yith-dashboard.php:96
578
  msgctxt "Plugin FW"
579
  msgid "View Changelog"
@@ -670,27 +724,92 @@ msgctxt "YES/NO button: use MAX 4 characters!"
670
  msgid "NO"
671
  msgstr ""
672
 
673
- #: yit-plugin.php:78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
674
  msgctxt "Plugin Row Meta"
675
  msgid "Live Demo"
676
  msgstr ""
677
 
678
- #: yit-plugin.php:82
679
  msgctxt "Plugin Row Meta"
680
  msgid "Documentation"
681
  msgstr ""
682
 
683
- #: yit-plugin.php:86
684
  msgctxt "Plugin Row Meta"
685
  msgid "Support"
686
  msgstr ""
687
 
688
- #: yit-plugin.php:90
689
  msgctxt "Plugin Row Meta"
690
  msgid "Premium version"
691
  msgstr ""
692
 
693
- #: yit-plugin.php:186
694
  msgctxt "Action links"
695
  msgid "Settings"
696
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-05-20 06:53:10+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  "X-Textdomain-Support: yes\n"
25
  "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
+ #: includes/class-yit-assets.php:143
28
  msgid "Clear"
29
  msgstr ""
30
 
31
+ #: includes/class-yit-assets.php:144
32
  msgid "Clear color"
33
  msgstr ""
34
 
35
+ #: includes/class-yit-assets.php:145
36
  msgid "Default"
37
  msgstr ""
38
 
39
+ #: includes/class-yit-assets.php:146
40
  msgid "Select default color"
41
  msgstr ""
42
 
43
+ #: includes/class-yit-assets.php:147
44
  msgid "Select Color"
45
  msgstr ""
46
 
47
+ #: includes/class-yit-assets.php:148
48
  msgid "Color value"
49
  msgstr ""
50
 
60
  msgid "Settings"
61
  msgstr ""
62
 
63
+ #: includes/class-yit-plugin-panel.php:451
64
+ #: includes/class-yit-plugin-panel.php:454
65
  msgid "How to install premium version"
66
  msgstr ""
67
 
68
+ #: includes/class-yit-plugin-panel.php:620
69
  #: includes/class-yit-plugin-subpanel.php:132
 
70
  msgid "Save Changes"
71
  msgstr ""
72
 
73
+ #: includes/class-yit-plugin-panel.php:625
74
  #: includes/class-yit-plugin-subpanel.php:136
75
  #: templates/panel/woocommerce/woocommerce-form.php:14
76
  msgid "If you continue with this action, you will reset all options in this page."
77
  msgstr ""
78
 
79
+ #: includes/class-yit-plugin-panel.php:625
80
  #: includes/class-yit-plugin-subpanel.php:136
81
  #: templates/panel/woocommerce/woocommerce-form.php:14
82
  msgid "Are you sure?"
83
  msgstr ""
84
 
85
+ #: includes/class-yit-plugin-panel.php:629
86
  #: includes/class-yit-plugin-subpanel.php:139
87
  msgid "Reset to default"
88
  msgstr ""
89
 
90
+ #: includes/class-yit-plugin-panel.php:868
91
  msgid "The element you have entered already exists. Please, enter another name."
92
  msgstr ""
93
 
94
+ #: includes/class-yit-plugin-panel.php:869
95
  msgid "Settings saved"
96
  msgstr ""
97
 
98
+ #: includes/class-yit-plugin-panel.php:870
99
  msgid "Settings reset"
100
  msgstr ""
101
 
102
+ #: includes/class-yit-plugin-panel.php:871
103
  msgid "Element deleted correctly."
104
  msgstr ""
105
 
106
+ #: includes/class-yit-plugin-panel.php:872
107
+ #: includes/class-yit-plugin-panel.php:873
108
  msgid "Element updated correctly."
109
  msgstr ""
110
 
111
+ #: includes/class-yit-plugin-panel.php:874
112
  msgid "Database imported correctly."
113
  msgstr ""
114
 
115
+ #: includes/class-yit-plugin-panel.php:875
116
  msgid "An error has occurred during import. Please try again."
117
  msgstr ""
118
 
119
+ #: includes/class-yit-plugin-panel.php:876
120
  msgid "The added file is not valid."
121
  msgstr ""
122
 
123
+ #: includes/class-yit-plugin-panel.php:877
124
  msgid "Sorry, import is disabled."
125
  msgstr ""
126
 
127
+ #: includes/class-yit-plugin-panel.php:878
128
  msgid "Sorting successful."
129
  msgstr ""
130
 
131
+ #: includes/class-yit-plugin-panel.php:1346
132
  msgid "We need your support"
133
  msgstr ""
134
 
135
+ #: includes/class-yit-plugin-panel.php:1347
136
  msgid "to keep updating and improving the plugin. Please,"
137
  msgstr ""
138
 
139
+ #: includes/class-yit-plugin-panel.php:1349
140
  msgid "help us by leaving a good review"
141
  msgstr ""
142
 
143
+ #: includes/class-yit-plugin-panel.php:1350
144
  msgid ":) Thanks!"
145
  msgstr ""
146
 
190
  "later."
191
  msgstr ""
192
 
193
+ #: includes/class-yith-post-type-admin.php:286
194
+ #. translators: %s is the name of the post type (example Back to "Membership
195
+ #. Plans").
196
+ msgid "Back to \"%s\""
197
+ msgstr ""
198
+
199
+ #: includes/class-yith-post-type-admin.php:286
200
+ msgid "Back to the list"
201
+ msgstr ""
202
+
203
  #: includes/class-yith-system-status.php:110
204
  msgid "WordPress Version"
205
  msgstr ""
484
  msgid "Reset"
485
  msgstr ""
486
 
487
+ #: templates/panel/woocommerce/woocommerce-form.php:28
488
+ #: templates/panel/woocommerce/woocommerce-form.php:32
489
+ msgid "Save Options"
490
+ msgstr ""
491
+
492
+ #: templates/panel/woocommerce/woocommerce-form.php:32
493
+ msgid "Options Saved"
494
+ msgstr ""
495
+
496
+ #: templates/panel/woocommerce/woocommerce-form.php:38
497
  msgid "Reset Defaults"
498
  msgstr ""
499
 
573
  msgid "Plugins Requirements"
574
  msgstr ""
575
 
576
+ #: yit-functions.php:1823
577
+ #. translators: %s is the title of the post object.
578
+ msgid "Are you sure you want to move \"%s\" to trash?"
579
+ msgstr ""
580
+
581
+ #: yit-functions.php:1825 yit-functions.php:1983
582
+ #. translators: %s is the title of the post object.
583
+ msgid "Are you sure you want to delete \"%s\"?"
584
+ msgstr ""
585
+
586
+ #: yit-functions.php:1825 yit-functions.php:1983
587
+ msgid "This action cannot be undone and you will be not able to recover this data."
588
+ msgstr ""
589
+
590
+ #: yit-functions.php:1891
591
+ msgid "Confirm trash"
592
+ msgstr ""
593
+
594
+ #: yit-functions.php:1908 yit-functions.php:2035
595
+ msgid "Confirm delete"
596
+ msgstr ""
597
+
598
+ #: yit-functions.php:1921 yit-functions.php:1929 yit-functions.php:2046
599
+ msgid "Further actions"
600
+ msgstr ""
601
+
602
+ #: yit-plugin.php:203
603
  msgid "License"
604
  msgstr ""
605
 
618
  msgid "YITH"
619
  msgstr ""
620
 
621
+ #: includes/class-yit-assets.php:131
622
+ msgctxt "Button text"
623
+ msgid "Confirm"
624
+ msgstr ""
625
+
626
+ #: includes/class-yit-assets.php:132
627
+ msgctxt "Button text"
628
+ msgid "Cancel"
629
+ msgstr ""
630
+
631
  #: includes/class-yith-dashboard.php:96
632
  msgctxt "Plugin FW"
633
  msgid "View Changelog"
724
  msgid "NO"
725
  msgstr ""
726
 
727
+ #: yit-functions.php:1837
728
+ msgctxt "Post action"
729
+ msgid "Preview"
730
+ msgstr ""
731
+
732
+ #: yit-functions.php:1846
733
+ msgctxt "Post action"
734
+ msgid "View"
735
+ msgstr ""
736
+
737
+ #: yit-functions.php:1857
738
+ msgctxt "Post action"
739
+ msgid "Edit"
740
+ msgstr ""
741
+
742
+ #: yit-functions.php:1865
743
+ msgctxt "Post action"
744
+ msgid "Duplicate"
745
+ msgstr ""
746
+
747
+ #: yit-functions.php:1877
748
+ msgctxt "Post action"
749
+ msgid "Restore"
750
+ msgstr ""
751
+
752
+ #: yit-functions.php:1885
753
+ msgctxt "Post action"
754
+ msgid "Trash"
755
+ msgstr ""
756
+
757
+ #: yit-functions.php:1901
758
+ msgctxt "Post action"
759
+ msgid "Delete Permanently"
760
+ msgstr ""
761
+
762
+ #: yit-functions.php:1893
763
+ msgctxt "Trash confirmation action"
764
+ msgid "Yes, trash"
765
+ msgstr ""
766
+
767
+ #: yit-functions.php:1910 yit-functions.php:2037
768
+ msgctxt "Delete confirmation action"
769
+ msgid "Yes, delete"
770
+ msgstr ""
771
+
772
+ #: yit-functions.php:1997
773
+ msgctxt "Term action"
774
+ msgid "View"
775
+ msgstr ""
776
+
777
+ #: yit-functions.php:2007
778
+ msgctxt "Term action"
779
+ msgid "Edit"
780
+ msgstr ""
781
+
782
+ #: yit-functions.php:2015
783
+ msgctxt "Term action"
784
+ msgid "Duplicate"
785
+ msgstr ""
786
+
787
+ #: yit-functions.php:2028
788
+ msgctxt "Term action"
789
+ msgid "Delete"
790
+ msgstr ""
791
+
792
+ #: yit-plugin.php:84
793
  msgctxt "Plugin Row Meta"
794
  msgid "Live Demo"
795
  msgstr ""
796
 
797
+ #: yit-plugin.php:88
798
  msgctxt "Plugin Row Meta"
799
  msgid "Documentation"
800
  msgstr ""
801
 
802
+ #: yit-plugin.php:92
803
  msgctxt "Plugin Row Meta"
804
  msgid "Support"
805
  msgstr ""
806
 
807
+ #: yit-plugin.php:96
808
  msgctxt "Plugin Row Meta"
809
  msgid "Premium version"
810
  msgstr ""
811
 
812
+ #: yit-plugin.php:199
813
  msgctxt "Action links"
814
  msgid "Settings"
815
  msgstr ""
plugin-fw/templates/components/action-button.php ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Template for displaying the action-button component
4
+ *
5
+ * @var array $component The component.
6
+ * @package YITH\PluginFramework\Templates\Components
7
+ */
8
+
9
+ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
+
11
+ list ( $component_id, $class, $the_title, $html_attributes, $html_data, $button_action, $icon, $icon_class, $url, $action_button_menu, $confirm_data ) = yith_plugin_fw_extract( $component, 'id', 'class', 'title', 'html_attributes', 'html_data', 'action', 'icon', 'icon_class', 'url', 'menu', 'confirm_data' );
12
+
13
+ $button_action = isset( $button_action ) ? $button_action : '';
14
+ $icon = isset( $icon ) ? $icon : $button_action;
15
+ $icon_class = isset( $icon_class ) ? $icon_class : "yith-icon yith-icon-{$icon}";
16
+ $url = isset( $url ) ? $url : '#';
17
+ $class = isset( $class ) ? $class : '';
18
+ $the_title = isset( $the_title ) ? $the_title : '';
19
+ $action_button_menu = isset( $action_button_menu ) ? $action_button_menu : array();
20
+ $confirm_data = isset( $confirm_data ) ? $confirm_data : array();
21
+
22
+ $classes = array( 'yith-plugin-fw__action-button', "yith-plugin-fw__action-button--{$button_action}-action", $class );
23
+
24
+ if ( ! ! $action_button_menu ) {
25
+ $classes[] = 'yith-plugin-fw__action-button--has-menu';
26
+ }
27
+
28
+ $link_classes = array( 'yith-plugin-fw__action-button__link' );
29
+ $link_data = array();
30
+ if ( isset( $confirm_data['title'], $confirm_data['message'] ) && '#' !== $url ) {
31
+ $link_classes[] = 'yith-plugin-fw__require-confirmation-link';
32
+ $link_data = $confirm_data;
33
+ }
34
+
35
+ if ( $the_title ) {
36
+ $link_classes[] = 'yith-plugin-fw__tips';
37
+ }
38
+
39
+ $class = implode( ' ', $classes );
40
+ $link_class = implode( ' ', array_filter( $link_classes ) );
41
+ ?>
42
+ <span
43
+ id="<?php echo esc_attr( $component_id ); ?>"
44
+ class="<?php echo esc_attr( $class ); ?>"
45
+ <?php echo $html_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
46
+ <?php echo $html_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
47
+ >
48
+ <a class="<?php echo esc_attr( $link_class ); ?>"
49
+
50
+ href="<?php echo esc_url( $url ); ?>"
51
+ <?php if ( $the_title ) : ?>
52
+ data-tip="<?php echo esc_attr( $the_title ); ?>"
53
+ <?php endif; ?>
54
+
55
+ <?php yith_plugin_fw_html_data_to_string( $link_data, true ); ?>
56
+ >
57
+ <?php if ( $icon ) : ?>
58
+ <i class="yith-plugin-fw__action-button__icon <?php echo esc_attr( $icon_class ); ?>"></i>
59
+ <?php endif; ?>
60
+ </a>
61
+ <?php if ( $action_button_menu ) : ?>
62
+ <?php yith_plugin_fw_include_fw_template( '/components/resources/action-button-menu.php', compact( 'action_button_menu' ) ); ?>
63
+ <?php endif; ?>
64
+ </span>
plugin-fw/templates/components/list-table-blank-state.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Template for displaying the list-table-blank-state component
4
+ *
5
+ * @var array $component The component.
6
+ * @package YITH\PluginFramework\Templates\Components
7
+ */
8
+
9
+ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
+
11
+ list ( $component_id, $class, $icon, $icon_class, $icon_url, $message, $cta, $html_attributes, $html_data ) = yith_plugin_fw_extract( $component, 'id', 'class', 'icon', 'icon_class', 'icon_url', 'message', 'cta', 'html_attributes', 'html_data' );
12
+ ?>
13
+ <div id="<?php echo esc_attr( $component_id ); ?>"
14
+ class="yith-plugin-fw__list-table-blank-state <?php echo esc_attr( $class ); ?>"
15
+ <?php echo $html_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
16
+ <?php echo $html_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
17
+ >
18
+ <?php if ( $icon ) : ?>
19
+ <i class="yith-plugin-fw__list-table-blank-state__icon yith-icon yith-icon-<?php echo esc_attr( $icon ); ?>"></i>
20
+ <?php elseif ( $icon_class ) : ?>
21
+ <i class="yith-plugin-fw__list-table-blank-state__icon <?php echo esc_attr( $icon_class ); ?>"></i>
22
+ <?php elseif ( $icon_url ) : ?>
23
+ <img class="yith-plugin-fw__list-table-blank-state__icon" src="<?php echo esc_url( $icon_url ); ?>"/>
24
+ <?php endif; ?>
25
+ <div class="yith-plugin-fw__list-table-blank-state__message"><?php echo wp_kses_post( $message ); ?></div>
26
+ <?php if ( $cta && ! empty( $cta['title'] ) ) : ?>
27
+ <?php
28
+ $cta_url = ! empty( $cta['url'] ) ? $cta['url'] : '';
29
+ $cta_classes = array( 'yith-plugin-fw__list-table-blank-state__cta', 'yith-plugin-fw__button--primary', 'yith-plugin-fw__button--xxl' );
30
+ if ( ! empty( $cta['class'] ) ) {
31
+ $cta_classes[] = $cta['class'];
32
+ }
33
+ if ( ! empty( $cta['icon'] ) ) {
34
+ $cta_classes[] = 'yith-plugin-fw__button--with-icon';
35
+ }
36
+ $cta_classes = implode( ' ', $cta_classes );
37
+ ?>
38
+ <div class="yith-plugin-fw__list-table-blank-state__cta-wrapper">
39
+ <a href="<?php echo esc_url( $cta_url ); ?>" class="<?php echo esc_attr( $cta_classes ); ?>">
40
+ <?php if ( ! empty( $cta['icon'] ) ) : ?>
41
+ <i class="yith-icon yith-icon-<?php echo esc_attr( $cta['icon'] ); ?>"></i>
42
+ <?php endif; ?>
43
+ <?php echo esc_html( $cta['title'] ); ?>
44
+ </a>
45
+ </div>
46
+ <?php endif; ?>
47
+ </div>
plugin-fw/templates/components/resources/action-button-menu.php ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Template for displaying the action-button-submenu
4
+ *
5
+ * @var array $action_button_menu The menu.
6
+ * @package YITH\PluginFramework\Templates\Components\Resources
7
+ */
8
+
9
+ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
+ ?>
11
+ <span class="yith-plugin-fw__action-button__menu">
12
+ <?php foreach ( $action_button_menu as $menu_key => $menu_item ) : ?>
13
+ <?php
14
+ $item_name = isset( $menu_item['name'] ) ? $menu_item['name'] : '';
15
+ $item_url = isset( $menu_item['url'] ) ? $menu_item['url'] : '';
16
+ $item_class = isset( $menu_item['class'] ) ? $menu_item['class'] : '';
17
+ $item_attributes = isset( $menu_item['attributes'] ) ? $menu_item['attributes'] : array();
18
+ $item_data = isset( $menu_item['data'] ) ? $menu_item['data'] : array();
19
+ $item_open_in_new_tab = isset( $menu_item['open_in_new_tab'] ) ? ! ! $menu_item['open_in_new_tab'] : false;
20
+ $item_confirm_data = isset( $menu_item['confirm_data'] ) ? $menu_item['confirm_data'] : array();
21
+
22
+ $item_classes = array( 'yith-plugin-fw__action-button__menu__item', "yith-plugin-fw__action-button__menu__item--{$menu_key}-key", $item_class );
23
+
24
+ if ( isset( $item_confirm_data['title'], $item_confirm_data['message'] ) && ! ! $item_url ) {
25
+ $item_classes[] = 'yith-plugin-fw__require-confirmation-link';
26
+ $item_data = array_merge( $item_data, $item_confirm_data );
27
+ }
28
+
29
+ $item_classes = implode( ' ', array_filter( $item_classes ) );
30
+ ?>
31
+ <?php if ( ! ! $item_url ) : ?>
32
+ <a
33
+ class="<?php echo esc_attr( $item_classes ); ?>"
34
+ href="<?php echo esc_url( $item_url ); ?>"
35
+ <?php if ( ! ! $item_open_in_new_tab ) : ?>
36
+ target="_blank"
37
+ <?php endif; ?>
38
+ <?php
39
+ yith_plugin_fw_html_attributes_to_string( $item_attributes, true );
40
+ yith_plugin_fw_html_data_to_string( $item_data, true );
41
+ ?>
42
+ ><?php echo esc_html( $item_name ); ?></a>
43
+ <?php else : ?>
44
+ <span
45
+ class="<?php echo esc_attr( $item_classes ); ?>"
46
+ <?php
47
+ yith_plugin_fw_html_attributes_to_string( $item_attributes, true );
48
+ yith_plugin_fw_html_data_to_string( $item_data, true );
49
+ ?>
50
+ ><?php echo esc_html( $item_name ); ?></span>
51
+ <?php endif; ?>
52
+
53
+ <?php endforeach; ?>
54
+ </span>
plugin-fw/templates/fields/image-gallery.php CHANGED
@@ -33,7 +33,7 @@ $image_ids = ! empty( $value ) ? array_filter( explode( ',', $value ) ) : array(
33
  </ul>
34
  <input type="button"
35
  id="<?php echo esc_attr( $field_id ); ?>-button"
36
- class="image-gallery-button button"
37
  data-choose="<?php esc_attr_e( 'Add Images to Gallery', 'yith-plugin-fw' ); ?>"
38
  data-update="<?php esc_attr_e( 'Add to gallery', 'yith-plugin-fw' ); ?>"
39
  value="<?php esc_attr_e( 'Add images', 'yith-plugin-fw' ); ?>"
33
  </ul>
34
  <input type="button"
35
  id="<?php echo esc_attr( $field_id ); ?>-button"
36
+ class="image-gallery-button button button-secondary"
37
  data-choose="<?php esc_attr_e( 'Add Images to Gallery', 'yith-plugin-fw' ); ?>"
38
  data-update="<?php esc_attr_e( 'Add to gallery', 'yith-plugin-fw' ); ?>"
39
  value="<?php esc_attr_e( 'Add images', 'yith-plugin-fw' ); ?>"
plugin-fw/templates/fields/slider.php CHANGED
@@ -11,8 +11,7 @@ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
11
  list ( $field_id, $class, $name, $value,
12
  /**
13
  * Array of option containing min and max value
14
- *
15
- * @deprecated 'option' since 3.5 | use 'min' and 'max' instead
16
  */
17
  $option,
18
  $min, $max, $step, $custom_attributes, $data ) = yith_plugin_fw_extract( $field, 'id', 'class', 'name', 'value', 'option', 'min', 'max', 'step', 'custom_attributes', 'data' );
11
  list ( $field_id, $class, $name, $value,
12
  /**
13
  * Array of option containing min and max value
14
+ * This is deprecated since 3.5 | use 'min' and 'max' instead.
 
15
  */
16
  $option,
17
  $min, $max, $step, $custom_attributes, $data ) = yith_plugin_fw_extract( $field, 'id', 'class', 'name', 'value', 'option', 'min', 'max', 'step', 'custom_attributes', 'data' );
plugin-fw/templates/fields/upload.php CHANGED
@@ -31,10 +31,10 @@ $file = $value;
31
  <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
32
  <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
33
  />
34
- <button class="button-secondary yith-plugin-fw-upload-button" id="<?php echo esc_attr( $field_id ); ?>-button"><?php esc_html_e( 'Upload', 'yith-plugin-fw' ); ?></button>
35
  <button type="button"
36
  id="<?php echo esc_attr( $field_id ); ?>-button-reset"
37
- class="yith-plugin-fw-upload-button-reset button"
38
  data-default="<?php echo isset( $default ) ? esc_attr( $default ) : ''; ?>"
39
  ><?php esc_html_e( 'Reset', 'yith-plugin-fw' ); ?></button>
40
  </div>
31
  <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
32
  <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
33
  />
34
+ <button class="yith-plugin-fw-upload-button" id="<?php echo esc_attr( $field_id ); ?>-button"><?php esc_html_e( 'Upload', 'yith-plugin-fw' ); ?></button>
35
  <button type="button"
36
  id="<?php echo esc_attr( $field_id ); ?>-button-reset"
37
+ class="yith-plugin-fw-upload-button-reset"
38
  data-default="<?php echo isset( $default ) ? esc_attr( $default ) : ''; ?>"
39
  ><?php esc_html_e( 'Reset', 'yith-plugin-fw' ); ?></button>
40
  </div>
plugin-fw/templates/panel/sub-tabs-nav.php CHANGED
@@ -36,7 +36,7 @@ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
36
  <a href="<?php echo esc_url( $_tab->url ); ?>" class="yith-nav-sub-tab nav-tab <?php echo esc_attr( $_tab->class ); ?>">
37
  <span class="yith-nav-sub-tab__title"><?php echo esc_html( $_tab->title ); ?></span>
38
  <?php if ( $_tab->icon ) : ?>
39
- <span class="yith-nav-sub-tab__icon yith-icon-<?php echo esc_attr( $_tab->icon ); ?>"></span>
40
  <?php endif; ?>
41
  </a>
42
  <?php endforeach; ?>
36
  <a href="<?php echo esc_url( $_tab->url ); ?>" class="yith-nav-sub-tab nav-tab <?php echo esc_attr( $_tab->class ); ?>">
37
  <span class="yith-nav-sub-tab__title"><?php echo esc_html( $_tab->title ); ?></span>
38
  <?php if ( $_tab->icon ) : ?>
39
+ <span class="yith-nav-sub-tab__icon yith-icon yith-icon-<?php echo esc_attr( $_tab->icon ); ?>"></span>
40
  <?php endif; ?>
41
  </a>
42
  <?php endforeach; ?>
plugin-fw/templates/panel/woocommerce/woocommerce-form.php CHANGED
@@ -25,8 +25,12 @@ $reset_warning = __( 'If you continue with this action, you will reset all optio
25
 
26
  <p class="submit" style="float: left;margin: 0 10px 0 0;">
27
  <?php wp_nonce_field( 'yit_panel_wc_options_' . $this->settings['page'], 'yit_panel_wc_options_nonce' ); ?>
28
- <input class="button-primary" type="submit" value="<?php esc_html_e( 'Save Changes', 'yith-plugin-fw' ); ?>"/>
29
  </p>
 
 
 
 
30
  </form>
31
  <form id="plugin-fw-wc-reset" method="post">
32
  <input type="hidden" name="yit-action" value="wc-options-reset"/>
25
 
26
  <p class="submit" style="float: left;margin: 0 10px 0 0;">
27
  <?php wp_nonce_field( 'yit_panel_wc_options_' . $this->settings['page'], 'yit_panel_wc_options_nonce' ); ?>
28
+ <input class="button-primary" id="main-save-button" type="submit" value="<?php esc_html_e( 'Save Options', 'yith-plugin-fw' ); ?>"/>
29
  </p>
30
+
31
+ <?php if ( apply_filters( 'yit_framework_show_float_save_button', true ) ) : ?>
32
+ <button id="yith-plugin-fw-float-save-button" class="yith-plugin-fw__button--primary yith-plugin-fw-animate__appear-from-bottom" data-default-label="<?php esc_attr_e( 'Save Options', 'yith-plugin-fw' ); ?>" data-saved-label="<?php esc_attr_e( 'Options Saved', 'yith-plugin-fw' ); ?>"><i class="yith-icon yith-icon-save"></i> <?php esc_html_e( 'Save Options', 'yith-plugin-fw' ); ?></button>
33
+ <?php endif; ?>
34
  </form>
35
  <form id="plugin-fw-wc-reset" method="post">
36
  <input type="hidden" name="yit-action" value="wc-options-reset"/>
plugin-fw/templates/panel/woocommerce/woocommerce-upload.php CHANGED
@@ -35,7 +35,7 @@ $hidden_val = get_option( $id . '-yith-attachment-id', 0 );
35
  value="<?php echo in_array( $value, array( '1', 1 ), true ) ? '' : esc_attr( $value ); ?>" class="yith-plugin-fw-upload-img-url"/>
36
  <input type="hidden" name="<?php echo esc_attr( $id ); ?>-yith-attachment-id" id="<?php echo esc_attr( $id ); ?>-yith-attachment-id" value="<?php echo esc_attr( $hidden_val ); ?>"/>
37
  <input type="button" value="<?php esc_attr_e( 'Upload', 'yith-plugin-fw' ); ?>" id="<?php echo esc_attr( $id ); ?>-button"
38
- class="yith-plugin-fw-upload-button button"/>
39
  </div>
40
  <div class="clear"></div>
41
  <span class="description"><?php echo wp_kses_post( $desc ); ?></span>
35
  value="<?php echo in_array( $value, array( '1', 1 ), true ) ? '' : esc_attr( $value ); ?>" class="yith-plugin-fw-upload-img-url"/>
36
  <input type="hidden" name="<?php echo esc_attr( $id ); ?>-yith-attachment-id" id="<?php echo esc_attr( $id ); ?>-yith-attachment-id" value="<?php echo esc_attr( $hidden_val ); ?>"/>
37
  <input type="button" value="<?php esc_attr_e( 'Upload', 'yith-plugin-fw' ); ?>" id="<?php echo esc_attr( $id ); ?>-button"
38
+ class="yith-plugin-fw-upload-button"/>
39
  </div>
40
  <div class="clear"></div>
41
  <span class="description"><?php echo wp_kses_post( $desc ); ?></span>
plugin-fw/yit-functions.php CHANGED
@@ -1352,17 +1352,29 @@ if ( ! function_exists( 'yith_plugin_fw_get_default_logo' ) ) {
1352
  }
1353
  }
1354
 
 
 
 
 
 
 
 
 
 
 
 
 
1355
  if ( ! function_exists( 'yith_set_wrapper_class' ) ) {
1356
  /**
1357
- * Return the class for the new plugin panel style.
1358
  *
1359
- * @param array|string $class List of additional classes to add inside the panel wrapper.
1360
  *
1361
  * @return string
1362
  * @author Emanuela Castorina
1363
  */
1364
  function yith_set_wrapper_class( $class = '' ) {
1365
- $new_class = 'yith-plugin-ui';
1366
  $class = ( ! empty( $class ) && is_array( $class ) ) ? implode( ' ', $class ) : $class;
1367
 
1368
  return $new_class . ' ' . $class;
@@ -1686,3 +1698,382 @@ if ( ! function_exists( 'yith_plugin_fw_add_utm_data' ) ) {
1686
  return $url;
1687
  }
1688
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1352
  }
1353
  }
1354
 
1355
+ if ( ! function_exists( 'yith_get_wrapper_class' ) ) {
1356
+ /**
1357
+ * Return the wrapper class for the UI style.
1358
+ *
1359
+ * @return string
1360
+ * @since 3.7.0
1361
+ */
1362
+ function yith_get_wrapper_class() {
1363
+ return 'yith-plugin-ui';
1364
+ }
1365
+ }
1366
+
1367
  if ( ! function_exists( 'yith_set_wrapper_class' ) ) {
1368
  /**
1369
+ * Return the wrapper class for the UI style, by setting any additional class passed through the $class parameter.
1370
  *
1371
+ * @param array|string $class List of additional classes to add to the UI style class.
1372
  *
1373
  * @return string
1374
  * @author Emanuela Castorina
1375
  */
1376
  function yith_set_wrapper_class( $class = '' ) {
1377
+ $new_class = yith_get_wrapper_class();
1378
  $class = ( ! empty( $class ) && is_array( $class ) ) ? implode( ' ', $class ) : $class;
1379
 
1380
  return $new_class . ' ' . $class;
1698
  return $url;
1699
  }
1700
  }
1701
+
1702
+ if ( ! function_exists( 'yith_plugin_fw_include_fw_template' ) ) {
1703
+ /**
1704
+ * Include a FW template
1705
+ *
1706
+ * @param string $template The template.
1707
+ * @param array $args Arguments.
1708
+ *
1709
+ * @since 3.7.0
1710
+ */
1711
+ function yith_plugin_fw_include_fw_template( $template, $args = array() ) {
1712
+ $_template_path = trailingslashit( YIT_CORE_PLUGIN_TEMPLATE_PATH ) . $template;
1713
+
1714
+ if ( file_exists( $_template_path ) ) {
1715
+ extract( $args ); // phpcs:ignore WordPress.PHP.DontExtract.extract_extract
1716
+ include $_template_path;
1717
+ }
1718
+ }
1719
+ }
1720
+
1721
+ if ( ! function_exists( 'yith_plugin_fw_html_attributes_to_string' ) ) {
1722
+ /**
1723
+ * Transform attributes array to HTML attributes string.
1724
+ *
1725
+ * @param array $attributes The array of attributes.
1726
+ * @param bool $echo Set to true to print it directly; false otherwise.
1727
+ *
1728
+ * @return string
1729
+ * @since 3.7.0
1730
+ */
1731
+ function yith_plugin_fw_html_attributes_to_string( $attributes = array(), $echo = false ) {
1732
+ $html_attributes = '';
1733
+
1734
+ if ( is_array( $attributes ) ) {
1735
+ $html_attributes = array();
1736
+ foreach ( $attributes as $key => $value ) {
1737
+ $html_attributes[] = esc_attr( $key ) . '="' . esc_attr( $value ) . '"';
1738
+ }
1739
+ $html_attributes = implode( ' ', $html_attributes );
1740
+ }
1741
+
1742
+ if ( $echo ) {
1743
+ echo $html_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1744
+ }
1745
+
1746
+ return $html_attributes;
1747
+ }
1748
+ }
1749
+
1750
+ if ( ! function_exists( 'yith_plugin_fw_get_component' ) ) {
1751
+ /**
1752
+ * Retrieve a component.
1753
+ *
1754
+ * @param array $component The component.
1755
+ * @param bool $echo Set to true to print the component directly; false otherwise.
1756
+ *
1757
+ * @return false|string
1758
+ * @since 3.7.0
1759
+ */
1760
+ function yith_plugin_fw_get_component( $component, $echo = true ) {
1761
+ if ( ! empty( $component['type'] ) ) {
1762
+ $type = sanitize_title( $component['type'] );
1763
+ $defaults = array(
1764
+ 'id' => '',
1765
+ 'class' => '',
1766
+ 'attributes' => array(),
1767
+ 'data' => array(),
1768
+ );
1769
+
1770
+ $component = wp_parse_args( $component, $defaults );
1771
+
1772
+ $component['html_attributes'] = yith_plugin_fw_html_attributes_to_string( $component['attributes'] );
1773
+ $component['html_data'] = yith_plugin_fw_html_data_to_string( $component['data'] );
1774
+
1775
+ $component_template = '/components/' . $type . '.php';
1776
+
1777
+ if ( ! $echo ) {
1778
+ ob_start();
1779
+ }
1780
+
1781
+ yith_plugin_fw_include_fw_template( $component_template, compact( 'component' ) );
1782
+
1783
+ if ( ! $echo ) {
1784
+ return ob_get_clean();
1785
+ }
1786
+ }
1787
+
1788
+ return '';
1789
+ }
1790
+ }
1791
+
1792
+ if ( ! function_exists( 'yith_plugin_fw_get_default_post_actions' ) ) {
1793
+ /**
1794
+ * Retrieve the default post actions to be used in WP List tables to show action buttons.
1795
+ *
1796
+ * @param WP_Post|int $post The post.
1797
+ * @param array $args {
1798
+ * Optional. Arguments to retrieve actions.
1799
+ *
1800
+ * @type array $more-menu Array of more-menu items.
1801
+ * @type array|bool $more-menu-in-trash false: the menu will be not shown in trash | true: the menu will be shown in trash | array: set specific menu for trash.
1802
+ * @type string|false $duplicate-url The Duplicate URL. Default: false (the duplicate action will be not shown).
1803
+ * @type string|false $confirm-trash-message The 'confirm trash' message. Set to false to not ask for trash confirmation.
1804
+ * @type string|false $confirm-delete-message The 'confirm delete' message. Set to false to not ask for delete confirmation.
1805
+ * }
1806
+ *
1807
+ * @return array
1808
+ * @since 3.7.0
1809
+ */
1810
+ function yith_plugin_fw_get_default_post_actions( $post, $args = array() ) {
1811
+ $post = get_post( $post );
1812
+ $actions = array();
1813
+ if ( $post ) {
1814
+ $title = _draft_or_post_title( $post );
1815
+ $post_type_object = get_post_type_object( $post->post_type );
1816
+ $can_edit_post = current_user_can( 'edit_post', $post->ID );
1817
+
1818
+ $defaults = array(
1819
+ 'more-menu' => array(),
1820
+ 'more-menu-in-trash' => false,
1821
+ 'duplicate-url' => false,
1822
+ // translators: %s is the title of the post object.
1823
+ 'confirm-trash-message' => sprintf( __( 'Are you sure you want to move "%s" to trash?', 'yith-plugin-fw' ), '<strong>' . $title . '</strong>' ),
1824
+ // translators: %s is the title of the post object.
1825
+ 'confirm-delete-message' => sprintf( __( 'Are you sure you want to delete "%s"?', 'yith-plugin-fw' ), '<strong>' . $title . '</strong>' ) . '<br /><br />' . __( 'This action cannot be undone and you will be not able to recover this data.', 'yith-plugin-fw' ),
1826
+ );
1827
+
1828
+ $args = wp_parse_args( $args, $defaults );
1829
+
1830
+ if ( is_post_type_viewable( $post_type_object ) ) {
1831
+ if ( in_array( $post->post_status, array( 'pending', 'draft', 'future' ), true ) ) {
1832
+ if ( $can_edit_post ) {
1833
+ $preview_link = get_preview_post_link( $post );
1834
+
1835
+ $actions['view'] = array(
1836
+ 'type' => 'action-button',
1837
+ 'title' => _x( 'Preview', 'Post action', 'yith-plugin-fw' ),
1838
+ 'action' => 'view',
1839
+ 'icon' => 'eye',
1840
+ 'url' => $preview_link,
1841
+ );
1842
+ }
1843
+ } elseif ( 'trash' !== $post->post_status ) {
1844
+ $actions['view'] = array(
1845
+ 'type' => 'action-button',
1846
+ 'title' => _x( 'View', 'Post action', 'yith-plugin-fw' ),
1847
+ 'action' => 'view',
1848
+ 'icon' => 'eye',
1849
+ 'url' => get_permalink( $post->ID ),
1850
+ );
1851
+ }
1852
+ }
1853
+
1854
+ if ( $can_edit_post && 'trash' !== $post->post_status ) {
1855
+ $actions['edit'] = array(
1856
+ 'type' => 'action-button',
1857
+ 'title' => _x( 'Edit', 'Post action', 'yith-plugin-fw' ),
1858
+ 'action' => 'edit',
1859
+ 'url' => get_edit_post_link( $post->ID ),
1860
+ );
1861
+
1862
+ if ( $args['duplicate-url'] ) {
1863
+ $actions['duplicate'] = array(
1864
+ 'type' => 'action-button',
1865
+ 'title' => _x( 'Duplicate', 'Post action', 'yith-plugin-fw' ),
1866
+ 'action' => 'duplicate',
1867
+ 'icon' => 'clone',
1868
+ 'url' => $args['duplicate-url'],
1869
+ );
1870
+ }
1871
+ }
1872
+
1873
+ if ( current_user_can( 'delete_post', $post->ID ) ) {
1874
+ if ( 'trash' === $post->post_status ) {
1875
+ $actions['untrash'] = array(
1876
+ 'type' => 'action-button',
1877
+ 'title' => _x( 'Restore', 'Post action', 'yith-plugin-fw' ),
1878
+ 'action' => 'untrash',
1879
+ 'icon' => 'reply',
1880
+ 'url' => wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&amp;action=untrash', $post->ID ) ), 'untrash-post_' . $post->ID ),
1881
+ );
1882
+ } elseif ( EMPTY_TRASH_DAYS ) {
1883
+ $actions['trash'] = array(
1884
+ 'type' => 'action-button',
1885
+ 'title' => _x( 'Trash', 'Post action', 'yith-plugin-fw' ),
1886
+ 'action' => 'trash',
1887
+ 'url' => get_delete_post_link( $post->ID ),
1888
+ );
1889
+ if ( $args['confirm-trash-message'] ) {
1890
+ $actions['trash']['confirm_data'] = array(
1891
+ 'title' => __( 'Confirm trash', 'yith-plugin-fw' ),
1892
+ 'message' => $args['confirm-trash-message'],
1893
+ 'confirm-button' => _x( 'Yes, trash', 'Trash confirmation action', 'yith-plugin-fw' ),
1894
+ 'confirm-button-type' => 'delete',
1895
+ );
1896
+ }
1897
+ }
1898
+ if ( 'trash' === $post->post_status || ! EMPTY_TRASH_DAYS ) {
1899
+ $actions['delete'] = array(
1900
+ 'type' => 'action-button',
1901
+ 'title' => _x( 'Delete Permanently', 'Post action', 'yith-plugin-fw' ),
1902
+ 'action' => 'delete',
1903
+ 'icon' => 'trash',
1904
+ 'url' => get_delete_post_link( $post->ID, '', true ),
1905
+ );
1906
+ if ( $args['confirm-delete-message'] ) {
1907
+ $actions['delete']['confirm_data'] = array(
1908
+ 'title' => __( 'Confirm delete', 'yith-plugin-fw' ),
1909
+ 'message' => $args['confirm-delete-message'],
1910
+ 'confirm-button' => _x( 'Yes, delete', 'Delete confirmation action', 'yith-plugin-fw' ),
1911
+ 'confirm-button-type' => 'delete',
1912
+ );
1913
+ }
1914
+ }
1915
+ }
1916
+
1917
+ if ( $args['more-menu'] ) {
1918
+ if ( 'trash' !== $post->post_status || true === $args['more-menu-in-trash'] ) {
1919
+ $actions['more'] = array(
1920
+ 'type' => 'action-button',
1921
+ 'title' => __( 'Further actions', 'yith-plugin-fw' ),
1922
+ 'action' => 'more',
1923
+ 'url' => '#',
1924
+ 'menu' => $args['more-menu'],
1925
+ );
1926
+ } elseif ( ! ! $args['more-menu-in-trash'] ) {
1927
+ $actions['more'] = array(
1928
+ 'type' => 'action-button',
1929
+ 'title' => __( 'Further actions', 'yith-plugin-fw' ),
1930
+ 'action' => 'more',
1931
+ 'url' => '#',
1932
+ 'menu' => $args['more-menu-in-trash'],
1933
+ );
1934
+ }
1935
+ }
1936
+ }
1937
+
1938
+ return $actions;
1939
+ }
1940
+ }
1941
+
1942
+ if ( ! function_exists( 'yith_plugin_fw_get_default_term_actions' ) ) {
1943
+ /**
1944
+ * Retrieve the default term actions to be used in WP List tables to show action buttons.
1945
+ *
1946
+ * @param WP_Term|int $term The term.
1947
+ * @param array $args {
1948
+ * Optional. Arguments to retrieve actions.
1949
+ *
1950
+ * @type string $taxonomy The taxonomy. If not set, the taxonomy will be retrieved by $_REQUEST.
1951
+ * @type string $object-type The object type the term is assigned to (ex: the post-type).
1952
+ * @type array $more-menu Array of more-menu items.
1953
+ * @type string|false $duplicate-url The Duplicate URL. Default: false (the duplicate action will be not shown).
1954
+ * @type string|false $confirm-delete-message The 'confirm delete' message. Set to false to not ask for delete confirmation.
1955
+ * }
1956
+ *
1957
+ * @return array
1958
+ * @since 3.7.0
1959
+ */
1960
+ function yith_plugin_fw_get_default_term_actions( $term, $args = array() ) {
1961
+ if ( isset( $args['taxonomy'] ) ) {
1962
+ $taxonomy = $args['taxonomy'];
1963
+ } else {
1964
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended
1965
+ $taxonomy = isset( $_REQUEST['taxonomy'] ) ? sanitize_title( wp_unslash( $_REQUEST['taxonomy'] ) ) : false;
1966
+ }
1967
+
1968
+ if ( is_numeric( $term ) ) {
1969
+ $term_id = absint( $term );
1970
+ $term = get_term_by( 'id', $term_id, $taxonomy );
1971
+ }
1972
+
1973
+ $actions = array();
1974
+ $tax = get_taxonomy( $taxonomy );
1975
+ if ( ! empty( $term->term_id ) && $tax ) {
1976
+ $title = $term->name;
1977
+ $uri = wp_doing_ajax() ? wp_get_referer() : esc_url_raw( wp_unslash( isset( $_SERVER['REQUEST_URI'] ) ? $_SERVER['REQUEST_URI'] : '' ) );
1978
+ $defaults = array(
1979
+ 'object-type' => '',
1980
+ 'more-menu' => array(),
1981
+ 'duplicate-url' => false,
1982
+ // translators: %s is the title of the post object.
1983
+ 'confirm-delete-message' => sprintf( __( 'Are you sure you want to delete "%s"?', 'yith-plugin-fw' ), '<strong>' . $title . '</strong>' ) . '<br /><br />' . __( 'This action cannot be undone and you will be not able to recover this data.', 'yith-plugin-fw' ),
1984
+ );
1985
+
1986
+ $args = wp_parse_args( $args, $defaults );
1987
+
1988
+ $edit_link = add_query_arg(
1989
+ 'wp_http_referer',
1990
+ $uri,
1991
+ get_edit_term_link( $term->term_id, $taxonomy, $args['object-type'] )
1992
+ );
1993
+
1994
+ if ( is_taxonomy_viewable( $tax ) ) {
1995
+ $actions['view'] = array(
1996
+ 'type' => 'action-button',
1997
+ 'title' => _x( 'View', 'Term action', 'yith-plugin-fw' ),
1998
+ 'action' => 'view',
1999
+ 'icon' => 'eye',
2000
+ 'url' => get_term_link( $term ),
2001
+ );
2002
+ }
2003
+
2004
+ if ( current_user_can( 'edit_term', $term->term_id ) ) {
2005
+ $actions['edit'] = array(
2006
+ 'type' => 'action-button',
2007
+ 'title' => _x( 'Edit', 'Term action', 'yith-plugin-fw' ),
2008
+ 'action' => 'edit',
2009
+ 'url' => $edit_link,
2010
+ );
2011
+
2012
+ if ( $args['duplicate-url'] ) {
2013
+ $actions['duplicate'] = array(
2014
+ 'type' => 'action-button',
2015
+ 'title' => _x( 'Duplicate', 'Term action', 'yith-plugin-fw' ),
2016
+ 'action' => 'duplicate',
2017
+ 'icon' => 'clone',
2018
+ 'url' => $args['duplicate-url'],
2019
+ );
2020
+ }
2021
+ }
2022
+
2023
+ if ( current_user_can( 'delete_term', $term->term_id ) ) {
2024
+ $delete_url = wp_nonce_url( "edit-tags.php?action=delete&amp;taxonomy=$taxonomy&amp;tag_ID=$term->term_id", 'delete-tag_' . $term->term_id );
2025
+
2026
+ $actions['delete'] = array(
2027
+ 'type' => 'action-button',
2028
+ 'title' => _x( 'Delete', 'Term action', 'yith-plugin-fw' ),
2029
+ 'action' => 'delete',
2030
+ 'icon' => 'trash',
2031
+ 'url' => $delete_url,
2032
+ );
2033
+ if ( $args['confirm-delete-message'] ) {
2034
+ $actions['delete']['confirm_data'] = array(
2035
+ 'title' => __( 'Confirm delete', 'yith-plugin-fw' ),
2036
+ 'message' => $args['confirm-delete-message'],
2037
+ 'confirm-button' => _x( 'Yes, delete', 'Delete confirmation action', 'yith-plugin-fw' ),
2038
+ 'confirm-button-type' => 'delete',
2039
+ );
2040
+ }
2041
+ }
2042
+
2043
+ if ( $args['more-menu'] ) {
2044
+ $actions['more'] = array(
2045
+ 'type' => 'action-button',
2046
+ 'title' => __( 'Further actions', 'yith-plugin-fw' ),
2047
+ 'action' => 'more',
2048
+ 'url' => '#',
2049
+ 'menu' => $args['more-menu'],
2050
+ );
2051
+ }
2052
+ }
2053
+
2054
+ return $actions;
2055
+ }
2056
+ }
2057
+
2058
+ if ( ! function_exists( 'yith_plugin_fw_get_action_buttons' ) ) {
2059
+ /**
2060
+ * Retrieve action buttons.
2061
+ *
2062
+ * @param array $actions The actions.
2063
+ * @param bool $echo Set to true to print the field directly; false otherwise.
2064
+ *
2065
+ * @return string
2066
+ * @since 3.7.0
2067
+ */
2068
+ function yith_plugin_fw_get_action_buttons( $actions, $echo = true ) {
2069
+ $actions_html = '';
2070
+
2071
+ foreach ( $actions as $action ) {
2072
+ $action['type'] = 'action-button';
2073
+
2074
+ $actions_html .= yith_plugin_fw_get_component( $action, $echo );
2075
+ }
2076
+
2077
+ return $actions_html;
2078
+ }
2079
+ }
plugin-fw/yit-plugin.php CHANGED
@@ -36,6 +36,7 @@ require_once 'includes/privacy/class-yith-privacy.php';
36
  require_once 'includes/privacy/class-yith-privacy-plugin-abstract.php';
37
  require_once 'includes/promo/yith-promo.php';
38
  require_once 'includes/class-yith-system-status.php';
 
39
 
40
  // Gutenberg Support.
41
  if ( class_exists( 'WP_Block_Type_Registry' ) ) {
36
  require_once 'includes/privacy/class-yith-privacy-plugin-abstract.php';
37
  require_once 'includes/promo/yith-promo.php';
38
  require_once 'includes/class-yith-system-status.php';
39
+ require_once 'includes/class-yith-post-type-admin.php';
40
 
41
  // Gutenberg Support.
42
  if ( class_exists( 'WP_Block_Type_Registry' ) ) {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: yithemes
3
  Tags: woocommerce, quick view, woocommerce quick view, products quick view
4
  Requires at least: 5.3
5
  Tested up to: 5.7
6
- Stable tag: 1.6.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -40,6 +40,11 @@ Full documentation is available [here](https://docs.yithemes.com/yith-woocommerc
40
 
41
  == Changelog ==
42
 
 
 
 
 
 
43
  = 1.6.1 = Released 04 May 2021
44
 
45
  * New: support for WooCommerce 5.3
@@ -339,7 +344,7 @@ Or, if you have created your own language pack, or have an update for an existin
339
 
340
  == Upgrade notice ==
341
 
342
- = 1.6.1 = Released 04 May 2021
343
 
344
- * New: support for WooCommerce 5.3
345
  * Update: YITH plugin framework
3
  Tags: woocommerce, quick view, woocommerce quick view, products quick view
4
  Requires at least: 5.3
5
  Tested up to: 5.7
6
+ Stable tag: 1.6.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
40
 
41
  == Changelog ==
42
 
43
+ = 1.6.2 = Released 01 Jun 2021
44
+
45
+ * New: support for WooCommerce 5.4
46
+ * Update: YITH plugin framework
47
+
48
  = 1.6.1 = Released 04 May 2021
49
 
50
  * New: support for WooCommerce 5.3
344
 
345
  == Upgrade notice ==
346
 
347
+ = 1.6.2 = Released 01 Jun 2021
348
 
349
+ * New: support for WooCommerce 5.4
350
  * Update: YITH plugin framework
templates/admin/premium.php CHANGED
@@ -252,7 +252,10 @@ defined( 'YITH_WCQV' ) || exit; // Exit if accessed directly.
252
  <div class="landing-container">
253
  <div class="premium-cta">
254
  <p>
255
- <?php echo sprintf( esc_html__( 'Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Quick View%2$s to benefit from all features!', 'yith-woocommerce-quick-view' ), '<span class="highlight">', '</span>' ); ?>
 
 
 
256
  </p>
257
  <a href="<?php echo esc_url( YITH_WCQV_Admin()->get_premium_landing_uri() ); ?>" target="_blank"
258
  class="premium-cta-button button btn">
@@ -275,7 +278,12 @@ defined( 'YITH_WCQV' ) || exit; // Exit if accessed directly.
275
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/01-icon.png" alt="Review Title"/>
276
  <h2><?php esc_html_e( 'BUTTON TYPE', 'yith-woocommerce-quick-view' ); ?></h2>
277
  </div>
278
- <p><?php echo sprintf( esc_html__( 'Choose between the button or a custom icon to access the %1$sQuick View%2$s: you can choose to place it after the "Add To Cart" button or inside the thumbnail of the product.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' ); ?></p>
 
 
 
 
 
279
  </div>
280
  </div>
281
  </div>
@@ -288,7 +296,12 @@ defined( 'YITH_WCQV' ) || exit; // Exit if accessed directly.
288
  alt="<?php esc_html_e( 'Product Navigation', 'yith-woocommerce-quick-view' ); ?>"/>
289
  <h2><?php esc_html_e( 'Product Navigation', 'yith-woocommerce-quick-view' ); ?> </h2>
290
  </div>
291
- <p><?php echo sprintf( esc_html__( 'The navigation in the "Quick View" allows browsing among %1$sproducts%2$s displayed in it. The navigation arrows show on mousehover the image of the next/previous product.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' ); ?></p>
 
 
 
 
 
292
  </div>
293
  <div class="col-1">
294
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/02.png"
@@ -308,7 +321,12 @@ defined( 'YITH_WCQV' ) || exit; // Exit if accessed directly.
308
  alt="<?php esc_html_e( 'Content to display', 'yith-woocommerce-quick-view' ); ?>"/>
309
  <h2><?php esc_html_e( 'Content to display', 'yith-woocommerce-quick-view' ); ?></h2>
310
  </div>
311
- <p><?php echo sprintf( esc_html__( 'The display of the product information in the "Quick View" are managed by %1$sadministrators%2$s who can decide whether to show everything or only a part of it.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' ); ?></p>
 
 
 
 
 
312
  </div>
313
  </div>
314
  </div>
@@ -320,7 +338,12 @@ defined( 'YITH_WCQV' ) || exit; // Exit if accessed directly.
320
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/07-icon.png" alt="icon 04"/>
321
  <h2><?php esc_html_e( 'Quick View Type', 'yith-woocommerce-quick-view' ); ?> </h2>
322
  </div>
323
- <p><?php echo sprintf( esc_html__( 'Quick view has two different displaying modes: the first one opens it as a %1$smodal window%2$s, the other one opens it in the page itself with a %1$scascading effect%2$s above content page.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' ); ?></p>
 
 
 
 
 
324
  </div>
325
  <div class="col-1">
326
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/07.png"
@@ -340,7 +363,12 @@ defined( 'YITH_WCQV' ) || exit; // Exit if accessed directly.
340
  alt="Vote the review"/>
341
  <h2><?php esc_html_e( '"View details" button', 'yith-woocommerce-quick-view' ); ?></h2>
342
  </div>
343
- <p><?php echo sprintf( esc_html__( 'An additional button that allows users to access product detail page directly from quick view window just with a click of the mouse.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' ); ?></p>
 
 
 
 
 
344
  </div>
345
  </div>
346
  </div>
@@ -352,7 +380,12 @@ defined( 'YITH_WCQV' ) || exit; // Exit if accessed directly.
352
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/04-icon.png" alt="Number"/>
353
  <h2><?php esc_html_e( 'Type of product images', 'yith-woocommerce-quick-view' ); ?></h2>
354
  </div>
355
- <p><?php echo sprintf( esc_html__( 'Each product can have more than one image: choose whether to hide or show them with the %1$sslider%2$s effect or in the classic %1$sWooCommerce%2$s display.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' ); ?></p>
 
 
 
 
 
356
  </div>
357
  <div class="col-1">
358
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/04.png" alt="Icon 04"/>
@@ -370,7 +403,12 @@ defined( 'YITH_WCQV' ) || exit; // Exit if accessed directly.
370
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/05-icon.png" alt="icon 05"/>
371
  <h2><?php esc_html_e( 'SHARE', 'yith-woocommerce-quick-view' ); ?></h2>
372
  </div>
373
- <p><?php echo sprintf( esc_html__( '%1$sQuick View is also social-friendly!%2$s Activating this option, you will be able to share the Quick View on Facebook, Twitter, Pinterest, Google+, or sending an email.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' ); ?></p>
 
 
 
 
 
374
  </div>
375
  </div>
376
  </div>
@@ -382,7 +420,12 @@ defined( 'YITH_WCQV' ) || exit; // Exit if accessed directly.
382
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/06-icon.png" alt="Icon 06"/>
383
  <h2><?php esc_html_e( 'Style Options', 'yith-woocommerce-quick-view' ); ?></h2>
384
  </div>
385
- <p><?php echo sprintf( esc_html__( 'A rich option panel to change the colors of the %1$s"Quick View"%2$s button and of everything that is within the modal window generated.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' ); ?></p>
 
 
 
 
 
386
  </div>
387
  <div class="col-1">
388
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/06.png"
@@ -401,7 +444,12 @@ defined( 'YITH_WCQV' ) || exit; // Exit if accessed directly.
401
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/09-icon.png" alt="icon 09"/>
402
  <h2><?php esc_html_e( 'SHORTCODE', 'yith-woocommerce-quick-view' ); ?></h2>
403
  </div>
404
- <p><?php echo sprintf( esc_html__( 'The shortcode of plugin is a $1$srapid$2$s and $1$seasy$2$s solution: you can add a button in any spot of the page to allow your users to see the quick view of a specific product in your store.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' ); ?></p>
 
 
 
 
 
405
  </div>
406
  </div>
407
  </div>
@@ -413,7 +461,12 @@ defined( 'YITH_WCQV' ) || exit; // Exit if accessed directly.
413
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/09-icon.png" alt="Icon 10"/>
414
  <h2><?php esc_html_e( 'Compatibility with other YITH\'s plugins', 'yith-woocommerce-quick-view' ); ?></h2>
415
  </div>
416
- <p><?php echo sprintf( esc_html__( 'Thanks to the compatibility with %1$sYITH WooCommerce Zoom Magnifier, YITH WooCommerce Badge Management%2$s and %1$sYITH WooCommerce Wishlist%2$s, you will be free to enrich further the content of your quick view.%3$s Zoom the product image, show a badge, or add the button to open the quick view in all products available in your users\' wishlists. With YITH\'s plugins you make the difference.', 'yith-woocommerce-quick-view' ), '<b>', '</b>', '<br>' ); ?></p>
 
 
 
 
 
417
  </div>
418
  <div class="col-1">
419
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/10.png" alt=""/>
@@ -424,7 +477,10 @@ defined( 'YITH_WCQV' ) || exit; // Exit if accessed directly.
424
  <div class="landing-container">
425
  <div class="premium-cta">
426
  <p>
427
- <?php echo sprintf( esc_html__( 'Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Quick View%2$s to benefit from all features!', 'ywqa' ), '<span class="highlight">', '</span>' ); ?>
 
 
 
428
  </p>
429
  <a href="<?php echo esc_url( YITH_WCQV_Admin()->get_premium_landing_uri() ); ?>" target="_blank"
430
  class="premium-cta-button button btn">
252
  <div class="landing-container">
253
  <div class="premium-cta">
254
  <p>
255
+ <?php
256
+ // translators: placeholders are used to add html tags.
257
+ echo sprintf( esc_html__( 'Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Quick View%2$s to benefit from all features!', 'yith-woocommerce-quick-view' ), '<span class="highlight">', '</span>' );
258
+ ?>
259
  </p>
260
  <a href="<?php echo esc_url( YITH_WCQV_Admin()->get_premium_landing_uri() ); ?>" target="_blank"
261
  class="premium-cta-button button btn">
278
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/01-icon.png" alt="Review Title"/>
279
  <h2><?php esc_html_e( 'BUTTON TYPE', 'yith-woocommerce-quick-view' ); ?></h2>
280
  </div>
281
+ <p>
282
+ <?php
283
+ // translators: placeholders are used to add html tags.
284
+ echo sprintf( esc_html__( 'Choose between the button or a custom icon to access the %1$sQuick View%2$s: you can choose to place it after the "Add To Cart" button or inside the thumbnail of the product.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' );
285
+ ?>
286
+ </p>
287
  </div>
288
  </div>
289
  </div>
296
  alt="<?php esc_html_e( 'Product Navigation', 'yith-woocommerce-quick-view' ); ?>"/>
297
  <h2><?php esc_html_e( 'Product Navigation', 'yith-woocommerce-quick-view' ); ?> </h2>
298
  </div>
299
+ <p>
300
+ <?php
301
+ // translators: placeholders are used to add html tags.
302
+ echo sprintf( esc_html__( 'The navigation in the "Quick View" allows browsing among %1$sproducts%2$s displayed in it. The navigation arrows show on mousehover the image of the next/previous product.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' );
303
+ ?>
304
+ </p>
305
  </div>
306
  <div class="col-1">
307
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/02.png"
321
  alt="<?php esc_html_e( 'Content to display', 'yith-woocommerce-quick-view' ); ?>"/>
322
  <h2><?php esc_html_e( 'Content to display', 'yith-woocommerce-quick-view' ); ?></h2>
323
  </div>
324
+ <p>
325
+ <?php
326
+ // translators: placeholders are used to add html tags.
327
+ echo sprintf( esc_html__( 'The display of the product information in the "Quick View" are managed by %1$sadministrators%2$s who can decide whether to show everything or only a part of it.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' );
328
+ ?>
329
+ </p>
330
  </div>
331
  </div>
332
  </div>
338
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/07-icon.png" alt="icon 04"/>
339
  <h2><?php esc_html_e( 'Quick View Type', 'yith-woocommerce-quick-view' ); ?> </h2>
340
  </div>
341
+ <p>
342
+ <?php
343
+ // translators: placeholders are used to add html tags.
344
+ echo sprintf( esc_html__( 'Quick view has two different displaying modes: the first one opens it as a %1$smodal window%2$s, the other one opens it in the page itself with a %1$scascading effect%2$s above content page.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' );
345
+ ?>
346
+ </p>
347
  </div>
348
  <div class="col-1">
349
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/07.png"
363
  alt="Vote the review"/>
364
  <h2><?php esc_html_e( '"View details" button', 'yith-woocommerce-quick-view' ); ?></h2>
365
  </div>
366
+ <p>
367
+ <?php
368
+ // translators: placeholders are used to add html tags.
369
+ echo sprintf( esc_html__( 'An additional button that allows users to access product detail page directly from quick view window just with a click of the mouse.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' );
370
+ ?>
371
+ </p>
372
  </div>
373
  </div>
374
  </div>
380
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/04-icon.png" alt="Number"/>
381
  <h2><?php esc_html_e( 'Type of product images', 'yith-woocommerce-quick-view' ); ?></h2>
382
  </div>
383
+ <p>
384
+ <?php
385
+ // translators: placeholders are used to add html tags.
386
+ echo sprintf( esc_html__( 'Each product can have more than one image: choose whether to hide or show them with the %1$sslider%2$s effect or in the classic %1$sWooCommerce%2$s display.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' );
387
+ ?>
388
+ </p>
389
  </div>
390
  <div class="col-1">
391
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/04.png" alt="Icon 04"/>
403
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/05-icon.png" alt="icon 05"/>
404
  <h2><?php esc_html_e( 'SHARE', 'yith-woocommerce-quick-view' ); ?></h2>
405
  </div>
406
+ <p>
407
+ <?php
408
+ // translators: placeholders are used to add html tags.
409
+ echo sprintf( esc_html__( '%1$sQuick View is also social-friendly!%2$s Activating this option, you will be able to share the Quick View on Facebook, Twitter, Pinterest, Google+, or sending an email.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' );
410
+ ?>
411
+ </p>
412
  </div>
413
  </div>
414
  </div>
420
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/06-icon.png" alt="Icon 06"/>
421
  <h2><?php esc_html_e( 'Style Options', 'yith-woocommerce-quick-view' ); ?></h2>
422
  </div>
423
+ <p>
424
+ <?php
425
+ // translators: placeholders are used to add html tags.
426
+ echo sprintf( esc_html__( 'A rich option panel to change the colors of the %1$s"Quick View"%2$s button and of everything that is within the modal window generated.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' );
427
+ ?>
428
+ </p>
429
  </div>
430
  <div class="col-1">
431
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/06.png"
444
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/09-icon.png" alt="icon 09"/>
445
  <h2><?php esc_html_e( 'SHORTCODE', 'yith-woocommerce-quick-view' ); ?></h2>
446
  </div>
447
+ <p>
448
+ <?php
449
+ // translators: placeholders are used to add html tags.
450
+ echo sprintf( esc_html__( 'The shortcode of plugin is a $1$srapid$2$s and $1$seasy$2$s solution: you can add a button in any spot of the page to allow your users to see the quick view of a specific product in your store.', 'yith-woocommerce-quick-view' ), '<b>', '</b>' );
451
+ ?>
452
+ </p>
453
  </div>
454
  </div>
455
  </div>
461
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/09-icon.png" alt="Icon 10"/>
462
  <h2><?php esc_html_e( 'Compatibility with other YITH\'s plugins', 'yith-woocommerce-quick-view' ); ?></h2>
463
  </div>
464
+ <p>
465
+ <?php
466
+ // translators: placeholders are used to add html tags.
467
+ echo sprintf( esc_html__( 'Thanks to the compatibility with %1$sYITH WooCommerce Zoom Magnifier, YITH WooCommerce Badge Management%2$s and %1$sYITH WooCommerce Wishlist%2$s, you will be free to enrich further the content of your quick view.%3$s Zoom the product image, show a badge, or add the button to open the quick view in all products available in your users\' wishlists. With YITH\'s plugins you make the difference.', 'yith-woocommerce-quick-view' ), '<b>', '</b>', '<br>' );
468
+ ?>
469
+ </p>
470
  </div>
471
  <div class="col-1">
472
  <img src="<?php echo esc_url( YITH_WCQV_ASSETS_URL ); ?>/image/10.png" alt=""/>
477
  <div class="landing-container">
478
  <div class="premium-cta">
479
  <p>
480
+ <?php
481
+ // translators: placeholders are used to add html tags.
482
+ echo sprintf( esc_html__( 'Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Quick View%2$s to benefit from all features!', 'ywqa' ), '<span class="highlight">', '</span>' );
483
+ ?>
484
  </p>
485
  <a href="<?php echo esc_url( YITH_WCQV_Admin()->get_premium_landing_uri() ); ?>" target="_blank"
486
  class="premium-cta-button button btn">
uninstall.php CHANGED
@@ -7,7 +7,7 @@
7
  * @version 1.0.0
8
  */
9
 
10
- // If uninstall not called from WordPress exit
11
  if( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
12
  exit;
13
  }
7
  * @version 1.0.0
8
  */
9
 
10
+ // If uninstall not called from WordPress exit.
11
  if( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
12
  exit;
13
  }