PluginProbe
E2Pdf – Export Pdf Tool for WordPress / 1.32.49
E2Pdf – Export Pdf Tool for WordPress v1.32.49
1.32.49 1.32.48 1.32.43 1.32.40 1.32.34 1.32.32 1.32.31 1.32.26 1.32.22 1.32.23 1.32.18 1.32.17 1.32.15 trunk 1.00.00 1.00.13 1.01.01 1.02.02 1.03.07 1.04.07 1.05.03 1.06.02 1.07.11 1.08.00 1.08.06 All 72 releases
← All changes | css/e2pdf.backend.css +1122 -301 1.05.031.32.49 View file →
@@ -1,8 +1,4 @@
1 -.menu-top.toplevel_page_e2pdf .dashicons-admin-generic:before {
2 - content: "\f183";
3 -}
4 -
5 1 .e2pdf-ib {
6 2 display: inline-block;
7 3 -webkit-box-sizing: border-box;
8 4 -moz-box-sizing: border-box;
@@ -29,8 +25,12 @@
29 25 .e2pdf-w30, .e2pdf-dialog label.e2pdf-w30 {
30 26 width: 30%;
31 27 }
32 28
29 +.e2pdf-w33, .e2pdf-dialog label.e2pdf-w33 {
30 + width: 33%;
31 +}
32 +
33 33 .e2pdf-w35 {
34 34 width: 35%;
35 35 }
36 36
@@ -49,16 +49,36 @@
49 49 .e2pdf-w70, .e2pdf-dialog label.e2pdf-w70 {
50 50 width: 70%;
51 51 }
52 52
53 +.e2pdf-w75 {
54 + width: 75%;
55 +}
56 +
53 57 .e2pdf-w80 {
54 58 width: 80%;
55 59 }
56 60
57 -.e2pdf-w100 {
61 +.e2pdf-w100,
62 +.wp-admin select.e2pdf-w100 {
58 63 width: 100%;
64 + max-width: 100%;
59 65 }
60 66
67 +.e2pdf-wauto,
68 +.e2pdf-dialog label.e2pdf-wauto {
69 + width: auto;
70 +}
71 +
72 +.e2pdf-h200 {
73 + height: 200px;
74 +}
75 +
76 +.e2pdf-plr5 {
77 + padding-left: 5px;
78 + padding-right: 5px;
79 +}
80 +
61 81 .e2pdf-pr5 {
62 82 padding-right: 5px;
63 83 }
64 84
@@ -69,9 +89,8 @@
69 89 .e2pdf-pr20 {
70 90 padding-right: 20px;
71 91 }
72 92
73 -
74 93 .e2pdf-pl5 {
75 94 padding-left: 5px;
76 95 }
77 96
@@ -204,8 +223,9 @@
204 223 }
205 224
206 225 .widefat.e2pdf-templates-list .column-shortcode {
207 226 width: 11em;
227 + overflow: visible;
208 228 }
209 229
210 230 .widefat.e2pdf-templates-list .column-updated
211 231 {
@@ -221,16 +241,8 @@
221 241 font-size: 10px;
222 242 text-align: center;
223 243 }
224 244
225 -.e2pdf-notice {
226 - word-break: break-all;
227 -}
228 -
229 -div.error.e2pdf-notice, div.updated.e2pdf-notice {
230 - padding: 10px;
231 -}
232 -
233 245 .e2pdf-tabs-panel li a,
234 246 .e2pdf-tabs-panel li a:link,
235 247 .e2pdf-tabs-panel li a:focus {
236 248 box-shadow: none;
@@ -235,15 +247,8 @@
235 247 .e2pdf-tabs-panel li a:focus {
236 248 box-shadow: none;
237 249 }
238 250
239 -.e2pdf-tabs-panel li.active {
240 - border: 1px solid #ddd;
241 - border-bottom-color: #fdfdfd;
242 - background-color: #fdfdfd;
243 - z-index: 2;
244 -}
245 -
246 251 .e2pdf-options-panel {
247 252 margin-bottom: 10px;
248 253 }
249 254
@@ -252,19 +257,30 @@
252 257 }
253 258
254 259 .e2pdf-options-panel select, .e2pdf-options-panel input[type='text'] {
255 260 width: 100%;
256 - height: 28px;
261 + height: 30px;
257 262 }
258 263
264 +.e2pdf-build-pdf-elements-list {
265 + display: grid;
266 + grid-template-columns: 1fr 1fr;
267 + gap: 10px;
268 + margin: 0;
269 + padding: 0;
270 + list-style: none;
271 +}
272 +
273 +.e2pdf-build-panel {
274 + margin: 15px 0px;
275 +}
276 +
259 277 .e2pdf-build-pdf-elements-list li {
260 - width: 50%;
261 - display: inline-block;
262 - padding: 0 5px;
263 - -webkit-box-sizing: border-box;
264 - -moz-box-sizing: border-box;
278 + width: auto;
279 + padding: 0;
265 280 box-sizing: border-box;
266 281 position: relative;
282 + margin-bottom: 0;
267 283 }
268 284
269 285 a.e2pdf-be {
270 286 display: inline-block;
@@ -270,28 +286,23 @@
270 286 display: inline-block;
271 287 text-align: center;
272 288 width: 100%;
273 289 font-size: 10px;
274 - margin-bottom: 5px;
275 - padding: 0 11px;
290 + margin-bottom: 0px;
291 + padding: 0 10px 1px;
276 292 background: #fafafa;
277 293 color: #23282d;
278 - -webkit-box-shadow: 0 1px 0 #ddd;
279 294 box-shadow: 0 1px 0 #ddd;
280 295 text-decoration: none;
281 - line-height: 26px;
282 - height: 28px;
283 - padding: 0 10px 1px;
296 + line-height: 28px;
297 + height: 30px;
284 298 cursor: pointer;
285 299 border: 1px solid #ddd;
286 - -webkit-appearance: none;
287 - -webkit-border-radius: 3px;
288 - border-radius: 3px;
300 + border-radius: 20px;
289 301 white-space: nowrap;
290 302 -webkit-box-sizing: border-box;
291 303 -moz-box-sizing: border-box;
292 304 box-sizing: border-box;
293 - max-width: 117px;
294 305 }
295 306
296 307 a.e2pdf-be:hover {
297 308 background: #eee;
@@ -310,9 +321,8 @@
310 321 padding: 0;
311 322 }
312 323
313 324 .e2pdf-page {
314 - background: #fff;
315 325 display: block;
316 326 border: 1px solid #e5e5e5;
317 327 -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
318 328 box-shadow: 0 1px 1px rgba(0,0,0,.04);
@@ -324,17 +334,19 @@
324 334 background-size: cover;
325 335 -webkit-box-shadow: 0px 0px 8px 1px rgba(221,221,221,1);
326 336 -moz-box-shadow: 0px 0px 8px 1px rgba(221,221,221,1);
327 337 box-shadow: 0px 0px 8px 1px rgba(221,221,221,1);
338 + z-index: 0;
328 339 }
329 340
330 341 .e2pdf-build-top-panel, .e2pdf-build-bottom-panel {
331 342 background: #fff;
332 - border: 1px solid #e5e5e5;
343 + border: 1px solid #7e8993;
333 344 -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
334 345 box-shadow: 0 1px 1px rgba(0,0,0,.04);
335 346 padding: 0px;
336 347 margin-top: 10px;
348 + border-radius: 4px;
337 349 }
338 350
339 351 .e2pdf-float-left {
340 352 float: left;
@@ -355,9 +367,15 @@
355 367 margin: 0;
356 368 vertical-align: middle;
357 369 }
358 370
359 -.e2pdf-html .content {
371 +.e2pdf-panel-options .e2pdf-wysiwyg-fontsize,
372 +.e2pdf-panel-options .e2pdf-wysiwyg-font {
373 + width: 60px;
374 +}
375 +
376 +.e2pdf-html .content,
377 +.e2pdf-page-number .content {
360 378 position: absolute;
361 379 width: 100%;
362 380 height: 100%;
363 381 display: block;
@@ -373,42 +391,79 @@
373 391 .e2pdf-input {
374 392 width: 100%;
375 393 }
376 394
377 -.e2pdf-image {
395 +.e2pdf-image, .e2pdf-qrcode, .e2pdf-barcode, .e2pdf-graph, .e2pdf-signature {
396 + display: inline-block;
378 397 width: 100%;
379 398 height: 100%;
399 + vertical-align: top;
380 400 }
381 401
402 +.e2pdf-aspect-ratio {
403 + outline: 1px dotted #ddd;
404 + outline-offset: -1px;
405 +}
406 +
407 +.e2pdf-aspect-ratio .e2pdf-image, .e2pdf-aspect-ratio .e2pdf-signature {
408 + width: auto;
409 + max-width: 100%;
410 + max-height: 100%;
411 + object-fit: contain;
412 +}
413 +
414 +.e2pdf-aspect-ratio.e2pdf-valign-top .e2pdf-image, .e2pdf-aspect-ratio.e2pdf-valign-top .e2pdf-signature {
415 + object-position: top;
416 +}
417 +
418 +.e2pdf-aspect-ratio.e2pdf-valign-middle .e2pdf-image, .e2pdf-aspect-ratio.e2pdf-valign-middle .e2pdf-signature {
419 + object-position: center;
420 +}
421 +
422 +.e2pdf-aspect-ratio.e2pdf-valign-bottom .e2pdf-image, .e2pdf-aspect-ratio.e2pdf-valign-bottom .e2pdf-signature {
423 + object-position: bottom;
424 +}
382 425 .e2pdf-context {
383 426 font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
384 427 font-size: 13px;
385 - width: 120px;
428 + width: 140px;
386 429 position: absolute;
387 - border-left: 1px solid #e5e5e5;
388 - border-top: 1px solid #e5e5e5;
389 - border-right: 1px solid #e5e5e5;
390 - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
391 - box-shadow: 0 1px 1px rgba(0,0,0,.04);
430 + border: 1px solid #e5e5e5;
431 + border-radius: 8px;
432 + -webkit-box-shadow: 0 4px 12px rgba(0,0,0,.12);
433 + box-shadow: 0 4px 12px rgba(0,0,0,.12);
392 434 background: #fff;
393 - z-index: 99;
435 + z-index: 20000;
394 436 }
395 437
396 438 .e2pdf-context-menu {
397 439 padding: 0;
398 440 margin: 0;
441 + list-style: none;
399 442 }
400 443
401 444 .e2pdf-context-menu li {
445 + position: relative;
402 446 padding: 0;
403 447 margin: 0;
404 448 line-height: 0;
405 449 }
406 450
451 +.e2pdf-context-menu > li:first-child > a {
452 + border-radius: 8px 8px 0 0;
453 +}
454 +
455 +.e2pdf-context-menu > li:last-child > a {
456 + border-radius: 0 0 8px 8px;
457 + border-bottom: none;
458 +}
459 +
407 460 .e2pdf-context-menu a {
461 + color: #0073aa;
462 + color: var(--wp-admin-theme-color);
408 463 text-decoration: none;
409 464 border-bottom: 1px solid #e5e5e5;
410 - padding: 5px;
465 + padding: 8px 10px;
411 466 display: inline-block;
412 467 width: 100%;
413 468 line-height: 16px;
414 469 -webkit-box-sizing: border-box;
@@ -413,10 +468,69 @@
413 468 line-height: 16px;
414 469 -webkit-box-sizing: border-box;
415 470 -moz-box-sizing: border-box;
416 471 box-sizing: border-box;
472 + text-align: left;
473 + cursor: pointer;
417 474 }
418 475
476 +.e2pdf-context-menu a:hover {
477 + background: #f0f0f0;
478 +}
479 +
480 +.e2pdf-context-menu a:active {
481 + background: #e0eaf5;
482 +}
483 +
484 +.e2pdf-inner-context-arrow::before {
485 + content: "►";
486 +}
487 +
488 +.e2pdf-inner-context-arrow {
489 + float: right;
490 +}
491 +
492 +/* Submenu — no display set here, JS owns that via inline style */
493 +.e2pdf-sub-context-menu {
494 + display: none;
495 + border: 1px solid #e5e5e5;
496 + border-radius: 6px;
497 + position: absolute;
498 + left: 141px;
499 + top: -1px;
500 + width: 140px;
501 + background: #fff;
502 + -webkit-box-shadow: 0 4px 12px rgba(0,0,0,.12);
503 + box-shadow: 0 4px 12px rgba(0,0,0,.12);
504 + list-style: none;
505 + padding: 0;
506 + margin: 0;
507 + z-index: 20001;
508 +}
509 +
510 +.e2pdf-sub-context-menu > li:first-child > a {
511 + border-radius: 8px 8px 0 0;
512 +}
513 +
514 +.e2pdf-sub-context-menu > li:last-child > a {
515 + border-radius: 0 0 8px 8px;
516 + border-bottom: none;
517 +}
518 +
519 +.e2pdf-context-menu.e2pdf-context-right .e2pdf-inner-context-arrow::before {
520 + content: "◄";
521 +}
522 +
523 +.e2pdf-context-menu.e2pdf-context-right .e2pdf-inner-context-arrow {
524 + float: left;
525 +}
526 +
527 +.e2pdf-context-menu.e2pdf-context-right .e2pdf-sub-context-menu {
528 + border-right: 1px solid #e5e5e5;
529 + border-left: 1px solid #e5e5e5;
530 + left: -141px;
531 +}
532 +
419 533 .e2pdf-fade {
420 534 opacity: 0.7;
421 535 filter: alpha(opacity=0.7);
422 536 zoom: 1;
@@ -452,14 +566,15 @@
452 566 display: block;
453 567 width: 100%;
454 568 max-width: 900px;
455 569 background: #fff;
456 - padding: 2px 6px;
457 570 line-height: 1.4;
458 571 border: 1px solid #e5e5e5;
459 572 -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
460 573 box-shadow: 0 1px 1px rgba(0,0,0,.04);
461 - padding: 20px;
574 + padding: 24px !important;
575 + border-radius: 20px;
576 + margin-bottom: 0;
462 577 -webkit-box-sizing: border-box;
463 578 -moz-box-sizing: border-box;
464 579 box-sizing: border-box;
465 580 }
@@ -485,18 +600,16 @@
485 600 .e2pdf-value {
486 601 width: 70%;
487 602 }
488 603
489 -
490 604 .e2pdf-bold {
491 605 font-weight: 600;
492 606 }
493 607
494 -.e2pdf-load-el {
608 +.e2pdf-load-el, .e2pdf-load-tpl {
495 609 display: none;
496 610 }
497 611
498 -
499 612 .page-title-action.e2pdf-simple-button, .page-title-action.e2pdf-simple-button:focus {
500 613 top: 0;
501 614 margin: 0;
502 615 }
@@ -501,21 +614,85 @@
501 614 margin: 0;
502 615 }
503 616
504 617 .e2pdf-dialog {
618 + position: fixed !important;
619 + z-index: 999999 !important;
505 620 border: 1px solid #e5e5e5;
506 - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
507 - box-shadow: 0 1px 1px rgba(0,0,0,.04);
508 - z-index: 1;
621 + -webkit-box-shadow: 0 4px 12px rgba(0,0,0,.12);
622 + box-shadow: 0 4px 12px rgba(0,0,0,.12);
509 623 }
510 624
625 +.e2pdf-dialog .ui-dialog-content {
626 + width: 100% !important;
627 + height: 100% !important;
628 + padding: 20px !important;
629 + -webkit-box-sizing: border-box;
630 + -moz-box-sizing: border-box;
631 + box-sizing: border-box;
632 +}
633 +
634 +.e2pdf-dialog.ui-corner-all {
635 + border: 0 !important;
636 + border-radius: 20px !important;
637 + padding: 0 !important;
638 +}
639 +
511 640 .e2pdf-dialog .ui-widget-header {
512 - border-radius: 0;
513 - background: #008ec2;
641 + border-radius: 0 !important;
642 + border-top-left-radius: 20px !important;
643 + border-top-right-radius: 20px !important;
644 + background: #0073aa !important;
645 + background: var(--wp-admin-theme-color) !important;
646 + color: #fff !important;
647 + border: none !important;
648 + padding: 10px 20px !important;
649 + -webkit-box-sizing: content-box;
650 + -moz-box-sizing: content-box;
651 + box-sizing: content-box;
652 +}
653 +
654 +.e2pdf-dialog .ui-dialog-title {
655 + font-size: 14px;
656 + line-height: 36px;
657 + margin: 0 !important;
658 +}
659 +
660 +.e2pdf-dialog .ui-icon-closethick {
661 + display: none;
662 +}
663 +
664 +.e2pdf-dialog .ui-button.ui-dialog-titlebar-close,
665 +.e2pdf-dialog .ui-button.ui-dialog-titlebar-close:hover,
666 +.e2pdf-dialog .ui-button.ui-dialog-titlebar-close:link,
667 +.e2pdf-dialog .ui-button.ui-dialog-titlebar-close:active,
668 +.e2pdf-dialog .ui-button.ui-dialog-titlebar-close:focus
669 +{
670 + font-size: 20px !important;
671 + line-height: 20px !important;
672 + background: none;
673 + padding: 0;
674 + border: 0;
675 + text-indent: 0;
676 + width: 20px;
677 + height: 20px;
514 678 color: #fff;
515 - border: none;
679 + outline: none;
680 + box-shadow: none;
681 + margin-right: 20px;
682 + right: 0;
516 683 }
517 684
685 +.e2pdf-dialog .ui-dialog-titlebar-close:before {
686 + font: normal 20px/1 dashicons;
687 + font-size: 20px;
688 + line-height: 20px;
689 + width: 20px;
690 + height: 20px;
691 + vertical-align: top;
692 + content: "\f158";
693 +}
694 +
518 695 .e2pdf-form-editor-container {
519 696 z-index: 1;
520 697 }
521 698
@@ -524,10 +701,10 @@
524 701 }
525 702
526 703 .e2pdf-tpl-wrapper {
527 704 position: relative;
705 + height: 1126px;
528 706 width: 100%;
529 - height: 950px;
530 707 display: block;
531 708 z-index: 0;
532 709 overflow: hidden;
533 710 }
@@ -536,8 +713,9 @@
536 713 position: absolute;
537 714 width: 100%;
538 715 height: 100%;
539 716 overflow: auto;
717 + overscroll-behavior: contain;
540 718 -webkit-box-sizing: border-box;
541 719 -moz-box-sizing: border-box;
542 720 box-sizing: border-box;
543 721 padding-bottom: 10px;
@@ -543,9 +721,10 @@
543 721 padding-bottom: 10px;
544 722 }
545 723
546 724
547 -.e2pdf-html a {
725 +.e2pdf-html a,
726 +.e2pdf-page-number a {
548 727 color: inherit;
549 728 text-decoration: inherit;
550 729 border: 1px dashed #ddd;
551 730 -webkit-box-sizing: border-box;
@@ -552,9 +731,10 @@
552 731 -moz-box-sizing: border-box;
553 732 box-sizing: border-box;
554 733 }
555 734
556 -.e2pdf-html p {
735 +.e2pdf-html p,
736 +.e2pdf-page-number p {
557 737 padding: inherit;
558 738 margin: inherit;
559 739 font-size: inherit;
560 740 line-height: inherit;
@@ -559,9 +739,10 @@
559 739 font-size: inherit;
560 740 line-height: inherit;
561 741 }
562 742
563 -.e2pdf-html h1 {
743 +.e2pdf-html h1,
744 +.e2pdf-page-number h1 {
564 745 font-size: 30px;
565 746 line-height: 40px;
566 747 padding:0;
567 748 font-weight: bold;
@@ -567,9 +748,16 @@
567 748 font-weight: bold;
568 749 color: inherit;
569 750 }
570 751
571 -#poststuff .e2pdf-html h2 {
752 +.e2pdf-html h1, .e2pdf-html h2, .e2pdf-html h3, .e2pdf-html h4, .e2pdf-html h5, .e2pdf-html h6,
753 +.e2pdf-page-number h1, .e2pdf-page-number h2, .e2pdf-page-number h3, .e2pdf-page-number h4, .e2pdf-page-number h5, .e2pdf-page-number h6
754 +{
755 + display: block !important;
756 +}
757 +
758 +#poststuff .e2pdf-html h2,
759 +#poststuff .e2pdf-page-number h2 {
572 760 font-size: 20px;
573 761 line-height: 30px;
574 762 padding:0;
575 763 font-weight: bold;
@@ -575,9 +763,10 @@
575 763 font-weight: bold;
576 764 color: inherit;
577 765 }
578 766
579 -.e2pdf-html ul {
767 +.e2pdf-html ul,
768 +.e2pdf-page-number ul{
580 769 list-style-type: none;
581 770 margin: 0;
582 771 padding: 0;
583 772 display: block;
@@ -584,25 +773,30 @@
584 773 padding-left: 0.4em;
585 774
586 775 }
587 776
588 -.e2pdf-html ol {
777 +.e2pdf-html ol,
778 +.e2pdf-page-number ol {
589 779 list-style-position: inside;
590 780 margin: 0;
591 781 padding: 0;
592 782 }
593 783
594 -.e2pdf-html ul li, .e2pdf-html ol li {
595 - margin: 0;
784 +.e2pdf-html ul li, .e2pdf-html ol li,
785 +.e2pdf-page-number ul li, .e2pdf-page-number ol li
786 +{
787 + margin: 0;
596 788 }
597 789
598 -.e2pdf-html ul li {
790 +.e2pdf-html ul li,
791 +.e2pdf-page-number ul li {
599 792 list-style-type: none;
600 793 position: relative;
601 794 }
602 795
603 -.e2pdf-html ul li:before {
604 - content:"\2219";
796 +.e2pdf-html ul li:before,
797 +.e2pdf-page-number ul li:before {
798 + content:"\2219";
605 799 font-size: 2.8em;
606 800 line-height: inherit;
607 801 position: absolute;
608 802 top: -.02em;
@@ -626,11 +820,12 @@
626 820
627 821 .page-options-icons {
628 822 position: absolute;
629 823 right: 0;
630 - top: -28px;
824 + top: -30px;
631 825 display: block;
632 826 line-height: 14px;
827 + font-size: 14px;
633 828 }
634 829
635 830 .page-options-icon {
636 831 display: inline-block;
@@ -643,14 +838,12 @@
643 838 font-weight: bold;
644 839 font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
645 840 }
646 841
647 -.e2pdf-welcome li,
648 -.e2pdf-page-options li
842 +.e2pdf-welcome li
649 843 {
650 844 display: inline-block;
651 - width: 33.3%;
652 - padding: 0 10px;
845 + width: 33.33%;
653 846 vertical-align: top;
654 847 -webkit-box-sizing: border-box;
655 848 -moz-box-sizing: border-box;
656 849 box-sizing: border-box;
@@ -655,13 +848,21 @@
655 848 -moz-box-sizing: border-box;
656 849 box-sizing: border-box;
657 850 }
658 851
659 -.e2pdf-welcome li a.button-primary,
852 +.e2pdf-welcome li:first-child {
853 + padding-right: 10px;
854 +}
855 +
856 +.e2pdf-welcome li:last-child {
857 + padding-left: 10px;
858 +}
859 +
860 +.e2pdf-welcome li a.button-primary,
660 861 .e2pdf-welcome li a.button-primary:focus,
661 862 .e2pdf-welcome li a.button-primary:link,
662 863 .e2pdf-welcome li a.button-primary:active,
663 -.e2pdf-page-options li a.button-primary,
864 +.e2pdf-page-options li a.button-primary,
664 865 .e2pdf-page-options li a.button-primary:focus,
665 866 .e2pdf-page-options li a.button-primary:link,
666 867 .e2pdf-page-options li a.button-primary:active
667 868 {
@@ -671,17 +872,24 @@
671 872 padding: 0;
672 873 margin: 0;
673 874 line-height: 50px;
674 875 vertical-align: middle;
675 -
676 876 }
677 877
678 -.e2pdf-html {
679 - outline: 1px dashed #ddd;
878 +.e2pdf-html,
879 +.e2pdf-page-number,
880 +.e2pdf-qrcode,
881 +.e2pdf-image,
882 +.e2pdf-barcode,
883 +.e2pdf-graph,
884 +.e2pdf-signature
885 +{
886 + outline: 1px dotted #ddd;
680 887 outline-offset: -1px;
681 888 }
682 889
683 -.e2pdf-hide-markup .e2pdf-html {
890 +.e2pdf-hide-markup .e2pdf-html,
891 +.e2pdf-hide-markup .e2pdf-page-number {
684 892 outline: none;
685 893 }
686 894
687 895 .e2pdf-el-wrapper .e2pdf-link {
@@ -694,67 +902,39 @@
694 902 box-sizing: border-box;
695 903 border: 1px dashed #5fbfe2;
696 904 }
697 905
698 -.e2pdf-el-wrapper .e2pdf-signature:before {
699 - position: absolute;
700 - content: "Signature";
701 - left: 0;
702 - top: 0;
703 - font-size: 8px;
704 - font-family: "Noto Sans";
705 - color: #fff;
706 - line-height: 8px;
707 - background: #23282d;
708 - padding: 2px;
709 - max-width: 100%;
710 - max-height: 100%;
906 +.wp-core-ui .button.button-small.ed_button {
907 + margin: 0;
908 + padding: 6px;
711 909 -webkit-box-sizing: border-box;
712 910 -moz-box-sizing: border-box;
713 911 box-sizing: border-box;
714 -
912 + box-shadow: none;
715 913 }
716 914
717 -.e2pdf-el-wrapper .e2pdf-signature {
718 - width: 100%;
719 - height: 100%;
720 - overflow: hidden;
721 - min-height: 2px;
722 - -webkit-box-sizing: border-box;
723 - -moz-box-sizing: border-box;
724 - box-sizing: border-box;
725 - border: 1px dashed #23282d;
726 - overflow: hidden;
915 +.ed_button {
916 + font-size: 15px;
727 917 }
728 918
729 -.wp-core-ui .button.button-small.ed_button {
730 - margin: 0;
731 - padding: 0 10px;
732 - height: 24px;
733 - line-height: 24px;
919 +.wp-core-ui .button-group.button-small .button, .wp-core-ui .button.button-small {
920 + line-height: none;
734 921 }
735 922
736 -.ed_button {
737 - font-size: 15px;
738 -}
739 923
740 -
741 924 .wp-core-ui .button.button-small.ed_button i {
742 - line-height: 18px;
743 - height: 18px;
744 - display: inline-block;
925 + display: inline;
745 926 vertical-align: middle;
746 927 font-size: 18px;
747 928 }
748 929
749 -.wp-core-ui .button.button-small.ed_button .dashicons-editor-strikethrough {
750 - font-size: 24px;
751 -}
752 930
753 931 .wp-core-ui .e2pdf-panel-options li .button.button-small.ed_button {
932 + display: inline-block;
754 933 border: 0px;
755 - border-radius: 0;
756 934 border-right: 1px solid #ddd;
935 + border-bottom: 1px solid #ddd;
936 + font-size: 10px;
757 937 }
758 938
759 939 .e2pdf-tpl .ui-resizable {
760 940 max-width: 100%;
@@ -760,11 +940,15 @@
760 940 max-width: 100%;
761 941 max-height: 100%;
762 942 }
763 943
764 -.e2pdf-el-wrapper input, .e2pdf-el-wrapper select, .e2pdf-el-wrapper textarea, .wp-admin .e2pdf-el-wrapper select[multiple] {
944 +.e2pdf-el-wrapper input,
945 +.e2pdf-el-wrapper select,
946 +.wp-admin .e2pdf-el-wrapper select[multiple],
947 +.e2pdf-el-wrapper textarea {
765 948 width: 100%;
766 949 height: 100%;
950 + max-width: 100%;
767 951 resize: none;
768 952 margin: 0;
769 953 padding: 0;
770 954 vertical-align: top;
@@ -770,8 +954,9 @@
770 954 vertical-align: top;
771 955 background: none;
772 956 box-shadow: none;
773 957 border: 1px dashed #ddd;
958 + border-radius: 0;
774 959 -webkit-box-sizing: border-box;
775 960 -moz-box-sizing: border-box;
776 961 box-sizing: border-box;
777 962 font-size: inherit;
@@ -779,8 +964,47 @@
779 964 min-width: 0;
780 965 min-height: 0;
781 966 }
782 967
968 +.e2pdf-el-wrapper input:focus,
969 +.e2pdf-el-wrapper select:focus,
970 +.e2pdf-el-wrapper textarea:focus,
971 +.e2pdf-el-wrapper .e2pdf-html:focus,
972 +.e2pdf-el-wrapper .e2pdf-page-number:focus,
973 +.wp-admin .e2pdf-el-wrapper select[multiple]:focus,
974 +.e2pdf-el-wrapper.e2pdf-selected,
975 +.e2pdf-el-wrapper.e2pdf-focused
976 +{
977 + background-color: rgba(0,115,170,0.1) !important;
978 + outline:none;
979 + -moz-outline-style: none;
980 + -webkit-box-shadow: none;
981 +}
982 +
983 +.e2pdf-el-wrapper.e2pdf-focused {
984 + z-index: 10000 !important;
985 +}
986 +
987 +.e2pdf-el-wrapper.e2pdf-focused .e2pdf-html,
988 +.e2pdf-el-wrapper.e2pdf-focused .e2pdf-page-number,
989 +.e2pdf-el-wrapper.e2pdf-focused .e2pdf-textarea
990 +{
991 + overflow-y: auto;
992 + overscroll-behavior: contain;
993 +}
994 +
995 +.e2pdf-el-wrapper select {
996 + -webkit-appearance: menulist;
997 +}
998 +
999 +.e2pdf-el-wrapper input[type=radio] {
1000 + border-radius: 50%;
1001 +}
1002 +
1003 +.wp-admin .e2pdf-el-wrapper select[multiple] {
1004 + -webkit-appearance: none;
1005 +}
1006 +
783 1007 .e2pdf-hide-markup .e2pdf-tpl .e2pdf-drag,
784 1008 .e2pdf-hide-markup .e2pdf-tpl .ui-resizable-se,
785 1009 .e2pdf-hidden-loader
786 1010 {
@@ -786,9 +1010,11 @@
786 1010 {
787 1011 display: none !important;
788 1012 }
789 1013
790 -.e2pdf-el-wrapper .e2pdf-html {
1014 +.e2pdf-el-wrapper .e2pdf-html,
1015 +.e2pdf-el-wrapper .e2pdf-page-number
1016 +{
791 1017 width: 100%;
792 1018 height: 100%;
793 1019 overflow: hidden;
794 1020 min-height: 2px;
@@ -796,8 +1022,56 @@
796 1022 -moz-box-sizing: border-box;
797 1023 box-sizing: border-box;
798 1024 }
799 1025
1026 +.e2pdf-el-wrapper textarea.e2pdf-html,
1027 +.e2pdf-el-wrapper textarea.e2pdf-page-number {
1028 + overflow: auto;
1029 + overscroll-behavior: contain;
1030 +}
1031 +
1032 +.e2pdf-el-wrapper .e2pdf-html table:not([width]),
1033 +.e2pdf-el-wrapper .e2pdf-page-number table:not([width])
1034 +{
1035 + width: 100%;
1036 +}
1037 +
1038 +.e2pdf-el-wrapper .e2pdf-html table,
1039 +.e2pdf-el-wrapper .e2pdf-page-number table,
1040 +.e2pdf-el-wrapper .e2pdf-html img
1041 +{
1042 + max-width: 100%;
1043 +}
1044 +
1045 +.e2pdf-el-wrapper .e2pdf-html img {
1046 + max-height: fit-content;
1047 +}
1048 +
1049 +.e2pdf-el-wrapper figure {
1050 + margin: 0;
1051 +}
1052 +
1053 +.e2pdf-el-wrapper .e2pdf-html table,
1054 +.e2pdf-el-wrapper .e2pdf-page-number table
1055 +{
1056 + table-layout: fixed;
1057 +}
1058 +
1059 +.e2pdf-el-wrapper .e2pdf-html table td,
1060 +.e2pdf-el-wrapper .e2pdf-page-number table td
1061 +{
1062 + outline: 1px dotted #ddd;
1063 + outline-offset: -1px;
1064 +}
1065 +
1066 +
1067 +
1068 +.e2pdf-el-wrapper .e2pdf-html hr {
1069 + border-bottom: 0;
1070 + border-color: #000;
1071 + max-width: 100%;
1072 +}
1073 +
800 1074 .e2pdf-el-wrapper {
801 1075 z-index: 0;
802 1076 -webkit-box-sizing: border-box;
803 1077 -moz-box-sizing: border-box;
@@ -804,41 +1078,77 @@
804 1078 box-sizing: border-box;
805 1079 }
806 1080
807 1081 .e2pdf-element .ui-resizable-se {
808 - right: 0px;
809 - bottom: -17px;
810 - border: 1px dashed #ddd;
811 - border-top: none;
812 - color: #000;
813 - background-color: #fff;
1082 + right: -5px;
1083 + bottom: -5px;
1084 + background-image: none;
814 1085 }
815 1086
816 -.e2pdf-drag {
817 - font-size: 12px;
818 - width: 16px;
819 - height: 16px;
820 - line-height: 16px;
821 - position: absolute;
822 - right: 16px;
823 - bottom: -17px;
824 - color: #000;
825 - border: 1px dashed #ddd;
826 - border-right: none;
827 - border-top: none;
828 - background: #fff;
1087 +.e2pdf-element .ui-resizable-n,
1088 +.e2pdf-element .ui-resizable-e,
1089 +.e2pdf-element .ui-resizable-s,
1090 +.e2pdf-element .ui-resizable-w,
1091 +.e2pdf-element .ui-resizable-ne,
1092 +.e2pdf-element .ui-resizable-se,
1093 +.e2pdf-element .ui-resizable-sw,
1094 +.e2pdf-element .ui-resizable-nw {
1095 + display: none !important;
1096 +}
1097 +
1098 +.e2pdf-element.e2pdf-focused .ui-resizable-n,
1099 +.e2pdf-element.e2pdf-focused .ui-resizable-e,
1100 +.e2pdf-element.e2pdf-focused .ui-resizable-s,
1101 +.e2pdf-element.e2pdf-focused .ui-resizable-w,
1102 +.e2pdf-element.e2pdf-focused .ui-resizable-ne,
1103 +.e2pdf-element.e2pdf-focused .ui-resizable-se,
1104 +.e2pdf-element.e2pdf-focused .ui-resizable-sw,
1105 +.e2pdf-element.e2pdf-focused .ui-resizable-nw {
1106 + display: block !important;
1107 +}
1108 +
1109 +.e2pdf-element .ui-resizable-ne,
1110 +.e2pdf-element .ui-resizable-se,
1111 +.e2pdf-element .ui-resizable-sw,
1112 +.e2pdf-element .ui-resizable-nw {
1113 + width: 8px;
1114 + height: 8px;
829 1115 -webkit-box-sizing: border-box;
830 1116 -moz-box-sizing: border-box;
831 1117 box-sizing: border-box;
832 1118 }
833 1119
1120 +.e2pdf-element.e2pdf-focused .ui-resizable-ne,
1121 +.e2pdf-element.e2pdf-focused .ui-resizable-se,
1122 +.e2pdf-element.e2pdf-focused .ui-resizable-sw,
1123 +.e2pdf-element.e2pdf-focused .ui-resizable-nw
1124 +{
1125 + background: #0073aa;
1126 + background: var(--wp-admin-theme-color);
1127 + border: 1px solid #fff;
1128 +}
1129 +
1130 +.e2pdf-drag {
1131 + width: 100%;
1132 + height: 100%;
1133 + position: absolute;
1134 + top: 0;
1135 + left: 0;
1136 +}
1137 +
834 1138 .e2pdf-drag:hover {
835 1139 cursor: pointer;
836 1140 }
837 1141
1142 +.e2pdf-focused .e2pdf-drag {
1143 + display: none;
1144 +}
1145 +
838 1146 .categorydiv.e2pdf-tabs-panel div.tabs-panel {
839 1147 max-height: none;
840 1148 overflow: visible;
1149 + border: 0 !important;
1150 + padding: 0px 5px !important;
841 1151 }
842 1152
843 1153 .e2pdf-el-wrapper .ui-icon {
844 1154 -webkit-box-sizing: border-box;
@@ -857,20 +1167,21 @@
857 1167
858 1168 .e2pdf-colorpicker-wr .wp-picker-container {
859 1169 display: inline-block;
860 1170 outline: 0;
1171 + width: 100%;
861 1172 }
862 1173
863 1174 .postbox-container .e2pdf-colorpicker-wr .wp-picker-container .iris-picker {
864 1175 position: absolute;
865 - top: -205px;
1176 + top: -185px;
866 1177 margin-right: 25px;
867 1178 right: 100%;
868 1179 }
869 1180
870 1181 .e2pdf-colorpicker-wr .wp-color-result, .e2pdf-colorpicker-wr .wp-picker-container .wp-color-result.button {
871 - height: 28px;
872 - line-height: 28px;
1182 + height: 40px;
1183 + line-height: 40px;
873 1184 margin: 0;
874 1185 border: none;
875 1186 border-radius: 0;
876 1187 box-shadow: none;
@@ -880,11 +1191,15 @@
880 1191 width: 100%;
881 1192 border: 1px solid #ddd;
882 1193 }
883 1194
1195 +.e2pdf-colorpicker-wr .wp-picker-container .wp-color-result.button {
1196 + min-height: 40px;
1197 +}
1198 +
884 1199 .e2pdf-colorpicker-wr .wp-color-result .wp-color-result-text {
885 - height: 26px;
886 - line-height: 26px;
1200 + height: 40px;
1201 + line-height: 40px;
887 1202 margin: 0;
888 1203 border: none;
889 1204 border-radius: 0;
890 1205 box-shadow: none;
@@ -891,19 +1206,23 @@
891 1206 -webkit-box-sizing: border-box;
892 1207 -moz-box-sizing: border-box;
893 1208 box-sizing: border-box;
894 1209 width: 100%;
1210 + border-bottom: 1px solid #ddd;
1211 + text-overflow: ellipsis;
1212 + overflow: hidden;
895 1213 }
896 1214
897 1215 .e2pdf-colorpicker-wr .wp-color-result.wp-picker-open, .e2pdf-colorpicker-wr .wp-picker-container .wp-color-result.button.wp-picker-open
898 1216 {
899 1217 width: 50%;
1218 + margin-right: 0 !important;
900 1219 }
901 1220
902 1221 .wp-core-ui .e2pdf-colorpicker-wr .button.button-small {
903 1222 padding: 0;
904 - height: 28px;
905 - line-height: 28px;
1223 + height: 30px;
1224 + line-height: 30px;
906 1225 margin: 0;
907 1226 -webkit-box-sizing: border-box;
908 1227 -moz-box-sizing: border-box;
909 1228 box-sizing: border-box;
@@ -915,14 +1234,15 @@
915 1234 }
916 1235
917 1236 .e2pdf-colorpicker-wr .wp-picker-container input[type=text].wp-color-picker {
918 1237 width: 60%;
919 - height: 28px;
920 - line-height: 28px;
1238 + height: 40px;
1239 + line-height: 40px;
921 1240 }
922 1241
923 1242 .e2pdf-colorpicker-wr .wp-picker-container .wp-picker-input-wrap label input[type=text].wp-color-picker {
924 1243 width: 100%;
1244 + border-radius: 0;
925 1245 }
926 1246
927 1247 .e2pdf-colorpicker-wr .wp-picker-container.wp-picker-active .e2pdf-color-picker {
928 1248 display: inline-block;
@@ -940,10 +1260,10 @@
940 1260 }
941 1261
942 1262 .e2pdf-colorpicker-wr .wp-core-ui .button.button-small {
943 1263 border-radius: 0;
944 - height: 28px;
945 - line-height: 28px;
1264 + height: 30px;
1265 + line-height: 30px;
946 1266 }
947 1267
948 1268 .e2pdf-colorpicker-wr .wp-picker-input-wrap {
949 1269 width: 50%;
@@ -949,9 +1269,9 @@
949 1269 width: 50%;
950 1270 }
951 1271
952 1272 .e2pdf-colorpicker-wr .wp-picker-input-wrap label {
953 - width: 60%;
1273 + width: 100%;
954 1274 }
955 1275
956 1276 .e2pdf-color-picker {
957 1277 display: none;
@@ -960,18 +1280,31 @@
960 1280 .e2pdf-hide {
961 1281 display: none;
962 1282 }
963 1283
1284 +.e2pdf-strong-label .e2pdf-label {
1285 + font-size: 12px;
1286 + font-weight: bold;
1287 +}
1288 +
964 1289 .e2pdf-hide-label .e2pdf-label {
965 1290 display: none;
966 1291 }
967 1292
1293 +.e2pdf-label {
1294 + vertical-align: middle;
1295 +}
1296 +
1297 +.e2pdf-mt-label {
1298 + margin-top: 18px;
1299 +}
1300 +
968 1301 .e2pdf-rel {
969 1302 position: relative;
970 1303 }
971 1304
972 -.e2pdf-el-properties .e2pdf-left > div,
973 -.e2pdf-el-properties .e2pdf-right > div,
1305 +.e2pdf-el-properties .e2pdf-left > div,
1306 +.e2pdf-el-properties .e2pdf-right > div,
974 1307 .e2pdf-el-properties .e2pdf-top > div,
975 1308 .e2pdf-el-properties .e2pdf-bottom > div {
976 1309 margin-bottom: 5px;
977 1310 margin-top: 10px;
@@ -977,11 +1310,14 @@
977 1310 margin-top: 10px;
978 1311 padding: 10px;
979 1312 background: #fafafa;
980 1313 border: 1px solid #eee;
981 - border-radius: 3px;
982 1314 }
983 1315
1316 +.e2pdf-el-properties textarea {
1317 + overscroll-behavior: contain;
1318 +}
1319 +
984 1320 .e2pdf-select-options {
985 1321 height: 75px;
986 1322 }
987 1323
@@ -1022,9 +1358,11 @@
1022 1358 display: block;
1023 1359 }
1024 1360
1025 1361 .e2pdf-loader, .e2pdf-form-loader .spinner {
1026 - background: url("../img/loader.gif") center center no-repeat;
1362 + background: url("../img/loader.svg") center center no-repeat;
1363 + width: 20px;
1364 + height: 20px;
1027 1365 margin: 0;
1028 1366 }
1029 1367
1030 1368 .e2pdf-el-wrapper.e2pdf-loader .e2pdf-image {
@@ -1032,21 +1370,29 @@
1032 1370 }
1033 1371
1034 1372 .e2pdf-form-loader {
1035 1373 position: absolute;
1036 - top: 0;
1037 - right: 20px;
1374 + top: 3px;
1375 + right: 24px;
1038 1376 }
1039 1377
1378 +.e2pdf-welcome .e2pdf-form-loader,
1379 +.e2pdf-tpl-options .e2pdf-form-loader,
1380 +.e2pdf-license-key .e2pdf-form-loader {
1381 + top: 0px;
1382 + right: 0px;
1383 +}
1384 +
1385 +.visual-mapper .e2pdf-form-loader {
1386 + right: 50%;
1387 + margin-right: -10px;
1388 + margin-top: 5px;
1389 +}
1390 +
1040 1391 .e2pdf-border {
1041 1392 border: 1px dashed #ddd;
1042 1393 }
1043 1394
1044 -.e2pdf-export-form .e2pdf-ib {
1045 - line-height: 28px;
1046 - vertical-align: middle;
1047 -}
1048 -
1049 1395 .e2pdf-export-form .e2pdf-grid {
1050 1396 margin-bottom: 10px;
1051 1397 }
1052 1398
@@ -1065,12 +1411,16 @@
1065 1411 .e2pdf-align-left {
1066 1412 text-align: left;
1067 1413 }
1068 1414
1069 -a.e2pdf-link,
1070 -a.e2pdf-link:focus,
1071 -a.e2pdf-link:link,
1072 -a.e2pdf-link:visited,
1415 +.e2pdf-align-center {
1416 + text-align: center;
1417 +}
1418 +
1419 +a.e2pdf-link,
1420 +a.e2pdf-link:focus,
1421 +a.e2pdf-link:link,
1422 +a.e2pdf-link:visited,
1073 1423 a.e2pdf-link:hover {
1074 1424 text-decoration: none;
1075 1425 vertical-align: middle;
1076 1426 outline:none;
@@ -1082,8 +1432,13 @@
1082 1432 position: absolute;
1083 1433 z-index: 102 !important;
1084 1434 }
1085 1435
1436 +.e2pdf-inline-radio > div {
1437 + display: inline-block;
1438 + padding: 0 4px;
1439 +}
1440 +
1086 1441 ul.e2pdf-inline-links {
1087 1442 margin: 0;
1088 1443 }
1089 1444
@@ -1118,14 +1473,8 @@
1118 1473 box-shadow: none;
1119 1474 border-color: #ddd;
1120 1475 }
1121 1476
1122 -.e2pdf-submitbox .e2pdf-link,
1123 -.e2pdf-submitbox .e2pdf-link i {
1124 - line-height: 28px;
1125 - height: 28px;
1126 -}
1127 -
1128 1477 a.e2pdf-color-orange, .e2pdf-color-orange, .e2pdf-license-status .pre_expired {
1129 1478 color: #ffbf00;
1130 1479 border-bottom: 1px dotted #ffbf00;
1131 1480 }
@@ -1140,9 +1489,9 @@
1140 1489 border-bottom: 1px dotted #093;
1141 1490 }
1142 1491
1143 1492 .e2pdf-templates-list-tablenav .alignright.actions {
1144 - padding: 0;
1493 + padding: 0;
1145 1494 }
1146 1495
1147 1496 .e2pdf-templates-list-tablenav .alignright.actions a.button {
1148 1497 margin: 3px 0 0 0;
@@ -1151,36 +1500,59 @@
1151 1500 .e2pdf-debug-panel {
1152 1501 clear: both;
1153 1502 width: 100%;
1154 1503 text-align: left;
1155 - font-size: 10px;
1156 - padding: 10px;
1504 + font-size: 9px;
1505 + padding: 5px;
1157 1506 -webkit-box-sizing: border-box;
1158 1507 -moz-box-sizing: border-box;
1159 1508 box-sizing: border-box;
1160 - margin-top: 10px;
1161 1509 }
1162 1510
1511 +.e2pdf-fonts-list {
1512 + padding-top: 20px;
1513 +}
1514 +
1515 +.e2pdf-fonts-list li {
1516 + padding-bottom: 3px;
1517 + border-bottom: 1px solid #eee;
1518 +}
1519 +
1520 +.e2pdf-fonts-upload .e2pdf-name {
1521 + width: 40%;
1522 +}
1523 +
1524 +.e2pdf-fonts-upload .e2pdf-value {
1525 + width: 60%;
1526 +}
1527 +
1163 1528 .e2pdf-fonts-list .e2pdf-name {
1164 - width: 40%;
1529 + width: 80%;
1165 1530 }
1166 1531
1167 1532 .e2pdf-fonts-list .e2pdf-value {
1168 - width: 60%;
1533 + width: 20%;
1534 + text-align: right;
1169 1535 }
1170 1536
1537 +.e2pdf-fonts-list .dashicons-cloud-saved {
1538 + color: #eee;
1539 +}
1540 +
1541 +.e2pdf-permissions-list li fieldset,
1542 +.checkbox_list fieldset {
1543 + display: inline-block;
1544 + padding-right: 5px;
1545 +}
1546 +
1171 1547 .e2pdf-options-list .e2pdf-name {
1172 - line-height: 28px;
1548 + line-height: 30px;
1173 1549 }
1174 1550
1175 1551 .e2pdf-options-list .e2pdf-value {
1176 - line-height: 28px;
1552 + line-height: 30px;
1177 1553 }
1178 1554
1179 -.e2pdf-options-list .e2pdf-value input[type='text'] {
1180 - text-align: right;
1181 -}
1182 -
1183 1555 .e2pdf-export-shortcodes {
1184 1556 background: #eee;
1185 1557 border: 1px dashed #ddd;
1186 1558 padding: 10px;
@@ -1194,36 +1566,60 @@
1194 1566 font-size: 12px;
1195 1567 background: #fff;
1196 1568 }
1197 1569
1198 -.e2pdf-notice.notice {
1199 - border-left-color: #f6a828;
1200 - padding: 10px;
1201 -}
1202 -
1203 -.e2pdf-inactive, .wp-core-ui .e2pdf-inactive.button {
1570 +.e2pdf-inactive,
1571 +.wp-core-ui .e2pdf-inactive.button,
1572 +[class*=branch-7].wp-core-ui .e2pdf-inactive.button .dashicons {
1204 1573 color: #cccccc;
1205 1574 }
1206 1575
1207 1576 .e2pdf-selected .e2pdf-drag, .e2pdf-active {
1208 1577 color: #0073aa;
1578 + color: var(--wp-admin-theme-color);
1209 1579 }
1210 1580
1211 -.e2pdf-show-all-elements .e2pdf-tpl .e2pdf-hide {
1581 +.e2pdf-show-all-elements .e2pdf-tpl .e2pdf-element.e2pdf-hide {
1212 1582 display: inline-block;
1213 1583 }
1214 1584
1585 +.e2pdf-unlock-all-elements .e2pdf-tpl .e2pdf-locked {
1586 + pointer-events: auto;
1587 +}
1588 +
1589 +.e2pdf-locked {
1590 + pointer-events: none;
1591 +}
1592 +
1593 +.e2pdf-vm-rel-field {
1594 + position: relative !important;
1595 +}
1596 +
1597 +.e2pdf-vm-abs-field {
1598 + position: absolute !important;
1599 + width: 100% !important;
1600 + height: 100% !important;
1601 + top: 0 !important;
1602 + left: 0 !important;
1603 + background: none !important;
1604 + border: 0 !important;
1605 +}
1606 +
1215 1607 .e2pdf-vm-wrapper {
1216 1608 position: absolute;
1217 1609 width: 100%;
1218 1610 height: 100%;
1219 - z-index: 1;
1611 + z-index: 999;
1220 1612 top: 0;
1221 1613 left: 0;
1222 1614 overflow: hidden;
1223 1615 }
1224 1616
1225 -.e2pdf-vm-content select, textarea, input[type=radio], input[type=checkbox], select {
1617 +.e2pdf-vm-content select,
1618 +.e2pdf-vm-content textarea,
1619 +.e2pdf-vm-content input[type=radio],
1620 +.e2pdf-vm-content input[type=checkbox],
1621 +.e2pdf-vm-content select {
1226 1622 margin: 0;
1227 1623 }
1228 1624
1229 1625 a.e2pdf-vm-element {
@@ -1239,95 +1635,57 @@
1239 1635 a.e2pdf-vm-element:hover {
1240 1636 opacity: 0.4;
1241 1637 }
1242 1638
1243 -.e2pdf-tpl-inner {
1244 - position: absolute;
1245 - min-width: 100%;
1639 +.e2pdf-vm-item {
1640 + padding: 0 5px;
1641 + vertical-align: bottom;
1246 1642 }
1247 1643
1248 -.e2pdf-z200 .e2pdf-tpl-inner {
1249 - -ms-transform: scale(2);
1250 - -webkit-transform: scale(2);
1251 - transform: scale(2);
1252 - transform-origin: 0 0;
1644 +.e2pdf-vm-item label {
1645 + word-break: break-all;
1646 + text-overflow: ellipsis;
1647 + overflow: hidden;
1253 1648 }
1254 1649
1255 -.e2pdf-z200 .e2pdf-page {
1256 - margin-top: 80px;
1650 +.e2pdf-tpl-inner {
1651 + position: absolute;
1652 + min-width: 100%;
1257 1653 }
1258 1654
1259 -.e2pdf-z175 .e2pdf-tpl-inner {
1260 - -ms-transform: scale(1.75);
1261 - -webkit-transform: scale(1.75);
1262 - transform: scale(1.75);
1655 +.e2pdf-zoom .e2pdf-tpl-inner {
1656 + min-width: var(--e2pdf-scale-width);
1657 + -ms-transform: scale(var(--e2pdf-scale));
1658 + -webkit-transform: scale(var(--e2pdf-scale));
1659 + transform: scale(var(--e2pdf-scale));
1263 1660 transform-origin: 0 0;
1264 1661 }
1265 1662
1266 -.e2pdf-z175 .e2pdf-page {
1267 - margin-top: 70px;
1268 -}
1269 -
1270 -.e2pdf-z150 .e2pdf-tpl-inner {
1271 - -ms-transform: scale(1.5);
1272 - -webkit-transform: scale(1.5);
1273 - transform: scale(1.5);
1663 +.e2pdf-zoom .e2pdf-tpl-inner .e2pdf-context {
1664 + -ms-transform: scale(calc(1 / var(--e2pdf-scale)));
1665 + -webkit-transform: scale(calc(1 / var(--e2pdf-scale)));
1666 + transform: scale(calc(1 / var(--e2pdf-scale)));
1274 1667 transform-origin: 0 0;
1275 1668 }
1276 1669
1277 -.e2pdf-z150 .e2pdf-page {
1278 - margin-top: 60px;
1670 +.e2pdf-dialog:not(.e2pdf-dialog-visual-mapper) input[type='text'],
1671 +.e2pdf-dialog:not(.e2pdf-dialog-visual-mapper) select {
1672 + height: 30px;
1673 + margin: 0;
1674 + max-width: 100%;
1279 1675 }
1280 1676
1281 -.e2pdf-z125 .e2pdf-tpl-inner {
1282 - -ms-transform: scale(1.25);
1283 - -webkit-transform: scale(1.25);
1284 - transform: scale(1.25);
1285 - transform-origin: 0 0;
1677 +.e2pdf-dialog:not(.e2pdf-dialog-visual-mapper) select[name=html_worker],
1678 +.e2pdf-dialog:not(.e2pdf-dialog-visual-mapper) select[name=css_style]
1679 +{
1680 + font-size: 10px;
1286 1681 }
1287 1682
1288 -.e2pdf-z125 .e2pdf-page {
1289 - margin-top: 50px;
1290 -}
1291 -
1292 -.e2pdf-z75 .e2pdf-tpl-inner {
1293 - -ms-transform: scale(0.75);
1294 - -webkit-transform: scale(0.75);
1295 - transform: scale(0.75);
1296 - transform-origin: 0 0;
1297 - width: 133.33%;
1298 - height: 75%;
1299 -}
1300 -
1301 -.e2pdf-z50 .e2pdf-tpl-inner {
1302 - -ms-transform: scale(0.50);
1303 - -webkit-transform: scale(0.50);
1304 - transform: scale(0.50);
1305 - transform-origin: 0 0;
1306 - width: 200%;
1307 - height: 50%;
1308 -}
1309 -
1310 -.e2pdf-z25 .e2pdf-tpl-inner {
1311 - -ms-transform: scale(0.25);
1312 - -webkit-transform: scale(0.25);
1313 - transform: scale(0.25);
1314 - transform-origin: 0 0;
1315 - width: 400%;
1316 - height: 25%;
1317 -}
1318 -
1319 -.e2pdf-dialog input[type='text'], .e2pdf-dialog select {
1320 - height: 28px;
1321 - line-height: 28px;
1322 - margin: 0;
1323 -}
1324 -
1325 1683 .e2pdf-dialog li {
1326 1684 margin-bottom: 10px;
1327 1685 }
1328 1686
1329 -.e2pdf-dialog .e2pdf-el-properties li:not('ui-menu-item') {
1687 +.e2pdf-dialog .e2pdf-el-properties li:not(ui-menu-item) {
1330 1688 margin-bottom: 5px;
1331 1689 background: #f9f9f9;
1332 1690 padding: 5px;
1333 1691 padding-right: 10px;
@@ -1343,8 +1701,13 @@
1343 1701 font-size: 12px;
1344 1702 font-weight: bold;
1345 1703 }
1346 1704
1705 +.e2pdf-dialog label.e2pdf-label {
1706 + font-weight: normal;
1707 + line-height: 40px;
1708 +}
1709 +
1347 1710 .e2pdf-dialog .visual-mapper label {
1348 1711 display: block;
1349 1712 }
1350 1713
@@ -1349,8 +1712,12 @@
1349 1712 }
1350 1713
1351 1714 .e2pdf-vm-content {
1352 1715 margin-bottom: 10px;
1716 + display: inline-block;
1717 + min-width: 100%;
1718 + width: 100%;
1719 + min-height: 30px;
1353 1720 }
1354 1721
1355 1722 .e2pdf-vm-content input, .e2pdf-vm-content select {
1356 1723 display: inline-block;
@@ -1358,21 +1725,12 @@
1358 1725 margin-right: 0;
1359 1726 max-width: 100%;
1360 1727 }
1361 1728
1362 -.e2pdf-vm-content .frm_fields_container h3 {
1363 - margin-top: 0;
1364 - margin-bottom: 0;
1365 -}
1366 -
1367 -.e2pdf-vm-content .frm_style_formidable-style.with_frm_style .frm_repeat_sec {
1368 - margin-top: 0;
1369 - margin-bottom: 0;
1370 -}
1371 -
1372 1729 .e2pdf-vm-field-wrapper {
1373 1730 position: relative;
1374 1731 display: inline-block;
1732 + width: 100%;
1375 1733 }
1376 1734
1377 1735 .e2pdf-dialog input[type='text'].e2pdf-vm-field {
1378 1736 position: absolute;
@@ -1386,9 +1744,9 @@
1386 1744 display: none;
1387 1745 }
1388 1746
1389 1747 .visual-mapper {
1390 - min-height: 28px !important;
1748 + min-height: 30px !important;
1391 1749 }
1392 1750
1393 1751 .misc-pub-e2pdf-activation a.e2pdf-link, .misc-pub-e2pdf-item a.e2pdf-link {
1394 1752 line-height: 22px;
@@ -1393,9 +1751,13 @@
1393 1751 .misc-pub-e2pdf-activation a.e2pdf-link, .misc-pub-e2pdf-item a.e2pdf-link {
1394 1752 line-height: 22px;
1395 1753 }
1396 1754
1397 -#post-body .misc-pub-e2pdf-activation:before, #post-body .misc-pub-e2pdf-item:before {
1755 +#post-body .misc-pub-e2pdf-activation:before,
1756 +#post-body .misc-pub-e2pdf-item:before,
1757 +#post-body .misc-pub-e2pdf-tpl-actions:before,
1758 +#post-body .misc-pub-e2pdf-tpl-hooks:before,
1759 +#post-body .misc-pub-e2pdf-tpl-properties:before {
1398 1760 font: 400 20px/1 dashicons;
1399 1761 speak: none;
1400 1762 display: inline-block;
1401 1763 margin-left: -1px;
@@ -1407,11 +1769,23 @@
1407 1769 content: "\f528";
1408 1770 }
1409 1771
1410 1772 #post-body .misc-pub-e2pdf-item:before {
1411 - content: "\f498";
1773 + content: "\f498";
1412 1774 }
1413 1775
1776 +#post-body .misc-pub-e2pdf-tpl-actions:before {
1777 + content: "\f108";
1778 +}
1779 +
1780 +#post-body .misc-pub-e2pdf-tpl-hooks:before {
1781 + content: "\f106";
1782 +}
1783 +
1784 +#post-body .misc-pub-e2pdf-tpl-properties:before {
1785 + content: "\f540";
1786 +}
1787 +
1414 1788 .misc-pub-e2pdf-shortcode input {
1415 1789 font-size: 12px;
1416 1790 }
1417 1791
@@ -1421,8 +1795,9 @@
1421 1795
1422 1796 .e2pdf-reupload-pages {
1423 1797 max-height: 300px;
1424 1798 overflow-y: auto;
1799 + overscroll-behavior: contain;
1425 1800 }
1426 1801
1427 1802 .e2pdf-reupload-pages .e2pdf-grid {
1428 1803 padding-bottom: 5px;
@@ -1427,31 +1802,61 @@
1427 1802 .e2pdf-reupload-pages .e2pdf-grid {
1428 1803 padding-bottom: 5px;
1429 1804 border-bottom: 1px solid #eee;
1430 1805 margin-bottom: 5px;
1431 - line-height: 28px;
1806 + line-height: 30px;
1432 1807 }
1433 1808
1809 +.e2pdf-reupload-pages i {
1810 + line-height: 30px;
1811 +}
1812 +
1813 +.e2pdf-reupload-pages label {
1814 + line-height: 16px;
1815 + font-weight: normal;
1816 +}
1817 +
1434 1818 .e2pdf-mt5 {
1435 1819 margin-top: 5px;
1436 1820 }
1437 1821
1822 +.wp-core-ui .button.e2pdf-mt6, .e2pdf-mt6 {
1823 + margin-top: 6px;
1824 +}
1825 +
1438 1826 .e2pdf-mt10 {
1439 1827 margin-top: 10px;
1440 1828 }
1441 1829
1830 +.e2pdf-mt15 {
1831 + margin-top: 15px;
1832 +}
1833 +
1442 1834 .e2pdf-mt23 {
1443 1835 margin-top: 23px;
1444 1836 }
1445 1837
1838 +.e2pdf-mb0 {
1839 + margin-bottom: 0px;
1840 +}
1841 +
1446 1842 .e2pdf-mb5 {
1447 1843 margin-bottom: 5px;
1448 1844 }
1449 1845
1846 +.e2pdf-mb10 {
1847 + margin-bottom: 5px;
1848 +}
1849 +
1450 1850 .e2pdf-mb20 {
1451 1851 margin-bottom: 20px;
1452 1852 }
1453 1853
1854 +.wp-core-ui .button-primary.e2pdf-ml5,
1855 +.e2pdf-ml5 {
1856 + margin-left: 5px;
1857 +}
1858 +
1454 1859 .e2pdf-email-lock {
1455 1860 position: absolute;
1456 1861 width: 100%;
1457 1862 height: 100%;
@@ -1503,26 +1908,45 @@
1503 1908 -moz-box-sizing: border-box;
1504 1909 box-sizing: border-box;
1505 1910 }
1506 1911
1507 -.e2pdf-action-delete {
1912 +.e2pdf-action-delete, .e2pdf-search-replace-delete {
1508 1913 position: absolute;
1509 1914 top: 0;
1510 1915 right: 0;
1916 + background: #eee;
1511 1917 }
1512 1918
1513 -.e2pdf-action {
1514 - padding: 10px;
1515 - border-radius: 3px;
1516 - border: 1px solid #eee;
1517 - margin-bottom: 10px;
1919 +.e2pdf-action-duplicate {
1920 + position: absolute;
1921 + top: 0;
1922 + right: 22px;
1923 + background: #eee;
1518 1924 }
1519 1925
1520 -.e2pdf-action input[type=radio], .e2pdf-action input[type=checkbox] {
1926 +.e2pdf-action-duplicate .dashicons {
1927 + font-size: 16px;
1928 + line-height: 20px;
1929 +}
1930 +
1931 +.e2pdf-action, .e2pdf-search-replace {
1932 + padding: 20px;
1933 + margin-bottom: 20px;
1934 + background: #fcfcfc;
1935 + -webkit-box-shadow: 1px 1px 4px #999;
1936 + -moz-box-shadow: 1px 1px 4px #999;
1937 + box-shadow: 1px 1px 4px #999;
1938 +}
1939 +
1940 +.e2pdf-action-error {
1941 + border: 1px solid #d63638;
1942 +}
1943 +
1944 +.e2pdf-action input[type=radio] {
1521 1945 margin-top: 5px;
1522 1946 }
1523 1947
1524 -.e2pdf-action .wp-picker-default, .e2pdf-aciton .wp-color-result-text {
1948 +.e2pdf-action .wp-picker-default, .e2pdf-colorpicker-wr .wp-picker-default, .e2pdf-aciton .wp-color-result-text {
1525 1949 display: none;
1526 1950 }
1527 1951
1528 1952 .e2pdf-action .e2pdf-colorpicker-wr .wp-picker-input-wrap label,
@@ -1545,27 +1969,30 @@
1545 1969 display: none;
1546 1970 }
1547 1971
1548 1972 .e2pdf-action .e2pdf-colorpicker-wr .wp-picker-container .wp-picker-input-wrap label input[type=text].wp-color-picker {
1549 - padding-left: 25px;
1973 + padding-left: 32px;
1550 1974 }
1551 1975
1552 1976
1553 1977 .e2pdf-guide-h {
1554 - border-top: 1px dashed #99D5FF;
1555 - width: 100%;
1978 + border-top: #0073aa;
1979 + border-top: 1px dashed var(--wp-admin-theme-color);
1980 + width: 100%;
1556 1981 }
1557 1982
1558 1983 .e2pdf-guide-v {
1559 - border-left: 1px dashed #99D5FF;
1560 - height: 100%;
1984 + border-left: #0073aa;
1985 + border-left: 1px dashed var(--wp-admin-theme-color);
1986 + height: 100%;
1561 1987 }
1562 1988
1563 1989 .e2pdf-guide {
1564 - display: none;
1565 - position: absolute;
1566 - left: 0;
1567 - top: 0;
1990 + display: none;
1991 + position: absolute;
1992 + left: 0;
1993 + top: 0;
1994 + z-index: 999999;
1568 1995 }
1569 1996
1570 1997 .e2pdf-element .e2pdf-radio, .e2pdf-element .e2pdf-checkbox {
1571 1998 -moz-appearance: none;
@@ -1582,8 +2009,9 @@
1582 2009 }
1583 2010
1584 2011 .category-tabs.e2pdf-tabs {
1585 2012 margin-bottom: 4px;
2013 + line-height: 18px;
1586 2014 }
1587 2015
1588 2016 .e2pdf-onload .spinner {
1589 2017 visibility: visible;
@@ -1588,17 +2016,28 @@
1588 2016 .e2pdf-onload .spinner {
1589 2017 visibility: visible;
1590 2018 }
1591 2019
2020 +.e2pdf-vm-content .spinner {
2021 + background: url("../img/loader.svg") center center no-repeat;
2022 + visibility: visible !important;
2023 + float: none;
2024 + left: 50%;
2025 + position: relative;
2026 + margin-left: -10px;
2027 + width: 20px;
2028 + height: 20px;
2029 +}
2030 +
1592 2031 .e2pdf-load-page {
1593 - background: url('../img/loader.gif') center center no-repeat #fdfdfd !important;
2032 + background: url('../img/loader.svg') center center no-repeat #fdfdfd !important;
1594 2033 }
1595 2034
1596 2035 .tablenav .tablenav-pages.e2pdf-tablenav-pages .button, .tablenav .tablenav-pages.e2pdf-tablenav-pages .tablenav-pages-navspan {
1597 2036 display: inline-block;
1598 2037 vertical-align: baseline;
1599 - min-width: 28px;
1600 - min-height: 28px;
2038 + min-width: 30px;
2039 + min-height: 30px;
1601 2040 margin: 0;
1602 2041 padding: 0 4px;
1603 2042 font-size: 16px;
1604 2043 line-height: 1.5;
@@ -1604,8 +2043,339 @@
1604 2043 line-height: 1.5;
1605 2044 text-align: center;
1606 2045 }
1607 2046
2047 +
2048 +.e2pdf-valign-top,
2049 +.input[type='checkbox'].e2pdf-valign-top {
2050 + vertical-align: top !important;
2051 +}
2052 +
2053 +
2054 +.e2pdf-input-height {
2055 + height: 30px;
2056 + line-height: 30px;
2057 +}
2058 +
2059 +input[type='checkbox'].e2pdf-input-height,
2060 +input[type='radio'].e2pdf-input-height {
2061 + height: 30px;
2062 + width: 30px;
2063 +}
2064 +
2065 +.e2pdf-condition textarea {
2066 + height: 30px;
2067 + line-height: 24px;
2068 + margin-top: 0;
2069 +}
2070 +
2071 +input[type='checkbox'].e2pdf-input-height:checked:before {
2072 + font: normal 34px/1 dashicons;
2073 + margin: -3px -5px;
2074 +}
2075 +
2076 +.e2pdf-confirmation-confirm {
2077 + background: green;
2078 +}
2079 +
2080 +.e2pdf-confirmation-confirm {
2081 + background: red;
2082 +}
2083 +
2084 +.e2pdf-vm-content .clear-multi.e2pdf-vm-field-wrapper {
2085 + display: inline-flex;
2086 +}
2087 +
2088 +.wp-admin .e2pdf-actions select,
2089 +.wp-admin .e2pdf-actions input {
2090 + font-size: 11px;
2091 +}
2092 +
2093 +.e2pdf-fnl {
2094 + word-spacing: 9999999px;
2095 +}
2096 +
2097 +.for-e2pdf-rectangle .e2pdf-left,
2098 +.for-e2pdf-rectangle .e2pdf-right
2099 +{
2100 + display: none;
2101 +}
2102 +
2103 +.for-e2pdf-rectangle .e2pdf-el-properties .e2pdf-top > div,
2104 +.for-e2pdf-link .e2pdf-el-properties .e2pdf-top > div
2105 +{
2106 + margin-bottom: 0;
2107 +}
2108 +
2109 +.e2pdf-prefield {
2110 + background: #f0f0f1;
2111 + font-size: 13px;
2112 + padding: 0 5px;
2113 + float: left;
2114 +}
2115 +
2116 +.e2pdf-prefield-field {
2117 + display: block;
2118 + overflow: hidden;
2119 + padding-right: 1px;
2120 + padding-left: 2px;
2121 +}
2122 +
2123 +input.e2pdf-mod-rewrite-url {
2124 + font-size: 13px;
2125 + min-height: 0;
2126 +}
2127 +
2128 +.e2pdf-w-upload {
2129 + position: relative;
2130 +}
2131 +
2132 +.e2pdf-w-upload span {
2133 + font-size: 7px;
2134 + line-height: 7px;
2135 + left: 0;
2136 + bottom: 8px;
2137 + width: 100%;
2138 + position: absolute;
2139 +}
2140 +
2141 +fieldset.e2pdf-fieldset {
2142 + height: 300px;
2143 + border: 1px solid #8c8f94;
2144 + overflow-y: auto;
2145 + overscroll-behavior: contain;
2146 + padding: 10px;
2147 + -webkit-box-sizing: border-box;
2148 + -moz-box-sizing: border-box;
2149 + box-sizing: border-box;
2150 +}
2151 +
2152 +.e2pdf-export-dataset-sort-wrapper {
2153 + line-height: 30px;
2154 +}
2155 +
2156 +a.e2pdf-export-dataset-sort .sorting-indicator {
2157 + display: inline-block;
2158 + vertical-align: middle;
2159 + margin-top: 0;
2160 + margin-left: 1px;
2161 +}
2162 +
2163 +.e2pdf-vm-error {
2164 + margin-top: 10px;
2165 + text-align: center;
2166 +}
2167 +
2168 +input[e2pdf-vm-hidden="true"] {
2169 + width: 100%;
2170 + margin-bottom: 10px;
2171 +}
2172 +.e2pdf-wysiwyg-table-grid {
2173 + display: grid;
2174 + position: absolute;
2175 + grid-template-columns: repeat(10, 20px);
2176 + grid-template-rows: repeat(10, 20px);
2177 + gap: 2px;
2178 + margin: 0;
2179 + z-index: 1;
2180 + border: 1px solid #dcdcde;
2181 + border-top: 0;
2182 + background: #fff;
2183 + padding: 10px;
2184 + box-sizing: border-box;
2185 +}
2186 +
2187 +.e2pdf-wysiwyg-table-grid.e2pdf-hide {
2188 + display: none;
2189 +}
2190 +
2191 +.e2pdf-wysiwyg-table-grid > div {
2192 + width: 20px;
2193 + height: 20px;
2194 + background-color: #f5f5f5;
2195 + border: 1px solid gray;
2196 + cursor: pointer;
2197 + box-sizing: border-box;
2198 +}
2199 +
2200 +.e2pdf-wysiwyg-table-grid span {
2201 + grid-column: span 10;
2202 + text-align: right;
2203 +}
2204 +
2205 +.e2pdf-wysiwyg-table-grid > div.e2pdf-highlight {
2206 + background-color: #ddeafb;
2207 +}
2208 +
2209 +.e2pdf-post-body-content {
2210 + position: sticky;
2211 + top: 52px;
2212 +}
2213 +
2214 +.notice:not(.e2pdf-notice), .notice-error:not(.e2pdf-notice), .notice-warning:not(.e2pdf-notice), .notice-success:not(.e2pdf-notice), .notice-info:not(.e2pdf-notice), .error {
2215 + display: none !important;
2216 +}
2217 +
2218 +.e2pdf-new-edit-layout {
2219 + position: absolute;
2220 + height: 100%;
2221 + -webkit-box-sizing: border-box;
2222 + -moz-box-sizing: border-box;
2223 + box-sizing: border-box;
2224 + padding: 10px 20px 0 2px;
2225 + margin: 0;
2226 + width: 100%;
2227 +}
2228 +
2229 +.e2pdf-new-edit-layout .e2pdf-tpl-wrapper {
2230 + height: auto;
2231 + flex-grow: 1;
2232 +}
2233 +
2234 +.e2pdf-new-edit-layout .e2pdf-build-form-wrapper {
2235 + display: flex;
2236 + flex-direction: column;
2237 + height: calc(100vh - 62px);
2238 +}
2239 +
2240 +.e2pdf-new-edit-layout #poststuff,
2241 +.e2pdf-new-edit-layout #e2pdf-build-form
2242 +{
2243 + height: 100%;
2244 +}
2245 +
2246 +.e2pdf-new-edit-layout #post-body {
2247 + min-height: 100%;
2248 + height: auto;
2249 +}
2250 +
2251 +.e2pdf_page_e2pdf-templates #wpfooter {
2252 + display: none;
2253 +}
2254 +
2255 +.e2pdf-new-edit-layout #post-body-content {
2256 + margin-bottom: 0;
2257 +}
2258 +
2259 +ul.add-menu-item-tabs li, ul.category-tabs li, ul.wp-tab-bar li {
2260 + padding: 3px 6px;
2261 + display: inline-block;
2262 + margin-bottom: 0px;
2263 +}
2264 +
2265 +.e2pdf-tabs-panel li.active {
2266 + border: 1px solid #ddd;
2267 + z-index: 2;
2268 + border-radius: 20px;
2269 +}
2270 +
2271 +.clear {
2272 + margin: 0 !important;
2273 + padding: 0 !important;
2274 +}
2275 +
2276 +.e2pdf-select2 {
2277 + cursor: pointer;
2278 +}
2279 +
2280 +.e2pdf-select2-wrapper {
2281 + position: relative;
2282 +}
2283 +
2284 +.e2pdf-select2-wrapper select {
2285 + display: none;
2286 +}
2287 +
2288 +.e2pdf-select2-dropdown {
2289 + position: absolute;
2290 + width:100%;
2291 + max-height: 400px;
2292 + overflow-y: auto;
2293 + background: #fff;
2294 + border: 1px solid #e5e5e5;
2295 + padding: 0;
2296 + margin: 0;
2297 + -webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .2);
2298 + -moz-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .2);
2299 + box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .2);
2300 + z-index: 999;
2301 + overscroll-behavior: contain;
2302 + cursor: default;
2303 +}
2304 +
2305 +.e2pdf-select2-dropdown > div {
2306 + padding: 10px;
2307 + margin: 0;
2308 +}
2309 +
2310 +.e2pdf-select2-dropdown > div:hover {
2311 + background: #e5e5e5;
2312 +}
2313 +
2314 +.e2pdf-select2[disabled="disabled"], .e2pdf-select2.e2pdf-select2-loading {
2315 + background: #eee;
2316 +}
2317 +
2318 +.e2pdf-loading,
2319 +.e2pdf-loading * {
2320 + cursor: wait !important;
2321 +}
2322 +
2323 +.e2pdf-dataset-wrapper {
2324 + padding-right: 30px;
2325 +}
2326 +
2327 +.e2pdf-datasets-refresh {
2328 + position: absolute;
2329 + top: 5px;
2330 + right: 0;
2331 +}
2332 +
2333 +.e2pdf-element-column {
2334 + width: 200px !important;
2335 + height: 60px !important;
2336 + border: 1px solid #ddd !important;
2337 + background: #fafafa !important;
2338 +
2339 +}
2340 +
2341 +.e2pdf-tpl .e2pdf-element-column {
2342 + position: relative !important;
2343 + left: auto !important;
2344 + top: auto !important;
2345 + width: 100% !important;
2346 + height: auto !important;
2347 + border: 1px dashed #ddd !important;
2348 + padding: 20px !important;
2349 +}
2350 +
2351 +
2352 +
2353 +.e2pdf-column-indicator {
2354 + border-radius: 1px;
2355 + background: #008ec2;
2356 + display: none;
2357 +}
2358 +
2359 +.e2pdf-column-indicator-h {
2360 + width: calc(100% - 40px);
2361 + height: 5px;
2362 + margin: 20px auto;
2363 +}
2364 +
2365 +.e2pdf-column-indicator-v {
2366 + width: 5px;
2367 + height: 50px;
2368 +}
2369 +
2370 +.e2pdf-search-replace {
2371 + box-sizing: border-box;
2372 +}
2373 +
2374 +.e2pdf-search-replaces .e2pdf-search-replace:first-child .e2pdf-search-replace-delete {
2375 + display: none;
2376 +}
2377 +
1608 2378 @media screen and (max-width: 1024px) {
1609 2379 .widefat.e2pdf-templates-list .column-item {
1610 2380 width: 11em;
1611 2381 }
@@ -1610,9 +2380,9 @@
1610 2380 width: 11em;
1611 2381 }
1612 2382 }
1613 2383
1614 -@media only screen and (max-width: 960px) {
2384 +@media screen and (max-width: 960px) {
1615 2385 .widefat.e2pdf-templates-list .column-id {
1616 2386 width: 3.4em;
1617 2387 }
1618 2388
@@ -1620,8 +2390,49 @@
1620 2390 width: 9em;
1621 2391 }
1622 2392 }
1623 2393
2394 +@media screen and (max-width: 850px) {
2395 + .e2pdf-post-body-content {
2396 + position: relative;
2397 + top:0;
2398 + }
2399 +
2400 + .e2pdf-build-form-wrapper {
2401 + display: block;
2402 + height: 100%;
2403 + }
2404 +
2405 + .e2pdf-tpl, .e2pdf-tpl-inner {
2406 + position: relative;
2407 + }
2408 +}
2409 +
2410 +input[type=checkbox].e2pdf-checkbox:checked::before {
2411 + content: "";
2412 + background-image: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E);
2413 + margin: 0;
2414 + height: 100%;
2415 + width: 100%;
2416 + background-size: contain;
2417 + background-repeat: no-repeat;
2418 + background-position: center;
2419 +
2420 +}
2421 +
2422 +.e2pdf-bulk .spinner {
2423 + margin: 0;
2424 + margin-right: 5px;
2425 + margin-top: -2px;
2426 + padding: 0;
2427 + float: none;
2428 + display: none;
2429 +}
2430 +
2431 +.e2pdf-bulk[status="pending"] .spinner {
2432 + display: inline-block;
2433 +}
2434 +
1624 2435 @media screen and (max-width: 782px) {
1625 2436 .wp-list-table.e2pdf-templates-list tr:not(.inline-edit-row):not(.no-items) td.column-id, .wp-list-table .is-expanded td.column-id {
1626 2437 display: table-cell !important;
1627 2438 width: 3.7em !important;
@@ -1640,5 +2451,15 @@
1640 2451 .wp-list-table.e2pdf-templates-list td.column-shortcode .misc-pub-section {
1641 2452 padding: 5px;
1642 2453 }
1643 2454
1644 -}
2455 + input[type=checkbox].e2pdf-input-height, input[type=radio].e2pdf-input-height {
2456 + height: 30px;
2457 + width: 30px;
2458 + }
2459 +
2460 + input[type='checkbox'].e2pdf-input-height:checked:before {
2461 + font: normal 34px/1 dashicons;
2462 + margin: -3px -5px;
2463 + }
2464 +}
2465 +