YITH WooCommerce Quick View - Version 1.3.10

Version Description

Released Jun 11 - 2019

  • New: Support to WooCommerce 3.6.4
  • New: Support to WordPress 5.2.1
  • Update: Plugin Core
Download this release

Release Info

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

Code changes from version 1.3.9 to 1.3.10

Files changed (47) hide show
  1. README.txt +11 -4
  2. init.php +3 -3
  3. plugin-fw/assets/css/metaboxes.css +18 -1
  4. plugin-fw/assets/css/yith-fields.css +1370 -9
  5. plugin-fw/assets/fonts/yith-icon.eot +0 -0
  6. plugin-fw/assets/fonts/yith-icon.svg +26 -0
  7. plugin-fw/assets/fonts/yith-icon.ttf +0 -0
  8. plugin-fw/assets/fonts/yith-icon.woff +0 -0
  9. plugin-fw/assets/images/arrow_down.svg +9 -0
  10. plugin-fw/assets/images/banner-free.png +0 -0
  11. plugin-fw/assets/images/banner-premium.png +0 -0
  12. plugin-fw/assets/images/rate_banner.png +0 -0
  13. plugin-fw/assets/images/upgrade_banner.png +0 -0
  14. plugin-fw/assets/js/yith-fields.js +639 -346
  15. plugin-fw/assets/js/yith-fields.min.js +1 -15
  16. plugin-fw/init.php +73 -4
  17. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  18. plugin-fw/languages/yith-plugin-fw-it_IT.po +31 -20
  19. plugin-fw/lib/yit-assets.php +8 -4
  20. plugin-fw/lib/yit-metabox.php +95 -34
  21. plugin-fw/lib/yit-plugin-licence.php +116 -0
  22. plugin-fw/lib/yit-plugin-panel-wc.php +123 -4
  23. plugin-fw/lib/yit-plugin-panel.php +106 -2
  24. plugin-fw/lib/yit-theme-licence.php +94 -0
  25. plugin-fw/lib/yit-upgrade.php +5 -649
  26. plugin-fw/licence/assets/css/yit-licence.css +0 -461
  27. plugin-fw/licence/assets/images/licence-error.png +0 -0
  28. plugin-fw/licence/assets/js/yit-licence.js +0 -215
  29. plugin-fw/licence/assets/js/yit-licence.min.js +0 -8
  30. plugin-fw/licence/lib/yit-licence.php +0 -804
  31. plugin-fw/licence/lib/yit-plugin-licence.php +0 -243
  32. plugin-fw/licence/lib/yit-theme-licence.php +0 -191
  33. plugin-fw/licence/templates/panel/activation/activation-panel.php +0 -247
  34. plugin-fw/templates/fields/date-format.php +56 -0
  35. plugin-fw/templates/fields/list-table.php +59 -0
  36. plugin-fw/templates/fields/multi-colorpicker.php +39 -0
  37. plugin-fw/templates/fields/onoff.php +1 -1
  38. plugin-fw/templates/fields/text.php +1 -0
  39. plugin-fw/templates/fields/textarea.php +3 -1
  40. plugin-fw/templates/fields/toggle-element.php +264 -0
  41. plugin-fw/templates/fields/upload.php +3 -3
  42. plugin-fw/templates/metaboxes/field-row.php +1 -0
  43. plugin-fw/templates/metaboxes/tab.php +6 -2
  44. plugin-fw/templates/panel/woocommerce/woocommerce-option-row.php +1 -1
  45. plugin-fw/templates/panel/woocommerce/woocommerce-panel.php +7 -3
  46. plugin-fw/yit-functions.php +138 -0
  47. plugin-fw/yit-plugin.php +3 -4
README.txt CHANGED
@@ -2,8 +2,8 @@
2
Contributors: yithemes
3
Tags: woocommerce, quick view, woocommerce quick view, products quick view
4
Requires at least: 4.0
5
- Tested up to: 5.1
6
- Stable tag: 1.3.9
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
@@ -42,6 +42,12 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woo
42
43
== Changelog ==
44
45
= 1.3.9 = Released Apr 23 - 2019
46
47
* New: Support to WooCommerce 3.6.1
@@ -216,7 +222,8 @@ Or, if you have created your own language pack, or have an update for an existin
216
217
== Upgrade notice ==
218
219
- = 1.3.9 = Released Apr 23 - 2019
220
221
- * New: Support to WooCommerce 3.6.1
222
* Update: Plugin Core
2
Contributors: yithemes
3
Tags: woocommerce, quick view, woocommerce quick view, products quick view
4
Requires at least: 4.0
5
+ Tested up to: 5.2
6
+ Stable tag: 1.3.10
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
42
43
== Changelog ==
44
45
+ = 1.3.10 = Released Jun 11 - 2019
46
+
47
+ * New: Support to WooCommerce 3.6.4
48
+ * New: Support to WordPress 5.2.1
49
+ * Update: Plugin Core
50
+
51
= 1.3.9 = Released Apr 23 - 2019
52
53
* New: Support to WooCommerce 3.6.1
222
223
== Upgrade notice ==
224
225
+ = 1.3.10 = Released Jun 11 - 2019
226
227
+ * New: Support to WooCommerce 3.6.4
228
+ * New: Support to WordPress 5.2.1
229
* Update: Plugin Core
init.php CHANGED
@@ -3,7 +3,7 @@
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.3.9
7
* Author: YITH
8
* Author URI: https://yithemes.com/
9
* Text Domain: yith-woocommerce-quick-view
@@ -13,7 +13,7 @@
13
*
14
* @author YITH
15
* @package YITH WooCommerce Quick View
16
- * @version 1.3.9
17
*/
18
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
19
@@ -61,7 +61,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
61
62
63
if ( ! defined( 'YITH_WCQV_VERSION' ) ){
64
- define( 'YITH_WCQV_VERSION', '1.3.9' );
65
}
66
67
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
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.3.10
7
* Author: YITH
8
* Author URI: https://yithemes.com/
9
* Text Domain: yith-woocommerce-quick-view
13
*
14
* @author YITH
15
* @package YITH WooCommerce Quick View
16
+ * @version 1.3.10
17
*/
18
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
19
61
62
63
if ( ! defined( 'YITH_WCQV_VERSION' ) ){
64
+ define( 'YITH_WCQV_VERSION', '1.3.10' );
65
}
66
67
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
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,15 +201,15 @@ 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 {
@@ -399,4 +399,1365 @@ 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
+ 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 {
399
display : block;
400
max-width : 100%;
401
margin : 0 auto;
402
+ }
403
+
404
+ /****************
405
+ YITH UI
406
+ ****************/
407
+ @font-face {
408
+ font-family: 'yith-icon';
409
+ src: url('../fonts/yith-icon.eot?7ik896');
410
+ src: url('../fonts/yith-icon.eot?7ik896#iefix') format('embedded-opentype'),
411
+ url('../fonts/yith-icon.ttf?7ik896') format('truetype'),
412
+ url('../fonts/yith-icon.woff?7ik896') format('woff'),
413
+ url('../fonts/yith-icon.svg?7ik896#yith-icon') format('svg');
414
+ font-weight: normal;
415
+ font-style: normal;
416
+ }
417
+
418
+ [class^="icon-"], [class*=" icon-"] {
419
+ /* use !important to prevent issues with browser extensions that change fonts */
420
+ font-family: 'yith-icon' !important;
421
+ speak: none;
422
+ font-style: normal;
423
+ font-weight: normal;
424
+ font-variant: normal;
425
+ text-transform: none;
426
+ line-height: 1;
427
+
428
+ /* Better Font Rendering =========== */
429
+ -webkit-font-smoothing: antialiased;
430
+ -moz-osx-font-smoothing: grayscale;
431
+ }
432
+ .icon-drag:before {
433
+ content: "\e90f";
434
+ color: #d8d8d8;
435
+ }
436
+ .icon-arrow_down:before {
437
+ content: "\e900";
438
+ color: #d8d8d8;
439
+ }
440
+ .icon-arrow_left:before {
441
+ content: "\e901";
442
+ color: #d8d8d8;
443
+ }
444
+ .icon-arrow_right:before {
445
+ content: "\e902";
446
+ color: #d8d8d8;
447
+ }
448
+ .icon-arrow_up:before {
449
+ content: "\e903";
450
+ color: #d8d8d8;
451
+ }
452
+ .icon-calendar:before {
453
+ content: "\e904";
454
+ color: #d8d8d8;
455
+ }
456
+ .icon-check:before {
457
+ content: "\e905";
458
+ color: #d8d8d8;
459
+ }
460
+ .icon-close:before {
461
+ content: "\e906";
462
+ color: #d8d8d8;
463
+ }
464
+ .icon-edit:before {
465
+ content: "\e907";
466
+ color: #d8d8d8;
467
+ }
468
+ .icon-magnifier:before {
469
+ content: "\e908";
470
+ color: #d8d8d8;
471
+ }
472
+ .icon-pencil:before {
473
+ content: "\e909";
474
+ color: #d8d8d8;
475
+ }
476
+ .icon-plus:before {
477
+ content: "\e90a";
478
+ color: #d8d8d8;
479
+ }
480
+ .icon-update:before {
481
+ content: "\e90b";
482
+ color: #d8d8d8;
483
+ }
484
+ .icon-upload:before {
485
+ content: "\e90c";
486
+ color: #d8d8d8;
487
+ }
488
+ .icon-trash:before {
489
+ content: "\e90d";
490
+ color: #d8d8d8;
491
+ }
492
+ .icon-info:before {
493
+ content: "\e90e";
494
+ color: #d8d8d8;
495
+ }
496
+
497
+ .yith-plugin-fw-banner{
498
+ width: 100%;
499
+ height: 75px;
500
+ background: url('../images/banner-premium.png');
501
+ }
502
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free{
503
+ height: 290px;
504
+ background: url('../images/banner-free.png') no-repeat;
505
+ }
506
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free h1{
507
+ max-width: auto;
508
+ text-align:left;
509
+ margin-left: 110px;
510
+ padding-top: 15px;
511
+ padding-bottom: 8px;
512
+ }
513
+
514
+ .yith-plugin-fw-banner h1{
515
+ text-transform: uppercase;
516
+ color: #0c5777;
517
+ font-size: 15px;
518
+ padding-left: 150px;
519
+ font-weight: 700;
520
+ text-align: left;
521
+ display: inline-block;
522
+ box-sizing: border-box;
523
+ }
524
+
525
+ .yith-plugin-fw-banner span{
526
+ font-style:italic;
527
+ display: block;
528
+ font-size: 15px;
529
+ color:#214249;
530
+ text-transform:none;
531
+ text-align: right;
532
+ }
533
+
534
+ .yith-plugin-fw-banner a,
535
+ .yith-plugin-fw-banner a:focus{
536
+ text-decoration: none;
537
+ outline: none;
538
+ box-shadow: none;
539
+ }
540
+
541
+ .yith-banners ul{
542
+ list-style: none;
543
+ margin-left: 10px;
544
+ }
545
+
546
+ .yith-banners ul li{
547
+ display: inline-block;
548
+ margin-left: 10px;
549
+ }
550
+ .yith-plugin-ui a{
551
+ outline: none;
552
+ box-shadow: none;
553
+ }
554
+
555
+ .yith-plugin-ui{
556
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
557
+ }
558
+
559
+ .yith-plugin-ui #wpwrap h2.nav-tab-wrapper, .yith-plugin-ui #wpbody-content h2.nav-tab-wrapper{
560
+ margin-top:10px;
561
+ }
562
+
563
+ .yith-plugin-ui .nav-tab{
564
+ margin-left: 0px;
565
+ margin-right: 2px;
566
+ background-color: #336374;
567
+ color: #fff;
568
+ font-size: 13px;
569
+ padding: 7px 20px;
570
+ border: 0;
571
+ }
572
+ .yith-plugin-ui .nav-tab:first-child{
573
+ border-left: 1px solid #d9d9d9;
574
+ }
575
+
576
+ .yith-plugin-ui .nav-tab.yith-premium{
577
+ background-color: #be421c;
578
+ }
579
+ .yith-plugin-ui .nav-tab-active{
580
+ background-color: #fff;
581
+ color: #336374;
582
+ border-bottom:1px solid #fff;
583
+ }
584
+ .yith-plugin-ui .nav-tab-active.yith-premium{
585
+ background-color: #fff;
586
+ color: #be421c;
587
+ }
588
+ .yith-plugin-ui #plugin-fw-wc{
589
+ padding-top: 0px;
590
+ }
591
+
592
+ .yith-plugin-ui .form-table td{
593
+ padding: 15px 20px;
594
+ }
595
+
596
+ .yith-plugin-ui label{
597
+ color: #33373b;
598
+ font-size: 13px;
599
+ }
600
+
601
+ .yith-plugin-ui span.description{
602
+ color: #716269;
603
+ font-size: 11px;
604
+ font-style: normal;
605
+ font-weight: 600;
606
+ margin-top: 15px;
607
+ margin-left: 0;
608
+ }
609
+ #wpwrap .yith-plugin-ui h2.nav-tab-wrapper, #wpbody-content .yith-plugin-ui h2.nav-tab-wrapper {
610
+ border: 0;
611
+ border-bottom : 1px solid #ccc;
612
+ margin-right: 15px;
613
+ background-color: transparent;
614
+ padding-left: 0;
615
+ }
616
+ .yith-plugin-ui #plugin-fw-wc table.form-table,
617
+ .yith-plugin-ui #yith-plugin-fw-panel table.form-table,
618
+ .yith-plugin-ui table.form-table{
619
+ border: 1px solid #d8d8d8;
620
+ border-top: 0;
621
+ margin-bottom: 40px;
622
+ }
623
+
624
+ .yith-plugin-ui #wpwrap h2.nav-tab-wrapper, .yith-plugin-ui #wpbody-content h2.nav-tab-wrapper{
625
+ background-color: transparent;
626
+ border: 0;
627
+ text-transform: none;
628
+ border-bottom: 1px solid #ddd;
629
+ }
630
+
631
+ .yith-plugin-ui h2 {
632
+ color: #2a8db0;
633
+ font-size: 13px;
634
+ text-transform: uppercase;
635
+ border: 1px solid #d8d8d8;
636
+ border-bottom: 0;
637
+ background-color: #fff;
638
+ padding: 35px 20px;
639
+ margin: 0px;
640
+ }
641
+ .yith-plugin-ui .yith-plugin-fw-custom-tab h2{
642
+ border: 0px solid #d8d8d8;
643
+ padding-left: 0;
644
+ }
645
+
646
+ .yith-plugin-ui #plugin-fw-wc h2 + div {
647
+ background: #fff;
648
+ border-left: 1px solid #d9d9d9;
649
+ border-right: 1px solid #d9d9d9;
650
+ margin: -20px 0 0 0;
651
+ padding-left: 20px;
652
+ padding-bottom: 5px;
653
+ }
654
+
655
+ .yith-plugin-ui #plugin-fw-wc h2 + div p, .yith-plugin-ui p.info-box{
656
+ background: #f1f1f1;
657
+ font-size: 12px;
658
+ font-weight: 700;
659
+ width: 40%;
660
+ display:block;
661
+ padding: 15px;
662
+ margin-bottom: 0;
663
+ }
664
+
665
+ .yith-plugin-ui #plugin-fw-wc h2 + div p:before, .yith-plugin-ui p.info-box:before{
666
+ content: "\e90e";
667
+ font-family: yith-icon;
668
+ font-size: 30px;
669
+ font-weight: normal;
670
+ display: block;
671
+ margin-top: -5px;
672
+ float: left;
673
+ margin-right: 15px;
674
+ }
675
+
676
+ .yith-plugin-ui h2:first-child{
677
+ border-top: 0;
678
+ }
679
+
680
+ /*** Icon ***/
681
+ .yith-plugin-ui span.yith-icon {
682
+ margin-left: -36px;
683
+ line-height: 36px;
684
+ font-size: 20px;
685
+ }
686
+
687
+ /*** General Input Style ***/
688
+
689
+ .yith-plugin-ui .yith-plugin-fw select,
690
+ .yith-plugin-ui textarea,
691
+ .yith-plugin-ui input[type=number],
692
+ .yith-plugin-ui.metaboxes-tab input[type=number],
693
+ .yith-plugin-ui input[type=text],
694
+ .yith-plugin-ui input[type=text],
695
+ .yith-plugin-ui input[type=email],
696
+ .yith-plugin-ui input[type=password],
697
+ .yith-plugin-fw.yith-plugin-ui input[type=text]:not(.select2-search__field),
698
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text]:not(.select2-search__field),
699
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table select,
700
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table textarea,
701
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=number],
702
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text] {
703
+ border: 1px solid #d8d8d8;
704
+ border-radius: 8px;
705
+ padding: 8px 10px;
706
+ height: 38px;
707
+ min-width: 90px;
708
+ box-shadow: none;
709
+ color: #716269;
710
+ }
711
+ .yith-plugin-ui textarea,
712
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table textarea{
713
+ height: auto;
714
+ }
715
+ .yith-plugin-ui table.form-table input[type=text].wp-color-picker,
716
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].wp-color-picker{
717
+ border: 0;
718
+ height: 30px;
719
+ }
720
+
721
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].small-text,
722
+ .yith-plugin-ui input[type=text].small-text {
723
+ width: 100px;
724
+ height: 25px;
725
+ border: 1px solid #d9d9d9;
726
+ }
727
+
728
+ .yith-plugin-ui textarea {
729
+ height: auto;
730
+ padding: 8px;
731
+ }
732
+
733
+ .yith-plugin-ui select:focus,
734
+ .yith-plugin-ui input[type=text]:focus {
735
+ border-color: #a7d9ec;
736
+ }
737
+
738
+ .woocommerce .yith-plugin-ui table.form-table select,
739
+ .yith-plugin-ui select{
740
+ -webkit-appearance: none;
741
+ line-height: 1;
742
+ min-height: 35px;
743
+ background: url("../images/arrow_down.svg") no-repeat right center;
744
+ background-size: 35px 13px;
745
+ border-radius: 8px;
746
+ }
747
+
748
+ .yith-plugin-ui .form-table th{
749
+ width: 280px;
750
+ padding-right: 50px;
751
+ }
752
+
753
+ /** BUTTONS **/
754
+ .yith-plugin-ui .tablenav .button.action,
755
+ .wp-core-ui .yith-plugin-ui .button-primary,
756
+ .wp-core-ui .yith-plugin-ui .button-secondary,
757
+ .yith-plugin-ui .yith-add-button,
758
+ .yith-plugin-ui .yith-save-button,
759
+ .yith-plugin-ui .yith-edit-button,
760
+ .yith-plugin-ui .yith-update-button,
761
+ .yith-plugin-ui .yith-plugin-fw-select-all,
762
+ .yith-plugin-ui .yith-plugin-fw-deselect-all,
763
+ .yith-plugin-ui .yith-plugin-fw-upload-button,
764
+ .yith-plugin-ui .yith-plugin-fw-upload-button-reset {
765
+ border-radius: 3px;
766
+ text-transform: uppercase;
767
+ box-shadow: none;
768
+ border: 0;
769
+ font-weight: 700;
770
+ font-size: 11px;
771
+ padding: 0px 14px;
772
+ outline: none;
773
+ height: auto;
774
+ transition: all ease 0.3s;
775
+ background-color: #d6d6d6;
776
+ color: #656565;
777
+ text-shadow: none;
778
+ vertical-align: middle;
779
+ line-height: 26px;
780
+ display: inline-block;
781
+ text-decoration: none;
782
+ }
783
+ .wp-core-ui .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button-reset,
784
+ .wp-core-ui .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button,
785
+ .yith-plugin-ui .yith-plugin-fw-upload-button-reset,
786
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button-reset,
787
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button{
788
+ height: 38px;
789
+ }
790
+
791
+ .wp-core-ui .yith-plugin-ui .button:focus,
792
+ .wp-core-ui .yith-plugin-ui .button-primary:focus,
793
+ .yith-plugin-ui .yith-add-button:focus,
794
+ .yith-plugin-ui .yith-save-button:focus,
795
+ .yith-plugin-ui .yith-edit-button:focus,
796
+ .yith-plugin-ui .yith-update-button:focus,
797
+ .wp-core-ui .yith-plugin-ui .button-secondary:focus{
798
+ outline: none;
799
+ box-shadow: none;
800
+ }
801
+
802
+ /** button with inside a span with icon class */
803
+ .yith-plugin-ui .button-secondary span.yith-icon{
804
+ margin-left: 0px;
805
+ margin-right: 10px;
806
+ line-height: normal;
807
+ }
808
+
809
+ .yith-plugin-ui .button-secondary span.yith-icon:before{
810
+ color: #656565;
811
+ font-size: 15px;
812
+ }
813
+
814
+ .yith-plugin-ui .tablenav .button.action,
815
+ .wp-core-ui .yith-plugin-ui .button:focus,
816
+ .wp-core-ui .yith-plugin-ui .button-secondary:focus,
817
+ .yith-plugin-ui .yith-save-button:hover,
818
+ .wp-core-ui .yith-plugin-ui .button-secondary:hover,
819
+ .yith-plugin-ui .yith-plugin-fw-upload-button-reset:hover{
820
+ background-color: #cacaca;
821
+ color: #515151;
822
+ }
823
+
824
+ .wp-core-ui .yith-plugin-ui .button-primary,
825
+ .yith-plugin-ui .tablenav .button.action,
826
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all,
827
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button{
828
+ background-color: #007694;
829
+ color: #fff;
830
+ }
831
+
832
+ .yith-plugin-ui .tablenav .button.action:active,
833
+ .yith-plugin-ui .tablenav .button.action:focus,
834
+ .yith-plugin-ui .tablenav .button.action:hover,
835
+ .yith-plugin-ui .yith-add-button,
836
+ .wp-core-ui .yith-plugin-ui .button-primary:focus,
837
+ .wp-core-ui .yith-plugin-ui .button-primary:hover{
838
+ background-color: #375f6b;
839
+ color: #fff;
840
+ }
841
+
842
+
843
+ .yith-plugin-ui .yith-add-button:hover,
844
+ .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button:focus,
845
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all:hover,
846
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all:focus,
847
+ .yith-plugin-ui .yith-plugin-fw-upload-button:hover{
848
+ border-color: #007694;
849
+ background: #007694;
850
+ color: #fff;
851
+ line-height: 26px;
852
+ margin-left: 0;
853
+ }
854
+
855
+ .yith-plugin-ui .button-primary:before,
856
+ .yith-plugin-ui .yith-add-button:before,
857
+ .yith-plugin-ui .yith-save-button:before,
858
+ .yith-plugin-ui .yith-edit-button:before,
859
+ .yith-plugin-ui .yith-update-button:before,
860
+ .yith-plugin-ui .button-secondary:before{
861
+ font-family: 'yith-icon';
862
+ font-size: 10px;
863
+ font-weight: 700;
864
+ margin-right: 10px;
865
+ vertical-align: bottom;
866
+ display:inline-block;
867
+ }
868
+
869
+ /** yith-edit-button **/
870
+ .yith-plugin-ui .yith-edit-button {
871
+ background-color: #7f9298;
872
+ color: #fff;
873
+ }
874
+ .yith-plugin-ui .yith-edit-button:focus,
875
+ .yith-plugin-ui .yith-edit-button:hover {
876
+ background-color: #718085;
877
+ color: #fff;
878
+ }
879
+ .yith-plugin-ui .yith-edit-button:before{
880
+ content: "\e907";
881
+ }
882
+ /** yith-update-button **/
883
+ .yith-plugin-ui .yith-update-button {
884
+ background-color: #94aa09;
885
+ color: #fff;
886
+ }
887
+ .yith-plugin-ui .yith-update-button:focus,
888
+ .yith-plugin-ui .yith-update-button:hover {
889
+ background-color: #7a9009;
890
+ color: #fff;
891
+ }
892
+ .yith-plugin-ui .yith-update-button:before{
893
+ content: "\e90b";
894
+ font-size: 15px;
895
+ }
896
+
897
+ /** yith-save-button **/
898
+
899
+ .yith-plugin-ui .yith-save-button {
900
+ background-color: #267390;
901
+ color: #fff;
902
+ }
903
+ .yith-plugin-ui .yith-save-button:focus,
904
+ .yith-plugin-ui .yith-save-button:hover {
905
+ background-color: #1c4863;
906
+ color: #fff;
907
+ }
908
+ .yith-plugin-ui .yith-save-button:before{
909
+ content: "\e905";
910
+ }
911
+
912
+ /** yith-remove-button **/
913
+
914
+ .yith-plugin-ui .button-secondary.yith-remove-button:before{
915
+ content: "\e90d";
916
+ font-size: 15px;
917
+ }
918
+
919
+
920
+ /** yith-add-button **/
921
+
922
+ .yith-plugin-ui .yith-add-button:before{
923
+ content: "\e90a";
924
+ }
925
+
926
+ /** yith-plugin-fw-upload-button **/
927
+ .yith-plugin-ui button.yith-plugin-fw-upload-button:before{
928
+ content: "\e90c";
929
+ font-family: 'yith-icon';
930
+ font-size: 19px;
931
+ font-weight: 400;
932
+ margin-right: 10px;
933
+ vertical-align: middle;
934
+ display:inline-block;
935
+ }
936
+ /** SELECT 2 **/
937
+ .yith-plugin-ui .select2-container,
938
+ .yith-plugin-ui .select2-selection--single{
939
+ height: auto;
940
+ padding: 2px;
941
+ outline: none;
942
+ }
943
+
944
+ .yith-plugin-ui .select2-selection--single{
945
+ margin: 0;
946
+ border: 0;
947
+ }
948
+
949
+ /* old panel*/
950
+
951
+ .yith-plugin-ui span.select2.select2-container.select2-container--default{
952
+ border: 1px solid #d8d8d8;
953
+ border-radius:8px;
954
+ }
955
+ .yith-plugin-ui span.select2.select2-container.select2-container--default:hover,
956
+ .yith-plugin-ui span.select2.select2-container.select2-container--default:active,
957
+ .yith-plugin-ui span.select2.select2-container.select2-container--default:focus {
958
+ border-color: #a7d9ec;
959
+ }
960
+ .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
961
+ color: #fff;
962
+ }
963
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].select2-search__field,
964
+ .yith-plugin-ui .yith-plugin-fw table.form-table input.select2-search__field{
965
+ border: 0;
966
+ padding: 0;
967
+ height: initial;
968
+ }
969
+ .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice,
970
+ .yith-plugin-ui .select2-selection__choice{
971
+ color: #fff;
972
+ background-color: #4e8ba2;
973
+ border-radius: 12px;
974
+ padding: 3px 11px;
975
+ border-color: #33937e;
976
+ font-size: 12px;
977
+ }
978
+
979
+ .yith-plugin-ui .select2-container--default .select2-selection--single .select2-selection__arrow:before{
980
+ content: "\e900";
981
+ font-family: 'yith-icon' !important;
982
+ line-height: 36px;
983
+ color: #d9d9d9;
984
+ }
985
+
986
+ .yith-plugin-ui .select2-container--default .select2-selection--single .select2-selection__arrow b{
987
+ display: none;
988
+ }
989
+ .yith-plugin-ui .select2-container--open .select2-dropdown--below,
990
+ .yith-plugin-ui .select2-container--open .select2-dropdown--above,
991
+ .yith-plugin-fw-panel .select2-container--open .select2-dropdown--below,
992
+ .yith-plugin-fw-panel .select2-container--open .select2-dropdown--above {
993
+ margin-top: 20px;
994
+ border-radius: 8px;
995
+ box-shadow:0 2px 4px 0 rgba(0,0,0,0.12),0 2px 10px 0 rgba(0,0,0,0.12) !important;
996
+ }
997
+ .yith-plugin-ui .select2-container--open .select2-dropdown--above,
998
+ .yith-plugin-fw-panel .select2-container--open .select2-dropdown--above{
999
+ margin-top: -10px;
1000
+ }
1001
+ .yith-plugin-ui .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
1002
+ .yith-plugin-ui .select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
1003
+ .yith-plugin-fw-panel .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
1004
+ .yith-plugin-fw-panel .select2-container--default.select2-container--open.select2-container--above .select2-selection--single{
1005
+ border-radius: 8px;
1006
+ }
1007
+ .yith-plugin-ui .select2-results .select2-results__group, .select2-results .select2-results__option:first-child,
1008
+ .yith-plugin-fw-panel .select2-results .select2-results__group, .select2-results .select2-results__option:first-child{
1009
+ border-top-left-radius: 8px;
1010
+ border-top-right-radius: 8px;
1011
+ }
1012
+ .yith-plugin-ui .select2-results .select2-results__group,
1013
+ .yith-plugin-ui .select2-results .select2-results__option:last-child,
1014
+ .yith-plugin-fw-panel .select2-results .select2-results__group,
1015
+ .yith-plugin-fw-panel .select2-results .select2-results__option:last-child{
1016
+ border-bottom-left-radius: 8px;
1017
+ border-bottom-right-radius: 8px;
1018
+ }
1019
+ .yith-plugin-ui .select2-container--default .select2-results__option[data-selected=true],
1020
+ .yith-plugin-ui .select2-container--default .select2-results__option[aria-selected=true],
1021
+ .yith-plugin-fw-panel .select2-container--default .select2-results__option[data-selected=true],
1022
+ .yith-plugin-fw-panel .select2-container--default .select2-results__option[aria-selected=true] {
1023
+ background-color: #fff;
1024
+ outline: none;
1025
+ }
1026
+ .yith-plugin-ui .select2-container--default .select2-results__option--highlighted[aria-selected],
1027
+ .yith-plugin-ui .select2-container--default .select2-results__option--highlighted[data-selected],
1028
+ .yith-plugin-fw-panel .select2-container--default .select2-results__option--highlighted[aria-selected],
1029
+ .yith-plugin-fw-panel .select2-container--default .select2-results__option--highlighted[data-selected]{
1030
+ background-color: #e8eff1;
1031
+ color: #4e8ba2;
1032
+ outline: none;
1033
+ }
1034
+
1035
+ .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
1036
+ .yith-plugin-fw-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
1037
+ float: right;
1038
+ padding-left: 15px;
1039
+ text-indent: -9999px;
1040
+ }
1041
+
1042
+ .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after,
1043
+ .woocommerce .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after{
1044
+ float: right;
1045
+ color: #fff;
1046
+ content: "\e906";
1047
+ font-family: 'yith-icon' !important;
1048
+ font-size: 9px;
1049
+ line-height: 20px;
1050
+ text-indent: 0;
1051
+ }
1052
+ .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after
1053
+ .yith-plugin-fw-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after{
1054
+ color: #000;
1055
+ }
1056
+ .yith-plugin-ui .select2-container .select2-selection--multiple,
1057
+ .yith-plugin-ui .select2-container--default.select2-container--focus .select2-selection--multiple{
1058
+ border: 0;
1059
+ }
1060
+
1061
+ .yith-plugin-fw .select2-search input[type=text]{
1062
+ border: 0;
1063
+ padding: 0;
1064
+ height: auto;
1065
+ }
1066
+ .yith-plugin-ui .yith-plugin-fw-select-field-wrapper span.yith-icon.icon-magnifier,
1067
+ .yith-plugin-fw-panel .yith-plugin-fw-select-field-wrapper span.yith-icon.icon-magnifier {
1068
+ position: absolute;
1069
+ padding-top: 5px;
1070
+ }
1071
+
1072
+ .yith-plugin-ui input[type=text].select2-search__field{
1073
+ border: 0;
1074
+ padding: 0;
1075
+ height: 30px;
1076
+ }
1077
+ .yith-plugin-ui .select2-container--default .select2-search--dropdown .select2-search__field,
1078
+ .yith-plugin-fw-panel .select2-container--default .select2-search--dropdown .select2-search__field {
1079
+ border: 1px solid #d9d9d9;
1080
+ border-radius: 8px;
1081
+ box-shadow: none;
1082
+ }
1083
+ .yith-plugin-ui .select2-dropdown,
1084
+ .yith-plugin-fw-panel .select2-dropdown{
1085
+ border: 1px solid #d9d9d9;
1086
+ }
1087
+ /** RADIO BUTTON **/
1088
+ .yith-plugin-ui [type="radio"]:checked,
1089
+ .yith-plugin-ui [type="radio"]:not(:checked) {
1090
+ position: absolute;
1091
+ left: -9999px;
1092
+ }
1093
+ .yith-plugin-ui [type="radio"]:checked + label,
1094
+ .yith-plugin-ui [type="radio"]:not(:checked) + label
1095
+ {
1096
+ position: relative;
1097
+ padding-left: 35px;
1098
+ cursor: pointer;
1099
+ line-height: 20px;
1100
+ display: inline-block;
1101
+ color: #716269;
1102
+ font-size: 12px;
1103
+ }
1104
+ .yith-plugin-ui [type="radio"]:checked + label:before,
1105
+ .yith-plugin-ui [type="radio"]:not(:checked) + label:before {
1106
+ content: '';
1107
+ position: absolute;
1108
+ left: 0;
1109
+ top: 0;
1110
+ width: 18px;
1111
+ height: 18px;
1112
+ border: 1px solid #d8d8d8;
1113
+ border-radius: 100%;
1114
+ background: #fff;
1115
+ }
1116
+ .yith-plugin-ui [type="radio"]:checked + label:after,
1117
+ .yith-plugin-ui [type="radio"]:not(:checked) + label:after {
1118
+ content: '';
1119
+ width: 12px;
1120
+ height: 12px;
1121
+ background: #4e8ba2;
1122
+ position: absolute;
1123
+ top: 4px;
1124
+ left: 4px;
1125
+ border-radius: 100%;
1126
+ -webkit-transition: all 0.2s ease;
1127
+ transition: all 0.2s ease;
1128
+ }
1129
+ .yith-plugin-ui [type="radio"]:not(:checked) + label:after {
1130
+ opacity: 0;
1131
+ -webkit-transform: scale(0);
1132
+ transform: scale(0);
1133
+ }
1134
+ .yith-plugin-ui [type="radio"]:checked + label:after {
1135
+ opacity: 1;
1136
+ -webkit-transform: scale(1);
1137
+ transform: scale(1);
1138
+ }
1139
+
1140
+ /** CHECKBOX **/
1141
+ .yith-plugin-ui input[type="checkbox"] {
1142
+ -webkit-appearance: none;
1143
+ background-color: #fff;
1144
+ border: 1px solid #d8d8d8;
1145
+ box-shadow: none;
1146
+ width: 18px;
1147
+ height: 18px;
1148
+ border-radius: 3px;
1149
+ display: inline-block;
1150
+ position: relative;
1151
+ }
1152
+ .yith-plugin-ui input[type="checkbox"]:checked{
1153
+ background-color: #4e8ba2;
1154
+ border-color: #488197;
1155
+ }
1156
+ .yith-plugin-ui .forminp-checkbox span.description.inline {
1157
+ margin-left: 10px;
1158
+ }
1159
+ .yith-plugin-ui input[type="checkbox"]:checked:before{
1160
+ display: none;
1161
+ }
1162
+
1163
+ .yith-plugin-ui input[type="checkbox"]:checked:after {
1164
+ content: "\e905";
1165
+ font-family: 'yith-icon';
1166
+ font-size: 15px;
1167
+ position: absolute;
1168
+ top: 8px;
1169
+ left: 1px;
1170
+ color: #fff;
1171
+ }
1172
+
1173
+ /** ONOFF **/
1174
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input[type="checkbox"] {
1175
+ display: none;
1176
+ }
1177
+
1178
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span{
1179
+ border: 1px solid #d8d8d8;
1180
+ background-color: #fff;
1181
+ width:50px;
1182
+ }
1183
+
1184
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span:before{
1185
+ background-color: #d8d8d8;
1186
+ }
1187
+
1188
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span:before {
1189
+ width: 14px;
1190
+ height: 14px;
1191
+ top: 3px;
1192
+ left: 4px;
1193
+ background-color: #d8d8d8;
1194
+ }
1195
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span:after{
1196
+ content: 'OFF';
1197
+ width: 14px;
1198
+ height: 14px;
1199
+ font-size: 10px;
1200
+ padding-left:24px;
1201
+ color: #979797;
1202
+ }
1203
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span,
1204
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input.onoffchecked + span{
1205
+ background-color: #fff;
1206
+ border-color: #98aa36;
1207
+ }
1208
+
1209
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:before,
1210
+ .yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:before{
1211
+ background-color: #98aa36;
1212
+ left:32px;
1213
+ }
1214
+
1215
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:after,
1216
+ .yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:after{
1217
+ content: 'ON';
1218
+ color: #98aa36;
1219
+ width: 14px;
1220
+ height: 14px;
1221
+ display: inline-block;
1222
+ font-size: 10px;
1223
+ padding: 0 10px;
1224
+ }
1225
+
1226
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span{
1227
+ text-indent: 0;
1228
+ }
1229
+
1230
+
1231
+ /**
1232
+ DATEPICKER
1233
+ */
1234
+ .yith-plugin-ui div#ui-datepicker-div,
1235
+ .yith-plugin-fw-panel div#ui-datepicker-div {
1236
+ border: 0;
1237
+ box-shadow:0 2px 4px 0 rgba(0,0,0,0.12),0 2px 10px 0 rgba(0,0,0,0.12) !important;
1238
+ }
1239
+
1240
+ .yith-plugin-ui .ui-datepicker-header.ui-widget-header,
1241
+ .yith-plugin-fw-panel .ui-datepicker-header.ui-widget-header {
1242
+ background:#4e8ba2;
1243
+ color: #fff;
1244
+ font-size: 11px;
1245
+ line-height: 25px;
1246
+ border:0;
1247
+ min-height: 25px;
1248
+ }
1249
+ .yith-plugin-ui .ui-datepicker-title,
1250
+ .yith-plugin-fw-panel .ui-datepicker-title{
1251
+ line-height: 25px;
1252
+ }
1253
+ .yith-plugin-ui .ui-datepicker th,
1254
+ .yith-plugin-fw-panel .ui-datepicker th{
1255
+ color: #716269;
1256
+ }
1257
+ .yith-plugin-ui .ui-widget-header .ui-icon,
1258
+ .yith-plugin-ui .ui-widget-header .ui-state-hover,
1259
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-prev,
1260
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-next,
1261
+ .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-w,
1262
+ .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-e,
1263
+ .yith-plugin-fw-panel .ui-widget-header .ui-icon,
1264
+ .yith-plugin-fw-panel .ui-widget-header .ui-state-hover,
1265
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-prev,
1266
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-next,
1267
+ .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-w,
1268
+ .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-e{
1269
+ background: none;
1270
+ content: "";
1271
+ border: 0;
1272
+ text-indent: 0;
1273
+ width:15px;
1274
+ height: 20px;
1275
+ display:block;
1276
+ overflow:hidden;
1277
+ }
1278
+
1279
+ .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-w:before,
1280
+ .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-w:before {
1281
+ content: "\e901";
1282
+ color: #fff;
1283
+ font-family: 'yith-icon';
1284
+ font-size: 12px;
1285
+ font-weight: normal;
1286
+ width:15px;
1287
+ display:block;
1288
+ }
1289
+ .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-e:before,
1290
+ .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-e:before {
1291
+ content: "\e902";
1292
+ color: #fff;
1293
+ text-indent: 0;
1294
+ font-family: 'yith-icon';
1295
+ font-size: 12px;
1296
+ font-weight: normal;
1297
+ width:15px;
1298
+ display:block;
1299
+ }
1300
+
1301
+ /* arrow */
1302
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-prev,
1303
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-next,
1304
+ .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-prev-hover,
1305
+ .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-next-hover,
1306
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-prev,
1307
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-next,
1308
+ .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-prev-hover,
1309
+ .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-next-hover{
1310
+ top: 1px;
1311
+ cursor: pointer;
1312
+ }
1313
+ .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-prev,
1314
+ .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-prev-hover,
1315
+ .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-prev,
1316
+ .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-prev-hover{
1317
+ left: 5px;
1318
+ }
1319
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-next,
1320
+ .yith-plugin-ui .ui-datepicker-next.ui-datepicker-next-hover,
1321
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-next,
1322
+ .yith-plugin-fw-panel .ui-datepicker-next.ui-datepicker-next-hover{
1323
+ right: 1px;
1324
+ }
1325
+
1326
+ .yith-plugin-ui .ui-datepicker table,
1327
+ .yith-plugin-fw-panel .ui-datepicker table{
1328
+ font-size: 10px;
1329
+ }
1330
+
1331
+ .yith-plugin-ui .ui-state-default,
1332
+ .yith-plugin-ui .ui-widget-content .ui-state-default,
1333
+ .yith-plugin-ui .ui-widget-header .ui-state-default,
1334
+ .yith-plugin-fw-panel .ui-state-default,
1335
+ .yith-plugin-fw-panel .ui-widget-content .ui-state-default,
1336
+ .yith-plugin-fw-panel .ui-widget-header .ui-state-default{
1337
+ background:#fff;
1338
+ border: 1px solid #d9d9d9;
1339
+
1340
+ }
1341
+ .yith-plugin-ui .ui-state-hover,
1342
+ .yith-plugin-ui .ui-widget-content .ui-state-hover,
1343
+ .yith-plugin-ui a.ui-state-default:focus,
1344
+ .yith-plugin-ui .ui-widget-content .ui-state-focus,
1345
+ .yith-plugin-ui .ui-widget-header .ui-state-focus,
1346
+ .yith-plugin-fw-panel .ui-state-hover,
1347
+ .yith-plugin-fw-panel .ui-widget-content .ui-state-hover,
1348
+ .yith-plugin-fw-panel a.ui-state-default:focus,
1349
+ .yith-plugin-fw-panel .ui-widget-content .ui-state-focus,
1350
+ .yith-plugin-fw-panel .ui-widget-header .ui-state-focus{
1351
+ background:#ebf1f3;
1352
+ border:1px solid #bfd5dd;
1353
+ outline: none;
1354
+ box-shadow: none;
1355
+ }
1356
+ .yith-plugin-ui .ui-widget-header .ui-state-hover, .woocommerce .yith-plugin-ui .ui-state-focus,
1357
+ .yith-plugin-fw-panel .ui-widget-header .ui-state-hover, .woocommerce .yith-plugin-ui .ui-state-focus {
1358
+ background: none;
1359
+ border: 0;
1360
+ }
1361
+
1362
+ /** colorpicker **/
1363
+ .woocommerce .yith-plugin-ui .iris-picker{
1364
+ border:0;
1365
+ margin-top: 20px;
1366
+ }
1367
+ .yith-plugin-ui .yith-plugin-fw input[type=text].wp-color-picker {
1368
+ border:0;
1369
+ padding: 2px 5px;
1370
+ height:30px;
1371
+ }
1372
+ .yith-plugin-ui .wp-color-result-text{
1373
+ display: none;
1374
+ }
1375
+
1376
+ .yith-plugin-ui .wp-picker-container .wp-color-result.button{
1377
+ width: 30px;
1378
+ height: 30px;
1379
+ border: 0;
1380
+ box-shadow: none;
1381
+ border: 1px solid #d9d9d9;
1382
+ margin-bottom: 0;
1383
+ }
1384
+ .yith-plugin-ui .wp-picker-clear{
1385
+ display: none;
1386
+ }
1387
+ .yith-plugin-ui .wp-picker-container{
1388
+ width: auto;
1389
+ display: inline-block;
1390
+ border: 1px solid #d9d9d9;
1391
+ border-radius: 8px;
1392
+ padding: 5px;
1393
+ }
1394
+
1395
+ .yith-plugin-ui .iris-picker .iris-square-inner{
1396
+ box-shadow: none;
1397
+ border: 1px solid #d9d9d9;
1398
+ }
1399
+
1400
+ .yith-plugin-ui .yith-single-colorpicker{
1401
+ display: inline-block;
1402
+ width: 220px;
1403
+ }
1404
+
1405
+ .yith-plugin-ui .yith-single-colorpicker > label{
1406
+ display: block;
1407
+ font-size: 11px;
1408
+ font-weight: 600;
1409
+ margin-bottom: 10px;
1410
+ }
1411
+
1412
+ /* RANGE SLIDER */
1413
+ .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle{
1414
+ top: -45px!important;
1415
+ }
1416
+
1417
+ .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle {
1418
+ position: absolute;
1419
+ top: -33px;
1420
+ left: 0;
1421
+ width: auto !important;
1422
+ height: auto !important;
1423
+ padding: 2px 8px;
1424
+ margin-left: -15px;
1425
+ font-size: 12px;
1426
+ line-height: 20px;
1427
+ color: #4e8ba2;
1428
+ text-align: center;
1429
+ background-color: #fff;
1430
+ border: 1px solid #fff;
1431
+ border-radius: 3px;
1432
+ -webkit-transition: opacity .3s ease-in-out 0s;
1433
+ transition: opacity .3s ease-in-out 0s;
1434
+ box-shadow: 0px 1px 7px 0px rgba(1, 1, 1, 0.13);
1435
+ }
1436
+ .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle:before {
1437
+ position: absolute;
1438
+ bottom: -3px;
1439
+ left: 50%;
1440
+ display: inline-block;
1441
+ width: 6px;
1442
+ height: 6px;
1443
+ margin-left: -3px;
1444
+ content: "";
1445
+ background-color: #fff;
1446
+ -webkit-transform: rotate(-45deg);
1447
+ -ms-transform: rotate(-45deg);
1448
+ transform: rotate(-45deg);
1449
+ }
1450
+ .yith-plugin-ui .ui-slider.ui-widget-content .ui-widget-header{
1451
+ background: #4e8ba2 ;
1452
+ }
1453
+ .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle:after{
1454
+ content: '';
1455
+ width: 17px;
1456
+ height: 17px;
1457
+ display: block;
1458
+ position: absolute;
1459
+ background: #fff;
1460
+ top: 37px;
1461
+ border-radius: 50%;
1462
+ box-shadow: 0px 1px 6px 0px rgba(1, 1, 1, 0.25);
1463
+ }
1464
+ .yith-plugin-ui .ui-slider.ui-widget-content{
1465
+ height: 5px !important;
1466
+ }
1467
+
1468
+ .yith-plugin-ui .ui-slider .minCaption,
1469
+ .yith-plugin-ui .ui-slider .maxCaption {
1470
+ font-weight: 700;
1471
+ font-size: 12px;
1472
+ }
1473
+
1474
+
1475
+ /* ADD_BOX AND TOGGLE */
1476
+ .yith-plugin-ui .yith-add-box,
1477
+ .yith-plugin-ui .yith-toggle-row{
1478
+ width:70%;
1479
+ border: 1px solid #d9d9d9;
1480
+ box-shadow:none;
1481
+ border-radius: 4px;
1482
+ margin: 20px 0;
1483
+ padding: 10px;
1484
+ box-sizing: border-box;
1485
+ background: white;
1486
+ }
1487
+ .yith-plugin-ui .yith-add-box{
1488
+ padding: 30px 25px;
1489
+ display: none;
1490
+ }
1491
+ .yith-plugin-ui .yith-toggle-title{
1492
+ position: relative;
1493
+ }
1494
+ .yith-plugin-ui #plugin-fw-wc .yith-toggle-title h3,
1495
+ .yith-plugin-ui .yith-toggle-title h3{
1496
+ padding: 0px 20px 0px 25px;
1497
+ margin: 0;
1498
+ display: inline-block;
1499
+ position: relative;
1500
+ min-width: 173px;
1501
+ box-sizing: border-box;
1502
+ font-weight: 600;
1503
+ font-size: 15px;
1504
+ }
1505
+
1506
+ .yith-plugin-ui .yith-toggle-title .subtitle{
1507
+ padding-left: 0;
1508
+ padding-top:8px;
1509
+ font-size: 12px;
1510
+ }
1511
+
1512
+ .yith-plugin-ui .yith-toggle{
1513
+ position: absolute;
1514
+ width: 30px;
1515
+ height: 30px;
1516
+ display: block;
1517
+ cursor: pointer;
1518
+ left: 0px;
1519
+ top: 0;
1520
+ bottom: 0;
1521
+ }
1522
+ .yith-plugin-ui .yith-toggle > span:before{
1523
+ color: #405e69;
1524
+ }
1525
+
1526
+ .yith-plugin-ui .yith-toggle > span{
1527
+ position: absolute;
1528
+ right: 50%;
1529
+ transition: transform .3s;
1530
+ line-height: 1;
1531
+ }
1532
+
1533
+
1534
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle span{
1535
+ transform: rotateZ(90deg);
1536
+ }
1537
+
1538
+ .yith-plugin-ui .yith-toggle-content{
1539
+ display: none;
1540
+ position: relative;
1541
+ padding: 30px 25px;
1542
+ }
1543
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content{
1544
+ /* display: block;*/
1545
+ }
1546
+ .yith-plugin-ui .yith-add-box-row,
1547
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content .yith-toggle-content-row{
1548
+ display: table;
1549
+ margin-bottom: 20px;
1550
+ }
1551
+ .yith-plugin-ui .yith-add-box-row label,
1552
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content .yith-toggle-content-row label{
1553
+ display: table-cell;
1554
+ width: 280px;
1555
+ padding-right:50px;
1556
+ color: #33373b;
1557
+ font-size: 13px;
1558
+ vertical-align: top;
1559
+ font-weight: 600;
1560
+ }
1561
+ .yith-plugin-ui .yith-add-box-row .yith-plugin-fw-field-wrapper:not(.yith-plugin-fw-title-field-wrapper),
1562
+ .yith-plugin-ui .yith-toggle-row-opened .yith-plugin-fw-field-wrapper:not(.yith-plugin-fw-title-field-wrapper) {
1563
+ /* display: table-cell;*/
1564
+ width: auto;
1565
+ float: none;
1566
+ vertical-align: middle;
1567
+ position: relative;
1568
+ }
1569
+ .yith-plugin-ui .yith-add-box-row span.yith-icon,
1570
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content .yith-toggle-content-row span.yith-icon{
1571
+ position: absolute;
1572
+ right: 15px;
1573
+ top: 0;
1574
+ bottom: 0;
1575
+ }
1576
+ .yith-plugin-ui .yith-add-box-buttons,
1577
+ .yith-plugin-ui .yith-toggle-content-buttons{
1578
+ text-align: right;
1579
+ }
1580
+ .yith-plugin-ui .yith-toggle-onoff {
1581
+ position: absolute;
1582
+ cursor: pointer;
1583
+ right: 0;
1584
+ }
1585
+ .yith-plugin-ui .ui-sortable .yith-toggle-onoff{
1586
+ right: 30px;
1587
+ }
1588
+ .yith-plugin-ui .yith-toggle-row .icon-drag{
1589
+ position: absolute;
1590
+ right: 0;
1591
+ top: 25%;
1592
+ bottom: 0;
1593
+ line-height: 1;
1594
+ }
1595
+ .yith-plugin-ui .yith-toggle-row.with-subtitle .yith-toggle{
1596
+ top: auto;
1597
+ }
1598
+ .yith-plugin-ui .yith-toggle-row.with-subtitle .yith-toggle-onoff{
1599
+ top: 25%;
1600
+ }
1601
+
1602
+ /** SPINNER **/
1603
+ .yith-plugin-ui .spinner{
1604
+ vertical-align: -5px;
1605
+ float: none;
1606
+ }
1607
+
1608
+ .yith-plugin-ui .spinner.show{
1609
+ visibility: visible;
1610
+ }
1611
+
1612
+ /* LIST TABLE */
1613
+ .yith-plugin-ui .form-table .list-table td{
1614
+ padding: 15px 0px;
1615
+ }
1616
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table .bulkactions select{
1617
+ border: 1px solid #d8d8d8;
1618
+ max-width: 200px;
1619
+ max-height: 30px;
1620
+ padding: 0 10px;
1621
+ }
1622
+ .yith-plugin-ui .form-table .list-table th{
1623
+ width: initial;
1624
+ }
1625
+
1626
+ .yith-plugin-ui #plugin-fw-wc table.form-table th.check-column{
1627
+ padding-left: 3px;
1628
+ }
1629
+ .yith-plugin-ui #plugin-fw-wc table.wp-list-table tbody td{
1630
+ padding-left: 20px;
1631
+ }
1632
+ .yith-plugin-ui .yith-plugin-fw-list-table h2{
1633
+ border: 0;
1634
+ padding: 35px 0 15px;
1635
+ display: inline-block;
1636
+ margin-right: 10px;
1637
+ }
1638
+ .yith-plugin-ui .form-table .yith-plugin-fw-list-table table th{
1639
+ vertical-align: middle;
1640
+ }
1641
+ .yith-plugin-ui .yith-plugin-fw-list-table-container{
1642
+ padding: 0 20px;
1643
+ }
1644
+ .yith-plugin-ui #doaction, .yith-plugin-ui #doaction2, .yith-plugin-ui #post-query-submit{
1645
+ margin-left: 10px;
1646
+ height: 33px;
1647
+ }
1648
+ .yith-plugin-ui .bulkactions{
1649
+ margin: 10px 0;
1650
+ }
1651
+ .yith-plugin-ui .form-table td p.yith-section-description{
1652
+ color:#716269;
1653
+ margin-bottom: 20px;
1654
+ }
1655
+
1656
+ /** Time picker width*/
1657
+ .yith-plugin-ui input.ui-timepicker-input {
1658
+ width: 100px!important;
1659
+ }
1660
+ /** date format **/
1661
+ .yith-plugin-ui .yith-plugin-fw-date-format code {
1662
+ margin-left: 30px;
1663
+ }
1664
+
1665
+ .yith-plugin-ui .yith-plugin-fw-date-format input[type=text].small-text {
1666
+ margin-left: 45px;
1667
+ }
1668
+
1669
+ /** checkbox columns **/
1670
+ .yith-plugin-ui td.forminp-checkbox.two-cols fieldset {
1671
+ width: calc(50% - 20px);
1672
+ padding-right: 20px;
1673
+ float: left;
1674
+ }
1675
+
1676
+ .yith-plugin-ui td.forminp-checkbox.three-cols fieldset {
1677
+ width: calc(33% - 0px);
1678
+ padding-right: 0px;
1679
+ float: left;
1680
+ }
1681
+
1682
+
1683
+ .yith-plugin-fw-checkbox-field-wrapper {
1684
+ display: inline-block !important;
1685
+ width: 19px !important;
1686
+ margin-right: 10px;
1687
+ }
1688
+ .yith-plugin-fw-checkbox-field-wrapper + span.description {
1689
+ display: inline-block;
1690
+ vertical-align: middle;
1691
+ margin: 0;
1692
+ }
1693
+ .yith-plugin-ui span.description {
1694
+ margin-top: 10px;
1695
+ }
1696
+ .yith-plugin-fw-option-with-description {
1697
+ display: table-cell;
1698
+ width: auto;
1699
+ vertical-align: top;
1700
+ }
1701
+ /** YITH PANEL **/
1702
+ .yith-plugin-ui #yith-plugin-fw-panel{
1703
+ margin-top: -10px;
1704
+ }
1705
+ .yith-plugin-ui #plugin-fw-wc, .yith-plugin-ui #yith-plugin-fw-panel{
1706
+ padding-top: 0;
1707
+ }
1708
+ .yith-plugin-ui .plugin-option tr{
1709
+ border: 0;
1710
+ }
1711
+
1712
+ @media screen and (max-width: 1440px){
1713
+ .yith-plugin-ui .yith-add-box,
1714
+ .yith-plugin-ui .yith-toggle-row{
1715
+ width: 80%;
1716
+ }
1717
+ }
1718
+ @media screen and (max-width: 1024px){
1719
+ .yith-plugin-ui .yith-add-box,
1720
+ .yith-plugin-ui .yith-toggle-row{
1721
+ width: 90%;
1722
+ }
1723
+
1724
+ .yith-plugin-ui td.forminp-checkbox.two-cols fieldset {
1725
+ width: 100%;
1726
+ padding-right: 20px;
1727
+ float: left;
1728
+ }
1729
+
1730
+ .yith-plugin-ui td.forminp-checkbox.three-cols fieldset {
1731
+ width: calc(50% - 0px);
1732
+ padding-right: 0px;
1733
+ float: left;
1734
+ }
1735
+ }
1736
+ @media screen and (max-width: 782px){
1737
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free{
1738
+ height: auto;
1739
+ background-color: #a9c7d3;
1740
+ }
1741
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free ul{
1742
+ width: 90%;
1743
+ text-align: center;
1744
+ }
1745
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free li img{
1746
+ width: 90%;
1747
+ margin: 0 auto;
1748
+ }
1749
+ .yith-plugin-fw-banner h1{
1750
+ line-height: 1.2em;
1751
+ }
1752
+
1753
+ .yith-plugin-ui .yith-add-box,
1754
+ .yith-plugin-ui .yith-toggle-row{
1755
+ width: 100%;
1756
+ }
1757
+
1758
+ .yith-plugin-ui td.forminp-checkbox.two-cols fieldset,
1759
+ .yith-plugin-ui td.forminp-checkbox.three-cols fieldset{
1760
+ width: 100%;
1761
+ }
1762
+
1763
}
plugin-fw/assets/fonts/yith-icon.eot ADDED
Binary file
plugin-fw/assets/fonts/yith-icon.svg ADDED
@@ -0,0 +1,26 @@
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
+ </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,657 @@
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;
266
}
267
}
268
- } );
269
- } );
270
-
271
- /* Slider */
272
- $slider.each( function () {
273
- var val = $( this ).data( 'val' ),
274
- minValue = $( this ).data( 'min' ),
275
- maxValue = $( this ).data( 'max' ),
276
- step = $( this ).data( 'step' ),
277
- labels = $( this ).data( 'labels' );
278
-
279
- $( this ).slider( {
280
- value: val,
281
- min : minValue,
282
- max : maxValue,
283
- range: 'min',
284
- step : step,
285
-
286
- create: function () {
287
- $( this ).find( '.ui-slider-handle' ).text( $( this ).slider( "value" ) );
288
- },
289
-
290
-
291
- slide: function ( event, ui ) {
292
- $( this ).find( 'input' ).val( ui.value );
293
- $( this ).find( '.ui-slider-handle' ).text( ui.value );
294
- $( this ).siblings( '.feedback' ).find( 'strong' ).text( ui.value + labels );
295
- }
296
- } );
297
- } );
298
-
299
- /* codemirror */
300
- $codemirror.each( function ( i, v ) {
301
- var editor = CodeMirror.fromTextArea( v, {
302
- lineNumbers : 1,
303
- mode : 'javascript',
304
- showCursorWhenSelecting: true
305
- } );
306
-
307
- $( v ).data( 'codemirrorInstance', editor );
308
- } );
309
-
310
- /* Select All - Deselect All */
311
- $( document ).on( 'click', '.yith-plugin-fw-select-all', function () {
312
- var $targetSelect = $( '#' + $( this ).data( 'select-id' ) );
313
- $targetSelect.find( 'option' ).prop( 'selected', true ).trigger( 'change' );
314
- } );
315
-
316
- $( document ).on( 'click', '.yith-plugin-fw-deselect-all', function () {
317
- var $targetSelect = $( '#' + $( this ).data( 'select-id' ) );
318
- $targetSelect.find( 'option' ).prop( 'selected', false ).trigger( 'change' );
319
- } );
320
-
321
-
322
- $icons.each( function () {
323
- var $container = $( this ),
324
- $preview = $container.find( '.yit-icons-manager-icon-preview' ).first(),
325
- $text = $container.find( '.yit-icons-manager-icon-text' );
326
-
327
- $container.on( 'click', '.yit-icons-manager-list li', function ( event ) {
328
- var $target = $( event.target ).closest( 'li' ),
329
- font = $target.data( 'font' ),
330
- icon = $target.data( 'icon' ),
331
- key = $target.data( 'key' ),
332
- name = $target.data( 'name' );
333
-
334
- $preview.attr( 'data-font', font );
335
- $preview.attr( 'data-icon', icon );
336
- $preview.attr( 'data-key', key );
337
- $preview.attr( 'data-name', name );
338
-
339
- $text.val( font + ':' + name );
340
-
341
- $container.find( '.yit-icons-manager-list li' ).removeClass( 'active' );
342
- $target.addClass( 'active' );
343
- } );
344
-
345
- $container.on( 'click', '.yit-icons-manager-action-set-default', function () {
346
- $container.find( '.yit-icons-manager-list li.default' ).trigger( 'click' );
347
- } );
348
- } );
349
-
350
- /** Select Images */
351
- $( document ).on( 'click', '.yith-plugin-fw-select-images__item', function () {
352
- var item = $( this ),
353
- key = item.data( 'key' ),
354
- wrapper = item.closest( '.yith-plugin-fw-select-images__wrapper' ),
355
- items = wrapper.find( '.yith-plugin-fw-select-images__item' ),
356
- select = wrapper.find( 'select' ).first();
357
-
358
- if ( select.length ) {
359
- select.val( key );
360
- items.removeClass( 'yith-plugin-fw-select-images__item--selected' );
361
- item.addClass( 'yith-plugin-fw-select-images__item--selected' );
362
}
363
- } );
364
- } );
1
+ jQuery(function ($) {
2
+ /* global yith_framework_fw_fields*/