YITH WooCommerce Wishlist - Version 2.2.11

Version Description

  • Released: Jun, 13 - 2019 =

  • Update: internal plugin framework

  • Tweak: Prevent undefined index user_id when user is logging

  • Dev: New action yith_wcwl_default_user_wishlist

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Wishlist
Version 2.2.11
Comparing to
See all releases

Code changes from version 2.2.10 to 2.2.11

Files changed (57) hide show
  1. README.txt +9 -3
  2. includes/class.yith-wcwl-init.php +1 -1
  3. includes/class.yith-wcwl.php +6 -2
  4. init.php +1 -1
  5. plugin-fw/assets/css/metaboxes.css +18 -1
  6. plugin-fw/assets/css/yith-fields.css +1434 -9
  7. plugin-fw/assets/fonts/yith-icon.eot +0 -0
  8. plugin-fw/assets/fonts/yith-icon.svg +27 -0
  9. plugin-fw/assets/fonts/yith-icon.ttf +0 -0
  10. plugin-fw/assets/fonts/yith-icon.woff +0 -0
  11. plugin-fw/assets/images/arrow_down.svg +9 -0
  12. plugin-fw/assets/images/banner-free.png +0 -0
  13. plugin-fw/assets/images/banner-premium.png +0 -0
  14. plugin-fw/assets/images/rate_banner.png +0 -0
  15. plugin-fw/assets/images/upgrade_banner.png +0 -0
  16. plugin-fw/assets/js/yith-fields.js +631 -346
  17. plugin-fw/assets/js/yith-fields.min.js +1 -15
  18. plugin-fw/init.php +74 -5
  19. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  20. plugin-fw/languages/yith-plugin-fw-it_IT.po +31 -20
  21. plugin-fw/lib/promo/black.jpg +0 -0
  22. plugin-fw/lib/promo/cyber.jpg +0 -0
  23. plugin-fw/lib/promo/halloween.jpg +0 -0
  24. plugin-fw/lib/promo/yith-promo.php +189 -0
  25. plugin-fw/lib/promo/yith-promo.xml +64 -0
  26. plugin-fw/lib/yit-assets.php +8 -4
  27. plugin-fw/lib/yit-metabox.php +127 -34
  28. plugin-fw/lib/yit-plugin-licence.php +119 -0
  29. plugin-fw/lib/yit-plugin-panel-wc.php +123 -4
  30. plugin-fw/lib/yit-plugin-panel.php +106 -2
  31. plugin-fw/lib/yit-theme-licence.php +97 -0
  32. plugin-fw/lib/yit-upgrade.php +8 -649
  33. plugin-fw/licence/assets/css/yit-licence.css +0 -461
  34. plugin-fw/licence/assets/images/licence-error.png +0 -0
  35. plugin-fw/licence/assets/js/yit-licence.js +0 -215
  36. plugin-fw/licence/assets/js/yit-licence.min.js +0 -8
  37. plugin-fw/licence/lib/yit-licence.php +0 -804
  38. plugin-fw/licence/lib/yit-plugin-licence.php +0 -243
  39. plugin-fw/licence/lib/yit-theme-licence.php +0 -191
  40. plugin-fw/licence/templates/panel/activation/activation-panel.php +0 -247
  41. plugin-fw/templates/fields/colorpicker.php +1 -1
  42. plugin-fw/templates/fields/date-format.php +56 -0
  43. plugin-fw/templates/fields/list-table.php +59 -0
  44. plugin-fw/templates/fields/multi-colorpicker.php +39 -0
  45. plugin-fw/templates/fields/onoff.php +1 -1
  46. plugin-fw/templates/fields/select-buttons.php +3 -2
  47. plugin-fw/templates/fields/select.php +4 -2
  48. plugin-fw/templates/fields/text.php +1 -0
  49. plugin-fw/templates/fields/textarea.php +3 -1
  50. plugin-fw/templates/fields/toggle-element.php +264 -0
  51. plugin-fw/templates/fields/upload.php +11 -11
  52. plugin-fw/templates/metaboxes/field-row.php +1 -0
  53. plugin-fw/templates/metaboxes/tab.php +6 -2
  54. plugin-fw/templates/panel/woocommerce/woocommerce-option-row.php +1 -1
  55. plugin-fw/templates/panel/woocommerce/woocommerce-panel.php +7 -3
  56. plugin-fw/yit-functions.php +138 -0
  57. plugin-fw/yit-plugin.php +4 -4
README.txt CHANGED
@@ -3,13 +3,13 @@
3
Contributors: yithemes
4
Tags: wishlist, woocommerce, products, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, shop wishlist
5
Requires at least: 4.0
6
- Tested up to: 5.1.1
7
- Stable tag: 2.2.10
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11
YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work.
12
- WooCommerce 3.5.x compatible.
13
14
15
== Description ==
@@ -109,6 +109,12 @@ you should ask theme developers to update custom templates and replace the old t
109
110
== Changelog ==
111
112
= 2.2.10 - Released: Apr, 23 - 2019 =
113
114
* Update: internal plugin framework
3
Contributors: yithemes
4
Tags: wishlist, woocommerce, products, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, shop wishlist
5
Requires at least: 4.0
6
+ Tested up to: 5.2
7
+ Stable tag: 2.2.11
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11
YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work.
12
+ WooCommerce 3.6.x compatible.
13
14
15
== Description ==
109
110
== Changelog ==
111
112
+ = 2.2.11 - Released: Jun, 13 - 2019 =
113
+
114
+ * Update: internal plugin framework
115
+ * Tweak: Prevent undefined index user_id when user is logging
116
+ * Dev: New action yith_wcwl_default_user_wishlist
117
+
118
= 2.2.10 - Released: Apr, 23 - 2019 =
119
120
* Update: internal plugin framework
includes/class.yith-wcwl-init.php CHANGED
@@ -49,7 +49,7 @@ if ( ! class_exists( 'YITH_WCWL_Init' ) ) {
49
* @var string
50
* @since 1.0.0
51
*/
52
- public $version = '2.2.10';
53
54
/**
55
* Plugin database version
49
* @var string
50
* @since 1.0.0
51
*/
52
+ public $version = '2.2.11';
53
54
/**
55
* Plugin database version
includes/class.yith-wcwl.php CHANGED
@@ -399,10 +399,13 @@ if ( ! class_exists( 'YITH_WCWL' ) ) {
399
}
400
401
if( is_user_logged_in() ) {
402
$sql = "SELECT COUNT(*) as `cnt` FROM `{$wpdb->yith_wcwl_items}` WHERE `prod_id` = %d AND `user_id` = %d";
403
$sql_args = array(
404
$product_id,
405
- $this->details['user_id']
406
);
407
408
if( $wishlist_id != false ){
@@ -1037,6 +1040,8 @@ if ( ! class_exists( 'YITH_WCWL' ) ) {
1037
if( ! empty( $wishlists ) ){
1038
$default_user_wishlist = $wishlists[0]['ID'];
1039
$this->last_operation_token = $wishlists[0]['wishlist_token'];
1040
}
1041
else{
1042
$token = $this->generate_wishlist_token();
@@ -1061,7 +1066,6 @@ if ( ! class_exists( 'YITH_WCWL' ) ) {
1061
);
1062
1063
$wpdb->query( $wpdb->prepare( $sql, $sql_args ) );
1064
-
1065
return $default_user_wishlist;
1066
}
1067
399
}
400
401
if( is_user_logged_in() ) {
402
+
403
+ $user_id = ( $this->details['user_id'] ) ? $this->details['user_id'] : get_current_user_id();
404
+
405
$sql = "SELECT COUNT(*) as `cnt` FROM `{$wpdb->yith_wcwl_items}` WHERE `prod_id` = %d AND `user_id` = %d";
406
$sql_args = array(
407
$product_id,
408
+ $user_id
409
);
410
411
if( $wishlist_id != false ){
1040
if( ! empty( $wishlists ) ){
1041
$default_user_wishlist = $wishlists[0]['ID'];
1042
$this->last_operation_token = $wishlists[0]['wishlist_token'];
1043
+
1044
+ do_action('yith_wcwl_default_user_wishlist', $user_id, $wishlists);
1045
}
1046
else{
1047
$token = $this->generate_wishlist_token();
1066
);
1067
1068
$wpdb->query( $wpdb->prepare( $sql, $sql_args ) );
1069
return $default_user_wishlist;
1070
}
1071
init.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: YITH WooCommerce Wishlist
4
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-wishlist/
5
* Description: <code><strong>YITH WooCommerce Wishlist</strong></code> gives your users the possibility to create, fill, manage and share their wishlists allowing you to analyze their interests and needs to improve your marketing strategies. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce on <strong>YITH</strong></a>
6
- * Version: 2.2.10
7
* Author: YITH
8
* Author URI: https://yithemes.com/
9
* Text Domain: yith-woocommerce-wishlist
3
* Plugin Name: YITH WooCommerce Wishlist
4
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-wishlist/
5
* Description: <code><strong>YITH WooCommerce Wishlist</strong></code> gives your users the possibility to create, fill, manage and share their wishlists allowing you to analyze their interests and needs to improve your marketing strategies. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce on <strong>YITH</strong></a>
6
+ * Version: 2.2.11
7
* Author: YITH
8
* Author URI: https://yithemes.com/
9
* Text Domain: yith-woocommerce-wishlist
plugin-fw/assets/css/metaboxes.css CHANGED
@@ -87,6 +87,20 @@
87
display : block;
88
}
89
90
.metaboxes-tab .wp-picker-container label {
91
font-weight : inherit;
92
width : auto;
@@ -187,7 +201,10 @@
187
width : 400px;
188
max-width : 100%;
189
}
190
-
191
.metaboxes-tab .yith-plugin-fw-text-array-table input[type=text] {
192
width : 100%;
193
}
87
display : block;
88
}
89
90
+ .metaboxes-tab .yith-plugin-fw-radio__row{
91
+ width: 100%;
92
+ min-height: 20px;
93
+ }
94
+ .metaboxes-tab .yith-plugin-fw-radio__row label,
95
+ .metaboxes-tab .yith-toggle-elements label,
96
+ .metaboxes-tab .yith-add-box label {
97
+ margin-left:0;
98
+ font-weight:normal;
99
+ }
100
+ .metaboxes-tab.yith-plugin-ui .yith-add-box,
101
+ .metaboxes-tab.yith-plugin-ui .yith-toggle-row{
102
+ width : auto;
103
+ }
104
.metaboxes-tab .wp-picker-container label {
105
font-weight : inherit;
106
width : auto;
201
width : 400px;
202
max-width : 100%;
203
}
204
+ .metaboxes-tab.yith-plugin-ui input[type=number]{
205
+ width: auto;
206
+ min-width: 90px;
207
+ }
208
.metaboxes-tab .yith-plugin-fw-text-array-table input[type=text] {
209
width : 100%;
210
}
plugin-fw/assets/css/yith-fields.css CHANGED
@@ -201,17 +201,19 @@ ul.yit-icons-manager-list li.active {
201
}
202
203
.yith-plugin-fw-onoff-container input + span {
204
- cursor : pointer;
205
- text-indent : -9999px;
206
- display : block;
207
- width : 36px;
208
- height : 20px;
209
- background : #a4a4a4;
210
- border-radius : 24px;
211
- position : relative;
212
- transition : all 0.3s;
213
}
214
215
.yith-plugin-fw-onoff-container input + span:before {
216
content : '';
217
background : #fff;
@@ -399,4 +401,1427 @@ ul.yit-icons-manager-list li.active {
399
display : block;
400
max-width : 100%;
401
margin : 0 auto;
402
}
201
}
202
203
.yith-plugin-fw-onoff-container input + span {
204
+ cursor: pointer;
205
+ text-indent: -9999px;
206
+ display: block;
207
+ width: 36px;
208
+ height: 20px;
209
+ line-height: 1;
210
+ background: #a4a4a4;
211
+ border-radius: 24px;
212
+ position: relative;
213
+ transition: all 0.3s;
214
}
215
216
+
217
.yith-plugin-fw-onoff-container input + span:before {
218
content : '';
219
background : #fff;
401
display : block;
402
max-width : 100%;
403
margin : 0 auto;
404
+ }
405
+
406
+ /****************
407
+ YITH UI
408
+ ****************/
409
+ @font-face {
410
+ font-family: 'yith-icon';
411
+ src: url('../fonts/yith-icon.eot?7ik896');
412
+ src: url('../fonts/yith-icon.eot?7ik896#iefix') format('embedded-opentype'),
413
+ url('../fonts/yith-icon.ttf?7ik896') format('truetype'),
414
+ url('../fonts/yith-icon.woff?7ik896') format('woff'),
415
+ url('../fonts/yith-icon.svg?7ik896#yith-icon') format('svg');
416
+ font-weight: normal;
417
+ font-style: normal;
418
+ }
419
+
420
+ [class^="icon-"], [class*=" icon-"] {
421
+ /* use !important to prevent issues with browser extensions that change fonts */
422
+ font-family: 'yith-icon' !important;
423
+ speak: none;
424
+ font-style: normal;
425
+ font-weight: normal;
426
+ font-variant: normal;
427
+ text-transform: none;
428
+ line-height: 1;
429
+
430
+ /* Better Font Rendering =========== */
431
+ -webkit-font-smoothing: antialiased;
432
+ -moz-osx-font-smoothing: grayscale;
433
+ }
434
+ .icon-drag:before {
435
+ content: "\e90f";
436
+ color: #d8d8d8;
437
+ }
438
+ .icon-arrow_down:before {
439
+ content: "\e900";
440
+ color: #d8d8d8;
441
+ }
442
+ .icon-arrow_left:before {
443
+ content: "\e901";
444
+ color: #d8d8d8;
445
+ }
446
+ .icon-arrow_right:before {
447
+ content: "\e902";
448
+ color: #d8d8d8;
449
+ }
450
+ .icon-arrow_up:before {
451
+ content: "\e903";
452
+ color: #d8d8d8;
453
+ }
454
+ .icon-calendar:before {
455
+ content: "\e904";
456
+ color: #d8d8d8;
457
+ }
458
+ .icon-check:before {
459
+ content: "\e905";
460
+ color: #d8d8d8;
461
+ }
462
+ .icon-close:before {
463
+ content: "\e906";
464
+ color: #d8d8d8;
465
+ }
466
+ .icon-edit:before {
467
+ content: "\e907";
468
+ color: #d8d8d8;
469
+ }
470
+ .icon-magnifier:before {
471
+ content: "\e908";
472
+ color: #d8d8d8;
473
+ }
474
+ .icon-pencil:before {
475
+ content: "\e909";
476
+ color: #d8d8d8;
477
+ }
478
+ .icon-plus:before {
479
+ content: "\e90a";
480
+ color: #d8d8d8;
481
+ }
482
+ .icon-update:before {
483
+ content: "\e90b";
484
+ color: #d8d8d8;
485
+ }
486
+ .icon-upload:before {
487
+ content: "\e90c";
488
+ color: #d8d8d8;
489
+ }
490
+ .icon-trash:before {
491
+ content: "\e90d";
492
+ color: #d8d8d8;
493
+ }
494
+ .icon-info:before {
495
+ content: "\e90e";
496
+ color: #d8d8d8;
497
+ }
498
+ .icon-reset:before {
499
+ content: "\e910";
500
+ color: #d8d8d8;
501
+ }
502
+ .yith-plugin-fw-banner{
503
+ width: 100%;
504
+ height: 75px;
505
+ background: url('../images/banner-premium.png');
506
+ }
507
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free{
508
+ height: 290px;
509
+ background: url('../images/banner-free.png') no-repeat;
510
+ }
511
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free h1{
512
+ max-width: auto;
513
+ text-align:left;
514
+ margin-left: 110px;
515
+ padding-top: 15px;
516
+ padding-bottom: 8px;
517
+ }
518
+
519
+ .yith-plugin-fw-banner h1{
520
+ text-transform: uppercase;
521
+ color: #0c5777;
522
+ font-size: 15px;
523
+ padding-left: 150px;
524
+ font-weight: 700;
525
+ text-align: left;
526
+ display: inline-block;
527
+ box-sizing: border-box;
528
+ }
529
+
530
+ .yith-plugin-fw-banner span{
531
+ font-style:italic;
532
+ display: block;
533
+ font-size: 15px;
534
+ color:#214249;
535
+ text-transform:none;
536
+ text-align: right;
537
+ }
538
+
539
+ .yith-plugin-fw-banner a,
540
+ .yith-plugin-fw-banner a:focus{
541
+ text-decoration: none;
542
+ outline: none;
543
+ box-shadow: none;
544
+ }
545
+
546
+ .yith-banners ul{
547
+ list-style: none;
548
+ margin-left: 10px;
549
+ }
550
+
551
+ .yith-banners ul li{
552
+ display: inline-block;
553
+ margin-left: 10px;
554
+ }
555
+ .yith-plugin-ui a{
556
+ outline: none;
557
+ box-shadow: none;
558
+ }
559
+
560
+ .yith-plugin-ui{
561
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
562
+ }
563
+
564
+ .yith-plugin-ui #wpwrap h2.nav-tab-wrapper, .yith-plugin-ui #wpbody-content h2.nav-tab-wrapper{
565
+ margin-top:10px;
566
+ }
567
+
568
+ .yith-plugin-ui .nav-tab{
569
+ margin-left: 0px;
570
+ margin-right: 2px;
571
+ background-color: #336374;
572
+ color: #fff;
573
+ font-size: 13px;
574
+ padding: 7px 20px;
575
+ border: 0;
576
+ }
577
+ .yith-plugin-ui .nav-tab:first-child{
578
+ border-left: 1px solid #d9d9d9;
579
+ }
580
+
581
+ .yith-plugin-ui .nav-tab.yith-premium{
582
+ background-color: #be421c;
583
+ }
584
+ .yith-plugin-ui .nav-tab-active{
585
+ background-color: #fff;
586
+ color: #336374;
587
+ border-bottom:1px solid #fff;
588
+ }
589
+ .yith-plugin-ui .nav-tab-active.yith-premium{
590
+ background-color: #fff;
591
+ color: #be421c;
592
+ }
593
+ .yith-plugin-ui #plugin-fw-wc{
594
+ padding-top: 0px;
595
+ }
596
+
597
+ .yith-plugin-ui .form-table td{
598
+ padding: 15px 20px;
599
+ }
600
+
601
+ .yith-plugin-ui label{
602
+ color: #33373b;
603
+ font-size: 13px;
604
+ }
605
+
606
+ .yith-plugin-ui span.description{
607
+ color: #716269;
608
+ font-size: 11px;
609
+ font-style: normal;
610
+ font-weight: 400;
611
+ margin-top: 15px;
612
+ margin-left: 0;
613
+ }
614
+ #wpwrap .yith-plugin-ui h2.nav-tab-wrapper, #wpbody-content .yith-plugin-ui h2.nav-tab-wrapper {
615
+ border: 0;
616
+ border-bottom : 1px solid #ccc;
617
+ margin-right: 15px;
618
+ background-color: transparent;
619
+ padding-left: 0;
620
+ }
621
+ .yith-plugin-ui #plugin-fw-wc table.form-table,
622
+ .yith-plugin-ui #yith-plugin-fw-panel table.form-table,
623
+ .yith-plugin-ui table.form-table{
624
+ border: 1px solid #d8d8d8;
625
+ border-top: 0;
626
+ margin-bottom: 40px;
627
+ }
628
+
629
+ .yith-plugin-ui #wpwrap h2.nav-tab-wrapper, .yith-plugin-ui #wpbody-content h2.nav-tab-wrapper{
630
+ background-color: transparent;
631
+ border: 0;
632
+ text-transform: none;
633
+ border-bottom: 1px solid #ddd;
634
+ }
635
+
636
+ .yith-plugin-ui h2 {
637
+ color: #2a8db0;
638
+ font-size: 13px;
639
+ text-transform: uppercase;
640
+ border: 1px solid #d8d8d8;
641
+ border-bottom: 0;
642
+ background-color: #fff;
643
+ padding: 35px 20px;
644
+ margin: 0px;
645
+ }
646
+ .yith-plugin-ui .yith-plugin-fw-custom-tab h2{
647
+ border: 0px solid #d8d8d8;
648
+ padding-left: 0;
649
+ }
650
+
651
+ .yith-plugin-ui #plugin-fw-wc table.form-table th, #yith-plugin-fw-panel table.form-table th.titledesc, .yith-plugin-ui #plugin-fw-wc table.form-table td, #yith-plugin-fw-panel table.form-table td.forminp {
652
+ padding: 30px 20px;
653
+ }
654
+
655
+ .yith-plugin-ui #plugin-fw-wc h2 + div {
656
+ background: #fff;
657
+ border-left: 1px solid #d9d9d9;
658
+ border-right: 1px solid #d9d9d9;
659
+ margin: -20px 0 0 0;
660
+ padding-left: 20px;
661
+ padding-bottom: 5px;
662
+ }
663
+
664
+ .yith-plugin-ui #plugin-fw-wc h2 + div p, .yith-plugin-ui p.info-box{
665
+ background: #f1f1f1;
666
+ font-size: 12px;
667
+ font-weight: 700;
668
+ width: 40%;
669
+ display:block;
670
+ padding: 15px;
671
+ margin-bottom: 0;
672
+ }
673
+
674
+ .yith-plugin-ui #plugin-fw-wc h2 + div p:before, .yith-plugin-ui p.info-box:before{
675
+ content: "\e90e";
676
+ font-family: yith-icon;
677
+ font-size: 30px;
678
+ font-weight: normal;
679
+ display: block;
680
+ margin-top: -5px;
681
+ float: left;
682
+ margin-right: 15px;
683
+ }
684
+
685
+ .yith-plugin-ui h2:first-child{
686
+ border-top: 0;
687
+ }
688
+
689
+ /*** Icon ***/
690
+ .yith-plugin-ui span.yith-icon {
691
+ margin-left: -36px;
692
+ line-height: 36px;
693
+ font-size: 20px;
694
+ }
695
+
696
+ /*** General Input Style ***/
697
+
698
+ .yith-plugin-ui .yith-plugin-fw select,
699
+ .yith-plugin-ui textarea,
700
+ .yith-plugin-ui input[type=number],
701
+ .yith-plugin-ui.metaboxes-tab input[type=number],
702
+ .yith-plugin-ui input[type=text],
703
+ .yith-plugin-ui input[type=text],
704
+ .yith-plugin-ui input[type=email],
705
+ .yith-plugin-ui input[type=password],
706
+ .yith-plugin-fw.yith-plugin-ui input[type=text]:not(.select2-search__field),
707
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text]:not(.select2-search__field),
708
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table select,
709
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table textarea,
710
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=number],
711
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text] {
712
+ border: 1px solid #d8d8d8;
713
+ border-radius: 8px;
714
+ padding: 8px 10px;
715
+ height: 38px;
716
+ min-width: 90px;
717
+ box-shadow: none;
718
+ color: #716269;
719
+ }
720
+ .yith-plugin-ui textarea,
721
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table textarea{
722
+ height: auto;
723
+ }
724
+ .yith-plugin-ui table.form-table input[type=text].wp-color-picker,
725
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].wp-color-picker{
726
+ border: 0;
727
+ height: 30px;
728
+ max-width: 60px;
729
+
730
+ }
731
+
732
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].small-text,
733
+ .yith-plugin-ui input[type=text].small-text {
734
+ width: 100px;
735
+ height: 25px;
736
+ border: 1px solid #d9d9d9;
737
+ }
738
+
739
+ .yith-plugin-ui textarea {
740
+ height: auto;
741
+ padding: 8px;
742
+ }
743
+
744
+ .yith-plugin-ui select:focus,
745
+ .yith-plugin-ui input[type=text]:focus {
746
+ border-color: #a7d9ec;
747
+ }
748
+
749
+ .woocommerce .yith-plugin-ui table.form-table select,
750
+ .yith-plugin-ui select{
751
+ -webkit-appearance: none;
752
+ line-height: 1;
753
+ min-height: 35px;
754
+ background: url("../images/arrow_down.svg") no-repeat right center;
755
+ background-size: 35px 13px;
756
+ border-radius: 8px;
757
+ }
758
+
759
+ .yith-plugin-ui .form-table th{
760
+ width: 280px;
761
+ padding-right: 50px;
762
+ }
763
+
764
+ /** BUTTONS **/
765
+ .yith-plugin-ui .tablenav .button.action,
766
+ .wp-core-ui .yith-plugin-ui .button-primary,
767
+ .wp-core-ui .yith-plugin-ui .button-secondary,
768
+ .yith-plugin-ui .yith-add-button,
769
+ .yith-plugin-ui .yith-save-button,
770
+ .yith-plugin-ui .yith-edit-button,
771
+ .yith-plugin-ui .yith-update-button,
772
+ .yith-plugin-ui .yith-plugin-fw-select-all,
773
+ .yith-plugin-ui .yith-plugin-fw-deselect-all,
774
+ .yith-plugin-ui .yith-plugin-fw-upload-button,
775
+ .yith-plugin-ui .yith-plugin-fw-upload-button-reset {
776
+ border-radius: 3px;
777
+ text-transform: uppercase;
778
+ box-shadow: none;
779
+ border: 0;
780
+ font-weight: 700;
781
+ font-size: 11px;
782
+ padding: 0px 14px;
783
+ outline: none;
784
+ height: auto;
785
+ transition: all ease 0.3s;
786
+ background-color: #d6d6d6;
787
+ color: #656565;
788
+ text-shadow: none;
789
+ vertical-align: middle;
790
+ line-height: 26px;
791
+ display: inline-block;
792
+ text-decoration: none;
793
+ }
794
+ .wp-core-ui .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button-reset,
795
+ .wp-core-ui .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button,
796
+ .yith-plugin-ui .yith-plugin-fw-upload-button-reset,
797
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button-reset,
798
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button{
799
+ height: 38px;
800
+ }
801
+
802
+ .wp-core-ui .yith-plugin-ui .button:focus,
803
+ .wp-core-ui .yith-plugin-ui .button-primary:focus,
804
+ .yith-plugin-ui .yith-add-button:focus,
805
+ .yith-plugin-ui .yith-save-button:focus,
806
+ .yith-plugin-ui .yith-edit-button:focus,
807
+ .yith-plugin-ui .yith-update-button:focus,
808
+ .wp-core-ui .yith-plugin-ui .button-secondary:focus{
809
+ outline: none;
810
+ box-shadow: none;
811
+ }
812
+
813
+ /** button with inside a span with icon class */
814
+ .yith-plugin-ui .button-secondary span.yith-icon{
815
+ margin-left: 0px;
816
+ margin-right: 10px;
817
+ line-height: normal;
818
+ }
819
+
820
+ .yith-plugin-ui .button-secondary span.yith-icon:before{
821
+ color: #656565;
822
+ font-size: 15px;
823
+ }
824
+
825
+ .yith-plugin-ui .tablenav .button.action,
826
+ .wp-core-ui .yith-plugin-ui .button:focus,
827
+ .wp-core-ui .yith-plugin-ui .button-secondary:focus,
828
+ .yith-plugin-ui .yith-save-button:hover,
829
+ .wp-core-ui .yith-plugin-ui .button-secondary:hover,
830
+ .yith-plugin-ui .yith-plugin-fw-upload-button-reset:hover{
831
+ background-color: #cacaca;
832
+ color: #515151;
833
+ }
834
+
835
+ .wp-core-ui .yith-plugin-ui .button-primary,
836
+ .yith-plugin-ui .tablenav .button.action,
837
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all,
838
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button{
839
+ background-color: #007694;
840
+ color: #fff;
841
+ }
842
+
843
+ .yith-plugin-ui .tablenav .button.action:active,
844
+ .yith-plugin-ui .tablenav .button.action:focus,
845
+ .yith-plugin-ui .tablenav .button.action:hover,
846
+ .yith-plugin-ui .yith-add-button,
847
+ .wp-core-ui .yith-plugin-ui .button-primary:focus,
848
+ .wp-core-ui .yith-plugin-ui .button-primary:hover{
849
+ background-color: #375f6b;
850
+ color: #fff;
851
+ }
852
+
853
+
854
+ .yith-plugin-ui .yith-add-button:hover,
855
+ .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button:focus,
856
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all:hover,
857
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all:focus,
858
+ .yith-plugin-ui .yith-plugin-fw-upload-button:hover{
859
+ border-color: #007694;
860
+ background: #007694;
861
+ color: #fff;
862
+ line-height: 26px;
863
+ margin-left: 0;
864
+ }
865
+
866
+ .yith-plugin-ui .button-primary:before,
867
+ .yith-plugin-ui .yith-add-button:before,
868
+ .yith-plugin-ui .yith-save-button:before,
869
+ .yith-plugin-ui .yith-edit-button:before,
870
+ .yith-plugin-ui .yith-update-button:before,
871
+ .yith-plugin-ui .button-secondary:before{
872
+ font-family: 'yith-icon';
873
+ font-size: 10px;
874
+ font-weight: 700;
875
+ margin-right: 10px;
876
+ vertical-align: bottom;
877
+ display:inline-block;
878
+ }
879
+
880
+ /** yith-edit-button **/
881
+ .yith-plugin-ui .yith-edit-button {
882
+ background-color: #7f9298;
883
+ color: #fff;
884
+ }
885
+ .yith-plugin-ui .yith-edit-button:focus,
886
+ .yith-plugin-ui .yith-edit-button:hover {
887
+ background-color: #718085;
888
+ color: #fff;
889
+ }
890
+ .yith-plugin-ui .yith-edit-button:before{
891
+ content: "\e907";
892
+ }
893
+ /** yith-update-button **/
894
+ .yith-plugin-ui .yith-update-button {
895
+ background-color: #94aa09;
896
+ color: #fff;
897
+ }
898
+ .yith-plugin-ui .yith-update-button:focus,
899
+ .yith-plugin-ui .yith-update-button:hover {
900
+ background-color: #7a9009;
901
+ color: #fff;
902
+ }
903
+ .yith-plugin-ui .yith-update-button:before{
904
+ content: "\e90b";
905
+ font-size: 15px;
906
+ }
907
+
908
+ /** yith-save-button **/
909
+
910
+ .yith-plugin-ui .yith-save-button {
911
+ background-color: #267390;
912
+ color: #fff;
913
+ }
914
+ .yith-plugin-ui .yith-save-button:focus,
915
+ .yith-plugin-ui .yith-save-button:hover {
916
+ background-color: #1c4863;
917
+ color: #fff;
918
+ }
919
+
920
+
921
+ /** yith-remove-button **/
922
+
923
+ .yith-plugin-ui .button-secondary.yith-remove-button:before{
924
+ content: "\e90d";
925
+ font-size: 15px;
926
+ }
927
+
928
+
929
+ /** yith-add-button **/
930
+
931
+ .yith-plugin-ui .yith-add-button:before{
932
+ content: "\e90a";
933
+ }
934
+
935
+ /** yith-plugin-fw-upload-button **/
936
+ .yith-plugin-ui button.yith-plugin-fw-upload-button:before{
937
+ content: "\e90c";
938
+ font-family: 'yith-icon';
939
+ font-size: 19px;
940
+ font-weight: 400;
941
+ margin-right: 10px;
942
+ vertical-align: middle;
943
+ display:inline-block;
944
+ }
945
+ /** SELECT 2 **/
946
+ .yith-plugin-ui .select2-container,
947
+ .yith-plugin-ui .select2-selection--single{
948
+ height: auto;
949
+ padding: 2px;
950
+ outline: none;
951
+ }
952
+
953
+ .yith-plugin-ui .select2-selection--single{
954
+ margin: 0;
955
+ border: 0;
956
+ }
957
+
958
+ /* old panel*/
959
+
960
+ .yith-plugin-ui span.select2.select2-container.select2-container--default{
961
+ border: 1px solid #d8d8d8;
962
+ border-radius:8px;
963
+ }
964
+ .yith-plugin-ui span.select2.select2-container.select2-container--default:hover,
965
+ .yith-plugin-ui span.select2.select2-container.select2-container--default:active,
966
+ .yith-plugin-ui span.select2.select2-container.select2-container--default:focus {
967
+ border-color: #a7d9ec;
968
+ }
969
+ .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
970
+ color: #fff;
971
+ }
972
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].select2-search__field,
973
+ .yith-plugin-ui .yith-plugin-fw table.form-table input.select2-search__field{
974
+ border: 0;
975
+ padding: 0;
976
+ height: initial;
977
+ }
978
+ .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice,
979
+ .yith-plugin-ui .select2-selection__choice{
980
+ color: #fff;
981
+ background-color: #4e8ba2;
982
+ border-radius: 12px;
983
+ padding: 3px 11px;
984
+ border-color: #33937e;
985
+ font-size: 12px;
986
+ }
987
+
988
+ .yith-plugin-ui .select2-container--default .select2-selection--single .select2-selection__arrow:before{
989
+ content: "\e900";
990
+ font-family: 'yith-icon' !important;
991
+ line-height: 36px;
992
+ color: #d9d9d9;
993
+ }
994
+
995
+ .yith-plugin-ui .select2-container--default .select2-selection--single .select2-selection__arrow b{
996
+ display: none;
997
+ }
998
+ .yith-plugin-ui .select2-container--open .select2-dropdown--below,
999
+ .yith-plugin-ui .select2-container--open .select2-dropdown--above,
1000
+ .yith-plugin-fw-panel .select2-container--open .select2-dropdown--below,
1001
+ .yith-plugin-fw-panel .select2-container--open .select2-dropdown--above {
1002
+ margin-top: 10px;
1003
+ border-radius: 8px;
1004
+ box-shadow:0 2px 4px 0 rgba(0,0,0,0.12),0 2px 10px 0 rgba(0,0,0,0.12) !important;
1005
+ }
1006
+ .yith-plugin-ui .select2-container--open .select2-dropdown--above,
1007
+ .yith-plugin-fw-panel .select2-container--open .select2-dropdown--above{
1008
+ margin-top: -10px;
1009
+ }
1010
+ .yith-plugin-ui .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
1011
+ .yith-plugin-ui .select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
1012
+ .yith-plugin-fw-panel .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
1013
+ .yith-plugin-fw-panel .select2-container--default.select2-container--open.select2-container--above .select2-selection--single{
1014
+ border-radius: 8px;
1015
+ }
1016
+ .yith-plugin-ui .select2-results .select2-results__group, .select2-results .select2-results__option:first-child,
1017
+ .yith-plugin-fw-panel .select2-results .select2-results__group, .select2-results .select2-results__option:first-child{
1018
+ border-top-left-radius: 8px;
1019
+ border-top-right-radius: 8px;
1020
+ }
1021
+ .yith-plugin-ui .select2-results .select2-results__group,
1022
+ .yith-plugin-ui .select2-results .select2-results__option:last-child,
1023
+ .yith-plugin-fw-panel .select2-results .select2-results__group,
1024
+ .yith-plugin-fw-panel .select2-results .select2-results__option:last-child{
1025
+ border-bottom-left-radius: 8px;
1026
+ border-bottom-right-radius: 8px;
1027
+ }
1028
+ .yith-plugin-ui .select2-container--default .select2-results__option[data-selected=true],
1029
+ .yith-plugin-ui .select2-container--default .select2-results__option[aria-selected=true],
1030
+ .yith-plugin-fw-panel .select2-container--default .select2-results__option[data-selected=true],
1031
+ .yith-plugin-fw-panel .select2-container--default .select2-results__option[aria-selected=true] {
1032
+ background-color: #fff;
1033
+ outline: none;
1034
+ }
1035
+ .yith-plugin-ui .select2-container--default .select2-results__option--highlighted[aria-selected],
1036
+ .yith-plugin-ui .select2-container--default .select2-results__option--highlighted[data-selected],
1037
+ .yith-plugin-fw-panel .select2-container--default .select2-results__option--highlighted[aria-selected],
1038
+ .yith-plugin-fw-panel .select2-container--default .select2-results__option--highlighted[data-selected]{
1039
+ background-color: #e8eff1;
1040
+ color: #4e8ba2;
1041
+ outline: none;
1042
+ }
1043
+
1044
+ .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
1045
+ .yith-plugin-fw-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
1046
+ float: right;
1047
+ padding-left: 15px;
1048
+ text-indent: -9999px;
1049
+ }
1050
+
1051
+
1052
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after,
1053
+ .woocommerce .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after,
1054
+ .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after{
1055
+ float: right;
1056
+ color: #fff;
1057
+ content: "\e906";
1058
+ font-family: 'yith-icon' !important;
1059
+ font-size: 9px;
1060
+ line-height: 21px;
1061
+ text-indent: 0;
1062
+ }
1063
+
1064
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after{
1065
+ color: #000;
1066
+ }
1067
+
1068
+ .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after
1069
+ .yith-plugin-fw-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after{
1070
+ color: #000;
1071
+ }
1072
+ .yith-plugin-ui .select2-container .select2-selection--multiple,
1073
+ .yith-plugin-ui .select2-container--default.select2-container--focus .select2-selection--multiple{
1074
+ border: 0;
1075
+ }
1076
+
1077
+ .yith-plugin-fw .select2-search input[type=text]{
1078
+ border: 0;
1079
+ padding: 0;
1080
+ height: auto;
1081
+ }
1082
+ .yith-plugin-ui .yith-plugin-fw-select-field-wrapper span.yith-icon.icon-magnifier,
1083
+ .yith-plugin-fw-panel .yith-plugin-fw-select-field-wrapper span.yith-icon.icon-magnifier {
1084
+ position: absolute;
1085
+ padding-top: 5px;
1086
+ }
1087
+
1088
+ .yith-plugin-ui input[type=text].select2-search__field{
1089
+ border: 0;
1090
+ padding: 0;
1091
+ height: 30px;
1092
+ }
1093
+ .yith-plugin-ui .select2-container--default .select2-search--dropdown .select2-search__field,
1094
+ .yith-plugin-fw-panel .select2-container--default .select2-search--dropdown .select2-search__field {
1095
+ border: 1px solid #d9d9d9;
1096
+ border-radius: 8px;
1097
+ box-shadow: none;
1098
+ }
1099
+ .yith-plugin-ui .select2-dropdown,
1100
+ .yith-plugin-fw-panel .select2-dropdown{
1101
+ border: 1px solid #d9d9d9;
1102
+ }
1103
+ /** RADIO BUTTON **/
1104
+ .yith-plugin-ui [type="radio"]:checked,
1105
+ .yith-plugin-ui [type="radio"]:not(:checked) {
1106
+ position: absolute;
1107
+ left: -9999px;
1108
+ }
1109
+ .yith-plugin-ui [type="radio"]:checked + label,
1110
+ .yith-plugin-ui [type="radio"]:not(:checked) + label
1111
+ {
1112
+ position: relative;
1113
+ padding-left: 35px;
1114
+ cursor: pointer;
1115
+ line-height: 20px;
1116
+ display: inline-block;
1117
+ color: #716269;
1118
+ font-size: 12px;
1119
+ }
1120
+ .yith-plugin-ui [type="radio"]:checked + label:before,
1121
+ .yith-plugin-ui [type="radio"]:not(:checked) + label:before {
1122
+ content: '';
1123
+ position: absolute;
1124
+ left: 0;
1125
+ top: 0;
1126
+ width: 18px;
1127
+ height: 18px;
1128
+ border: 1px solid #d8d8d8;
1129
+ border-radius: 100%;
1130
+ background: #fff;
1131
+ }
1132
+ .yith-plugin-ui [type="radio"]:checked + label:after,
1133
+ .yith-plugin-ui [type="radio"]:not(:checked) + label:after {
1134
+ content: '';
1135
+ width: 12px;
1136
+ height: 12px;
1137
+ background: #4e8ba2;
1138
+ position: absolute;
1139
+ top: 4px;
1140
+ left: 4px;
1141
+ border-radius: 100%;
1142
+ -webkit-transition: all 0.2s ease;
1143
+ transition: all 0.2s ease;
1144
+ }
1145
+ .yith-plugin-ui [type="radio"]:not(:checked) + label:after {
1146
+ opacity: 0;
1147
+ -webkit-transform: scale(0);
1148
+ transform: scale(0);
1149
+ }
1150
+ .yith-plugin-ui [type="radio"]:checked + label:after {
1151
+ opacity: 1;
1152
+ -webkit-transform: scale(1);
1153
+ transform: scale(1);
1154
+ }
1155
+
1156
+ /** CHECKBOX **/
1157
+ .yith-plugin-ui input[type="checkbox"] {
1158
+ -webkit-appearance: none;
1159
+ background-color: #fff;
1160
+ border: 1px solid #d8d8d8;
1161
+ box-shadow: none;
1162
+ width: 18px;
1163
+ height: 18px;
1164
+ border-radius: 3px;
1165
+ display: inline-block;
1166
+ position: relative;
1167
+ }
1168
+ .yith-plugin-ui input[type="checkbox"]:checked{
1169
+ background-color: #4e8ba2;
1170
+ border-color: #488197;
1171
+ }
1172
+ .yith-plugin-ui .forminp-checkbox span.description.inline {
1173
+ margin-left: 10px;
1174
+ }
1175
+ .yith-plugin-ui input[type="checkbox"]:checked:before{
1176
+ display: none;
1177
+ }
1178
+
1179
+ .yith-plugin-ui input[type="checkbox"]:checked:after {
1180
+ content: "\e905";
1181
+ font-family: 'yith-icon';
1182
+ font-size: 15px;
1183
+ position: absolute;
1184
+ top: 8px;
1185
+ left: 1px;
1186
+ color: #fff;
1187
+ }
1188
+
1189
+ /** ONOFF **/
1190
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input[type="checkbox"] {
1191
+ display: none;
1192
+ }
1193
+
1194
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span{
1195
+ border: 1px solid #d8d8d8;
1196
+ background-color: #fff;
1197
+ width:50px;
1198
+ }
1199
+
1200
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span:before{
1201
+ background-color: #d8d8d8;
1202
+ }
1203
+
1204
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span:before {
1205
+ width: 14px;
1206
+ height: 14px;
1207
+ top: 3px;
1208
+ left: 4px;
1209
+ background-color: #d8d8d8;
1210
+ }
1211
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span:after{
1212
+ content: 'OFF';
1213
+ width: 14px;
1214
+ height: 14px;
1215
+ font-size: 10px;
1216
+ padding-left:24px;
1217
+ color: #979797;
1218
+ margin-top: 5px;
1219
+ display: inline-block;
1220
+ }
1221
+
1222
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span,
1223
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input.onoffchecked + span{
1224
+ background-color: #fff;
1225
+ border-color: #98aa36;
1226
+ }
1227
+
1228
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:before,
1229
+ .yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:before{
1230
+ background-color: #98aa36;
1231
+ left:32px;
1232
+ }
1233
+
1234
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:after,
1235
+ .yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:after{
1236
+ content: 'ON';
1237
+ color: #98aa36;
1238
+ width: 14px;
1239
+ height: 14px;
1240
+ display: inline-block;
1241
+ font-size: 10px;
1242
+ padding: 0 10px;
1243
+ margin-top: 5px;
1244
+
1245
+ }
1246
+
1247
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span{
1248
+ text-indent: 0;
1249
+ }
1250
+
1251
+
1252
+ /**
1253
+ DATEPICKER
1254
+ */
1255
+ .yith-plugin-ui div#ui-datepicker-div,
1256
+ .yith-plugin-fw-panel div#ui-datepicker-div {
1257
+ border: 0;
1258
+ box-shadow:0 2px 4px 0 rgba(0,0,0,0.12),0 2px 10px 0 rgba(0,0,0,0.12) !important;
1259
+ }
1260
+
1261
+ .yith-plugin-ui .ui-datepicker-header.ui-widget-header,
1262
+ .yith-plugin-fw-panel .ui-datepicker-header.ui-widget-header {
1263
+ background:#4e8ba2;
1264
+ color: #fff;
1265
+ font-size: 11px;
1266
+ line-height: 25px;
1267
+ border:0;
1268
+ min-height: 25px;
1269
+ }
1270
+ .yith-plugin-ui .ui-datepicker-title,
1271
+ .yith-plugin-fw-panel .ui-datepicker-title{
1272
+ line-height: 25px;
1273
+ }
1274
+ .yith-plugin-ui .ui-datepicker th,
1275
+ .yith-plugin-fw-panel .ui-datepicker th{
1276
+ color: #716269;
1277
+ }
1278
+ .yith-plugin-ui .ui-widget-header .ui-icon,
1279
+ .yith-plugin-ui .ui-widget-header .ui-state-hover,
1280
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-prev,
1281
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-next,
1282
+ .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-w,
1283
+ .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-e,
1284
+ .yith-plugin-fw-panel .ui-widget-header .ui-icon,
1285
+ .yith-plugin-fw-panel .ui-widget-header .ui-state-hover,
1286
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-prev,
1287
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-next,
1288
+ .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-w,
1289
+ .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-e{
1290
+ background: none;
1291
+ content: "";
1292
+ border: 0;
1293
+ text-indent: 0;
1294
+ width:15px;
1295
+ height: 20px;
1296
+ display:block;
1297
+ overflow:hidden;
1298
+ }
1299
+
1300
+ .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-w:before,
1301
+ .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-w:before {
1302
+ content: "\e901";
1303
+ color: #fff;
1304
+ font-family: 'yith-icon';
1305
+ font-size: 12px;
1306
+ font-weight: normal;
1307
+ width:15px;
1308
+ display:block;
1309
+ }
1310
+ .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-e:before,
1311
+ .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-e:before {
1312
+ content: "\e902";
1313
+ color: #fff;
1314
+ text-indent: 0;
1315
+ font-family: 'yith-icon';
1316
+ font-size: 12px;
1317
+ font-weight: normal;
1318
+ width:15px;
1319
+ display:block;
1320
+ }
1321
+
1322
+ /* arrow */
1323
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-prev,
1324
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-next,
1325
+ .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-prev-hover,
1326
+ .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-next-hover,
1327
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-prev,
1328
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-next,
1329
+ .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-prev-hover,
1330
+ .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-next-hover{
1331
+ top: 1px;
1332
+ cursor: pointer;
1333
+ }
1334
+ .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-prev,
1335
+ .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-prev-hover,
1336
+ .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-prev,
1337
+ .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-prev-hover{
1338
+ left: 5px;
1339
+ }
1340
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-next,
1341
+ .yith-plugin-ui .ui-datepicker-next.ui-datepicker-next-hover,
1342
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-next,
1343
+ .yith-plugin-fw-panel .ui-datepicker-next.ui-datepicker-next-hover{
1344
+ right: 1px;
1345
+ }
1346
+
1347
+ .yith-plugin-ui .ui-datepicker table,
1348
+ .yith-plugin-fw-panel .ui-datepicker table{
1349
+ font-size: 10px;
1350
+ }
1351
+
1352
+ .yith-plugin-ui .ui-state-default,
1353
+ .yith-plugin-ui .ui-widget-content .ui-state-default,
1354
+ .yith-plugin-ui .ui-widget-header .ui-state-default,
1355
+ .yith-plugin-fw-panel .ui-state-default,
1356
+ .yith-plugin-fw-panel .ui-widget-content .ui-state-default,
1357
+ .yith-plugin-fw-panel .ui-widget-header .ui-state-default{
1358
+ background:#fff;
1359
+ border: 1px solid #d9d9d9;
1360
+
1361
+ }
1362
+ .yith-plugin-ui .ui-state-hover,
1363
+ .yith-plugin-ui .ui-widget-content .ui-state-hover,
1364
+ .yith-plugin-ui a.ui-state-default:focus,
1365
+ .yith-plugin-ui .ui-widget-content .ui-state-focus,
1366
+ .yith-plugin-ui .ui-widget-header .ui-state-focus,
1367
+ .yith-plugin-fw-panel .ui-state-hover,
1368
+ .yith-plugin-fw-panel .ui-widget-content .ui-state-hover,
1369
+ .yith-plugin-fw-panel a.ui-state-default:focus,
1370
+ .yith-plugin-fw-panel .ui-widget-content .ui-state-focus,
1371
+ .yith-plugin-fw-panel .ui-widget-header .ui-state-focus{
1372
+ background:#ebf1f3;
1373
+ border:1px solid #bfd5dd;
1374
+ outline: none;
1375
+ box-shadow: none;
1376
+ }
1377
+ .yith-plugin-ui .ui-widget-header .ui-state-hover, .woocommerce .yith-plugin-ui .ui-state-focus,
1378
+ .yith-plugin-fw-panel .ui-widget-header .ui-state-hover, .woocommerce .yith-plugin-ui .ui-state-focus {
1379
+ background: none;
1380
+ border: 0;
1381
+ }
1382
+
1383
+ /** colorpicker **/
1384
+ .yith-plugin-ui .yith-plugin-fw-colorpicker-field-wrapper .iris-picker,
1385
+ .yith-plugin-ui .yith-plugin-fw-colorpicker-field-wrapper .wp-picker-holder {
1386
+ display: none !important;
1387
+ }
1388
+ .yith-plugin-ui .yith-plugin-fw-colorpicker-field-wrapper .wp-picker-input-wrap {
1389
+ display: inline !important;
1390
+ }
1391
+ .yith-plugin-ui .yith-plugin-fw-colorpicker-field-wrapper .wp-picker-active .iris-picker,
1392
+ .yith-plugin-ui .yith-plugin-fw-colorpicker-field-wrapper .wp-picker-active .wp-picker-holder {
1393
+ display: block !important;
1394
+ }
1395
+ .woocommerce .yith-plugin-ui .iris-picker{
1396
+ border:0;
1397
+ margin-top: 20px;
1398
+ }
1399
+ .yith-plugin-ui .yith-plugin-fw input[type=text].wp-color-picker {
1400
+ border:0;
1401
+ padding: 2px 5px;
1402
+ height:30px;
1403
+ }
1404
+ .yith-plugin-ui .wp-color-result-text{
1405
+ display: none;
1406
+ }
1407
+
1408
+ .yith-plugin-ui .wp-picker-container .wp-color-result.button{
1409
+ width: 30px;
1410
+ height: 30px;
1411
+ border: 0;
1412
+ box-shadow: none;
1413
+ border: 1px solid #d9d9d9;
1414
+ margin-bottom: 0;
1415
+ display: inline-block;
1416
+ vertical-align: middle;
1417
+ }
1418
+ .yith-plugin-ui .wp-picker-default-custom{
1419
+ cursor: pointer;
1420
+ width: 25px;
1421
+ padding: 0 5px;
1422
+ display: inline-block;
1423
+ vertical-align: middle;
1424
+ position: relative;
1425
+ }
1426
+ .yith-plugin-ui .wp-picker-default-custom input.button {
1427
+ opacity: 0;
1428
+ margin: 0;
1429
+ padding: 0;
1430
+ position: absolute;
1431
+ top: 0;
1432
+ right: 0;
1433
+ left: 0;
1434
+ bottom: 0;
1435
+ z-index: 2;
1436
+ }
1437
+ .yith-plugin-ui .wp-picker-default-custom:before{
1438
+ content: "\e910";
1439
+ text-indent: 0;
1440
+ font-family: 'yith-icon';
1441
+ font-size: 20px;
1442
+ color: #d8d8d8;
1443
+ font-weight: normal;
1444
+ width:15px;
1445
+ display:block;
1446
+ background: none;
1447
+ line-height: 20px;
1448
+ margin-left: 8px;
1449
+ }
1450
+ .yith-plugin-ui .wp-picker-container{
1451
+ width: auto;
1452
+ display: inline-block;
1453
+ border: 1px solid #d9d9d9;
1454
+ border-radius: 8px;
1455
+ padding: 5px;
1456
+ }
1457
+
1458
+ .yith-plugin-ui .iris-picker .iris-square-inner{
1459
+ box-shadow: none;
1460
+ border: 1px solid #d9d9d9;
1461
+ }
1462
+
1463
+ .yith-plugin-ui .yith-single-colorpicker{
1464
+ display: inline-block;
1465
+ width: 220px;
1466
+ }
1467
+
1468
+ .yith-plugin-ui .yith-single-colorpicker > label{
1469
+ display: block;
1470
+ font-size: 11px;
1471
+ font-weight: 600;
1472
+ margin-bottom: 10px;
1473
+ }
1474
+
1475
+ /* RANGE SLIDER */
1476
+ .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle{
1477
+ top: -45px!important;
1478
+ }
1479
+
1480
+ .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle {
1481
+ position: absolute;
1482
+ top: -33px;
1483
+ left: 0;
1484
+ width: auto !important;
1485
+ height: auto !important;
1486
+ padding: 2px 8px;
1487
+ margin-left: -15px;
1488
+ font-size: 12px;
1489
+ line-height: 20px;
1490
+ color: #4e8ba2;
1491
+ text-align: center;
1492
+ background-color: #fff;
1493
+ border: 1px solid #fff;
1494
+ border-radius: 3px;
1495
+ -webkit-transition: opacity .3s ease-in-out 0s;
1496
+ transition: opacity .3s ease-in-out 0s;
1497
+ box-shadow: 0px 1px 7px 0px rgba(1, 1, 1, 0.13);
1498
+ }
1499
+ .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle:before {
1500
+ position: absolute;
1501
+ bottom: -3px;
1502
+ left: 50%;
1503
+ display: inline-block;
1504
+ width: 6px;
1505
+ height: 6px;
1506
+ margin-left: -3px;
1507
+ content: "";
1508
+ background-color: #fff;
1509
+ -webkit-transform: rotate(-45deg);
1510
+ -ms-transform: rotate(-45deg);
1511
+ transform: rotate(-45deg);
1512
+ }
1513
+ .yith-plugin-ui .ui-slider.ui-widget-content .ui-widget-header{
1514
+ background: #4e8ba2 ;
1515
+ }
1516
+ .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle:after{
1517
+ content: '';
1518
+ width: 17px;
1519
+ height: 17px;
1520
+ display: block;
1521
+ position: absolute;
1522
+ background: #fff;
1523
+ top: 37px;
1524
+ border-radius: 50%;
1525
+ box-shadow: 0px 1px 6px 0px rgba(1, 1, 1, 0.25);
1526
+ }
1527
+ .yith-plugin-ui .ui-slider.ui-widget-content{
1528
+ height: 5px !important;
1529
+ }
1530
+
1531
+ .yith-plugin-ui .ui-slider .minCaption,
1532
+ .yith-plugin-ui .ui-slider .maxCaption {
1533
+ font-weight: 700;
1534
+ font-size: 12px;
1535
+ }
1536
+
1537
+
1538
+ /* ADD_BOX AND TOGGLE */
1539
+ .yith-plugin-ui .yith-add-box,
1540
+ .yith-plugin-ui .yith-toggle-row{
1541
+ width:70%;
1542
+ border: 1px solid #d9d9d9;
1543
+ box-shadow:none;
1544
+ border-radius: 4px;
1545
+ margin: 20px 0;
1546
+ padding: 10px;
1547
+ box-sizing: border-box;
1548
+ background: white;
1549
+ }
1550
+ .yith-plugin-ui .yith-add-box{
1551
+ padding: 30px 25px;
1552
+ display: none;
1553
+ }
1554
+ .yith-plugin-ui .yith-toggle-title{
1555
+ position: relative;
1556
+ }
1557
+ .yith-plugin-ui #plugin-fw-wc .yith-toggle-title h3,
1558
+ .yith-plugin-ui .yith-toggle-title h3{
1559
+ padding: 0px 20px 0px 25px;
1560
+ margin: 0;
1561
+ display: inline-block;
1562
+ position: relative;
1563
+ min-width: 173px;
1564
+ box-sizing: border-box;
1565
+ font-weight: 600;
1566
+ font-size: 15px;
1567
+ }
1568
+
1569
+ .yith-plugin-ui .yith-toggle-title .subtitle{
1570
+ padding-left: 0;
1571
+ padding-top:8px;
1572
+ font-size: 12px;
1573
+ }
1574
+
1575
+ .yith-plugin-ui .yith-toggle{
1576
+ position: absolute;
1577
+ width: 30px;
1578
+ height: 30px;
1579
+ display: block;
1580
+ cursor: pointer;
1581
+ left: 0px;
1582
+ top: 0;
1583
+ bottom: 0;
1584
+ }
1585
+ .yith-plugin-ui .yith-toggle > span:before{
1586
+ color: #405e69;
1587
+ }
1588
+
1589
+ .yith-plugin-ui .yith-toggle > span{
1590
+ position: absolute;
1591
+ right: 50%;
1592
+ transition: transform .3s;
1593
+ line-height: 1;
1594
+ }
1595
+
1596
+
1597
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle span{
1598
+ transform: rotateZ(90deg);
1599
+ }
1600
+
1601
+ .yith-plugin-ui .yith-toggle-content{
1602
+ display: none;
1603
+ position: relative;
1604
+ padding: 30px 25px;
1605
+ }
1606
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content{
1607
+ /* display: block;*/
1608
+ }
1609
+ .yith-plugin-ui .yith-add-box-row,
1610
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content .yith-toggle-content-row{
1611
+ display: table;
1612
+ margin-bottom: 20px;
1613
+ }
1614
+ .yith-plugin-ui .yith-add-box-row label,
1615
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content .yith-toggle-content-row label{
1616
+ display: table-cell;
1617
+ width: 250px;
1618
+ padding-right:40px;
1619
+ color: #33373b;
1620
+ font-size: 13px;
1621
+ vertical-align: top;
1622
+ font-weight: 600;
1623
+ }
1624
+
1625
+ .yith-plugin-ui .yith-add-box-row .yith-plugin-fw-field-wrapper:not(.yith-plugin-fw-title-field-wrapper),
1626
+ .yith-plugin-ui .yith-toggle-row-opened .yith-plugin-fw-field-wrapper:not(.yith-plugin-fw-title-field-wrapper) {
1627
+ /* display: table-cell;*/
1628
+ width: auto;
1629
+ float: none;
1630
+ vertical-align: middle;
1631
+ position: relative;
1632
+ }
1633
+ .yith-plugin-ui .yith-add-box-row span.yith-icon,
1634
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content .yith-toggle-content-row span.yith-icon{
1635
+ position: absolute;
1636
+ right: 15px;
1637
+ top: 0;
1638
+ bottom: 0;
1639
+ }
1640
+ .yith-plugin-ui .yith-add-box-buttons,
1641
+ .yith-plugin-ui .yith-toggle-content-buttons{
1642
+ text-align: right;
1643
+ }
1644
+ .yith-plugin-ui .yith-toggle-onoff {
1645
+ position: absolute;
1646
+ cursor: pointer;
1647
+ right: 0;
1648
+ }
1649
+ .yith-plugin-ui .ui-sortable .yith-toggle-onoff{
1650
+ right: 30px;
1651
+ }
1652
+ .yith-plugin-ui .yith-toggle-row .icon-drag{
1653
+ position: absolute;
1654
+ right: 0;
1655
+ top: 25%;
1656
+ bottom: 0;
1657
+ line-height: 1;
1658
+ }
1659
+ .yith-plugin-ui .yith-toggle-row.with-subtitle .yith-toggle{
1660
+ top: auto;
1661
+ }
1662
+ .yith-plugin-ui .yith-toggle-row.with-subtitle .yith-toggle-onoff{
1663
+ top: 25%;
1664
+ }
1665
+
1666
+ /** SPINNER **/
1667
+ .yith-plugin-ui .spinner{
1668
+ vertical-align: -5px;
1669
+ float: none;
1670
+ }
1671
+
1672
+ .yith-plugin-ui .spinner.show{
1673
+ visibility: visible;
1674
+ }
1675
+
1676
+ /* LIST TABLE */
1677
+ .yith-plugin-ui .form-table .list-table td{
1678
+ padding: 15px 0px;
1679
+ }
1680
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table .bulkactions select{
1681
+ border: 1px solid #d8d8d8;
1682
+ max-width: 200px;
1683
+ max-height: 30px;
1684
+ padding: 0 10px;
1685
+ }
1686
+ .yith-plugin-ui .form-table .list-table th{
1687
+ width: initial;
1688
+ }
1689
+
1690
+ .yith-plugin-ui #plugin-fw-wc table.form-table th.check-column{
1691
+ padding-left: 3px;
1692
+ }
1693
+ .yith-plugin-ui #plugin-fw-wc table.wp-list-table tbody td{
1694
+ padding-left: 20px;
1695
+ }
1696
+ .yith-plugin-ui .yith-plugin-fw-list-table h2{
1697
+ border: 0;
1698
+ padding: 35px 0 15px;
1699
+ display: inline-block;
1700
+ margin-right: 10px;
1701
+ }
1702
+ .yith-plugin-ui .form-table .yith-plugin-fw-list-table table th{
1703
+ vertical-align: middle;
1704
+ }
1705
+ .yith-plugin-ui .yith-plugin-fw-list-table-container{
1706
+ padding: 0 20px;
1707
+ }
1708
+ .yith-plugin-ui #doaction, .yith-plugin-ui #doaction2, .yith-plugin-ui #post-query-submit{
1709
+ margin-left: 10px;
1710
+ height: 33px;
1711
+ }
1712
+ .yith-plugin-ui .bulkactions{
1713
+ margin: 10px 0;
1714
+ }
1715
+ .yith-plugin-ui .form-table td p.yith-section-description{
1716
+ color:#716269;
1717
+ margin-bottom: 20px;
1718
+ }
1719
+
1720
+ /** Time picker width*/
1721
+ .yith-plugin-ui input.ui-timepicker-input {
1722
+ width: 100px!important;
1723
+ }
1724
+ /** date format **/
1725
+ .yith-plugin-ui .yith-plugin-fw-date-format code {
1726
+ margin-left: 30px;
1727
+ }
1728
+
1729
+ .yith-plugin-ui .yith-plugin-fw-date-format input[type=text].small-text {
1730
+ margin-left: 45px;
1731
+ }
1732
+
1733
+ /** checkbox columns **/
1734
+ .yith-plugin-ui td.forminp-checkbox.two-cols fieldset {
1735
+ width: calc(50% - 20px);
1736
+ padding-right: 20px;
1737
+ float: left;
1738
+ }
1739
+
1740
+ .yith-plugin-ui td.forminp-checkbox.three-cols fieldset {
1741
+ width: calc(33% - 0px);
1742
+ padding-right: 0px;
1743
+ float: left;
1744
+ }
1745
+
1746
+
1747
+ .yith-plugin-fw-checkbox-field-wrapper {
1748
+ display: inline-block !important;
1749
+ width: 19px !important;
1750
+ margin-right: 10px;
1751
+ }
1752
+ .yith-plugin-fw-checkbox-field-wrapper + span.description {
1753
+ display: inline-block;
1754
+ vertical-align: middle;
1755
+ margin: 0;
1756
+ }
1757
+ .yith-plugin-ui span.description {
1758
+ margin-top: 10px;
1759
+ }
1760
+ .yith-plugin-fw-option-with-description {
1761
+ display: table-cell;
1762
+ width: auto;
1763
+ vertical-align: top;
1764
+ }
1765
+ /** YITH PANEL **/
1766
+ .yith-plugin-ui #yith-plugin-fw-panel{
1767
+ margin-top: -10px;
1768
+ }
1769
+ .yith-plugin-ui #plugin-fw-wc, .yith-plugin-ui #yith-plugin-fw-panel{
1770
+ padding-top: 0;
1771
+ }
1772
+ .yith-plugin-ui .plugin-option tr{
1773
+ border: 0;
1774
+ }
1775
+
1776
+ @media screen and (max-width: 1440px){
1777
+ .yith-plugin-ui .yith-add-box,
1778
+ .yith-plugin-ui .yith-toggle-row{
1779
+ width: 80%;
1780
+ }
1781
+ }
1782
+ @media screen and (max-width: 1024px){
1783
+ .yith-plugin-ui .yith-add-box,
1784
+ .yith-plugin-ui .yith-toggle-row{
1785
+ width: 90%;
1786
+ }
1787
+
1788
+ .yith-plugin-ui td.forminp-checkbox.two-cols fieldset {
1789
+ width: 100%;
1790
+ padding-right: 20px;
1791
+ float: left;
1792
+ }
1793
+
1794
+ .yith-plugin-ui td.forminp-checkbox.three-cols fieldset {
1795
+ width: calc(50% - 0px);
1796
+ padding-right: 0px;
1797
+ float: left;
1798
+ }
1799
+ }
1800
+ @media screen and (max-width: 782px){
1801
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free{
1802
+ height: auto;
1803
+ background-color: #a9c7d3;
1804
+ }
1805
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free ul{
1806
+ width: 90%;
1807
+ text-align: center;
1808
+ }
1809
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free li img{
1810
+ width: 90%;
1811
+ margin: 0 auto;
1812
+ }
1813
+ .yith-plugin-fw-banner h1{
1814
+ line-height: 1.2em;
1815
+ }
1816
+
1817
+ .yith-plugin-ui .yith-add-box,
1818
+ .yith-plugin-ui .yith-toggle-row{
1819
+ width: 100%;
1820
+ }
1821
+
1822
+ .yith-plugin-ui td.forminp-checkbox.two-cols fieldset,
1823
+ .yith-plugin-ui td.forminp-checkbox.three-cols fieldset{
1824
+ width: 100%;
1825
+ }
1826
+
1827
}
plugin-fw/assets/fonts/yith-icon.eot ADDED
Binary file
plugin-fw/assets/fonts/yith-icon.svg ADDED
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="yith-icon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe900;" glyph-name="arrow_down" d="M85.333 618.667l426.684-426.65 426.65 426.65-85.35 85.316-341.299-341.299-341.367 341.299z" />
11
+ <glyph unicode="&#xe901;" glyph-name="arrow_left" d="M767.966 106.684l-341.316 341.367 341.316 341.265-85.35 85.35-426.581-426.615 426.581-426.718z" />
12
+ <glyph unicode="&#xe902;" glyph-name="arrow_right" d="M341.385 21.333l426.581 426.718-426.581 426.615-85.35-85.35 341.316-341.265-341.316-341.367z" />
13
+ <glyph unicode="&#xe903;" glyph-name="arrow_up" d="M938.667 277.333l-426.684 426.65-426.65-426.65 85.316-85.316 341.333 341.299 341.333-341.299z" />
14
+ <glyph unicode="&#xe904;" glyph-name="calendar" d="M263.1 341.385h71.083v-71.083h-71.083v71.083zM369.766 341.385h71.083v-71.083h-71.083v71.083zM476.416 341.385h71.083v-71.083h-71.083v71.083zM583.083 341.385h71.083v-71.083h-71.083v71.083zM369.766 448.034h71.083v-71.083h-71.083v71.083zM476.416 448.034h71.083v-71.083h-71.083v71.083zM583.083 448.034h71.083v-71.083h-71.083v71.083zM263.1 234.718h71.083v-71.083h-71.083v71.083zM369.766 234.718h71.083v-71.083h-71.083v71.083zM476.416 234.718h71.083v-71.083h-71.083v71.083zM583.083 234.718h71.083v-71.083h-71.083v71.083zM689.818 341.385h71.083v-71.083h-71.083v71.083zM689.818 448.034h71.083v-71.083h-71.083v71.083zM903.134 803.584h-142.234v71.083h-71.083v-71.083h-355.55v71.083h-71.083v-71.083h-142.319v-782.251h782.251v782.251zM263.1 732.501v-71.083h71.083v71.083h355.55v-71.083h71.083v71.083h71.083v-142.234h-640.017v142.234h71.219zM191.949 92.484v426.701h640.017v-426.701h-640.017z" />
15
+ <glyph unicode="&#xe905;" glyph-name="check" d="M938.667 734.191l-56.371 56.371-566.391-566.391-168.875 207.258-61.696-50.295 224.58-275.695z" />
16
+ <glyph unicode="&#xe906;" glyph-name="close" d="M158.857 21.333l353.143 353.143 353.143-353.143 73.523 73.523-353.143 353.143 353.143 353.143-73.523 73.523-353.143-353.143-353.143 353.143-73.523-73.523 353.143-353.143-353.143-353.143z" />
17
+ <glyph unicode="&#xe907;" glyph-name="edit" d="M868.847 357.239l-517.427 517.427-193.178-193.178 517.427-517.427h193.178v193.178zM705.178 235.435l92.297 92.297v-92.297h-92.297zM654.729 285.884l-306.398 306.398 92.297 92.297 306.398-306.398-92.297-92.297zM351.42 773.786l38.775-38.775-92.297-92.297-38.775 38.775 92.297 92.297zM155.153 92.706h713.677v-71.373h-713.677v71.373z" />
18
+ <glyph unicode="&#xe908;" glyph-name="magnifier" d="M694.528 570.095c0 167.953-136.619 304.572-304.572 304.572s-304.589-136.619-304.589-304.572 136.619-304.572 304.572-304.572c70.229 0 134.895 24.115 186.419 64.239l26.18-26.18-38.076-38.076 244.19-244.173 129.963 129.963-244.173 244.19-38.076-38.076-26.18 26.18c40.124 51.695 64.341 116.258 64.341 186.505zM830.976 151.296l-22.323-22.323-136.533 136.533 22.323 22.323 136.533-136.533zM389.956 341.658c-125.952 0-228.437 102.485-228.437 228.437s102.485 228.42 228.437 228.42 228.437-102.485 228.437-228.437c-0.017-125.935-102.502-228.42-228.437-228.42z" />
19
+ <glyph unicode="&#xe909;" glyph-name="pencil" d="M669.542 874.701l-584.209-584.192 2.628-266.581 266.496-2.628 584.209 584.192-269.124 269.21zM831.010 605.577l-25.515-25.515-161.485 161.553 25.532 25.532 161.468-161.57zM323.277 97.758l-159.915 1.553-1.553 160 428.39 428.476 53.828-53.914-412.894-412.791 53.828-53.828 412.877 412.809 53.828-53.828-428.39-428.476z" />
20
+ <glyph unicode="&#xe90a;" glyph-name="plus" d="M475.409 21.333h78.029v385.229h385.229v78.029h-385.229v390.076h-78.029v-390.076h-390.076v-78.029h390.076z" />
21
+ <glyph unicode="&#xe90b;" glyph-name="update" d="M188.075 400.162c23.313-158.703 159.932-281.139 325.035-281.139 118.903 0 228.949 64.495 287.13 168.38l-63.761 35.703c-45.295-80.828-130.884-131.055-223.369-131.055-120.798 0-222.14 84.275-248.73 197.018l40.209-40.124 51.695 51.695-135.475 135.475-135.475-135.458 51.695-51.695 51.046 51.2zM513.109 703.863c121.941 0 224.017-85.828 249.549-200.141l-43.247 43.247-51.695-51.695 135.475-135.475 135.475 135.475-51.695 51.695-49.152-49.152c-24.132 157.713-160.341 279.159-324.71 279.159-117.009 0-226.236-62.942-284.911-164.369l63.266-36.591c45.705 78.78 130.56 127.846 221.645 127.846z" />
22
+ <glyph unicode="&#xe90c;" glyph-name="upload" d="M937.728 139.315v619.247c0 64-52.105 116.105-116.105 116.105h-619.247c-64 0-116.105-52.105-116.105-116.105v-619.247c0-64 52.105-116.105 116.105-116.105h190.276v77.38h-190.276c-21.333 0-38.724 17.306-38.724 38.724v619.247c0 21.333 17.306 38.724 38.724 38.724h619.247c21.333 0 38.724-17.306 38.724-38.724v-619.247c0-21.333-17.391-38.724-38.724-38.724h-193.485v-77.38h193.485c64 0.017 116.105 52.105 116.105 116.105zM550.69 21.333v412.553l88.61-89.515 54.972 54.391-180.429 182.323-183.876-181.982 54.409-55.057 88.934 87.945v-410.658z" />
23
+ <glyph unicode="&#xe90d;" glyph-name="trash" d="M734.591 132.655c0-20.48-16.696-37.101-37.101-37.101h-371.014c-20.406 0-37.101 16.621-37.101 37.101v519.42h-74.203v-519.42c0-61.403 50.087-111.304 111.304-111.304h371.014c61.217 0 111.304 49.901 111.304 111.304v519.42h-74.203v-519.42zM400.679 800.48h222.608v-37.101h-222.608v37.101zM697.49 800.48c0 40.923-33.391 74.203-74.203 74.203h-222.608c-40.812 0-74.203-33.28-74.203-74.203v-37.101h-185.507v-74.203h742.028v74.203h-185.507v37.101zM474.882 614.973h74.203v-445.217h-74.203v445.217zM363.577 614.973h74.203v-445.217h-74.203v445.217zM586.186 614.973h74.203v-445.217h-74.203v445.217z" />
24
+ <glyph unicode="&#xe90e;" glyph-name="info" d="M511.957 92.471c-196.017 0-355.555 159.466-355.555 355.555 0 196.053 159.538 355.555 355.555 355.555 196.053 0 355.555-159.502 355.555-355.555 0-196.089-159.502-355.555-355.555-355.555zM511.957 874.692c-235.271 0-426.666-191.431-426.666-426.666 0-235.271 191.395-426.666 426.666-426.666 235.306 0 426.666 191.395 426.666 426.666 0 235.235-191.36 426.666-426.666 426.666zM476.402 270.248v177.777h35.555v-177.777h-35.555zM583.068 448.026v71.111h-213.333v-71.111h35.555v-248.888h213.333v71.111h-35.555v177.777zM494.179 661.359c9.813 0 17.778-8 17.778-17.778 0-9.813-7.964-17.778-17.778-17.778-9.778 0-17.778 7.964-17.778 17.778 0 9.778 8 17.778 17.778 17.778zM494.179 554.692c49.031 0 88.889 39.858 88.889 88.889 0 48.995-39.858 88.889-88.889 88.889-48.995 0-88.889-39.893-88.889-88.889 0-49.031 39.893-88.889 88.889-88.889z" />
25
+ <glyph unicode="&#xe90f;" glyph-name="drag" d="M241.835 409.259h232.277v-232.277h-116.053l156.501-154.795 156.501 154.795h-119.467v232.277h233.813v-116.224l154.965 156.672-154.965 156.501v-119.467h-233.813v232.277h119.467l-156.501 154.795-156.501-154.795h116.053v-232.277h-232.277v119.467l-154.795-156.501 154.795-156.672z" />
26
+ <glyph unicode="&#xe910;" glyph-name="reset" d="M188.928 400.384c23.211-158.379 159.573-280.405 324.267-280.405 118.613 0 228.352 64.341 286.379 167.936l-63.488 35.499c-45.227-80.555-130.56-130.731-222.891-130.731-120.491 0-221.525 84.139-248.149 196.608l40.107-40.107 51.541 51.541-135.168 135.168-135.168-135.168 51.541-51.541 51.029 51.2zM513.195 703.317c121.685 0 223.573-85.675 249.003-199.68l-43.179 43.179-51.541-51.541 135.168-135.168 135.168 135.168-51.541 51.541-48.981-48.981c-24.064 157.355-159.915 278.528-323.925 278.528-116.736 0-225.621-62.805-284.16-164.011l63.147-36.523c45.227 78.507 129.877 127.488 220.843 127.488z" />
27
+ </font></defs></svg>
plugin-fw/assets/fonts/yith-icon.ttf ADDED
Binary file
plugin-fw/assets/fonts/yith-icon.woff ADDED
Binary file
plugin-fw/assets/images/arrow_down.svg ADDED
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 600 600" style="enable-background:new 0 0 600 600;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#d9d9d9;}
7
+ </style>
8
+ <polygon class="st0" points="50,200 300.01,449.99 550,200 499.99,150.01 300.01,349.99 99.99,150.01 "/>
9
+ </svg>
plugin-fw/assets/images/banner-free.png ADDED
Binary file
plugin-fw/assets/images/banner-premium.png ADDED
Binary file
plugin-fw/assets/images/rate_banner.png ADDED
Binary file
plugin-fw/assets/images/upgrade_banner.png ADDED
Binary file
plugin-fw/assets/js/yith-fields.js CHANGED
@@ -1,364 +1,649 @@
1
- jQuery( function ( $ ) {
2
-
3
- var $datepicker = $( '.yith-plugin-fw-datepicker' ),
4
- $colorpicker = $( '.yith-plugin-fw-colorpicker' ),
5
- $upload = {
6
- imgPreviewHandler : '.yith-plugin-fw-upload-img-preview',
7
- uploadButtonHandler: '.yith-plugin-fw-upload-button',
8
- imgUrlHandler : '.yith-plugin-fw-upload-img-url',
9
- resetButtonHandler : '.yith-plugin-fw-upload-button-reset',
10
- imgUrl : $( '.yith-plugin-fw-upload-img-url' )
11
- },
12
- $wpAddMedia = $( '.add_media' ),
13
- $imageGallery = {
14
- sliderWrapper: $( '.yith-plugin-fw .image-gallery ul.slides-wrapper' ),
15
- buttonHandler: '.yith-plugin-fw .image-gallery-button'
16
- },
17
- $onoff = $( '.yith-plugin-fw-onoff-container span' ),
18
- $sidebars = $( '.yith-plugin-fw-sidebar-layout' ),
19
- $slider = $( '.yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal' ),
20
- $codemirror = $( '.codemirror' ),
21
- $icons = $( '.yit-icons-manager-wrapper' );
22
-
23
- /* Datepicker */
24
- $datepicker.each( function () {
25
- var args = $( this ).data();
26
- $( this ).datepicker( args );
27
- } );
28
-
29
- /* Colorpicker */
30
- $colorpicker.wpColorPicker( {
31
- clear: function () {
32
- var input = $( this );
33
- input.val( input.data( 'default-color' ) );
34
- input.change();
35
- }
36
- } );
37
- $colorpicker.each( function () {
38
- var select_label = $( this ).data( 'variations-label' );
39
- $( this ).parent().parent().find( 'a.wp-color-result' ).attr( 'title', select_label );
40
- } );
41
-
42
- /* Upload */
43
- if ( typeof wp !== 'undefined' && typeof wp.media !== 'undefined' ) {
44
- var _custom_media = true;
45
- // preview
46
- $upload.imgUrl.change( function () {
47
- var url = $( this ).val(),
48
- re = new RegExp( "(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)" ),
49
- preview = $( this ).parent().find( $upload.imgPreviewHandler ).first();
50
-
51
- if ( preview.length < 1 )
52
- preview = $( this ).parent().parent().find( $upload.imgPreviewHandler ).first();
53
-
54
- if ( re.test( url ) ) {
55
- preview.html( '<img src="' + url + '" style="max-width:100px; max-height:100px;" />' );
56
- } else {
57
- preview.html( '' );
58
}
59
- } ).trigger( 'change' );
60
61
- $( document ).on( 'click', $upload.uploadButtonHandler, function ( e ) {
62
- e.preventDefault();
63
64
- var t = $( this ),
65
- custom_uploader,
66
- id = t.attr( 'id' ).replace( /-button#x2F;, '' );
67
68
- //If the uploader object has already been created, reopen the dialog
69
- if ( custom_uploader ) {
70
- custom_uploader.open();
71
- return;
72
}
73
74
- var custom_uploader_states = [
75
- // Main states.
76
- new wp.media.controller.Library( {
77
- library : wp.media.query(),
78
- multiple : false,
79
- title : 'Choose Image',
80
- priority : 20,
81
- filterable: 'uploaded'
82
- } )
83
- ];
84
-
85
- // Create the media frame.
86
- custom_uploader = wp.media.frames.downloadable_file = wp.media( {
87
- // Set the title of the modal.
88
- title : 'Choose Image',
89
- library : {
90
- type: ''
91
- },
92
- button : {
93
- text: 'Choose Image'
94
- },
95
- multiple: false,
96
- states : custom_uploader_states
97
- } );
98
-
99
- //When a file is selected, grab the URL and set it as the text field's value
100
- custom_uploader.on( 'select', function () {
101
- var attachment = custom_uploader.state().get( 'selection' ).first().toJSON();
102
-
103
- $( "#" + id ).val( attachment.url );
104
- // Save the id of the selected element to an element which name is the same with a suffix "-yith-attachment-id"
105
- if ( $( "#" + id + "-yith-attachment-id" ) ) {
106
- $( "#" + id + "-yith-attachment-id" ).val( attachment.id );
107
}
108
- $upload.imgUrl.trigger( 'change' );
109
- } );
110
-
111
- //Open the uploader dialog
112
- custom_uploader.open();
113
- } );
114
-
115
- $( document ).on( 'click', $upload.resetButtonHandler, function ( e ) {
116
- var t = $( this ),
117
- id = t.attr( 'id' ),
118
- input_id = t.attr( 'id' ).replace( /-button-reset#x2F;, '' ),
119
- default_value = $( '#' + id ).data( 'default' );
120
-
121
- $( "#" + input_id ).val( default_value );
122
- $upload.imgUrl.trigger( 'change' );
123
- } );
124
- }
125
-
126
- $wpAddMedia.on( 'click', function () {
127
- _custom_media = false;
128
- } );
129
-
130
- /* Image Gallery */
131
- if ( typeof wp !== 'undefined' && typeof wp.media !== 'undefined' ) {
132
- $( document ).on( 'click', $imageGallery.buttonHandler, function ( e ) {
133
- var $t = $( this ),
134
- $container = $t.closest( '.image-gallery' ),
135
- $image_gallery_ids = $container.find( '.image_gallery_ids' ),
136
- attachment_ids = $image_gallery_ids.val(),
137
- $gallery_images_wrapper = $container.find( 'ul.slides-wrapper' );
138
-
139
- // Create the media frame.
140
- var image_gallery_frame = wp.media.frames.image_gallery = wp.media( {
141
- // Set the title of the modal.
142
- title : $t.data( 'choose' ),
143
- button: {
144
- text: $t.data( 'update' )
145
- },
146
- states: [
147
- new wp.media.controller.Library( {
148
- title : $t.data( 'choose' ),
149
- filterable: 'all',
150
- multiple : true
151
- } )
152
- ]
153
- } );
154
-
155
- // When an image is selected, run a callback.
156
- image_gallery_frame.on( 'select', function () {
157
- var selection = image_gallery_frame.state().get( 'selection' );
158
- selection.map( function ( attachment ) {
159
- attachment = attachment.toJSON();
160
-
161
- if ( attachment.id ) {
162
- attachment_ids = attachment_ids ? attachment_ids + "," + attachment.id : attachment.id;
163
- $gallery_images_wrapper.append( '<li class="image" data-attachment_id="' + attachment.id + '"><img src="' + attachment.sizes.thumbnail.url + '"/><ul class="actions"><li><a href="#" class="delete" title="' + $t.data( 'delete' ) + '">x</a></li></ul></li>' );
164
}
165
- } );
166
-
167
- $image_gallery_ids.val( attachment_ids );
168
- } );
169
-
170
- image_gallery_frame.open();
171
-
172
- } );
173
-
174
- // Image ordering
175
- $imageGallery.sliderWrapper.each( function () {
176
- var $t = $( this );
177
- $t.sortable( {
178
- items : 'li.image',
179
- cursor : 'move',
180
- scrollSensitivity : 40,
181
- forcePlaceholderSize: true,
182
- forceHelperSize : false,
183
- helper : 'clone',
184
- opacity : 0.65,
185
- start : function ( event, ui ) {
186
- ui.item.css( 'background-color', '#f6f6f6' );
187
- },
188
- stop : function ( event, ui ) {
189
- ui.item.removeAttr( 'style' );
190
- },
191
- update : function ( event, ui ) {
192
- var attachment_ids = '';
193
-
194
- $t.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
195
- var attachment_id = $( this ).attr( 'data-attachment_id' );
196
- attachment_ids = attachment_ids + attachment_id + ',';
197
- } );
198
-
199
- $t.closest( '.image-gallery' ).find( '.image_gallery_ids' ).val( attachment_ids );
200
- }
201
- } );
202
- } );
203
-
204
- // Remove images
205
- $imageGallery.sliderWrapper.on( 'click', 'a.delete', function () {
206
- var $wrapper = $( this ).closest( '.image-gallery' ),
207
- $gallery = $( this ).closest( '.image-gallery ul.slides-wrapper' ),
208
- $image_gallery_ids = $wrapper.find( '.image_gallery_ids' ),
209
- attachment_ids = '';
210
-
211
- $( this ).closest( 'li.image' ).remove();
212
-
213
- $gallery.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
214
- var attachment_id = $( this ).attr( 'data-attachment_id' );
215
- attachment_ids = attachment_ids + attachment_id + ',';
216
- } );
217
-
218
- $image_gallery_ids.val( attachment_ids );
219
- } );
220
- }
221
222
/* on-off */
223
- $onoff.on( 'click', function () {
224
- var input = $( this ).prev( 'input' ),
225
- checked = input.prop( 'checked' );
226
227
- if ( checked ) {
228
- input.prop( 'checked', false ).attr( 'value', 'no' ).removeClass( 'onoffchecked' );
229
} else {
230
- input.prop( 'checked', true ).attr( 'value', 'yes' ).addClass( 'onoffchecked' );
231
}
232
233
input.change();
234
- } );
235
-
236
- /* Sidebars */
237
- $sidebars.each( function () {
238
- var $images = $( this ).find( 'img' );
239
- $images.on( 'click', function () {
240
- var $container = $( this ).closest( '.yith-plugin-fw-sidebar-layout' ),
241
- $left = $container.find( '.yith-plugin-fw-sidebar-layout-sidebar-left-container' ),
242
- $right = $container.find( '.yith-plugin-fw-sidebar-layout-sidebar-right-container' ),
243
- type = $( this ).data( 'type' );
244
-
245
- $( this ).parent().children( ':radio' ).attr( 'checked', false );
246
- $( this ).prev( ':radio' ).attr( 'checked', true );
247
-
248
- if ( typeof type != 'undefined' ) {
249
- switch ( type ) {
250
- case 'left':
251
- $left.show();
252
- $right.hide();
253
- break;
254
- case 'right':
255
- $right.show();
256
- $left.hide();
257
- break;
258
- case 'double':
259
- $left.show();
260
- $right.show();
261
- break;
262
- default:
263
- $left.hide();
264
- $right.hide();
265
- break;