CTX Feed – WooCommerce Product Feed Manager Plugin - Version 4.3.0

Version Description

(2020-12-02) = * Fixed : PHP older version undefined aray_key_first solved.

Download this release

Release Info

Developer wahid0003
Plugin Icon 128x128 CTX Feed – WooCommerce Product Feed Manager Plugin
Version 4.3.0
Comparing to
See all releases

Code changes from version 4.2.9 to 4.3.0

README.txt CHANGED
@@ -8,7 +8,7 @@ Google Product Review feed, product variations, rakuteen, shopping, skroutz, TSV
8
  Requires at least: 3.6
9
  Tested Up To: 5.6
10
  Requires PHP: 5.6
11
- Stable tag: 4.2.9
12
  License: GPLv2 or later
13
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
14
 
@@ -308,6 +308,9 @@ Using pro version:
308
 
309
  == Changelog ==
310
 
 
 
 
311
  = 4.2.9 (2020-11-29) =
312
  * Added : Fashionchick.nl template.
313
 
8
  Requires at least: 3.6
9
  Tested Up To: 5.6
10
  Requires PHP: 5.6
11
+ Stable tag: 4.3.0
12
  License: GPLv2 or later
13
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
14
 
308
 
309
  == Changelog ==
310
 
311
+ = 4.3.0 (2020-12-02) =
312
+ * Fixed : PHP older version undefined aray_key_first solved.
313
+
314
  = 4.2.9 (2020-11-29) =
315
  * Added : Fashionchick.nl template.
316
 
admin/css/woo-feed-admin.css CHANGED
@@ -1,1365 +1,1365 @@
1
  /**
2
  * All of the CSS for your admin-specific functionality should be
3
  * included in this file.
4
- */
5
- .wpf_spin {
6
- -webkit-animation: spin 1000ms infinite linear;
7
- animation: spin 1000ms infinite linear; }
8
- .wpf_spin.reverse_spin {
9
- animation-direction: reverse; }
10
-
11
- .wpf_regenerate.disabled {
12
- color: #737373;
13
- box-shadow: none;
14
- cursor: not-allowed; }
15
-
16
- @-webkit-keyframes spin {
17
- 0% {
18
- -webkit-transform: rotate(0deg);
19
- transform: rotate(0deg); }
20
- 100% {
21
- -webkit-transform: rotate(359deg);
22
- transform: rotate(359deg); } }
23
-
24
- @keyframes spin {
25
- 0% {
26
- -webkit-transform: rotate(0deg);
27
- transform: rotate(0deg); }
28
- 100% {
29
- -webkit-transform: rotate(359deg);
30
- transform: rotate(359deg); } }
31
-
32
- .wfbtn {
33
- background: #3498db;
34
- background-image: linear-gradient(125deg, #3cb0fd 0%, #152f8c 140%);
35
- border-radius: 17px;
36
- box-shadow: inset 0 1px 3px #666666;
37
- font-family: Arial, sans-serif;
38
- color: #ffffff;
39
- font-size: 20px;
40
- padding: 10px 20px 10px 20px;
41
- border: solid #2b698f 0px;
42
- text-decoration: none; }
43
- .wfbtn:hover {
44
- background: #3cb0fd;
45
- background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
46
- text-decoration: none; }
47
-
48
- .woo_feed_manage_list_table .wf_update_interval_btn {
49
- background: linear-gradient(125deg, #3cb0fd 0, #152f8c 140%); }
50
- .woo_feed_manage_list_table .wf_update_interval_btn:hover {
51
- background: linear-gradient(125deg, #3cb0fd 0, #152f8c 140%); }
52
-
53
- .woo-feed-promotion {
54
- position: relative; }
55
- .woo-feed-promotion .woo-feed-campaign-close-button {
56
- position: absolute;
57
- top: 50%;
58
- -webkit-transform: translateY(-50%);
59
- transform: translateY(-50%);
60
- right: 15px;
61
- width: 24px;
62
- height: 24px;
63
- border-radius: 12px;
64
- background: #595d6b;
65
- line-height: 24px;
66
- color: #fff;
67
- cursor: pointer;
68
- transition: .3s ease; }
69
- .woo-feed-promotion .woo-feed-campaign-close-button:hover {
70
- background: #fff;
71
- color: #d61e48; }
72
-
73
- .wftooltip {
74
- display: none;
75
- position: absolute;
76
- border: 1px solid #333;
77
- background-color: #161616;
78
- border-radius: 5px;
79
- padding: 10px;
80
- color: #fff;
81
- font-size: 12px; }
82
-
83
- .feed-actions .makeFeedResponse {
84
- width: 70%;
85
- color: green; }
86
-
87
- .woo-feed-mapping-input {
88
- width: 100%; }
89
-
90
- .requiredIn {
91
- color: red; }
92
-
93
- .generalInput {
94
- width: 200px; }
95
- .generalInput:not(.selectize-control) {
96
- margin: 5px auto; }
97
-
98
- .error {
99
- color: red; }
100
-
101
- .widefat td select, .widefat td input {
102
- max-width: 100%; }
103
-
104
- #wf_newRow {
105
- margin-left: 0; }
106
-
107
- .mtable tbody tr {
108
- height: 25px;
109
- border: 1px solid #CCC;
110
- text-align: left;
111
- -ms-flex-align: baseline;
112
- align-items: baseline;
113
- font-weight: bold; }
114
-
115
- .mtable th:nth-child(1) {
116
- width: 17px; }
117
-
118
- .mtable th:nth-child(2) {
119
- width: 160px; }
120
-
121
- .mtable th:nth-child(3) {
122
- width: 100px; }
123
-
124
- .mtable th:nth-child(4) {
125
- width: 100px; }
126
-
127
- .mtable th:nth-child(5) {
128
- width: 150px; }
129
-
130
- .mtable th:nth-child(6) {
131
- width: 100px; }
132
-
133
- .mtable th:nth-child(7) {
134
- width: 150px; }
135
-
136
- .mtable th:nth-child(8) {
137
- width: 90px; }
138
-
139
- .mtable th:nth-child(9) {
140
- width: 29px; }
141
-
142
- .mtable2 tbody tr {
143
- height: 25px;
144
- border: 1px solid #CCC;
145
- text-align: left;
146
- -ms-flex-align: baseline;
147
- align-items: baseline;
148
- font-weight: bold; }
149
-
150
- .mtable2 th:nth-child(1) {
151
- width: 30px; }
152
-
153
- .mtable2 th:nth-child(2) {
154
- width: 150px; }
155
-
156
- .mtable2 th:nth-child(3) {
157
- width: 230px; }
158
-
159
- .mtable2 th:nth-child(4) {
160
- width: 220px; }
161
-
162
- .mtable2 th:nth-child(7) {
163
- width: 50px; }
164
-
165
- .mtable2 th:nth-child(8) {
166
- width: 50px; }
167
-
168
- .mtable2 th:nth-child(9) {
169
- width: 29px; }
170
-
171
- .wp-admin select.wf_mattributes {
172
- width: 150px;
173
- left: 0;
174
- height: 25px; }
175
-
176
- div#wf-tab-content1 select:not([name^="output_type"]) {
177
- width: 100%; }
178
-
179
- div#wf-tab-content1 input {
180
- width: 100%; }
181
-
182
- div#wf-tab-content1 .dashicons {
183
- vertical-align: middle; }
184
-
185
- .wf_attributes {
186
- width: 150px;
187
- left: 0; }
188
-
189
- .wf_compare {
190
- max-width: 245px;
191
- left: 0; }
192
-
193
- .wf_ps {
194
- width: 100px;
195
- left: 0; }
196
-
197
- .wf_sortedtable {
198
- cursor: move; }
199
-
200
- .sorted_table {
201
- position: relative; }
202
- .sorted_table .dragged {
203
- position: absolute;
204
- opacity: 0.8;
205
- z-index: 9999;
206
- background: #fff;
207
- width: 100%;
208
- display: table; }
209
- .sorted_table tbody tr.placeholder td {
210
- border: 1px dashed #2cc185;
211
- height: 46px; }
212
-
213
- .wfnoempty {
214
- width: 120px; }
215
-
216
- /*==================Tab Design=======================*/
217
- p {
218
- color: #222; }
219
-
220
- .wf_tabs {
221
- position: relative;
222
- margin: 0 auto;
223
- width: 100%;
224
- list-style: none;
225
- /*bottom: 50px;*/ }
226
-
227
- .wf_tabs:after {
228
- display: table;
229
- clear: both;
230
- content: ""; }
231
-
232
- .wf_tabs li {
233
- float: left;
234
- width: 20%;
235
- display: block;
236
- border: 2px solid #CCC; }
237
-
238
- .wf_tabs li > input[type="radio"][name="wf_tabs"] {
239
- position: absolute;
240
- top: auto;
241
- left: -9999px; }
242
-
243
- .wf-tab-name {
244
- display: block;
245
- padding: 15px;
246
- font-size: 15px;
247
- font-weight: bold;
248
- line-height: 1;
249
- background: #fff;
250
- cursor: pointer;
251
- position: relative;
252
- text-align: center;
253
- text-transform: uppercase;
254
- color: #2CC185; }
255
-
256
- .wf-tab-name:hover {
257
- background: #2CC185;
258
- color: white; }
259
-
260
- .wf_tabs [id^="tab"]:checked + label {
261
- background: #2CC185;
262
- color: white; }
263
-
264
- .wf_tabs .wf-tab-content {
265
- z-index: 2;
266
- display: none;
267
- width: 100%;
268
- font-size: 0.9rem;
269
- position: absolute;
270
- left: 0;
271
- background: #fff;
272
- border: 2px solid #CCC; }
273
-
274
- .wf_tabs [id^="tab"]:checked ~ [id^="wf-tab-content"] {
275
- display: block; }
276
-
277
- [id^="wf-tab-content"] {
278
- margin-bottom: 40px; }
279
-
280
- div#wf-tab-content2 table:first-child {
281
- padding: 10px 0; }
282
-
283
- div#wf-tab-content2 table:first-child td:nth-child(1) {
284
- width: 260px; }
285
-
286
- div#wf-tab-content2 table:first-child td:nth-child(2) {
287
- width: 260px; }
288
-
289
- table.feed-actions tr td:last-child {
290
- text-align: right; }
291
-
292
- /* Selectize */
293
- select.selectize {
294
- display: none; }
295
-
296
- body.no-js select.selectize {
297
- display: block !important; }
298
-
299
- .wp-list-table .option_name .wf_feed_option_name_link {
300
- font-weight: 700;
301
- color: #30336b; }
302
-
303
- .wp-list-table #option_name a {
304
- color: #32373c; }
305
-
306
- /* fallback combat */
307
- .selectize-dropdown .active {
308
- background-color: #edf9ff; }
309
-
310
- .selectize-dropdown .create {
311
- padding: 5px 8px; }
312
-
313
- .wapk-selectize-item {
314
- background: #0073aa !important;
315
- color: #f1f1f1 !important;
316
- font-weight: bold !important;
317
- border-color: #0073aa !important;
318
- padding-left: 5px;
319
- padding-right: 5px; }
320
-
321
- .selectize-input.full #googleTaxonomyId-selectized {
322
- opacity: 0;
323
- position: absolute;
324
- left: -10000px; }
325
-
326
- .selectize-dropdown [data-selectable].option {
327
- cursor: default; }
328
-
329
- .selectize-control.plugin-remove_button [data-value] .remove {
330
- border-left: 1px solid #f1f1f1 !important; }
331
-
332
- .selectize-dropdown .optgroup-header {
333
- font-weight: 700;
334
- background: #efefef;
335
- color: #5a5a5a; }
336
-
337
- .selectize-dropdown [data-selectable].option {
338
- cursor: pointer; }
339
-
340
- /* Feed active and inactive button CSS */
341
- .wf_status_wrap label {
342
- width: 55px;
343
- height: 30px;
344
- box-sizing: border-box;
345
- float: left;
346
- border-radius: 100px;
347
- position: relative;
348
- cursor: pointer;
349
- transition: .3s ease;
350
- background: #d3d3d3; }
351
-
352
- input[class=woo_feed_status_input]:checked + label {
353
- background: #4fbe79; }
354
-
355
- input[class=woo_feed_status_input]:checked + label:before {
356
- left: 29px; }
357
-
358
- .wf_status_wrap label:before {
359
- transition: .3s ease;
360
- content: '';
361
- width: 20px;
362
- height: 20px;
363
- position: absolute;
364
- background: white;
365
- left: 6px;
366
- top: 5px;
367
- box-sizing: border-box;
368
- color: black;
369
- border-radius: 100px;
370
- box-shadow: 0px 1.5px 2px 0px #000; }
371
-
372
- .view span.dashicons.dashicons-external {
373
- color: #30336b; }
374
-
375
- .view span.dashicons.dashicons-sos {
376
- color: #22a6b3; }
377
-
378
- .view span.dashicons.dashicons-download {
379
- color: #ee5253; }
380
-
381
- .view span.dashicons.dashicons-media-code {
382
- color: #576574; }
383
-
384
- /* list table style */
385
- .widefat td.column-url, .widefat th.column-url,
386
- .column-url {
387
- color: #1e8f9a;
388
- font-weight: bold; }
389
-
390
- /** Feed Progress **/
391
- .feed-progress-container {
392
- width: 100%;
393
- color: white;
394
- text-align: center;
395
- font-weight: 300; }
396
-
397
- .feed-progress-bar {
398
- width: 100%;
399
- background: #eee;
400
- padding: 3px;
401
- border-radius: 50px;
402
- box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); }
403
-
404
- .feed-progress-bar-fill {
405
- height: 20px;
406
- display: block;
407
- background: linear-gradient(to right top, #10ac84, #13b389, #15ba8f, #18c194, #1ac89a, #13cba1, #0acfa9, #00d2b0, #00d2ba, #00d2c3, #00d2cb, #00d2d3);
408
- width: 0;
409
- border-radius: 50px;
410
- transition: width 0.8s ease; }
411
-
412
- .feed-progress-status {
413
- float: left;
414
- font-weight: bold;
415
- color: darkblue; }
416
-
417
- .feed-progress-percentage {
418
- text-align: right;
419
- font-weight: bolder;
420
- color: #1dd1a1;
421
- font-family: 'Arial Black', sans-serif;
422
- font-size: large; }
423
-
424
- #wpbody-content.woofeed-body-content {
425
- overflow: visible !important; }
426
-
427
- .clippy {
428
- position: relative;
429
- width: 13px;
430
- margin-top: -3px;
431
- margin-left: 3px;
432
- top: 3px; }
433
-
434
- .column-url .clippy {
435
- display: none; }
436
-
437
- .column-url:hover .clippy {
438
- display: inline-block; }
439
-
440
  /**
441
  * Primer Tooltip
442
- */
443
- .tooltipped {
444
- position: relative; }
445
- .tooltipped:after {
446
- position: absolute;
447
- z-index: 1000000;
448
- display: none;
449
- padding: 5px 8px;
450
- font: normal normal 11px/1.5 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
451
- color: #fff;
452
- text-align: center;
453
- text-decoration: none;
454
- text-shadow: none;
455
- text-transform: none;
456
- letter-spacing: normal;
457
- word-wrap: break-word;
458
- white-space: pre;
459
- pointer-events: none;
460
- content: attr(aria-label);
461
- background: rgba(0, 0, 0, 0.8);
462
- border-radius: 3px;
463
- -webkit-font-smoothing: subpixel-antialiased; }
464
- .tooltipped:before {
465
- position: absolute;
466
- z-index: 1000001;
467
- display: none;
468
- width: 0;
469
- height: 0;
470
- color: rgba(0, 0, 0, 0.8);
471
- pointer-events: none;
472
- content: "";
473
- border: 5px solid transparent; }
474
- .tooltipped:hover:before {
475
- display: inline-block;
476
- text-decoration: none; }
477
- .tooltipped:hover:after {
478
- display: inline-block;
479
- text-decoration: none; }
480
- .tooltipped:active:before {
481
- display: inline-block;
482
- text-decoration: none; }
483
- .tooltipped:active:after {
484
- display: inline-block;
485
- text-decoration: none; }
486
- .tooltipped:focus:before {
487
- display: inline-block;
488
- text-decoration: none; }
489
- .tooltipped:focus:after {
490
- display: inline-block;
491
- text-decoration: none; }
492
- .tooltipped-multiline:hover:after {
493
- display: table-cell; }
494
- .tooltipped-multiline:active:after {
495
- display: table-cell; }
496
- .tooltipped-multiline:focus:after {
497
- display: table-cell; }
498
- .tooltipped-multiline:after {
499
- width: -webkit-max-content;
500
- width: -moz-max-content;
501
- width: max-content;
502
- max-width: 250px;
503
- word-break: break-word;
504
- word-wrap: normal;
505
- white-space: pre-line;
506
- border-collapse: separate; }
507
- .tooltipped-s:after {
508
- top: 100%;
509
- right: 50%;
510
- margin-top: 5px;
511
- -webkit-transform: translateX(50%);
512
- transform: translateX(50%); }
513
- .tooltipped-s:before {
514
- top: auto;
515
- right: 50%;
516
- bottom: -5px;
517
- margin-right: -5px;
518
- border-bottom-color: rgba(0, 0, 0, 0.8); }
519
- .tooltipped-se:after {
520
- top: 100%;
521
- margin-top: 5px;
522
- right: auto;
523
- left: 50%;
524
- margin-left: -15px; }
525
- .tooltipped-se:before {
526
- top: auto;
527
- right: 50%;
528
- bottom: -5px;
529
- margin-right: -5px;
530
- border-bottom-color: rgba(0, 0, 0, 0.8); }
531
- .tooltipped-sw:after {
532
- top: 100%;
533
- right: 50%;
534
- margin-top: 5px;
535
- margin-right: -15px; }
536
- .tooltipped-sw:before {
537
- top: auto;
538
- right: 50%;
539
- bottom: -5px;
540
- margin-right: -5px;
541
- border-bottom-color: rgba(0, 0, 0, 0.8); }
542
- .tooltipped-n:after {
543
- right: 50%;
544
- bottom: 100%;
545
- margin-bottom: 5px;
546
- -webkit-transform: translateX(50%);
547
- transform: translateX(50%); }
548
- .tooltipped-n:before {
549
- top: -5px;
550
- right: 50%;
551
- bottom: auto;
552
- margin-right: -5px;
553
- border-top-color: rgba(0, 0, 0, 0.8); }
554
- .tooltipped-ne:after {
555
- bottom: 100%;
556
- margin-bottom: 5px;
557
- right: auto;
558
- left: 50%;
559
- margin-left: -15px; }
560
- .tooltipped-ne:before {
561
- top: -5px;
562
- right: 50%;
563
- bottom: auto;
564
- margin-right: -5px;
565
- border-top-color: rgba(0, 0, 0, 0.8); }
566
- .tooltipped-nw:after {
567
- right: 50%;
568
- bottom: 100%;
569
- margin-bottom: 5px;
570
- margin-right: -15px; }
571
- .tooltipped-nw:before {
572
- top: -5px;
573
- right: 50%;
574
- bottom: auto;
575
- margin-right: -5px;
576
- border-top-color: rgba(0, 0, 0, 0.8); }
577
- .tooltipped-w:after {
578
- right: 100%;
579
- bottom: 50%;
580
- margin-right: 5px;
581
- -webkit-transform: translateY(50%);
582
- transform: translateY(50%); }
583
- .tooltipped-w:before {
584
- top: 50%;
585
- bottom: 50%;
586
- left: -5px;
587
- margin-top: -5px;
588
- border-left-color: rgba(0, 0, 0, 0.8); }
589
- .tooltipped-e:after {
590
- bottom: 50%;
591
- left: 100%;
592
- margin-left: 5px;
593
- -webkit-transform: translateY(50%);
594
- transform: translateY(50%); }
595
- .tooltipped-e:before {
596
- top: 50%;
597
- right: -5px;
598
- bottom: 50%;
599
- margin-top: -5px;
600
- border-right-color: rgba(0, 0, 0, 0.8); }
601
- .tooltipped-multiline.tooltipped-s:after {
602
- right: auto;
603
- left: 50%;
604
- -webkit-transform: translateX(-50%);
605
- transform: translateX(-50%); }
606
- .tooltipped-multiline.tooltipped-n:after {
607
- right: auto;
608
- left: 50%;
609
- -webkit-transform: translateX(-50%);
610
- transform: translateX(-50%); }
611
- .tooltipped-multiline.tooltipped-w:after {
612
- right: 100%; }
613
- .tooltipped-multiline.tooltipped-e:after {
614
- right: 100%; }
615
- .tooltipped-sticky:before {
616
- display: inline-block; }
617
- .tooltipped-sticky:after {
618
- display: inline-block; }
619
- .tooltipped-sticky.tooltipped-multiline:after {
620
- display: table-cell; }
621
-
622
- .fullscreen-overlay-enabled.dark-theme .tooltipped:after {
623
- color: #000;
624
- background: rgba(255, 255, 255, 0.8); }
625
-
626
- .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before {
627
- border-bottom-color: rgba(255, 255, 255, 0.8); }
628
-
629
- .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before {
630
- border-bottom-color: rgba(255, 255, 255, 0.8); }
631
-
632
- .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before {
633
- border-bottom-color: rgba(255, 255, 255, 0.8); }
634
-
635
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before {
636
- border-top-color: rgba(255, 255, 255, 0.8); }
637
-
638
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before {
639
- border-top-color: rgba(255, 255, 255, 0.8); }
640
-
641
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before {
642
- border-top-color: rgba(255, 255, 255, 0.8); }
643
-
644
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before {
645
- border-right-color: rgba(255, 255, 255, 0.8); }
646
-
647
- .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before {
648
- border-left-color: rgba(255, 255, 255, 0.8); }
649
-
650
- @media screen and (min-width: 0\0) {
651
- .tooltipped-multiline:after {
652
- width: 250px; } }
653
-
654
- ul.tracker_collection_list {
655
- list-style: initial;
656
- padding: initial;
657
- margin: -10px 0 0 30px;
658
- font-size: 11px !important; }
659
- ul.tracker_collection_list li {
660
- margin: 0; }
661
-
662
- /** Info Message Table **/
663
- table.wf-info-table, table.wf-rate-table {
664
- vertical-align: middle;
665
- text-align: center;
666
- max-width: 100%;
667
- font-weight: 500; }
668
- table.wf-info-table th, table.wf-rate-table th {
669
- text-align: center; }
670
- table.wf-info-table th .woo-feed-top-header, table.wf-rate-table th .woo-feed-top-header {
671
- display: -ms-flexbox;
672
- display: flex;
673
- -ms-flex-pack: justify;
674
- justify-content: space-between;
675
- -ms-flex-align: center;
676
- align-items: center; }
677
- table.wf-info-table th .woo-feed-top-header .get-woo-feed-pro, table.wf-rate-table th .woo-feed-top-header .get-woo-feed-pro {
678
- margin-left: 20px; }
679
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons {
680
- float: right;
681
- display: -ms-flexbox;
682
- display: flex;
683
- border-radius: 7px;
684
- -ms-flex-pack: center;
685
- justify-content: center;
686
- -ms-flex-align: center;
687
- align-items: center; }
688
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a {
689
- padding: 8px 20px;
690
- background: #576574;
691
- color: #fff;
692
- box-sizing: border-box;
693
- display: inline-block;
694
- transition: .3s ease; }
695
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-doc-link, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-doc-link {
696
- background: #576574;
697
- border-top-left-radius: 5px;
698
- border-bottom-left-radius: 5px; }
699
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-video-link, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-video-link {
700
- background: #ee5253; }
701
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-support-link, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-support-link {
702
- background: #22a6b3;
703
- border-top-right-radius: 5px;
704
- border-bottom-right-radius: 5px; }
705
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a span.dashicons, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a span.dashicons {
706
- font-size: 18px;
707
- line-height: 1.2; }
708
- table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a:hover, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a:hover {
709
- background: #30336b;
710
- box-shadow: 0px 0px 33px 0px rgba(0, 0, 0, 0.12); }
711
- table.wf-info-table strong, table.wf-rate-table strong {
712
- font-weight: bold; }
713
-
714
- table.wf-info-table th:first-child img {
715
- margin: 0 0 -5px 5px; }
716
-
717
- table.wf-rate-table a {
718
- color: #0073aa; }
719
-
720
- table.wf-rate-table a.review-star:after {
721
- content: "\f155\f155\f155\f155\f155" !important;
722
- font-family: dashicons;
723
- font-size: 10px;
724
- font-weight: 100;
725
- text-rendering: auto;
726
- -webkit-font-smoothing: antialiased;
727
- -moz-osx-font-smoothing: grayscale;
728
- color: #0073aa;
729
- text-decoration: underline; }
730
-
731
- /** Admin Menu Icon **/
732
- #adminmenu #toplevel_page_webappick-manage-feeds div.wp-menu-image::before {
733
- content: "";
734
- background: url(../images/woo-feed-icon.svg) no-repeat center center;
735
- background-size: 20px 20px;
736
- opacity: 0.6;
737
- filter: alpha(opacity=60); }
738
-
739
- #adminmenu #toplevel_page_webappick-manage-feeds:hover div.wp-menu-image::before {
740
- opacity: 1;
741
- filter: alpha(opacity=100); }
742
-
743
- #adminmenu #toplevel_page_webappick-manage-feeds.wp-has-current-submenu div.wp-menu-image::before {
744
- opacity: 1;
745
- filter: alpha(opacity=100); }
746
-
747
- /** Admin Page Wrapper **/
748
- .wapk-admin, .wapk-admin * {
749
- box-sizing: border-box; }
750
-
751
- .wapk-admin {
752
- position: relative;
753
- display: block;
754
- -webkit-hyphens: manual;
755
- -ms-hyphens: manual;
756
- -moz-hyphens: manual;
757
- hyphens: manual;
758
- color: #1B2730;
759
- /* reset .warp margin to use full width except menu area */
760
- margin: 0 0 0 -10px; }
761
-
762
- @media screen and (min-width: 783px) {
763
- .wapk-admin {
764
- margin: 0 0 0 -20px; } }
765
-
766
- .text-center {
767
- text-align: center; }
768
-
769
- .wapk-admin h1, .wapk-admin h2, .wapk-admin h3,
770
- .wapk-admin h4, .wapk-admin h5, .wapk-admin h6,
771
- .wapk-admin p {
772
- color: #1B2730; }
773
-
774
- .wapk-admin sup {
775
- vertical-align: baseline;
776
- position: relative;
777
- top: -6px; }
778
-
779
- .wapk-admin sub {
780
- vertical-align: baseline;
781
- position: relative;
782
- top: 4px; }
783
-
784
- /* WP.Core.UI Compat */
785
- .wapk-admin .wapk-section {
786
- margin: 10px 20px 0 22px;
787
- position: relative;
788
- display: block; }
789
- .wapk-admin .wapk-section [class$=icon32] + h2 {
790
- font-size: 23px;
791
- font-weight: 400;
792
- margin: 0;
793
- padding: 9px 0 4px 0;
794
- line-height: 1.3; }
795
- .wapk-admin .wapk-section h1 {
796
- font-size: 23px;
797
- font-weight: 400;
798
- margin: 0;
799
- padding: 9px 0 4px 0;
800
- line-height: 1.3; }
801
- .wapk-admin .wapk-section > h2:first-child {
802
- font-size: 23px;
803
- font-weight: 400;
804
- margin: 0;
805
- padding: 9px 0 4px 0;
806
- line-height: 1.3; }
807
-
808
- .wapk-admin > .notice {
809
- margin: 10px 20px 0 22px;
810
- position: relative;
811
- display: block; }
812
-
813
- .wapk-admin span.help {
814
- display: block;
815
- float: left;
816
- width: 100%;
817
- font-size: 0.9em;
818
- color: #636363;
819
- margin-top: 5px;
820
- font-weight: 500; }
821
- .wapk-admin span.help .dashicons {
822
- width: 11px;
823
- height: 12px;
824
- font-size: inherit;
825
- vertical-align: middle; }
826
-
827
- .clear:after {
828
- content: "";
829
- display: table;
830
- clear: both; }
831
-
832
- /*.wapk-admin .help a { color: inherit; text-decoration: underline; }*/
833
- /** Extend WP Core UI PostBox For Docs **/
834
- .wapk-feed-docs .postbox {
835
- width: 355px;
836
- margin-right: 20px;
837
- display: inline-block;
838
- vertical-align: top; }
839
- .wapk-feed-docs .postbox .hndle {
840
- font-size: 14px;
841
- padding: 8px 12px;
842
- margin: 0;
843
- line-height: 1.4;
844
- cursor: pointer; }
845
- .wapk-feed-docs .postbox .dashicons {
846
- color: #ccc; }
847
- .wapk-feed-docs .postbox a {
848
- text-decoration: none; }
849
- .wapk-feed-docs .postbox .inside {
850
- margin-bottom: 0; }
851
- .wapk-feed-docs .postbox ul {
852
- margin-bottom: 0; }
853
- .wapk-feed-docs .postbox .toggle-indicator:before {
854
- content: "\F142";
855
- display: inline-block;
856
- font: 400 20px/1 dashicons;
857
- speak: none;
858
- -webkit-font-smoothing: antialiased;
859
- -moz-osx-font-smoothing: grayscale;
860
- text-decoration: none !important; }
861
- .wapk-feed-docs .postbox li {
862
- width: 100%;
863
- display: block;
864
- float: left; }
865
- .wapk-feed-docs .postbox li span {
866
- display: inline-block;
867
- float: left;
868
- margin-right: 4px; }
869
- .wapk-feed-docs .postbox li a {
870
- display: inline-block;
871
- float: left;
872
- width: calc(100% - 24px); }
873
-
874
- .wapk-feed-docs .postbox.closed .toggle-indicator:before {
875
- content: "\F140"; }
876
-
877
- .wapk-section #post-body.columns-2 #side-sortables {
878
- min-height: 196px; }
879
-
880
- #poststuff #feed_merchant_info .inside {
881
- margin: 0;
882
- padding: 0; }
883
-
884
- #feed_merchant_info ul.data {
885
- margin-left: 24px;
886
- margin-top: 5px; }
887
- #feed_merchant_info ul.data li {
888
- margin-bottom: 5px; }
889
-
890
- .merchant-info-section {
891
- padding: 6px 10px 8px; }
892
-
893
- .generateFeed .wf-tab-content table:first-child {
894
- border: none;
895
- box-shadow: none; }
896
-
897
- .generateFeed table th {
898
- font-weight: bold; }
899
-
900
- @media only screen and (max-width: 850px) {
901
- .wapk-feed-docs .postbox {
902
- display: block;
903
- width: auto;
904
- float: none;
905
- margin-right: auto; } }
906
-
907
- /** Admin Feed Help Docs **/
908
- .wp-submenu li span.woo-feed-docs {
909
- font-weight: bold;
910
- color: #f18500; }
911
-
912
- .wp-submenu li:hover span.woo-feed-docs {
913
- color: #ce7304; }
914
-
915
- .wp-submenu li.current span.woo-feed-docs {
916
- color: #ce7304; }
917
-
918
- .wapk-admin .wapk-feed-docs .postbox .hndle {
919
- cursor: default; }
920
-
921
- /** Admin Call-To-Action **/
922
- .wapk-cta {
923
- position: relative;
924
- display: -ms-flexbox;
925
- display: flex;
926
- width: 100%;
927
- padding: 100px 15px;
928
- background: linear-gradient(45deg, #6CD5FF 33%, #c2efef 100%);
929
- -ms-flex-pack: center;
930
- justify-content: center;
931
- -ms-flex-align: center;
932
- align-items: center; }
933
- .wapk-cta-icon .dashicons {
934
- font-size: 100px;
935
- width: 100px;
936
- height: auto;
937
- margin: 0 10px -8px 0;
938
- color: #02658c; }
939
- .wapk-cta-content {
940
- width: 50%; }
941
- .wapk-cta-content h2 {
942
- font-size: 2em;
943
- margin: 0.5em 0; }
944
- .wapk-cta-action a.wapk-button {
945
- font-size: 24px;
946
- height: auto !important;
947
- padding: 10px 20px; }
948
-
949
- @media (max-width: 600px) {
950
- .wapk-cta {
951
- display: block;
952
- text-align: center;
953
- padding: 4em 0; }
954
- .wapk-cta-content {
955
- width: 100%;
956
- margin: 2em 0; } }
957
-
958
- /** Override .wp-core-ui .wapk-button styles with prefix .wapk-admin **/
959
- /* Button Skin */
960
- .wapk-button {
961
- color: #00D4D4;
962
- border-color: #00D4D4;
963
- display: inline-block;
964
- text-decoration: none;
965
- font-size: 13px;
966
- line-height: 2.15384615;
967
- min-height: 30px;
968
- margin: 0;
969
- padding: 0 10px;
970
- cursor: pointer;
971
- border-width: 1px;
972
- border-style: solid;
973
- -webkit-appearance: none;
974
- border-radius: 3px;
975
- white-space: nowrap;
976
- box-sizing: border-box; }
977
- .wapk-button > svg {
978
- width: 15px;
979
- margin-left: 5px;
980
- fill: #00D4D4; }
981
- .wapk-button > .dashicons {
982
- color: #00D4D4; }
983
- .wapk-button:hover {
984
- border-color: #00bbbb;
985
- color: #00bbbb; }
986
- .wapk-button:hover > svg {
987
- fill: #00bbbb; }
988
- .wapk-button:hover > .dashicons {
989
- color: #00bbbb; }
990
- .wapk-button:focus {
991
- border-color: #00D4D4;
992
- color: #00bbbb;
993
- box-shadow: 0 0 0 1px #00D4D4; }
994
- .wapk-button:focus > svg {
995
- fill: #00bbbb; }
996
- .wapk-button:focus > .dashicons {
997
- color: #00bbbb; }
998
- .wapk-button:active {
999
- background: #00bbbb;
1000
- border-color: #00bbbb; }
1001
- .wapk-button-secondary {
1002
- color: #00D4D4;
1003
- border-color: #00D4D4;
1004
- display: inline-block;
1005
- text-decoration: none;
1006
- font-size: 13px;
1007
- line-height: 2.15384615;
1008
- min-height: 30px;
1009
- margin: 0;
1010
- padding: 0 10px;
1011
- cursor: pointer;
1012
- border-width: 1px;
1013
- border-style: solid;
1014
- -webkit-appearance: none;
1015
- border-radius: 3px;
1016
- white-space: nowrap;
1017
- box-sizing: border-box; }
1018
- .wapk-button-secondary > svg {
1019
- width: 15px;
1020
- margin-left: 5px;
1021
- fill: #00D4D4; }
1022
- .wapk-button-secondary > .dashicons {
1023
- color: #00D4D4; }
1024
- .wapk-button-secondary:hover {
1025
- border-color: #00bbbb;
1026
- color: #00bbbb; }
1027
- .wapk-button-secondary:hover > svg {
1028
- fill: #00bbbb; }
1029
- .wapk-button-secondary:hover > .dashicons {
1030
- color: #00bbbb; }
1031
- .wapk-button-secondary:focus {
1032
- border-color: #00D4D4;
1033
- color: #00bbbb;
1034
- box-shadow: 0 0 0 1px #00D4D4; }
1035
- .wapk-button-secondary:focus > svg {
1036
- fill: #00bbbb; }
1037
- .wapk-button-secondary:focus > .dashicons {
1038
- color: #00bbbb; }
1039
- .wapk-button-primary {
1040
- display: inline-block;
1041
- text-decoration: none;
1042
- font-size: 13px;
1043
- line-height: 2.15384615;
1044
- min-height: 30px;
1045
- margin: 0;
1046
- padding: 0 10px;
1047
- cursor: pointer;
1048
- border-width: 1px;
1049
- border-style: solid;
1050
- -webkit-appearance: none;
1051
- border-radius: 3px;
1052
- white-space: nowrap;
1053
- box-sizing: border-box;
1054
- background: #00D4D4;
1055
- border-color: #00D4D4;
1056
- color: #fff;
1057
- box-shadow: 0 1px 0 #00bbbb;
1058
- text-shadow: 0 -1px 1px #00bbbb, 1px 0 1px #00bbbb, 0 1px 1px #00bbbb, -1px 0 1px #00bbbb; }
1059
- .wapk-button-primary > svg {
1060
- fill: #fff; }
1061
- .wapk-button-primary:hover {
1062
- background: #00e3e3;
1063
- border-color: #00c5c5;
1064
- color: #fff; }
1065
- .wapk-button-primary:hover > svg {
1066
- fill: #fff; }
1067
- .wapk-button-primary:focus {
1068
- background: #00e3e3;
1069
- border-color: #00c5c5;
1070
- color: #fff;
1071
- box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00D4D4; }
1072
- .wapk-button-primary:focus > svg {
1073
- fill: #fff; }
1074
- .wapk-button-primary:active {
1075
- background: #00bbbb;
1076
- border-color: #00bbbb;
1077
- color: #fff; }
1078
- .wapk-button-primary:active > svg {
1079
- fill: #fff; }
1080
- .wapk-button-primary:disabled {
1081
- color: #c7d1d1 !important;
1082
- background: #22ffff !important;
1083
- border-color: #22ffff !important;
1084
- text-shadow: none !important; }
1085
- .wapk-button-primary:disabled > svg {
1086
- fill: #c7d1d1 !important; }
1087
- .wapk-button.hover {
1088
- border-color: #00bbbb;
1089
- color: #00bbbb; }
1090
- .wapk-button.hover > svg {
1091
- fill: #00bbbb; }
1092
- .wapk-button.hover > .dashicons {
1093
- color: #00bbbb; }
1094
- .wapk-button.focus {
1095
- border-color: #00D4D4;
1096
- color: #00bbbb;
1097
- box-shadow: 0 0 0 1px #00D4D4; }
1098
- .wapk-button.focus > svg {
1099
- fill: #00bbbb; }
1100
- .wapk-button.focus > .dashicons {
1101
- color: #00bbbb; }
1102
- .wapk-button.active {
1103
- border-color: #00bbbb;
1104
- color: #00bbbb;
1105
- box-shadow: inset 0 2px 5px -3px #00bbbb; }
1106
- .wapk-button.active:focus {
1107
- border-color: #00bbbb;
1108
- color: #00bbbb;
1109
- box-shadow: inset 0 2px 5px -3px #00bbbb; }
1110
- .wapk-button.active:focus > svg {
1111
- fill: #00bbbb; }
1112
- .wapk-button.active:focus > .dashicons {
1113
- color: #00bbbb; }
1114
- .wapk-button.active:hover {
1115
- border-color: #00bbbb;
1116
- color: #00bbbb;
1117
- box-shadow: inset 0 2px 5px -3px #00bbbb; }
1118
- .wapk-button.active:hover > svg {
1119
- fill: #00bbbb; }
1120
- .wapk-button.active:hover > .dashicons {
1121
- color: #00bbbb; }
1122
- .wapk-button.active > svg {
1123
- fill: #00bbbb; }
1124
- .wapk-button.active > .dashicons {
1125
- color: #00bbbb; }
1126
- .wapk-button-primary.active {
1127
- background: #00D4D4;
1128
- color: #fff;
1129
- border-color: #008888;
1130
- box-shadow: inset 0 2px 5px -3px black; }
1131
- .wapk-button-primary.active:focus {
1132
- background: #00D4D4;
1133
- color: #fff;
1134
- border-color: #008888;
1135
- box-shadow: inset 0 2px 5px -3px black; }
1136
- .wapk-button-primary.active:focus > svg {
1137
- fill: #fff; }
1138
- .wapk-button-primary.active:hover {
1139
- background: #00D4D4;
1140
- color: #fff;
1141
- border-color: #008888;
1142
- box-shadow: inset 0 2px 5px -3px black; }
1143
- .wapk-button-primary.active:hover > svg {
1144
- fill: #fff; }
1145
- .wapk-button-primary.active > svg {
1146
- fill: #fff; }
1147
- .wapk-button-primary[disabled] {
1148
- color: #c7d1d1 !important;
1149
- background: #22ffff !important;
1150
- border-color: #22ffff !important;
1151
- text-shadow: none !important; }
1152
- .wapk-button-primary[disabled] > svg {
1153
- fill: #c7d1d1 !important; }
1154
- .wapk-button-primary.wapk-button-primary-disabled {
1155
- color: #c7d1d1 !important;
1156
- background: #22ffff !important;
1157
- border-color: #22ffff !important;
1158
- text-shadow: none !important; }
1159
- .wapk-button-primary.wapk-button-primary-disabled > svg {
1160
- fill: #c7d1d1 !important; }
1161
- .wapk-button-primary.disabled {
1162
- color: #c7d1d1 !important;
1163
- background: #22ffff !important;
1164
- border-color: #22ffff !important;
1165
- text-shadow: none !important; }
1166
- .wapk-button-primary.disabled > svg {
1167
- fill: #c7d1d1 !important; }
1168
- .wapk-button-primary.wapk-button-hero {
1169
- box-shadow: 0 2px 0 #00bbbb; }
1170
- .wapk-button-primary.wapk-button-hero:focus {
1171
- box-shadow: 0 2px 0 #00bbbb, 0 1px 0 #00c5c5, 0 0 2px 1px #00eeee; }
1172
- .wapk-button-primary.wapk-button-hero:active {
1173
- box-shadow: inset 0 3px 0 #00a1a1; }
1174
- .wapk-button-primary.wapk-button-hero.active {
1175
- box-shadow: inset 0 3px 0 #00a1a1; }
1176
- .wapk-button-primary.wapk-button-hero.active:hover, .wapk-button-primary.wapk-button-hero.active:focus {
1177
- box-shadow: inset 0 3px 0 #00a1a1; }
1178
- .wapk-button-group > .wapk-button.active {
1179
- border-color: #00D4D4; }
1180
-
1181
- /* Button Sizes */
1182
- .wapk-button.wapk-button-xl {
1183
- height: 30px;
1184
- line-height: 28px;
1185
- padding: 0 12px 2px; }
1186
-
1187
- .wapk-button-group.wapk-button-xl .wapk-button {
1188
- height: 30px;
1189
- line-height: 28px;
1190
- padding: 0 12px 2px; }
1191
-
1192
- .wapk-button.wapk-button-hero {
1193
- font-size: 18px;
1194
- height: 50px;
1195
- line-height: 48px;
1196
- padding: 0 36px;
1197
- min-height: 46px; }
1198
-
1199
- .wapk-button-group.wapk-button-hero .wapk-button {
1200
- font-size: 18px;
1201
- height: 50px;
1202
- line-height: 48px;
1203
- padding: 0 36px;
1204
- min-height: 46px; }
1205
-
1206
- @media screen and (min-width: 782px) {
1207
- th#status,
1208
- th#provider {
1209
- width: 80px; }
1210
- th#type {
1211
- width: 50px; }
1212
- th#option_name {
1213
- width: 100px; }
1214
- td.option_name.column-option_name > span:first-child {
1215
- display: none; }
1216
- th#last_updated {
1217
- width: 90px; }
1218
- th#view {
1219
- width: 111px; } }
1220
-
1221
- @media screen and (min-width: 960px) {
1222
- th#status, th#provider {
1223
- width: 100px; }
1224
- th#type {
1225
- width: 80px; }
1226
- th#option_name {
1227
- width: 150px; }
1228
- th#last_updated {
1229
- width: 140px; } }
1230
-
1231
- @media screen and (max-width: 782px) {
1232
- table.wf-info-table {
1233
- margin-top: 10px; }
1234
- table.wf-info-table th:first-child img {
1235
- margin: 0 auto;
1236
- display: block; }
1237
- .wapk-button.wapk-button-xl {
1238
- padding: 6px 14px;
1239
- line-height: normal;
1240
- font-size: 14px;
1241
- vertical-align: middle;
1242
- height: auto;
1243
- margin-bottom: 4px; } }
1244
-
1245
- .wapk-feed-docs .wapk-feed-cta {
1246
- margin: 0; }
1247
-
1248
- .campaign_configurator {
1249
- background: #FFF;
1250
- padding: 20px 0; }
1251
- .campaign_configurator table {
1252
- margin: 0 auto;
1253
- width: 51%;
1254
- min-width: 574px;
1255
- border: none;
1256
- box-shadow: none; }
1257
- .campaign_configurator th {
1258
- min-width: 120px; }
1259
-
1260
- @media screen and (max-width: 782px) {
1261
- .campaign_configurator {
1262
- padding: 0; }
1263
- .campaign_configurator table {
1264
- width: auto;
1265
- min-width: auto;
1266
- max-width: 100%; }
1267
- .campaign_configurator th {
1268
- min-width: auto; } }
1269
-
1270
- #wf-tab-content-config td > input:not([type="checkbox"]):not([type="radio"]),
1271
- #wf-tab-content-config td > select,
1272
- #wf-tab-content-config td > textarea {
1273
- width: 100% !important; }
1274
-
1275
- .woo-feed-filters td > div:nth-child(2n):not(.clear):not(.selectize) {
1276
- width: 120px;
1277
- display: block; }
1278
-
1279
- .woo-feed-filters td > div:not(.clear) {
1280
- float: left;
1281
- margin-right: 10px; }
1282
-
1283
- .woo-feed-filters tr > td:first-child {
1284
- width: 290px;
1285
- padding-left: 40px; }
1286
-
1287
- .woo-feed-filters,
1288
- .woo-feed-ftp {
1289
- margin: 15px auto 25px; }
1290
-
1291
- .wf_clean_cache_wrapper {
1292
- display: -ms-flexbox;
1293
- display: flex;
1294
- margin-left: auto; }
1295
-
1296
- @-webkit-keyframes LoaderClockWise {
1297
- from {
1298
- -webkit-transform: rotate(0deg);
1299
- transform: rotate(0deg); }
1300
- to {
1301
- -webkit-transform: rotate(360deg);
1302
- transform: rotate(360deg); } }
1303
-
1304
- @keyframes LoaderClockWise {
1305
- from {
1306
- -webkit-transform: rotate(0deg);
1307
- transform: rotate(0deg); }
1308
- to {
1309
- -webkit-transform: rotate(360deg);
1310
- transform: rotate(360deg); } }
1311
-
1312
- .woo-feed-cache-loader {
1313
- width: 18px;
1314
- margin-right: 5px;
1315
- animation: LoaderClockWise 1s linear infinite;
1316
- -webkit-animation: LoaderClockWise 1s linear infinite;
1317
- display: none; }
1318
-
1319
- .woo-feed-table-heading .woo-feed-table-heading-title {
1320
- float: left;
1321
- margin-right: auto;
1322
- display: inline-block;
1323
- line-height: 30px; }
1324
-
1325
- .woo-feed-table-heading .wf_clean_cache_wrapper {
1326
- float: right;
1327
- font-weight: normal; }
1328
-
1329
- .wf_clean_cache_wrapper button {
1330
- background: linear-gradient(125deg, #eb4d4b 0, #FF9671 130%);
1331
- color: #fff;
1332
- border: none;
1333
- font-weight: 500;
1334
- display: inline-block;
1335
- text-decoration: none;
1336
- font-size: 13px;
1337
- line-height: 2.15384615;
1338
- min-height: 30px;
1339
- margin: 0;
1340
- padding: 0 10px;
1341
- border-radius: 3px;
1342
- cursor: pointer;
1343
- outline: none; }
1344
-
1345
- .wf_clean_cache_wrapper button:hover {
1346
- background: #ff7979;
1347
- color: #fff; }
1348
-
1349
- /* Status Page Style */
1350
- .woo-feed-status-table-wrapper .woo-feed-status-table {
1351
- width: 100%;
1352
- max-width: 900px;
1353
- border-collapse: collapse;
1354
- border-spacing: 0.5rem;
1355
- box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); }
1356
- .woo-feed-status-table-wrapper .woo-feed-status-table tr:nth-child(even) {
1357
- background: #f1f1f1; }
1358
- .woo-feed-status-table-wrapper .woo-feed-status-table tr:nth-child(odd) {
1359
- background: #fafafc; }
1360
- .woo-feed-status-table-wrapper .woo-feed-status-table tr th {
1361
- background: #353b48;
1362
- color: #fff; }
1363
- .woo-feed-status-table-wrapper .woo-feed-status-table tr th, .woo-feed-status-table-wrapper .woo-feed-status-table tr td {
1364
- padding: 0.5rem 20px;
1365
- text-align: left; }
1
  /**
2
  * All of the CSS for your admin-specific functionality should be
3
  * included in this file.
4
+ */
5
+ .wpf_spin {
6
+ -webkit-animation: spin 1000ms infinite linear;
7
+ animation: spin 1000ms infinite linear; }
8
+ .wpf_spin.reverse_spin {
9
+ animation-direction: reverse; }
10
+
11
+ .wpf_regenerate.disabled {
12
+ color: #737373;
13
+ box-shadow: none;
14
+ cursor: not-allowed; }
15
+
16
+ @-webkit-keyframes spin {
17
+ 0% {
18
+ -webkit-transform: rotate(0deg);
19
+ transform: rotate(0deg); }
20
+ 100% {
21
+ -webkit-transform: rotate(359deg);
22
+ transform: rotate(359deg); } }
23
+
24
+ @keyframes spin {
25
+ 0% {
26
+ -webkit-transform: rotate(0deg);
27
+ transform: rotate(0deg); }
28
+ 100% {
29
+ -webkit-transform: rotate(359deg);
30
+ transform: rotate(359deg); } }
31
+
32
+ .wfbtn {
33
+ background: #3498db;
34
+ background-image: linear-gradient(125deg, #3cb0fd 0%, #152f8c 140%);
35
+ border-radius: 17px;
36
+ box-shadow: inset 0 1px 3px #666666;
37
+ font-family: Arial, sans-serif;
38
+ color: #ffffff;
39
+ font-size: 20px;
40
+ padding: 10px 20px 10px 20px;
41
+ border: solid #2b698f 0px;
42
+ text-decoration: none; }
43
+ .wfbtn:hover {
44
+ background: #3cb0fd;
45
+ background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
46
+ text-decoration: none; }
47
+
48
+ .woo_feed_manage_list_table .wf_update_interval_btn {
49
+ background: linear-gradient(125deg, #3cb0fd 0, #152f8c 140%); }
50
+ .woo_feed_manage_list_table .wf_update_interval_btn:hover {
51
+ background: linear-gradient(125deg, #3cb0fd 0, #152f8c 140%); }
52
+
53
+ .woo-feed-promotion {
54
+ position: relative; }
55
+ .woo-feed-promotion .woo-feed-campaign-close-button {
56
+ position: absolute;
57
+ top: 50%;
58
+ -webkit-transform: translateY(-50%);
59
+ transform: translateY(-50%);
60
+ right: 15px;
61
+ width: 24px;
62
+ height: 24px;
63
+ border-radius: 12px;
64
+ background: #595d6b;
65
+ line-height: 24px;
66
+ color: #fff;
67
+ cursor: pointer;
68
+ transition: .3s ease; }
69
+ .woo-feed-promotion .woo-feed-campaign-close-button:hover {
70
+ background: #fff;
71
+ color: #d61e48; }
72
+
73
+ .wftooltip {
74
+ display: none;
75
+ position: absolute;
76
+ border: 1px solid #333;
77
+ background-color: #161616;
78
+ border-radius: 5px;
79
+ padding: 10px;
80
+ color: #fff;
81
+ font-size: 12px; }
82
+
83
+ .feed-actions .makeFeedResponse {
84
+ width: 70%;
85
+ color: green; }
86
+
87
+ .woo-feed-mapping-input {
88
+ width: 100%; }
89
+
90
+ .requiredIn {
91
+ color: red; }
92
+
93
+ .generalInput {
94
+ width: 200px; }
95
+ .generalInput:not(.selectize-control) {
96
+ margin: 5px auto; }
97
+
98
+ .error {
99
+ color: red; }
100
+
101
+ .widefat td select, .widefat td input {
102
+ max-width: 100%; }
103
+
104
+ #wf_newRow {
105
+ margin-left: 0; }
106
+
107
+ .mtable tbody tr {
108
+ height: 25px;
109
+ border: 1px solid #CCC;
110
+ text-align: left;
111
+ -ms-flex-align: baseline;
112
+ align-items: baseline;
113
+ font-weight: bold; }
114
+
115
+ .mtable th:nth-child(1) {
116
+ width: 17px; }
117
+
118
+ .mtable th:nth-child(2) {
119
+ width: 160px; }
120
+
121
+ .mtable th:nth-child(3) {
122
+ width: 100px; }
123
+
124
+ .mtable th:nth-child(4) {
125
+ width: 100px; }
126
+
127
+ .mtable th:nth-child(5) {
128
+ width: 150px; }
129
+
130
+ .mtable th:nth-child(6) {
131
+ width: 100px; }
132
+
133
+ .mtable th:nth-child(7) {
134
+ width: 150px; }
135
+
136
+ .mtable th:nth-child(8) {
137
+ width: 90px; }
138
+
139
+ .mtable th:nth-child(9) {
140
+ width: 29px; }
141
+
142
+ .mtable2 tbody tr {
143
+ height: 25px;
144
+ border: 1px solid #CCC;
145
+ text-align: left;
146
+ -ms-flex-align: baseline;
147
+ align-items: baseline;
148
+ font-weight: bold; }
149
+
150
+ .mtable2 th:nth-child(1) {
151
+ width: 30px; }
152
+
153
+ .mtable2 th:nth-child(2) {
154
+ width: 150px; }
155
+
156
+ .mtable2 th:nth-child(3) {
157
+ width: 230px; }
158
+
159
+ .mtable2 th:nth-child(4) {
160
+ width: 220px; }
161
+
162
+ .mtable2 th:nth-child(7) {
163
+ width: 50px; }
164
+
165
+ .mtable2 th:nth-child(8) {
166
+ width: 50px; }
167
+
168
+ .mtable2 th:nth-child(9) {
169
+ width: 29px; }
170
+
171
+ .wp-admin select.wf_mattributes {
172
+ width: 150px;
173
+ left: 0;
174
+ height: 25px; }
175
+
176
+ div#wf-tab-content1 select:not([name^="output_type"]) {
177
+ width: 100%; }
178
+
179
+ div#wf-tab-content1 input {
180
+ width: 100%; }
181
+
182
+ div#wf-tab-content1 .dashicons {
183
+ vertical-align: middle; }
184
+
185
+ .wf_attributes {
186
+ width: 150px;
187
+ left: 0; }
188
+
189
+ .wf_compare {
190
+ max-width: 245px;
191
+ left: 0; }
192
+
193
+ .wf_ps {
194
+ width: 100px;
195
+ left: 0; }
196
+
197
+ .wf_sortedtable {
198
+ cursor: move; }
199
+
200
+ .sorted_table {
201
+ position: relative; }
202
+ .sorted_table .dragged {
203
+ position: absolute;
204
+ opacity: 0.8;
205
+ z-index: 9999;
206
+ background: #fff;
207
+ width: 100%;
208
+ display: table; }
209
+ .sorted_table tbody tr.placeholder td {
210
+ border: 1px dashed #2cc185;
211
+ height: 46px; }
212
+
213
+ .wfnoempty {
214
+ width: 120px; }
215
+
216
+ /*==================Tab Design=======================*/
217
+ p {
218
+ color: #222; }
219
+
220
+ .wf_tabs {
221
+ position: relative;
222
+ margin: 0 auto;
223
+ width: 100%;
224
+ list-style: none;
225
+ /*bottom: 50px;*/ }
226
+
227
+ .wf_tabs:after {
228
+ display: table;
229
+ clear: both;
230
+ content: ""; }
231
+
232
+ .wf_tabs li {
233
+ float: left;
234
+ width: 20%;
235
+ display: block;
236
+ border: 2px solid #CCC; }
237
+
238
+ .wf_tabs li > input[type="radio"][name="wf_tabs"] {
239
+ position: absolute;
240
+ top: auto;
241
+ left: -9999px; }
242
+
243
+ .wf-tab-name {
244
+ display: block;
245
+ padding: 15px;
246
+ font-size: 15px;
247
+ font-weight: bold;
248
+ line-height: 1;
249
+ background: #fff;
250
+ cursor: pointer;
251
+ position: relative;
252
+ text-align: center;
253
+ text-transform: uppercase;
254
+ color: #2CC185; }
255
+
256
+ .wf-tab-name:hover {
257
+ background: #2CC185;
258
+ color: white; }
259
+
260
+ .wf_tabs [id^="tab"]:checked + label {
261
+ background: #2CC185;
262
+ color: white; }
263
+
264
+ .wf_tabs .wf-tab-content {
265
+ z-index: 2;
266
+ display: none;
267
+ width: 100%;
268
+ font-size: 0.9rem;
269
+ position: absolute;
270
+ left: 0;
271
+ background: #fff;
272
+ border: 2px solid #CCC; }
273
+
274
+ .wf_tabs [id^="tab"]:checked ~ [id^="wf-tab-content"] {
275
+ display: block; }
276
+
277
+ [id^="wf-tab-content"] {
278
+ margin-bottom: 40px; }
279
+
280
+ div#wf-tab-content2 table:first-child {
281
+ padding: 10px 0; }
282
+
283
+ div#wf-tab-content2 table:first-child td:nth-child(1) {
284
+ width: 260px; }
285
+
286
+ div#wf-tab-content2 table:first-child td:nth-child(2) {
287
+ width: 260px; }
288
+
289
+ table.feed-actions tr td:last-child {
290
+ text-align: right; }
291
+
292
+ /* Selectize */
293
+ select.selectize {
294
+ display: none; }
295
+
296
+ body.no-js select.selectize {
297
+ display: block !important; }
298
+
299
+ .wp-list-table .option_name .wf_feed_option_name_link {
300
+ font-weight: 700;
301
+ color: #30336b; }
302
+
303
+ .wp-list-table #option_name a {
304
+ color: #32373c; }
305
+
306
+ /* fallback combat */
307
+ .selectize-dropdown .active {
308
+ background-color: #edf9ff; }
309
+
310
+ .selectize-dropdown .create {
311
+ padding: 5px 8px; }
312
+
313
+ .wapk-selectize-item {
314
+ background: #0073aa !important;
315
+ color: #f1f1f1 !important;
316
+ font-weight: bold !important;
317
+ border-color: #0073aa !important;
318
+ padding-left: 5px;
319
+ padding-right: 5px; }
320
+
321
+ .selectize-input.full #googleTaxonomyId-selectized {
322
+ opacity: 0;
323
+ position: absolute;
324
+ left: -10000px; }
325
+
326
+ .selectize-dropdown [data-selectable].option {
327
+ cursor: default; }
328
+
329
+ .selectize-control.plugin-remove_button [data-value] .remove {
330
+ border-left: 1px solid #f1f1f1 !important; }
331
+
332
+ .selectize-dropdown .optgroup-header {
333
+ font-weight: 700;
334
+ background: #efefef;
335
+ color: #5a5a5a; }
336
+
337
+ .selectize-dropdown [data-selectable].option {
338
+ cursor: pointer; }
339
+
340
+ /* Feed active and inactive button CSS */
341
+ .wf_status_wrap label {
342
+ width: 55px;
343
+ height: 30px;
344
+ box-sizing: border-box;
345
+ float: left;
346
+ border-radius: 100px;
347
+ position: relative;
348
+ cursor: pointer;
349
+ transition: .3s ease;
350
+ background: #d3d3d3; }
351
+
352
+ input[class=woo_feed_status_input]:checked + label {
353
+ background: #4fbe79; }
354
+
355
+ input[class=woo_feed_status_input]:checked + label:before {
356
+ left: 29px; }
357
+
358
+ .wf_status_wrap label:before {
359
+ transition: .3s ease;
360
+ content: '';
361
+ width: 20px;
362
+ height: 20px;
363
+ position: absolute;
364
+ background: white;
365
+ left: 6px;
366
+ top: 5px;
367
+ box-sizing: border-box;
368
+ color: black;
369
+ border-radius: 100px;
370
+ box-shadow: 0px 1.5px 2px 0px #000; }
371
+
372
+ .view span.dashicons.dashicons-external {
373
+ color: #30336b; }
374
+
375
+ .view span.dashicons.dashicons-sos {
376
+ color: #22a6b3; }
377
+
378
+ .view span.dashicons.dashicons-download {
379
+ color: #ee5253; }
380
+
381
+ .view span.dashicons.dashicons-media-code {
382
+ color: #576574; }
383
+
384
+ /* list table style */
385
+ .widefat td.column-url, .widefat th.column-url,
386
+ .column-url {
387
+ color: #1e8f9a;
388
+ font-weight: bold; }
389
+
390
+ /** Feed Progress **/
391
+ .feed-progress-container {
392
+ width: 100%;
393
+ color: white;
394
+ text-align: center;
395
+ font-weight: 300; }
396
+
397
+ .feed-progress-bar {
398
+ width: 100%;
399
+ background: #eee;
400
+ padding: 3px;
401
+ border-radius: 50px;
402
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); }
403
+
404
+ .feed-progress-bar-fill {
405
+ height: 20px;
406
+ display: block;
407
+ background: linear-gradient(to right top, #10ac84, #13b389, #15ba8f, #18c194, #1ac89a, #13cba1, #0acfa9, #00d2b0, #00d2ba, #00d2c3, #00d2cb, #00d2d3);
408
+ width: 0;
409
+ border-radius: 50px;
410
+ transition: width 0.8s ease; }
411
+
412
+ .feed-progress-status {
413
+ float: left;
414
+ font-weight: bold;
415
+ color: darkblue; }
416
+
417
+ .feed-progress-percentage {
418
+ text-align: right;
419
+ font-weight: bolder;
420
+ color: #1dd1a1;
421
+ font-family: 'Arial Black', sans-serif;
422
+ font-size: large; }
423
+
424
+ #wpbody-content.woofeed-body-content {
425
+ overflow: visible !important; }
426
+
427
+ .clippy {
428
+ position: relative;
429
+ width: 13px;
430
+ margin-top: -3px;
431
+ margin-left: 3px;
432
+ top: 3px; }
433
+
434
+ .column-url .clippy {
435
+ display: none; }
436
+
437
+ .column-url:hover .clippy {
438
+ display: inline-block; }
439
+
440
  /**
441
  * Primer Tooltip
442
+ */
443
+ .tooltipped {
444
+ position: relative; }
445
+ .tooltipped:after {
446
+ position: absolute;
447
+ z-index: 1000000;
448
+ display: none;
449
+ padding: 5px 8px;
450
+ font: normal normal 11px/1.5 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
451
+ color: #fff;
452
+ text-align: center;
453
+ text-decoration: none;
454
+ text-shadow: none;
455
+ text-transform: none;
456
+ letter-spacing: normal;
457
+ word-wrap: break-word;
458
+ white-space: pre;
459
+ pointer-events: none;
460
+ content: attr(aria-label);
461
+ background: rgba(0, 0, 0, 0.8);
462
+ border-radius: 3px;
463
+ -webkit-font-smoothing: subpixel-antialiased; }
464
+ .tooltipped:before {
465
+ position: absolute;
466
+ z-index: 1000001;
467
+ display: none;
468
+ width: 0;
469
+ height: 0;
470
+ color: rgba(0, 0, 0, 0.8);
471
+ pointer-events: none;
472
+ content: "";
473
+ border: 5px solid transparent; }
474
+ .tooltipped:hover:before {
475
+ display: inline-block;
476
+ text-decoration: none; }
477
+ .tooltipped:hover:after {
478
+ display: inline-block;
479
+ text-decoration: none; }
480
+ .tooltipped:active:before {
481
+ display: inline-block;
482
+ text-decoration: none; }
483
+ .tooltipped:active:after {
484
+ display: inline-block;
485
+ text-decoration: none; }
486
+ .tooltipped:focus:before {
487
+ display: inline-block;
488
+ text-decoration: none; }
489
+ .tooltipped:focus:after {
490
+ display: inline-block;
491
+ text-decoration: none; }
492
+ .tooltipped-multiline:hover:after {
493
+ display: table-cell; }
494
+ .tooltipped-multiline:active:after {
495
+ display: table-cell; }
496
+ .tooltipped-multiline:focus:after {
497
+ display: table-cell; }
498
+ .tooltipped-multiline:after {
499
+ width: -webkit-max-content;
500
+ width: -moz-max-content;
501
+ width: max-content;
502
+ max-width: 250px;
503
+ word-break: break-word;
504
+ word-wrap: normal;
505
+ white-space: pre-line;
506
+ border-collapse: separate; }
507
+ .tooltipped-s:after {
508
+ top: 100%;
509
+ right: 50%;
510
+ margin-top: 5px;
511
+ -webkit-transform: translateX(50%);
512
+ transform: translateX(50%); }
513
+ .tooltipped-s:before {
514
+ top: auto;
515
+ right: 50%;
516
+ bottom: -5px;
517
+ margin-right: -5px;
518
+ border-bottom-color: rgba(0, 0, 0, 0.8); }
519
+ .tooltipped-se:after {
520
+ top: 100%;
521
+ margin-top: 5px;
522
+ right: auto;
523
+ left: 50%;
524
+ margin-left: -15px; }
525
+ .tooltipped-se:before {
526
+ top: auto;
527
+ right: 50%;
528
+ bottom: -5px;
529
+ margin-right: -5px;
530
+ border-bottom-color: rgba(0, 0, 0, 0.8); }
531
+ .tooltipped-sw:after {
532
+ top: 100%;
533
+ right: 50%;
534
+ margin-top: 5px;
535
+ margin-right: -15px; }
536
+ .tooltipped-sw:before {
537
+ top: auto;
538
+ right: 50%;
539
+ bottom: -5px;
540
+ margin-right: -5px;
541
+ border-bottom-color: rgba(0, 0, 0, 0.8); }
542
+ .tooltipped-n:after {
543
+ right: 50%;
544
+ bottom: 100%;
545
+ margin-bottom: 5px;
546
+ -webkit-transform: translateX(50%);
547
+ transform: translateX(50%); }
548
+ .tooltipped-n:before {
549
+ top: -5px;
550
+ right: 50%;
551
+ bottom: auto;
552
+ margin-right: -5px;
553
+ border-top-color: rgba(0, 0, 0, 0.8); }
554
+ .tooltipped-ne:after {
555
+ bottom: 100%;
556
+ margin-bottom: 5px;
557
+ right: auto;
558
+ left: 50%;
559
+ margin-left: -15px; }
560
+ .tooltipped-ne:before {
561
+ top: -5px;
562
+ right: 50%;
563
+ bottom: auto;
564
+ margin-right: -5px;
565
+ border-top-color: rgba(0, 0, 0, 0.8); }
566
+ .tooltipped-nw:after {
567
+ right: 50%;
568
+ bottom: 100%;
569
+ margin-bottom: 5px;
570
+ margin-right: -15px; }
571
+ .tooltipped-nw:before {
572
+ top: -5px;
573
+ right: 50%;
574
+ bottom: auto;
575
+ margin-right: -5px;
576
+ border-top-color: rgba(0, 0, 0, 0.8); }
577
+ .tooltipped-w:after {
578
+ right: 100%;
579
+ bottom: 50%;
580
+ margin-right: 5px;
581
+ -webkit-transform: translateY(50%);
582
+ transform: translateY(50%); }
583
+ .tooltipped-w:before {
584
+ top: 50%;
585
+ bottom: 50%;
586
+ left: -5px;
587
+ margin-top: -5px;
588
+ border-left-color: rgba(0, 0, 0, 0.8); }
589
+ .tooltipped-e:after {
590
+ bottom: 50%;
591
+ left: 100%;
592
+ margin-left: 5px;
593
+ -webkit-transform: translateY(50%);
594
+ transform: translateY(50%); }
595
+ .tooltipped-e:before {
596
+ top: 50%;
597
+ right: -5px;
598
+ bottom: 50%;
599
+ margin-top: -5px;
600
+ border-right-color: rgba(0, 0, 0, 0.8); }
601
+ .tooltipped-multiline.tooltipped-s:after {
602
+ right: auto;
603
+ left: 50%;
604
+ -webkit-transform: translateX(-50%);
605
+ transform: translateX(-50%); }
606
+ .tooltipped-multiline.tooltipped-n:after {
607
+ right: auto;
608
+ left: 50%;
609
+ -webkit-transform: translateX(-50%);
610
+ transform: translateX(-50%); }
611
+ .tooltipped-multiline.tooltipped-w:after {
612
+ right: 100%; }
613
+ .tooltipped-multiline.tooltipped-e:after {
614
+ right: 100%; }
615
+ .tooltipped-sticky:before {
616
+ display: inline-block; }
617
+ .tooltipped-sticky:after {
618
+ display: inline-block; }
619
+ .tooltipped-sticky.tooltipped-multiline:after {
620
+ display: table-cell; }
621
+
622
+ .fullscreen-overlay-enabled.dark-theme .tooltipped:after {
623
+ color: #000;
624
+ background: rgba(255, 255, 255, 0.8); }
625
+
626
+ .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before {
627
+ border-bottom-color: rgba(255, 255, 255, 0.8); }
628
+
629
+ .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-se:before {
630
+ border-bottom-color: rgba(255, 255, 255, 0.8); }
631
+
632
+ .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-sw:before {
633
+ border-bottom-color: rgba(255, 255, 255, 0.8); }
634
+
635
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-n:before {
636
+ border-top-color: rgba(255, 255, 255, 0.8); }
637
+
638
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-ne:before {
639
+ border-top-color: rgba(255, 255, 255, 0.8); }
640
+
641
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-nw:before {
642
+ border-top-color: rgba(255, 255, 255, 0.8); }
643
+
644
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-e:before {
645
+ border-right-color: rgba(255, 255, 255, 0.8); }
646
+
647
+ .fullscreen-overlay-enabled.dark-theme .tooltipped.tooltipped-w:before {
648
+ border-left-color: rgba(255, 255, 255, 0.8); }
649
+
650
+ @media screen and (min-width: 0\0) {
651
+ .tooltipped-multiline:after {
652
+ width: 250px; } }
653
+
654
+ ul.tracker_collection_list {
655
+ list-style: initial;
656
+ padding: initial;
657
+ margin: -10px 0 0 30px;
658
+ font-size: 11px !important; }
659
+ ul.tracker_collection_list li {
660
+ margin: 0; }
661
+
662
+ /** Info Message Table **/
663
+ table.wf-info-table, table.wf-rate-table {
664
+ vertical-align: middle;
665
+ text-align: center;
666
+ max-width: 100%;
667
+ font-weight: 500; }
668
+ table.wf-info-table th, table.wf-rate-table th {
669
+ text-align: center; }
670
+ table.wf-info-table th .woo-feed-top-header, table.wf-rate-table th .woo-feed-top-header {
671
+ display: -ms-flexbox;
672
+ display: flex;
673
+ -ms-flex-pack: justify;
674
+ justify-content: space-between;
675
+ -ms-flex-align: center;
676
+ align-items: center; }
677
+ table.wf-info-table th .woo-feed-top-header .get-woo-feed-pro, table.wf-rate-table th .woo-feed-top-header .get-woo-feed-pro {
678
+ margin-left: 20px; }
679
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons {
680
+ float: right;
681
+ display: -ms-flexbox;
682
+ display: flex;
683
+ border-radius: 7px;
684
+ -ms-flex-pack: center;
685
+ justify-content: center;
686
+ -ms-flex-align: center;
687
+ align-items: center; }
688
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a {
689
+ padding: 8px 20px;
690
+ background: #576574;
691
+ color: #fff;
692
+ box-sizing: border-box;
693
+ display: inline-block;
694
+ transition: .3s ease; }
695
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-doc-link, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-doc-link {
696
+ background: #576574;
697
+ border-top-left-radius: 5px;
698
+ border-bottom-left-radius: 5px; }
699
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-video-link, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-video-link {
700
+ background: #ee5253; }
701
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-support-link, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a.woo-feed-support-link {
702
+ background: #22a6b3;
703
+ border-top-right-radius: 5px;
704
+ border-bottom-right-radius: 5px; }
705
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a span.dashicons, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a span.dashicons {
706
+ font-size: 18px;
707
+ line-height: 1.2; }
708
+ table.wf-info-table th .woo-feed-top-header .woo-feed-top-buttons a:hover, table.wf-rate-table th .woo-feed-top-header .woo-feed-top-buttons a:hover {
709
+ background: #30336b;
710
+ box-shadow: 0px 0px 33px 0px rgba(0, 0, 0, 0.12); }
711
+ table.wf-info-table strong, table.wf-rate-table strong {
712
+ font-weight: bold; }
713
+
714
+ table.wf-info-table th:first-child img {
715
+ margin: 0 0 -5px 5px; }
716
+
717
+ table.wf-rate-table a {
718
+ color: #0073aa; }
719
+
720
+ table.wf-rate-table a.review-star:after {
721
+ content: "\f155\f155\f155\f155\f155" !important;
722
+ font-family: dashicons;
723
+ font-size: 10px;
724
+ font-weight: 100;
725
+ text-rendering: auto;
726
+ -webkit-font-smoothing: antialiased;
727
+ -moz-osx-font-smoothing: grayscale;
728
+ color: #0073aa;
729
+ text-decoration: underline; }
730
+
731
+ /** Admin Menu Icon **/
732
+ #adminmenu #toplevel_page_webappick-manage-feeds div.wp-menu-image::before {
733
+ content: "";
734
+ background: url(../images/woo-feed-icon.svg) no-repeat center center;
735
+ background-size: 20px 20px;
736
+ opacity: 0.6;
737
+ filter: alpha(opacity=60); }
738
+
739
+ #adminmenu #toplevel_page_webappick-manage-feeds:hover div.wp-menu-image::before {
740
+ opacity: 1;
741
+ filter: alpha(opacity=100); }
742
+
743
+ #adminmenu #toplevel_page_webappick-manage-feeds.wp-has-current-submenu div.wp-menu-image::before {
744
+ opacity: 1;
745
+ filter: alpha(opacity=100); }
746
+
747
+ /** Admin Page Wrapper **/
748
+ .wapk-admin, .wapk-admin * {
749
+ box-sizing: border-box; }
750
+
751
+ .wapk-admin {
752
+ position: relative;
753
+ display: block;
754
+ -webkit-hyphens: manual;
755
+ -ms-hyphens: manual;
756
+ -moz-hyphens: manual;
757
+ hyphens: manual;
758
+ color: #1B2730;
759
+ /* reset .warp margin to use full width except menu area */
760
+ margin: 0 0 0 -10px; }
761
+
762
+ @media screen and (min-width: 783px) {
763
+ .wapk-admin {
764
+ margin: 0 0 0 -20px; } }
765
+
766
+ .text-center {
767
+ text-align: center; }
768
+
769
+ .wapk-admin h1, .wapk-admin h2, .wapk-admin h3,
770
+ .wapk-admin h4, .wapk-admin h5, .wapk-admin h6,
771
+ .wapk-admin p {
772
+ color: #1B2730; }
773
+
774
+ .wapk-admin sup {
775
+ vertical-align: baseline;
776
+ position: relative;
777
+ top: -6px; }
778
+
779
+ .wapk-admin sub {
780
+ vertical-align: baseline;
781
+ position: relative;
782
+ top: 4px; }
783
+
784
+ /* WP.Core.UI Compat */
785
+ .wapk-admin .wapk-section {
786
+ margin: 10px 20px 0 22px;
787
+ position: relative;
788
+ display: block; }
789
+ .wapk-admin .wapk-section [class$=icon32] + h2 {
790
+ font-size: 23px;
791
+ font-weight: 400;
792
+ margin: 0;
793
+ padding: 9px 0 4px 0;
794
+ line-height: 1.3; }
795
+ .wapk-admin .wapk-section h1 {
796
+ font-size: 23px;
797
+ font-weight: 400;
798
+ margin: 0;
799
+ padding: 9px 0 4px 0;
800
+ line-height: 1.3; }
801
+ .wapk-admin .wapk-section > h2:first-child {
802
+ font-size: 23px;
803
+ font-weight: 400;
804
+ margin: 0;
805
+ padding: 9px 0 4px 0;
806
+ line-height: 1.3; }
807
+
808
+ .wapk-admin > .notice {
809
+ margin: 10px 20px 0 22px;
810
+ position: relative;
811
+ display: block; }
812
+
813
+ .wapk-admin span.help {
814
+ display: block;
815
+ float: left;
816
+ width: 100%;
817
+ font-size: 0.9em;
818
+ color: #636363;
819
+ margin-top: 5px;
820
+ font-weight: 500; }
821
+ .wapk-admin span.help .dashicons {
822
+ width: 11px;
823
+ height: 12px;
824
+ font-size: inherit;
825
+ vertical-align: middle; }
826
+
827
+ .clear:after {
828
+ content: "";
829
+ display: table;
830
+ clear: both; }
831
+
832
+ /*.wapk-admin .help a { color: inherit; text-decoration: underline; }*/
833
+ /** Extend WP Core UI PostBox For Docs **/
834
+ .wapk-feed-docs .postbox {
835
+ width: 355px;
836
+ margin-right: 20px;
837
+ display: inline-block;
838
+ vertical-align: top; }
839
+ .wapk-feed-docs .postbox .hndle {
840
+ font-size: 14px;
841
+ padding: 8px 12px;
842
+ margin: 0;
843
+ line-height: 1.4;
844
+ cursor: pointer; }
845
+ .wapk-feed-docs .postbox .dashicons {
846
+ color: #ccc; }
847
+ .wapk-feed-docs .postbox a {
848
+ text-decoration: none; }
849
+ .wapk-feed-docs .postbox .inside {
850
+ margin-bottom: 0; }
851
+ .wapk-feed-docs .postbox ul {
852
+ margin-bottom: 0; }
853
+ .wapk-feed-docs .postbox .toggle-indicator:before {
854
+ content: "\F142";
855
+ display: inline-block;
856
+ font: 400 20px/1 dashicons;
857
+ speak: none;
858
+ -webkit-font-smoothing: antialiased;
859
+ -moz-osx-font-smoothing: grayscale;
860
+ text-decoration: none !important; }
861
+ .wapk-feed-docs .postbox li {
862
+ width: 100%;
863
+ display: block;
864
+ float: left; }
865
+ .wapk-feed-docs .postbox li span {
866
+ display: inline-block;
867
+ float: left;
868
+ margin-right: 4px; }
869
+ .wapk-feed-docs .postbox li a {
870
+ display: inline-block;
871
+ float: left;
872
+ width: calc(100% - 24px); }
873
+
874
+ .wapk-feed-docs .postbox.closed .toggle-indicator:before {
875
+ content: "\F140"; }
876
+
877
+ .wapk-section #post-body.columns-2 #side-sortables {
878
+ min-height: 196px; }
879
+
880
+ #poststuff #feed_merchant_info .inside {
881
+ margin: 0;
882
+ padding: 0; }
883
+
884
+ #feed_merchant_info ul.data {
885
+ margin-left: 24px;
886
+ margin-top: 5px; }
887
+ #feed_merchant_info ul.data li {
888
+ margin-bottom: 5px; }
889
+
890
+ .merchant-info-section {
891
+ padding: 6px 10px 8px; }
892
+
893
+ .generateFeed .wf-tab-content table:first-child {
894
+ border: none;
895
+ box-shadow: none; }
896
+
897
+ .generateFeed table th {
898
+ font-weight: bold; }
899
+
900
+ @media only screen and (max-width: 850px) {
901
+ .wapk-feed-docs .postbox {
902
+ display: block;
903
+ width: auto;
904
+ float: none;
905
+ margin-right: auto; } }
906
+
907
+ /** Admin Feed Help Docs **/
908
+ .wp-submenu li span.woo-feed-docs {
909
+ font-weight: bold;
910
+ color: #f18500; }
911
+
912
+ .wp-submenu li:hover span.woo-feed-docs {
913
+ color: #ce7304; }
914
+
915
+ .wp-submenu li.current span.woo-feed-docs {
916
+ color: #ce7304; }
917
+
918
+ .wapk-admin .wapk-feed-docs .postbox .hndle {
919
+ cursor: default; }
920
+
921
+ /** Admin Call-To-Action **/
922
+ .wapk-cta {
923
+ position: relative;
924
+ display: -ms-flexbox;
925
+ display: flex;
926
+ width: 100%;
927
+ padding: 100px 15px;
928
+ background: linear-gradient(45deg, #6CD5FF 33%, #c2efef 100%);
929
+ -ms-flex-pack: center;
930
+ justify-content: center;
931
+ -ms-flex-align: center;
932
+ align-items: center; }
933
+ .wapk-cta-icon .dashicons {
934
+ font-size: 100px;
935
+ width: 100px;
936
+ height: auto;
937
+ margin: 0 10px -8px 0;
938
+ color: #02658c; }
939
+ .wapk-cta-content {
940
+ width: 50%; }
941
+ .wapk-cta-content h2 {
942
+ font-size: 2em;
943
+ margin: 0.5em 0; }
944
+ .wapk-cta-action a.wapk-button {
945
+ font-size: 24px;
946
+ height: auto !important;
947
+ padding: 10px 20px; }
948
+
949
+ @media (max-width: 600px) {
950
+ .wapk-cta {
951
+ display: block;
952
+ text-align: center;
953
+ padding: 4em 0; }
954
+ .wapk-cta-content {
955
+ width: 100%;
956
+ margin: 2em 0; } }
957
+
958
+ /** Override .wp-core-ui .wapk-button styles with prefix .wapk-admin **/
959
+ /* Button Skin */
960
+ .wapk-button {
961
+ color: #00D4D4;
962
+ border-color: #00D4D4;
963
+ display: inline-block;
964
+ text-decoration: none;
965
+ font-size: 13px;
966
+ line-height: 2.15384615;
967
+ min-height: 30px;
968
+ margin: 0;
969
+ padding: 0 10px;
970
+ cursor: pointer;
971
+ border-width: 1px;
972
+ border-style: solid;
973
+ -webkit-appearance: none;
974
+ border-radius: 3px;
975
+ white-space: nowrap;
976
+ box-sizing: border-box; }
977
+ .wapk-button > svg {
978
+ width: 15px;
979
+ margin-left: 5px;
980
+ fill: #00D4D4; }
981
+ .wapk-button > .dashicons {
982
+ color: #00D4D4; }
983
+ .wapk-button:hover {
984
+ border-color: #00bbbb;
985
+ color: #00bbbb; }
986
+ .wapk-button:hover > svg {
987
+ fill: #00bbbb; }
988
+ .wapk-button:hover > .dashicons {
989
+ color: #00bbbb; }
990
+ .wapk-button:focus {
991
+ border-color: #00D4D4;
992
+ color: #00bbbb;
993
+ box-shadow: 0 0 0 1px #00D4D4; }
994
+ .wapk-button:focus > svg {
995
+ fill: #00bbbb; }
996
+ .wapk-button:focus > .dashicons {
997
+ color: #00bbbb; }
998
+ .wapk-button:active {
999
+ background: #00bbbb;
1000
+ border-color: #00bbbb; }
1001
+ .wapk-button-secondary {
1002
+ color: #00D4D4;
1003
+ border-color: #00D4D4;
1004
+ display: inline-block;
1005
+ text-decoration: none;
1006
+ font-size: 13px;
1007
+ line-height: 2.15384615;
1008
+ min-height: 30px;
1009
+ margin: 0;
1010
+ padding: 0 10px;
1011
+ cursor: pointer;
1012
+ border-width: 1px;
1013
+ border-style: solid;
1014
+ -webkit-appearance: none;
1015
+ border-radius: 3px;
1016
+ white-space: nowrap;
1017
+ box-sizing: border-box; }
1018
+ .wapk-button-secondary > svg {
1019
+ width: 15px;
1020
+ margin-left: 5px;
1021
+ fill: #00D4D4; }
1022
+ .wapk-button-secondary > .dashicons {
1023
+ color: #00D4D4; }
1024
+ .wapk-button-secondary:hover {
1025
+ border-color: #00bbbb;
1026
+ color: #00bbbb; }
1027
+ .wapk-button-secondary:hover > svg {
1028
+ fill: #00bbbb; }
1029
+ .wapk-button-secondary:hover > .dashicons {
1030
+ color: #00bbbb; }
1031
+ .wapk-button-secondary:focus {
1032
+ border-color: #00D4D4;
1033
+ color: #00bbbb;
1034
+ box-shadow: 0 0 0 1px #00D4D4; }
1035
+ .wapk-button-secondary:focus > svg {
1036
+ fill: #00bbbb; }
1037
+ .wapk-button-secondary:focus > .dashicons {
1038
+ color: #00bbbb; }
1039
+ .wapk-button-primary {
1040
+ display: inline-block;
1041
+ text-decoration: none;
1042
+ font-size: 13px;
1043
+ line-height: 2.15384615;
1044
+ min-height: 30px;
1045
+ margin: 0;
1046
+ padding: 0 10px;
1047
+ cursor: pointer;
1048
+ border-width: 1px;
1049
+ border-style: solid;
1050
+ -webkit-appearance: none;
1051
+ border-radius: 3px;
1052
+ white-space: nowrap;
1053
+ box-sizing: border-box;
1054
+ background: #00D4D4;
1055
+ border-color: #00D4D4;
1056
+ color: #fff;
1057
+ box-shadow: 0 1px 0 #00bbbb;
1058
+ text-shadow: 0 -1px 1px #00bbbb, 1px 0 1px #00bbbb, 0 1px 1px #00bbbb, -1px 0 1px #00bbbb; }
1059
+ .wapk-button-primary > svg {
1060
+ fill: #fff; }
1061
+ .wapk-button-primary:hover {
1062
+ background: #00e3e3;
1063
+ border-color: #00c5c5;
1064
+ color: #fff; }
1065
+ .wapk-button-primary:hover > svg {
1066
+ fill: #fff; }
1067
+ .wapk-button-primary:focus {
1068
+ background: #00e3e3;
1069
+ border-color: #00c5c5;
1070
+ color: #fff;
1071
+ box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00D4D4; }
1072
+ .wapk-button-primary:focus > svg {
1073
+ fill: #fff; }
1074
+ .wapk-button-primary:active {
1075
+ background: #00bbbb;
1076
+ border-color: #00bbbb;
1077
+ color: #fff; }
1078
+ .wapk-button-primary:active > svg {
1079
+ fill: #fff; }
1080
+ .wapk-button-primary:disabled {
1081
+ color: #c7d1d1 !important;
1082
+ background: #22ffff !important;
1083
+ border-color: #22ffff !important;
1084
+ text-shadow: none !important; }
1085
+ .wapk-button-primary:disabled > svg {
1086
+ fill: #c7d1d1 !important; }
1087
+ .wapk-button.hover {
1088
+ border-color: #00bbbb;
1089
+ color: #00bbbb; }
1090
+ .wapk-button.hover > svg {
1091
+ fill: #00bbbb; }
1092
+ .wapk-button.hover > .dashicons {
1093
+ color: #00bbbb; }
1094
+ .wapk-button.focus {
1095
+ border-color: #00D4D4;
1096
+ color: #00bbbb;
1097
+ box-shadow: 0 0 0 1px #00D4D4; }
1098
+ .wapk-button.focus > svg {
1099
+ fill: #00bbbb; }
1100
+ .wapk-button.focus > .dashicons {
1101
+ color: #00bbbb; }
1102
+ .wapk-button.active {
1103
+ border-color: #00bbbb;
1104
+ color: #00bbbb;
1105
+ box-shadow: inset 0 2px 5px -3px #00bbbb; }
1106
+ .wapk-button.active:focus {
1107
+ border-color: #00bbbb;
1108
+ color: #00bbbb;
1109
+ box-shadow: inset 0 2px 5px -3px #00bbbb; }
1110
+ .wapk-button.active:focus > svg {
1111
+ fill: #00bbbb; }
1112
+ .wapk-button.active:focus > .dashicons {
1113
+ color: #00bbbb; }
1114
+ .wapk-button.active:hover {
1115
+ border-color: #00bbbb;
1116
+ color: #00bbbb;
1117
+ box-shadow: inset 0 2px 5px -3px #00bbbb; }
1118
+ .wapk-button.active:hover > svg {
1119
+ fill: #00bbbb; }
1120
+ .wapk-button.active:hover > .dashicons {
1121
+ color: #00bbbb; }
1122
+ .wapk-button.active > svg {
1123
+ fill: #00bbbb; }
1124
+ .wapk-button.active > .dashicons {
1125
+ color: #00bbbb; }
1126
+ .wapk-button-primary.active {
1127
+ background: #00D4D4;
1128
+ color: #fff;
1129
+ border-color: #008888;
1130
+ box-shadow: inset 0 2px 5px -3px black; }
1131
+ .wapk-button-primary.active:focus {
1132
+ background: #00D4D4;
1133
+ color: #fff;
1134
+ border-color: #008888;
1135
+ box-shadow: inset 0 2px 5px -3px black; }
1136
+ .wapk-button-primary.active:focus > svg {
1137
+ fill: #fff; }
1138
+ .wapk-button-primary.active:hover {
1139
+ background: #00D4D4;
1140
+ color: #fff;
1141
+ border-color: #008888;
1142
+ box-shadow: inset 0 2px 5px -3px black; }
1143
+ .wapk-button-primary.active:hover > svg {
1144
+ fill: #fff; }
1145
+ .wapk-button-primary.active > svg {
1146
+ fill: #fff; }
1147
+ .wapk-button-primary[disabled] {
1148
+ color: #c7d1d1 !important;
1149
+ background: #22ffff !important;
1150
+ border-color: #22ffff !important;
1151
+ text-shadow: none !important; }
1152
+ .wapk-button-primary[disabled] > svg {
1153
+ fill: #c7d1d1 !important; }
1154
+ .wapk-button-primary.wapk-button-primary-disabled {
1155
+ color: #c7d1d1 !important;
1156
+ background: #22ffff !important;
1157
+ border-color: #22ffff !important;
1158
+ text-shadow: none !important; }
1159
+ .wapk-button-primary.wapk-button-primary-disabled > svg {
1160
+ fill: #c7d1d1 !important; }
1161
+ .wapk-button-primary.disabled {
1162
+ color: #c7d1d1 !important;
1163
+ background: #22ffff !important;
1164
+ border-color: #22ffff !important;
1165
+ text-shadow: none !important; }
1166
+ .wapk-button-primary.disabled > svg {
1167
+ fill: #c7d1d1 !important; }
1168
+ .wapk-button-primary.wapk-button-hero {
1169
+ box-shadow: 0 2px 0 #00bbbb; }
1170
+ .wapk-button-primary.wapk-button-hero:focus {
1171
+ box-shadow: 0 2px 0 #00bbbb, 0 1px 0 #00c5c5, 0 0 2px 1px #00eeee; }
1172
+ .wapk-button-primary.wapk-button-hero:active {
1173
+ box-shadow: inset 0 3px 0 #00a1a1; }
1174
+ .wapk-button-primary.wapk-button-hero.active {
1175
+ box-shadow: inset 0 3px 0 #00a1a1; }
1176
+ .wapk-button-primary.wapk-button-hero.active:hover, .wapk-button-primary.wapk-button-hero.active:focus {
1177
+ box-shadow: inset 0 3px 0 #00a1a1; }
1178
+ .wapk-button-group > .wapk-button.active {
1179
+ border-color: #00D4D4; }
1180
+
1181
+ /* Button Sizes */
1182
+ .wapk-button.wapk-button-xl {
1183
+ height: 30px;
1184
+ line-height: 28px;
1185
+ padding: 0 12px 2px; }
1186
+
1187
+ .wapk-button-group.wapk-button-xl .wapk-button {
1188
+ height: 30px;
1189
+ line-height: 28px;
1190
+ padding: 0 12px 2px; }
1191
+
1192
+ .wapk-button.wapk-button-hero {
1193
+ font-size: 18px;
1194
+ height: 50px;
1195
+ line-height: 48px;
1196
+ padding: 0 36px;
1197
+ min-height: 46px; }
1198
+
1199
+ .wapk-button-group.wapk-button-hero .wapk-button {
1200
+ font-size: 18px;
1201
+ height: 50px;
1202
+ line-height: 48px;
1203
+ padding: 0 36px;
1204
+ min-height: 46px; }
1205
+
1206
+ @media screen and (min-width: 782px) {
1207
+ th#status,
1208
+ th#provider {
1209
+ width: 80px; }
1210
+ th#type {
1211
+ width: 50px; }
1212
+ th#option_name {
1213
+ width: 100px; }
1214
+ td.option_name.column-option_name > span:first-child {
1215
+ display: none; }
1216
+ th#last_updated {
1217
+ width: 90px; }
1218
+ th#view {
1219
+ width: 111px; } }
1220
+
1221
+ @media screen and (min-width: 960px) {
1222
+ th#status, th#provider {
1223
+ width: 100px; }
1224
+ th#type {
1225
+ width: 80px; }
1226
+ th#option_name {
1227
+ width: 150px; }
1228
+ th#last_updated {
1229
+ width: 140px; } }
1230
+
1231
+ @media screen and (max-width: 782px) {
1232
+ table.wf-info-table {
1233
+ margin-top: 10px; }
1234
+ table.wf-info-table th:first-child img {
1235
+ margin: 0 auto;
1236
+ display: block; }
1237
+ .wapk-button.wapk-button-xl {
1238
+ padding: 6px 14px;
1239
+ line-height: normal;
1240
+ font-size: 14px;
1241
+ vertical-align: middle;
1242
+ height: auto;
1243
+ margin-bottom: 4px; } }
1244
+
1245
+ .wapk-feed-docs .wapk-feed-cta {
1246
+ margin: 0; }
1247
+
1248
+ .campaign_configurator {
1249
+ background: #FFF;
1250
+ padding: 20px 0; }
1251
+ .campaign_configurator table {
1252
+ margin: 0 auto;
1253
+ width: 51%;
1254
+ min-width: 574px;
1255
+ border: none;
1256
+ box-shadow: none; }
1257
+ .campaign_configurator th {
1258
+ min-width: 120px; }
1259
+
1260
+ @media screen and (max-width: 782px) {
1261
+ .campaign_configurator {
1262
+ padding: 0; }
1263
+ .campaign_configurator table {
1264
+ width: auto;
1265
+ min-width: auto;
1266
+ max-width: 100%; }
1267
+ .campaign_configurator th {
1268
+ min-width: auto; } }
1269
+
1270
+ #wf-tab-content-config td > input:not([type="checkbox"]):not([type="radio"]),
1271
+ #wf-tab-content-config td > select,
1272
+ #wf-tab-content-config td > textarea {
1273
+ width: 100% !important; }
1274
+
1275
+ .woo-feed-filters td > div:nth-child(2n):not(.clear):not(.selectize) {
1276
+ width: 120px;
1277
+ display: block; }
1278
+
1279
+ .woo-feed-filters td > div:not(.clear) {
1280
+ float: left;
1281
+ margin-right: 10px; }
1282
+
1283
+ .woo-feed-filters tr > td:first-child {
1284
+ width: 290px;
1285
+ padding-left: 40px; }
1286
+
1287
+ .woo-feed-filters,
1288
+ .woo-feed-ftp {
1289
+ margin: 15px auto 25px; }
1290
+
1291
+ .wf_clean_cache_wrapper {
1292
+ display: -ms-flexbox;
1293
+ display: flex;
1294
+ margin-left: auto; }
1295
+
1296
+ @-webkit-keyframes LoaderClockWise {
1297
+ from {
1298
+ -webkit-transform: rotate(0deg);
1299
+ transform: rotate(0deg); }
1300
+ to {
1301
+ -webkit-transform: rotate(360deg);
1302
+ transform: rotate(360deg); } }
1303
+
1304
+ @keyframes LoaderClockWise {
1305
+ from {
1306
+ -webkit-transform: rotate(0deg);
1307
+ transform: rotate(0deg); }
1308
+ to {
1309
+ -webkit-transform: rotate(360deg);
1310
+ transform: rotate(360deg); } }
1311
+
1312
+ .woo-feed-cache-loader {
1313
+ width: 18px;
1314
+ margin-right: 5px;
1315
+ animation: LoaderClockWise 1s linear infinite;
1316
+ -webkit-animation: LoaderClockWise 1s linear infinite;
1317
+ display: none; }
1318
+
1319
+ .woo-feed-table-heading .woo-feed-table-heading-title {
1320
+ float: left;
1321
+ margin-right: auto;
1322
+ display: inline-block;
1323
+ line-height: 30px; }
1324
+
1325
+ .woo-feed-table-heading .wf_clean_cache_wrapper {
1326
+ float: right;
1327
+ font-weight: normal; }
1328
+
1329
+ .wf_clean_cache_wrapper button {
1330
+ background: linear-gradient(125deg, #eb4d4b 0, #FF9671 130%);
1331
+ color: #fff;
1332
+ border: none;
1333
+ font-weight: 500;
1334
+ display: inline-block;
1335
+ text-decoration: none;
1336
+ font-size: 13px;
1337
+ line-height: 2.15384615;
1338
+ min-height: 30px;
1339
+ margin: 0;
1340
+ padding: 0 10px;
1341
+ border-radius: 3px;
1342
+ cursor: pointer;
1343
+ outline: none; }
1344
+
1345
+ .wf_clean_cache_wrapper button:hover {
1346
+ background: #ff7979;
1347
+ color: #fff; }
1348
+
1349
+ /* Status Page Style */
1350
+ .woo-feed-status-table-wrapper .woo-feed-status-table {
1351
+ width: 100%;
1352
+ max-width: 900px;
1353
+ border-collapse: collapse;
1354
+ border-spacing: 0.5rem;
1355
+ box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); }
1356
+ .woo-feed-status-table-wrapper .woo-feed-status-table tr:nth-child(even) {
1357
+ background: #f1f1f1; }
1358
+ .woo-feed-status-table-wrapper .woo-feed-status-table tr:nth-child(odd) {
1359
+ background: #fafafc; }
1360
+ .woo-feed-status-table-wrapper .woo-feed-status-table tr th {
1361
+ background: #353b48;
1362
+ color: #fff; }
1363
+ .woo-feed-status-table-wrapper .woo-feed-status-table tr th, .woo-feed-status-table-wrapper .woo-feed-status-table tr td {
1364
+ padding: 0.5rem 20px;
1365
+ text-align: left; }
admin/js/woo-feed-admin.min.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}!function(s,a,t,i,c){s.fn.disabled=function(n){return s(this).each(function(){var e=s(this),t="disabled";void 0!==e.prop(t)?e.prop(t,void 0===n||!0===n):!0===n?e.addClass(t):e.removeClass(t)}),self},s.fn.isDisabled=function(){var e=s(this),t="disabled";return void 0!==e.prop(t)?e.prop(t):e.hasClass(t)};function e(e){s(e.currentTarget).removeClass(function(e,t){return(t.match(/\btooltipped-\S+/g)||[]).join(" ")}).removeClass("tooltipped").removeAttr("aria-label")}function r(e,t){s(e).addClass("tooltipped tooltipped-s").attr("aria-label",t)}function o(e,t){return s.extend(!0,{},e,t)}function n(){l=s(".toClipboard"),!ClipboardJS.isSupported()||/iPhone|iPad/i.test(navigator.userAgent)?l.find("img").hide(0):(l.each(function(){s(this).on("mouseleave",e).on("blur",e)}),new ClipboardJS(".toClipboard").on("error",function(e){var t,n;r(e.trigger,(t=e.action,n="cut"===t?"X":"C",/iPhone|iPad/i.test(navigator.userAgent)?"No support :(":/Mac/i.test(navigator.userAgent)?"Press ⌘-"+n+" to "+t:"Press Ctrl-"+n+" to "+t))}).on("success",function(e){r(e.trigger,"Copied!")}))}var l,_,f={in_array:function(e,t){try{return-1!==t.indexOf(e)}catch(e){return!1}},selectize_render_item:function(e,t){return'<div class="item wapk-selectize-item">'.concat(t(e.text),"</div>")},ajax_fail:function(e){console.warn(e),alert(e.hasOwnProperty("statusText")&&e.hasOwnProperty("status")?c.ajax.error+"\n"+e.statusText+" ("+e.status+")":e)},sortable:function(e,n,a,r){return(e||s(".sorted_table")).each(function(){var e=s(this),t=e.find("tbody > tr:eq(0) > td").length||a||9;e.wf_sortable(o({containerSelector:"table",itemPath:"> tbody",itemSelector:"tr",handle:"i.wf_sortedtable",placeholder:'<tr class="placeholder"><td colspan="'.concat(t,'"></td></tr>'),onDrop:function(e,t,n,a){e.removeClass(t.group.options.draggedClass).removeAttr("style"),s("body").removeClass(t.group.options.bodyClass),r&&"function"==typeof r&&r(e,t,n,a)}},n))})},selectize:function(e,t){return(e||s("select.selectize")).not(".selectized").each(function(){var e=s(this);e.selectize(o({create:e.data("create")||!1,plugins:e.data("plugins")?e.data("plugins").split(",").map(function(e){return e.trim()}):[],render:{item:f.selectize_render_item}},t))})},fancySelect:function(e,t){return(e||s("select.fancySelect")).not(".FancySelectInit").each(function(){s(this).fancySelect(o({maxItemShow:3},t))})},reindex_config_table:function(){s("#table-1").find("tbody tr").each(function(n,e){s(e).find("[name]").each(function(e,t){s(t).attr("name",s(t).attr("name").replace(/(\[\d\])/g,"[".concat(n,"]")))})})},common:function(){f.sortable(s(".sorted_table"),{},9,f.reindex_config_table),f.selectize(),f.fancySelect(s(".outputType"))}},d={form:null,init:function(){this.form=s(".generateFeed"),this.form.length&&(f.common(),s(t).trigger(new jQuery.Event("feedEditor.init",{target:this.form})))},renderMerchantInfo:function(n,a,r){function e(e){var t;r.hasOwnProperty(e)&&(n.find(".merchant-info-section."+e+" .data").html(r[e]),"feed_file_type"===e&&((t=r[e].split(",").map(function(e){return e.trim().toLowerCase()}).filter(function(e){return""!==e&&e!==c.na.toLowerCase()})).length?(a.find("option").removeAttr("selected").each(function(){var e=s(this);e.val()&&!f.in_array(e.val(),t)?e.disabled(!0):e.disabled(!1)}),1===t.length&&a.find('option[value="'+t[0]+'"]').attr("selected","selected")):a.find("option").disabled(!1)))}for(var t in r)e(t);n.find(".spinner").removeClass("is-active"),a.disabled(!1),a.trigger("change"),a.parent().find(".spinner").removeClass("is-active")},renderMerchantTemplate:function(n,a){function e(t){if(a.hasOwnProperty(t))if("tabs"===t)n.html(a[t]);else{var e=s('[name="'+t+'"]');e.length&&e.each(function(){var e=s(this);e.is("select")?e.find('[value="'+a[t]+'"]').prop("selected",!0):(e.is("[type=checkbox]")||e.is("[type=radio]"))&&e.val()===a[t]?e.prop("checked",!0):e.val(a[t])}).trigger("change")}}for(var t in a)e(t);d.init()}},u=[],p=[],h=function(){function e(){_classCallCheck(this,e),this._feed=c.generator.feed,this._limit=c.generator.limit,this._progress=0,this._timer=null,this._color=!1,this._total_batch=0,this._current_batch=0,this._product_ids=[],this._progress_per_batch=0,this._refresh=!0,this._regenerate=c.generator.regenerate,a.isRegenerating=!1,this._all_btn=s(".wpf_regenerate"),this._current_btn=s("#".concat(this._feed.replace("wf_config","wf_feed_"))),this._current_btn_label=""}return _createClass(e,[{key:"init",value:function(){var n=this;return""!==this._feed&&this._regenerate&&!1===a.isRegenerating&&this.generate(),s(t).on("click",".woo-feed-campaign-close-button",function(e){e.preventDefault(),s(this).parent(".woo-feed-promotion").hide();var t=s(this).data("condition");1===t&&i.post("woo_feed_hide_promotion",{_ajax_nonce:c.nonce,condition:t}).then(function(e){n._log(e)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red"})}),s(t).on("click",".wpf_regenerate",function(e){e.preventDefault(),n._current_btn=s(this),n._current_btn.hasClass("disabled")||!0===a.isRegenerating||(n._feed=n._current_btn.attr("id").replace("wf_feed_","wf_config"),""!==n._feed&&n.generate())}),this}},{key:"_block_button",value:function(){this._all_btn.length&&this._all_btn.addClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").addClass("wpf_spin reverse_spin"),this._current_btn_label=this._current_btn.attr("title"),this._current_btn.attr("aria-label",c.regenerate).attr("title",c.regenerate))}},{key:"_unblock_button",value:function(){this._all_btn.length&&this._all_btn.removeClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").removeClass("wpf_spin"),this._current_btn.find("span").removeClass("reverse_spin"),this._current_btn.attr("aria-label",this._current_btn_label).attr("title",this._current_btn_label))}},{key:"generate",value:function(){var t=this,n=this;a.isRegenerating=!0,this._block_button(),this._resetProgressBar(),this._progressBarActive(),this._log("Counting Total Products"),this._updateProgressStatus("Fetching products."),this._get_product_ids().then(function(e){t._progress=10,n._log({response:e}),e.success?(n._log("Total ".concat(e.total," Products found.")),n._product_ids=e.product,n._total_batch=t._product_ids.length,n._current_batch=0,n._progress_per_batch=(90-t._progress)/t._total_batch,n._process_batch(),n._updateProgressStatus("Processing Products...")):n._updateProgressStatus(e.data.message)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red",setTimeout(function(){n._stopProgressBar(),n._unblock_button()},1500)})}},{key:"_get_product_ids",value:function(){return this._progress=5,i.post("get_product_information",{_ajax_nonce:c.nonce,feed:this._feed,limit:this._limit})}},{key:"_process_batch",value:function(){var t=this,e="Processing Batch ".concat(this._current_batch+1," of ").concat(this._total_batch);this._updateProgressStatus(e),this._log(e),i.post("make_batch_feed",{_ajax_nonce:c.nonce,feed:this._feed,products:this._product_ids[this._current_batch],loop:this._current_batch}).then(function(e){t._current_batch++,t._log("Batch ".concat(t._current_batch," Completed")),t._log(e),t._current_batch<t._total_batch&&(t._process_batch(),t._progress+=t._progress_per_batch),t._current_batch===t._total_batch&&t._save_feed_file()}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_save_feed_file",value:function(){var t=this;this._log("Saving feed file"),this._updateProgressStatus("Saving feed file"),i.post("save_feed_file",{_ajax_nonce:c.nonce,feed:this._feed}).then(function(e){t._log(e),t._progress=100,t._refresh&&(a.location.href="".concat(c.pages.list.feed,"&link=").concat(e.url,"&cat=").concat(e.cat)),setTimeout(function(){t._stopProgressBar(),setTimeout(function(){t._resetProgressBar(!0),t._unblock_button()},3e3)},2500)}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_log",value:function(e){return c.wpf_debug&&console.log(e),this}},{key:"_progressBarActive",value:function(e){var t=0<arguments.length&&void 0!==e?e:0,n=this;return this._toggleProgressBar(!0),this._timer=setInterval(function(){n._updateProgressBar()},t||1e3),this}},{key:"_stopProgressBar",value:function(){return clearInterval(this._timer),this}},{key:"_resetProgressBar",value:function(e){return this._toggleProgressBar(!1),this._updateProgressStatus(""),clearInterval(this._timer),this._color=!1,this._timer=null,this._progress=0,e&&this._updateProgressBar(),this}},{key:"_toggleProgressBar",value:function(e){var t=s("#feed_progress_table");return e?t.show():t.hide(),this}},{key:"_updateProgressStatus",value:function(e){return s(".feed-progress-status").text(e),this}},{key:"_updateProgressBar",value:function(){var e=s(".feed-progress-percentage"),t=s(".feed-progress-bar-fill"),n="".concat(Math.round(this._progress),"%");t.css({width:n}),e.text(n)}}]),e}();a.wf={helper:f,feedEditor:d,generator:h},s(a).load(function(){null!==s(location).attr("href").match(/webappick.*feed/g)&&s("#wpbody-content").addClass("woofeed-body-content");var e=a.location.search;"edit-feed"===new URLSearchParams(e).get("action")&&s(".itemWrapper").show(),n(),postboxes.add_postbox_toggles(pagenow),(new h).init(),""!==c.generator.feed&&c.generator.regenerate,d.init(),f.common(),s(".wfmasterTooltip").hover(function(){var e=s(this),t=e.attr("wftitle");e.data("tipText",t).removeAttr("wftitle"),s('<p class="wftooltip"></p>').text(t).appendTo("body").fadeIn("slow")},function(){var e=s(this);e.attr("wftitle",e.data("tipText")),s(".wftooltip").remove()}).mousemove(function(e){s(".wftooltip").css({top:e.pageY+10,left:e.pageX+20})}),s(".generateFeed").validate(),s(t).on("click","[data-toggle_slide]",function(e){e.preventDefault(),s(s(this).data("toggle_slide")).slideToggle("fast")}).on("click","#wf_newRow",function(){var e=s("#table-1 tbody"),t=s("#feed_config_template").text().trim().replace(/__idx__/g,e.find("tr").length);e.append(t),f.fancySelect(s(".outputType"))}).on("click",".single-feed-delete",function(e){e.preventDefault(),confirm(c.form.del_confirm)&&(a.location.href=s(this).attr("val"))}).on("click",".wf_clean_cache_wrapper",function(e){e.preventDefault();var t=s(".woo-feed-clean-cache-nonce").val(),n=s(".woo-feed-cache-loader");n.show(),i.post("clear_cache_data",{_ajax_clean_nonce:t}).then(function(e){e.success&&n.hide()}).fail(function(e){console.log("something wrong")})}).on("change",".wf_attr.wf_attributes",function(e){e.preventDefault(),s(".fancy-picker-picked").trigger("click");var t,n,a=s(this).val(),r=s(this).parents("tr").find(".outputType"),o=s(this).parents("tr").find(".fancy-picker-content .fancy-picker-option"),i=s(this).parents("tr").find(".fancy-picker-data span");""!==a&&-1!==a.indexOf("wf_taxo")&&(t="for_custom_taxo",n="parent_if_empty"),["price","current_price","sale_price","price_with_tax","current_price_with_tax","sale_price_with_tax"].includes(a)&&(t="for_price",n="Price"),o.removeClass("selected"),"for_custom_taxo"!==t&&"for_price"!==t||o.each(function(e){n===s(this).text()&&(s(this).addClass("selected"),i.text(n),r.find("option").text(n),r.find("option").val(s(this).data("value")))})}).on("click","#doaction, #doaction2",function(){return confirm(c.form.del_confirm_multi)}).on("change",".dType",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".value_attribute").hide(),n.find(".value_pattern").show()):"attribute"===t?(n.find(".value_attribute").show(),n.find(".value_pattern").hide()):"remove"===t&&(n.find(".value_attribute").hide(),n.find(".value_pattern").hide())}).on("click",".delRow",function(e){e.preventDefault(),s(this).closest("tr").remove(),f.reindex_config_table()}).on("submit","#generateFeed",function(){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(c.form.generate,"</b>"))}).on("submit","#updatefeed",function(e,t){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(t&&t.save?c.form.save:c.form.generate,"</b>"))}).on("change",".ftporsftp",function(){var e=s(this).val(),t=s(".ssh2_status");"sftp"===e?(t.show().css("color","dodgerblue").text(c.form.sftp_checking),i.post("get_ssh2_status",{_ajax_nonce:c.nonce,server:e}).then(function(e){"exists"===e?(t.css("color","#2CC185").text(c.form.sftp_available),setTimeout(function(){t.hide()},1500)):t.show().css("color","red").text(c.form.sftp_warning)}).fail(function(e){t.hide(),f.ajax_fail(e)})):t.hide()}).on("click",'[name="save_feed_config"]',function(e){e.preventDefault(),s("#updatefeed").trigger("submit",{save:!0})}).on("change","#provider",function(e){if(e.preventDefault(),s(this).closest(".generateFeed").hasClass("add-new")){var t=s(this).val(),n=s("#feedType"),a=s("#providerPage"),r=s("#feed_merchant_info");a.html('<h3><span style="float:none;margin: -3px 0 0;" class="spinner is-active"></span> '+c.form.loading_tmpl+"</h3>"),r.find(".spinner").addClass("is-active"),n.disabled(!0),n.parent().find(".spinner").addClass("is-active"),r.find(".merchant-info-section .data").html(""),u.hasOwnProperty(t)?d.renderMerchantInfo(r,n,u[t]):i.send("woo_feed_get_merchant_info",{type:"GET",data:{nonce:c.nonce,provider:t}}).then(function(e){u[t]=e,d.renderMerchantInfo(r,n,e)}).fail(f.ajax_fail),p.hasOwnProperty(t)?d.renderMerchantTemplate(a,p[t]):i.post("get_feed_merchant",{_ajax_nonce:c.nonce,merchant:t}).then(function(e){p[t]=e,d.renderMerchantTemplate(a,e),"bing"===t&&(s("#delimiter option").removeAttr("selected"),s('#delimiter option[value="tab"]').attr("selected","selected"),s("#enclosure option").removeAttr("selected"),s('#enclosure option[value=" "]').attr("selected","selected")),"google_product_review"!==t&&s('.wf_attributes option[value="reviewer_name"]').hide()}).fail(f.ajax_fail)}}).on("change",".woo_feed_status_input",function(){var e=s(this);i.post("update_feed_status",{_ajax_nonce:c.nonce,feedName:e.val(),status:e[0].checked?1:0})}),s(t).on("change",'[name="is_outOfStock"], [name="product_visibility"]',function(){var e=s(".out-of-stock-visibility");"n"===s('[name="is_outOfStock"]:checked').val()&&"1"===s('[name="product_visibility"]:checked').val()?e.show():e.hide()}).on("change",".attr_type",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".wf_attr").hide(),n.find(".wf_attr").val(""),n.find(".wf_default").show()):(n.find(".wf_attr").show(),n.find(".wf_default").hide(),n.find(".wf_default").val(""))}).on("change",".wf_mattributes, .attr_type",function(){var e=s(this).closest("tr"),t=e.find(".wf_mattributes"),n=e.find(".attr_type"),a=e.find("td:eq(4)"),r=s("#provider").val();if(c.form.google_category.hasOwnProperty(t.val())&&"pattern"===n.val()&&f.in_array(r,c.form.google_category[t.val()])){if(0===a.find("select.selectize").length){a.find("input.wf_default").remove(),a.append('<span class="wf_default wf_attributes"><select name="default[]" class="selectize"></select></span>'),a.append('<span style="font-size:x-small;"><a style="color: red" href="http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category" target="_blank">'.concat(c.learn_more,"</a></span>")),_||a.append('<span class="spinner is-active" style="margin: 0;"></span>');var o=a.find(".wf_attributes select");f.selectize(o,{preload:!0,placeholder:c.form.select_category,load:function(e,t){_?t(_):i.send("get_google_categories",{type:"GET",data:{_ajax_nonce:c.nonce,action:"get_google_categories",provider:r}}).then(function(e){t(_=e),a.find(".spinner").remove()}).fail(f.ajax_fail)}})}}else"current_category"!==t.val()&&0===a.find("input.wf_default").length&&(a.find("span").remove(),a.append('<input autocomplete="off" class="wf_default wf_attributes" type="text" name="default[]" value="">'),"pattern"!==n.val()&&a.find("input.wf_default").hide())}).on("change","#feedType,#provider",function(){var e=s("#feedType").val(),t=s("#provider").val(),n=s(".itemWrapper"),a=s(".wf_csvtxt");""!==e&&f.in_array(t,c.form.item_wrapper_hidden)?n.hide():"xml"===e?(n.show(),a.hide()):"csv"===e||"txt"===e?(n.hide(),a.show()):(n.hide(),a.hide())}).trigger("change")})}(jQuery,window,document,wp.ajax,wpf_ajax_obj);
2
- //# sourceMappingURL=woo-feed-admin.min.js.map
1
+ "use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}!function(s,a,t,i,c){s.fn.disabled=function(n){return s(this).each(function(){var e=s(this),t="disabled";void 0!==e.prop(t)?e.prop(t,void 0===n||!0===n):!0===n?e.addClass(t):e.removeClass(t)}),self},s.fn.isDisabled=function(){var e=s(this),t="disabled";return void 0!==e.prop(t)?e.prop(t):e.hasClass(t)};function e(e){s(e.currentTarget).removeClass(function(e,t){return(t.match(/\btooltipped-\S+/g)||[]).join(" ")}).removeClass("tooltipped").removeAttr("aria-label")}function r(e,t){s(e).addClass("tooltipped tooltipped-s").attr("aria-label",t)}function o(e,t){return s.extend(!0,{},e,t)}function n(){l=s(".toClipboard"),!ClipboardJS.isSupported()||/iPhone|iPad/i.test(navigator.userAgent)?l.find("img").hide(0):(l.each(function(){s(this).on("mouseleave",e).on("blur",e)}),new ClipboardJS(".toClipboard").on("error",function(e){var t,n;r(e.trigger,(t=e.action,n="cut"===t?"X":"C",/iPhone|iPad/i.test(navigator.userAgent)?"No support :(":/Mac/i.test(navigator.userAgent)?"Press ⌘-"+n+" to "+t:"Press Ctrl-"+n+" to "+t))}).on("success",function(e){r(e.trigger,"Copied!")}))}var l,_,f={in_array:function(e,t){try{return-1!==t.indexOf(e)}catch(e){return!1}},selectize_render_item:function(e,t){return'<div class="item wapk-selectize-item">'.concat(t(e.text),"</div>")},ajax_fail:function(e){console.warn(e),alert(e.hasOwnProperty("statusText")&&e.hasOwnProperty("status")?c.ajax.error+"\n"+e.statusText+" ("+e.status+")":e)},sortable:function(e,n,a,r){return(e||s(".sorted_table")).each(function(){var e=s(this),t=e.find("tbody > tr:eq(0) > td").length||a||9;e.wf_sortable(o({containerSelector:"table",itemPath:"> tbody",itemSelector:"tr",handle:"i.wf_sortedtable",placeholder:'<tr class="placeholder"><td colspan="'.concat(t,'"></td></tr>'),onDrop:function(e,t,n,a){e.removeClass(t.group.options.draggedClass).removeAttr("style"),s("body").removeClass(t.group.options.bodyClass),r&&"function"==typeof r&&r(e,t,n,a)}},n))})},selectize:function(e,t){return(e||s("select.selectize")).not(".selectized").each(function(){var e=s(this);e.selectize(o({create:e.data("create")||!1,plugins:e.data("plugins")?e.data("plugins").split(",").map(function(e){return e.trim()}):[],render:{item:f.selectize_render_item}},t))})},fancySelect:function(e,t){return(e||s("select.fancySelect")).not(".FancySelectInit").each(function(){s(this).fancySelect(o({maxItemShow:3},t))})},reindex_config_table:function(){s("#table-1").find("tbody tr").each(function(n,e){s(e).find("[name]").each(function(e,t){s(t).attr("name",s(t).attr("name").replace(/(\[\d\])/g,"[".concat(n,"]")))})})},common:function(){f.sortable(s(".sorted_table"),{},9,f.reindex_config_table),f.selectize(),f.fancySelect(s(".outputType"))}},d={form:null,init:function(){this.form=s(".generateFeed"),this.form.length&&(f.common(),s(t).trigger(new jQuery.Event("feedEditor.init",{target:this.form})))},renderMerchantInfo:function(n,a,r){function e(e){var t;r.hasOwnProperty(e)&&(n.find(".merchant-info-section."+e+" .data").html(r[e]),"feed_file_type"===e&&((t=r[e].split(",").map(function(e){return e.trim().toLowerCase()}).filter(function(e){return""!==e&&e!==c.na.toLowerCase()})).length?(a.find("option").removeAttr("selected").each(function(){var e=s(this);e.val()&&!f.in_array(e.val(),t)?e.disabled(!0):e.disabled(!1)}),1===t.length&&a.find('option[value="'+t[0]+'"]').attr("selected","selected")):a.find("option").disabled(!1)))}for(var t in r)e(t);n.find(".spinner").removeClass("is-active"),a.disabled(!1),a.trigger("change"),a.parent().find(".spinner").removeClass("is-active")},renderMerchantTemplate:function(n,a){function e(t){if(a.hasOwnProperty(t))if("tabs"===t)n.html(a[t]);else{var e=s('[name="'+t+'"]');e.length&&e.each(function(){var e=s(this);e.is("select")?e.find('[value="'+a[t]+'"]').prop("selected",!0):(e.is("[type=checkbox]")||e.is("[type=radio]"))&&e.val()===a[t]?e.prop("checked",!0):e.val(a[t])}).trigger("change")}}for(var t in a)e(t);d.init()}},u=[],p=[],h=function(){function e(){_classCallCheck(this,e),this._feed=c.generator.feed,this._limit=c.generator.limit,this._progress=0,this._timer=null,this._color=!1,this._total_batch=0,this._current_batch=0,this._product_ids=[],this._progress_per_batch=0,this._refresh=!0,this._regenerate=c.generator.regenerate,a.isRegenerating=!1,this._all_btn=s(".wpf_regenerate"),this._current_btn=s("#".concat(this._feed.replace("wf_config","wf_feed_"))),this._current_btn_label=""}return _createClass(e,[{key:"init",value:function(){var n=this;return""!==this._feed&&this._regenerate&&!1===a.isRegenerating&&this.generate(),s(t).on("click",".woo-feed-campaign-close-button",function(e){e.preventDefault(),s(this).parent(".woo-feed-promotion").hide();var t=s(this).data("condition");1===t&&i.post("woo_feed_hide_promotion",{_ajax_nonce:c.nonce,condition:t}).then(function(e){n._log(e)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red"})}),s(t).on("click",".wpf_regenerate",function(e){e.preventDefault(),n._current_btn=s(this),n._current_btn.hasClass("disabled")||!0===a.isRegenerating||(n._feed=n._current_btn.attr("id").replace("wf_feed_","wf_config"),""!==n._feed&&n.generate())}),this}},{key:"_block_button",value:function(){this._all_btn.length&&this._all_btn.addClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").addClass("wpf_spin reverse_spin"),this._current_btn_label=this._current_btn.attr("title"),this._current_btn.attr("aria-label",c.regenerate).attr("title",c.regenerate))}},{key:"_unblock_button",value:function(){this._all_btn.length&&this._all_btn.removeClass("disabled"),this._current_btn.length&&(this._current_btn.find("span").removeClass("wpf_spin"),this._current_btn.find("span").removeClass("reverse_spin"),this._current_btn.attr("aria-label",this._current_btn_label).attr("title",this._current_btn_label))}},{key:"generate",value:function(){var t=this,n=this;a.isRegenerating=!0,this._block_button(),this._resetProgressBar(),this._progressBarActive(),this._log("Counting Total Products"),this._updateProgressStatus("Fetching products."),this._get_product_ids().then(function(e){t._progress=10,n._log({response:e}),e.success?(n._log("Total ".concat(e.total," Products found.")),n._product_ids=e.product,n._total_batch=t._product_ids.length,n._current_batch=0,n._progress_per_batch=(90-t._progress)/t._total_batch,n._process_batch(),n._updateProgressStatus("Processing Products...")):n._updateProgressStatus(e.data.message)}).fail(function(e){n._log(e),n._updateProgressStatus(e.message),n._color="red",setTimeout(function(){n._stopProgressBar(),n._unblock_button()},1500)})}},{key:"_get_product_ids",value:function(){return this._progress=5,i.post("get_product_information",{_ajax_nonce:c.nonce,feed:this._feed,limit:this._limit})}},{key:"_process_batch",value:function(){var t=this,e="Processing Batch ".concat(this._current_batch+1," of ").concat(this._total_batch);this._updateProgressStatus(e),this._log(e),i.post("make_batch_feed",{_ajax_nonce:c.nonce,feed:this._feed,products:this._product_ids[this._current_batch],loop:this._current_batch}).then(function(e){t._current_batch++,t._log("Batch ".concat(t._current_batch," Completed")),t._log(e),t._current_batch<t._total_batch&&(t._process_batch(),t._progress+=t._progress_per_batch),t._current_batch===t._total_batch&&t._save_feed_file()}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_save_feed_file",value:function(){var t=this;this._log("Saving feed file"),this._updateProgressStatus("Saving feed file"),i.post("save_feed_file",{_ajax_nonce:c.nonce,feed:this._feed}).then(function(e){t._log(e),t._progress=100,t._refresh&&(a.location.href="".concat(c.pages.list.feed,"&link=").concat(e.url,"&cat=").concat(e.cat)),setTimeout(function(){t._stopProgressBar(),setTimeout(function(){t._resetProgressBar(!0),t._unblock_button()},3e3)},2500)}).fail(function(e){t._log(e),t._updateProgressStatus(e.message),t._color="red",setTimeout(function(){t._stopProgressBar(),t._unblock_button()},1500)})}},{key:"_log",value:function(e){return c.wpf_debug&&console.log(e),this}},{key:"_progressBarActive",value:function(e){var t=0<arguments.length&&void 0!==e?e:0,n=this;return this._toggleProgressBar(!0),this._timer=setInterval(function(){n._updateProgressBar()},t||1e3),this}},{key:"_stopProgressBar",value:function(){return clearInterval(this._timer),this}},{key:"_resetProgressBar",value:function(e){return this._toggleProgressBar(!1),this._updateProgressStatus(""),clearInterval(this._timer),this._color=!1,this._timer=null,this._progress=0,e&&this._updateProgressBar(),this}},{key:"_toggleProgressBar",value:function(e){var t=s("#feed_progress_table");return e?t.show():t.hide(),this}},{key:"_updateProgressStatus",value:function(e){return s(".feed-progress-status").text(e),this}},{key:"_updateProgressBar",value:function(){var e=s(".feed-progress-percentage"),t=s(".feed-progress-bar-fill"),n="".concat(Math.round(this._progress),"%");t.css({width:n}),e.text(n)}}]),e}();a.wf={helper:f,feedEditor:d,generator:h},s(a).load(function(){null!==s(location).attr("href").match(/webappick.*feed/g)&&s("#wpbody-content").addClass("woofeed-body-content");var e=a.location.search;"edit-feed"===new URLSearchParams(e).get("action")&&s(".itemWrapper").show(),n(),postboxes.add_postbox_toggles(pagenow),(new h).init(),""!==c.generator.feed&&c.generator.regenerate,d.init(),f.common(),s(".wfmasterTooltip").hover(function(){var e=s(this),t=e.attr("wftitle");e.data("tipText",t).removeAttr("wftitle"),s('<p class="wftooltip"></p>').text(t).appendTo("body").fadeIn("slow")},function(){var e=s(this);e.attr("wftitle",e.data("tipText")),s(".wftooltip").remove()}).mousemove(function(e){s(".wftooltip").css({top:e.pageY+10,left:e.pageX+20})}),s(".generateFeed").validate(),s(t).on("click","[data-toggle_slide]",function(e){e.preventDefault(),s(s(this).data("toggle_slide")).slideToggle("fast")}).on("click","#wf_newRow",function(){var e=s("#table-1 tbody"),t=s("#feed_config_template").text().trim().replace(/__idx__/g,e.find("tr").length);e.append(t),f.fancySelect(s(".outputType"))}).on("click",".single-feed-delete",function(e){e.preventDefault(),confirm(c.form.del_confirm)&&(a.location.href=s(this).attr("val"))}).on("click",".wf_clean_cache_wrapper",function(e){e.preventDefault();var t=s(".woo-feed-clean-cache-nonce").val(),n=s(".woo-feed-cache-loader");n.show(),i.post("clear_cache_data",{_ajax_clean_nonce:t}).then(function(e){e.success&&n.hide()}).fail(function(e){console.log("something wrong")})}).on("change",".wf_attr.wf_attributes",function(e){e.preventDefault(),s(".fancy-picker-picked").trigger("click");var t,n,a=s(this).val(),r=s(this).parents("tr").find(".outputType"),o=s(this).parents("tr").find(".fancy-picker-content .fancy-picker-option"),i=s(this).parents("tr").find(".fancy-picker-data span");""!==a&&-1!==a.indexOf("wf_taxo")&&(t="for_custom_taxo",n="parent_if_empty"),["price","current_price","sale_price","price_with_tax","current_price_with_tax","sale_price_with_tax"].includes(a)&&(t="for_price",n="Price"),o.removeClass("selected"),"for_custom_taxo"!==t&&"for_price"!==t||o.each(function(e){n===s(this).text()&&(s(this).addClass("selected"),i.text(n),r.find("option").text(n),r.find("option").val(s(this).data("value")))})}).on("click","#doaction, #doaction2",function(){return confirm(c.form.del_confirm_multi)}).on("change",".dType",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".value_attribute").hide(),n.find(".value_pattern").show()):"attribute"===t?(n.find(".value_attribute").show(),n.find(".value_pattern").hide()):"remove"===t&&(n.find(".value_attribute").hide(),n.find(".value_pattern").hide())}).on("click",".delRow",function(e){e.preventDefault(),s(this).closest("tr").remove(),f.reindex_config_table()}).on("submit","#generateFeed",function(){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(c.form.generate,"</b>"))}).on("submit","#updatefeed",function(e,t){s(this).validate(),s(this).valid()&&s(".makeFeedResponse").show().html('<b style="color: darkblue;"><i class="dashicons dashicons-sos wpf_spin"></i> '.concat(t&&t.save?c.form.save:c.form.generate,"</b>"))}).on("change",".ftporsftp",function(){var e=s(this).val(),t=s(".ssh2_status");"sftp"===e?(t.show().css("color","dodgerblue").text(c.form.sftp_checking),i.post("get_ssh2_status",{_ajax_nonce:c.nonce,server:e}).then(function(e){"exists"===e?(t.css("color","#2CC185").text(c.form.sftp_available),setTimeout(function(){t.hide()},1500)):t.show().css("color","red").text(c.form.sftp_warning)}).fail(function(e){t.hide(),f.ajax_fail(e)})):t.hide()}).on("click",'[name="save_feed_config"]',function(e){e.preventDefault(),s("#updatefeed").trigger("submit",{save:!0})}).on("change","#provider",function(e){if(e.preventDefault(),s(this).closest(".generateFeed").hasClass("add-new")){var t=s(this).val(),n=s("#feedType"),a=s("#providerPage"),r=s("#feed_merchant_info");a.html('<h3><span style="float:none;margin: -3px 0 0;" class="spinner is-active"></span> '+c.form.loading_tmpl+"</h3>"),r.find(".spinner").addClass("is-active"),n.disabled(!0),n.parent().find(".spinner").addClass("is-active"),r.find(".merchant-info-section .data").html(""),u.hasOwnProperty(t)?d.renderMerchantInfo(r,n,u[t]):i.send("woo_feed_get_merchant_info",{type:"GET",data:{nonce:c.nonce,provider:t}}).then(function(e){u[t]=e,d.renderMerchantInfo(r,n,e)}).fail(f.ajax_fail),p.hasOwnProperty(t)?d.renderMerchantTemplate(a,p[t]):i.post("get_feed_merchant",{_ajax_nonce:c.nonce,merchant:t}).then(function(e){p[t]=e,d.renderMerchantTemplate(a,e),"bing"===t&&(s("#delimiter option").removeAttr("selected"),s('#delimiter option[value="tab"]').attr("selected","selected"),s("#enclosure option").removeAttr("selected"),s('#enclosure option[value=" "]').attr("selected","selected")),"google_product_review"!==t&&s('.wf_attributes option[value="reviewer_name"]').hide()}).fail(f.ajax_fail)}}).on("change",".woo_feed_status_input",function(){var e=s(this);i.post("update_feed_status",{_ajax_nonce:c.nonce,feedName:e.val(),status:e[0].checked?1:0})}),s(t).on("change",'[name="is_outOfStock"], [name="product_visibility"]',function(){var e=s(".out-of-stock-visibility");"n"===s('[name="is_outOfStock"]:checked').val()&&"1"===s('[name="product_visibility"]:checked').val()?e.show():e.hide()}).on("change",".attr_type",function(){var e=s(this),t=e.val(),n=e.closest("tr");"pattern"===t?(n.find(".wf_attr").hide(),n.find(".wf_attr").val(""),n.find(".wf_default").show()):(n.find(".wf_attr").show(),n.find(".wf_default").hide(),n.find(".wf_default").val(""))}).on("change",".wf_mattributes, .attr_type",function(){var e=s(this).closest("tr"),t=e.find(".wf_mattributes"),n=e.find(".attr_type"),a=e.find("td:eq(4)"),r=s("#provider").val();if(c.form.google_category.hasOwnProperty(t.val())&&"pattern"===n.val()&&f.in_array(r,c.form.google_category[t.val()])){if(0===a.find("select.selectize").length){a.find("input.wf_default").remove(),a.append('<span class="wf_default wf_attributes"><select name="default[]" class="selectize"></select></span>'),a.append('<span style="font-size:x-small;"><a style="color: red" href="http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category" target="_blank">'.concat(c.learn_more,"</a></span>")),_||a.append('<span class="spinner is-active" style="margin: 0;"></span>');var o=a.find(".wf_attributes select");f.selectize(o,{preload:!0,placeholder:c.form.select_category,load:function(e,t){_?t(_):i.send("get_google_categories",{type:"GET",data:{_ajax_nonce:c.nonce,action:"get_google_categories",provider:r}}).then(function(e){t(_=e),a.find(".spinner").remove()}).fail(f.ajax_fail)}})}}else"current_category"!==t.val()&&0===a.find("input.wf_default").length&&(a.find("span").remove(),a.append('<input autocomplete="off" class="wf_default wf_attributes" type="text" name="default[]" value="">'),"pattern"!==n.val()&&a.find("input.wf_default").hide())}).on("change","#feedType,#provider",function(){var e=s("#feedType").val(),t=s("#provider").val(),n=s(".itemWrapper"),a=s(".wf_csvtxt");""!==e&&f.in_array(t,c.form.item_wrapper_hidden)?n.hide():"xml"===e?(n.show(),a.hide()):"csv"===e||"txt"===e?(n.hide(),a.show()):(n.hide(),a.hide())}).trigger("change")})}(jQuery,window,document,wp.ajax,wpf_ajax_obj);
2
+ //# sourceMappingURL=woo-feed-admin.min.js.map
includes/helper.php CHANGED
@@ -2940,4 +2940,21 @@ if( ! function_exists( 'woo_feed_hide_promotion' ) ) {
2940
  }
2941
  add_action('wp_ajax_woo_feed_hide_promotion', 'woo_feed_hide_promotion');
2942
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2943
  // End of file helper.php.
2940
  }
2941
  add_action('wp_ajax_woo_feed_hide_promotion', 'woo_feed_hide_promotion');
2942
 
2943
+ if ( ! function_exists( 'array_key_first' ) ) {
2944
+ /**
2945
+ * Array first key.
2946
+ *
2947
+ * @param array $arr given array.
2948
+ *
2949
+ * @since 4.3.0
2950
+ * @return mixed
2951
+ */
2952
+ function array_key_first( array $arr ) {
2953
+ foreach( $arr as $k => $unused ) {
2954
+ return $k ;
2955
+ }
2956
+ return NULL ;
2957
+ }
2958
+ }
2959
+
2960
  // End of file helper.php.
woo-feed.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: WooCommerce Product Feed
11
  * Plugin URI: https://webappick.com/
12
  * Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
13
- * Version: 4.2.9
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
@@ -38,7 +38,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
38
  * @var string
39
  * @since 3.1.6
40
  */
41
- define( 'WOO_FEED_FREE_VERSION', '4.2.9' );
42
  }
43
 
44
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
10
  * Plugin Name: WooCommerce Product Feed
11
  * Plugin URI: https://webappick.com/
12
  * Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
13
+ * Version: 4.3.0
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
38
  * @var string
39
  * @since 3.1.6
40
  */
41
+ define( 'WOO_FEED_FREE_VERSION', '4.3.0' );
42
  }
43
 
44
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {