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 +1137 -306 1.04.071.32.49 View file →
@@ -1,9 +1,4 @@
1 -
2 -.menu-top.toplevel_page_e2pdf .dashicons-admin-generic:before {
3 - content: "\f183";
4 -}
5 -
6 1 .e2pdf-ib {
7 2 display: inline-block;
8 3 -webkit-box-sizing: border-box;
9 4 -moz-box-sizing: border-box;
@@ -30,8 +25,12 @@
30 25 .e2pdf-w30, .e2pdf-dialog label.e2pdf-w30 {
31 26 width: 30%;
32 27 }
33 28
29 +.e2pdf-w33, .e2pdf-dialog label.e2pdf-w33 {
30 + width: 33%;
31 +}
32 +
34 33 .e2pdf-w35 {
35 34 width: 35%;
36 35 }
37 36
@@ -50,16 +49,36 @@
50 49 .e2pdf-w70, .e2pdf-dialog label.e2pdf-w70 {
51 50 width: 70%;
52 51 }
53 52
53 +.e2pdf-w75 {
54 + width: 75%;
55 +}
56 +
54 57 .e2pdf-w80 {
55 58 width: 80%;
56 59 }
57 60
58 -.e2pdf-w100 {
61 +.e2pdf-w100,
62 +.wp-admin select.e2pdf-w100 {
59 63 width: 100%;
64 + max-width: 100%;
60 65 }
61 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 +
62 81 .e2pdf-pr5 {
63 82 padding-right: 5px;
64 83 }
65 84
@@ -70,9 +89,8 @@
70 89 .e2pdf-pr20 {
71 90 padding-right: 20px;
72 91 }
73 92
74 -
75 93 .e2pdf-pl5 {
76 94 padding-left: 5px;
77 95 }
78 96
@@ -205,8 +223,9 @@
205 223 }
206 224
207 225 .widefat.e2pdf-templates-list .column-shortcode {
208 226 width: 11em;
227 + overflow: visible;
209 228 }
210 229
211 230 .widefat.e2pdf-templates-list .column-updated
212 231 {
@@ -222,16 +241,8 @@
222 241 font-size: 10px;
223 242 text-align: center;
224 243 }
225 244
226 -.e2pdf-notice {
227 - word-break: break-all;
228 -}
229 -
230 -div.error.e2pdf-notice, div.updated.e2pdf-notice {
231 - padding: 10px;
232 -}
233 -
234 245 .e2pdf-tabs-panel li a,
235 246 .e2pdf-tabs-panel li a:link,
236 247 .e2pdf-tabs-panel li a:focus {
237 248 box-shadow: none;
@@ -236,15 +247,8 @@
236 247 .e2pdf-tabs-panel li a:focus {
237 248 box-shadow: none;
238 249 }
239 250
240 -.e2pdf-tabs-panel li.active {
241 - border: 1px solid #ddd;
242 - border-bottom-color: #fdfdfd;
243 - background-color: #fdfdfd;
244 - z-index: 2;
245 -}
246 -
247 251 .e2pdf-options-panel {
248 252 margin-bottom: 10px;
249 253 }
250 254
@@ -253,19 +257,30 @@
253 257 }
254 258
255 259 .e2pdf-options-panel select, .e2pdf-options-panel input[type='text'] {
256 260 width: 100%;
257 - height: 28px;
261 + height: 30px;
258 262 }
259 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 +
260 277 .e2pdf-build-pdf-elements-list li {
261 - width: 50%;
262 - display: inline-block;
263 - padding: 0 5px;
264 - -webkit-box-sizing: border-box;
265 - -moz-box-sizing: border-box;
278 + width: auto;
279 + padding: 0;
266 280 box-sizing: border-box;
267 281 position: relative;
282 + margin-bottom: 0;
268 283 }
269 284
270 285 a.e2pdf-be {
271 286 display: inline-block;
@@ -271,28 +286,23 @@
271 286 display: inline-block;
272 287 text-align: center;
273 288 width: 100%;
274 289 font-size: 10px;
275 - margin-bottom: 5px;
276 - padding: 0 11px;
290 + margin-bottom: 0px;
291 + padding: 0 10px 1px;
277 292 background: #fafafa;
278 293 color: #23282d;
279 - -webkit-box-shadow: 0 1px 0 #ddd;
280 294 box-shadow: 0 1px 0 #ddd;
281 295 text-decoration: none;
282 - line-height: 26px;
283 - height: 28px;
284 - padding: 0 10px 1px;
296 + line-height: 28px;
297 + height: 30px;
285 298 cursor: pointer;
286 299 border: 1px solid #ddd;
287 - -webkit-appearance: none;
288 - -webkit-border-radius: 3px;
289 - border-radius: 3px;
300 + border-radius: 20px;
290 301 white-space: nowrap;
291 302 -webkit-box-sizing: border-box;
292 303 -moz-box-sizing: border-box;
293 304 box-sizing: border-box;
294 - max-width: 117px;
295 305 }
296 306
297 307 a.e2pdf-be:hover {
298 308 background: #eee;
@@ -311,9 +321,8 @@
311 321 padding: 0;
312 322 }
313 323
314 324 .e2pdf-page {
315 - background: #fff;
316 325 display: block;
317 326 border: 1px solid #e5e5e5;
318 327 -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
319 328 box-shadow: 0 1px 1px rgba(0,0,0,.04);
@@ -325,17 +334,19 @@
325 334 background-size: cover;
326 335 -webkit-box-shadow: 0px 0px 8px 1px rgba(221,221,221,1);
327 336 -moz-box-shadow: 0px 0px 8px 1px rgba(221,221,221,1);
328 337 box-shadow: 0px 0px 8px 1px rgba(221,221,221,1);
338 + z-index: 0;
329 339 }
330 340
331 341 .e2pdf-build-top-panel, .e2pdf-build-bottom-panel {
332 342 background: #fff;
333 - border: 1px solid #e5e5e5;
343 + border: 1px solid #7e8993;
334 344 -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
335 345 box-shadow: 0 1px 1px rgba(0,0,0,.04);
336 346 padding: 0px;
337 347 margin-top: 10px;
348 + border-radius: 4px;
338 349 }
339 350
340 351 .e2pdf-float-left {
341 352 float: left;
@@ -356,9 +367,15 @@
356 367 margin: 0;
357 368 vertical-align: middle;
358 369 }
359 370
360 -.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 {
361 378 position: absolute;
362 379 width: 100%;
363 380 height: 100%;
364 381 display: block;
@@ -374,42 +391,79 @@
374 391 .e2pdf-input {
375 392 width: 100%;
376 393 }
377 394
378 -.e2pdf-image {
395 +.e2pdf-image, .e2pdf-qrcode, .e2pdf-barcode, .e2pdf-graph, .e2pdf-signature {
396 + display: inline-block;
379 397 width: 100%;
380 398 height: 100%;
399 + vertical-align: top;
381 400 }
382 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 +}
383 425 .e2pdf-context {
384 426 font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
385 427 font-size: 13px;
386 - width: 120px;
428 + width: 140px;
387 429 position: absolute;
388 - border-left: 1px solid #e5e5e5;
389 - border-top: 1px solid #e5e5e5;
390 - border-right: 1px solid #e5e5e5;
391 - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
392 - 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);
393 434 background: #fff;
394 - z-index: 99;
435 + z-index: 20000;
395 436 }
396 437
397 438 .e2pdf-context-menu {
398 439 padding: 0;
399 440 margin: 0;
441 + list-style: none;
400 442 }
401 443
402 444 .e2pdf-context-menu li {
445 + position: relative;
403 446 padding: 0;
404 447 margin: 0;
405 448 line-height: 0;
406 449 }
407 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 +
408 460 .e2pdf-context-menu a {
461 + color: #0073aa;
462 + color: var(--wp-admin-theme-color);
409 463 text-decoration: none;
410 464 border-bottom: 1px solid #e5e5e5;
411 - padding: 5px;
465 + padding: 8px 10px;
412 466 display: inline-block;
413 467 width: 100%;
414 468 line-height: 16px;
415 469 -webkit-box-sizing: border-box;
@@ -414,10 +468,69 @@
414 468 line-height: 16px;
415 469 -webkit-box-sizing: border-box;
416 470 -moz-box-sizing: border-box;
417 471 box-sizing: border-box;
472 + text-align: left;
473 + cursor: pointer;
418 474 }
419 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 +
420 533 .e2pdf-fade {
421 534 opacity: 0.7;
422 535 filter: alpha(opacity=0.7);
423 536 zoom: 1;
@@ -453,14 +566,15 @@
453 566 display: block;
454 567 width: 100%;
455 568 max-width: 900px;
456 569 background: #fff;
457 - padding: 2px 6px;
458 570 line-height: 1.4;
459 571 border: 1px solid #e5e5e5;
460 572 -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
461 573 box-shadow: 0 1px 1px rgba(0,0,0,.04);
462 - padding: 20px;
574 + padding: 24px !important;
575 + border-radius: 20px;
576 + margin-bottom: 0;
463 577 -webkit-box-sizing: border-box;
464 578 -moz-box-sizing: border-box;
465 579 box-sizing: border-box;
466 580 }
@@ -486,18 +600,16 @@
486 600 .e2pdf-value {
487 601 width: 70%;
488 602 }
489 603
490 -
491 604 .e2pdf-bold {
492 605 font-weight: 600;
493 606 }
494 607
495 -.e2pdf-load-el {
608 +.e2pdf-load-el, .e2pdf-load-tpl {
496 609 display: none;
497 610 }
498 611
499 -
500 612 .page-title-action.e2pdf-simple-button, .page-title-action.e2pdf-simple-button:focus {
501 613 top: 0;
502 614 margin: 0;
503 615 }
@@ -502,21 +614,85 @@
502 614 margin: 0;
503 615 }
504 616
505 617 .e2pdf-dialog {
618 + position: fixed !important;
619 + z-index: 999999 !important;
506 620 border: 1px solid #e5e5e5;
507 - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
508 - box-shadow: 0 1px 1px rgba(0,0,0,.04);
509 - 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);
510 623 }
511 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 +
512 640 .e2pdf-dialog .ui-widget-header {
513 - border-radius: 0;
514 - 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;
515 678 color: #fff;
516 - border: none;
679 + outline: none;
680 + box-shadow: none;
681 + margin-right: 20px;
682 + right: 0;
517 683 }
518 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 +
519 695 .e2pdf-form-editor-container {
520 696 z-index: 1;
521 697 }
522 698
@@ -525,10 +701,10 @@
525 701 }
526 702
527 703 .e2pdf-tpl-wrapper {
528 704 position: relative;
705 + height: 1126px;
529 706 width: 100%;
530 - height: 950px;
531 707 display: block;
532 708 z-index: 0;
533 709 overflow: hidden;
534 710 }
@@ -537,8 +713,9 @@
537 713 position: absolute;
538 714 width: 100%;
539 715 height: 100%;
540 716 overflow: auto;
717 + overscroll-behavior: contain;
541 718 -webkit-box-sizing: border-box;
542 719 -moz-box-sizing: border-box;
543 720 box-sizing: border-box;
544 721 padding-bottom: 10px;
@@ -544,9 +721,10 @@
544 721 padding-bottom: 10px;
545 722 }
546 723
547 724
548 -.e2pdf-html a {
725 +.e2pdf-html a,
726 +.e2pdf-page-number a {
549 727 color: inherit;
550 728 text-decoration: inherit;
551 729 border: 1px dashed #ddd;
552 730 -webkit-box-sizing: border-box;
@@ -553,9 +731,10 @@
553 731 -moz-box-sizing: border-box;
554 732 box-sizing: border-box;
555 733 }
556 734
557 -.e2pdf-html p {
735 +.e2pdf-html p,
736 +.e2pdf-page-number p {
558 737 padding: inherit;
559 738 margin: inherit;
560 739 font-size: inherit;
561 740 line-height: inherit;
@@ -560,9 +739,10 @@
560 739 font-size: inherit;
561 740 line-height: inherit;
562 741 }
563 742
564 -.e2pdf-html h1 {
743 +.e2pdf-html h1,
744 +.e2pdf-page-number h1 {
565 745 font-size: 30px;
566 746 line-height: 40px;
567 747 padding:0;
568 748 font-weight: bold;
@@ -568,9 +748,16 @@
568 748 font-weight: bold;
569 749 color: inherit;
570 750 }
571 751
572 -#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 {
573 760 font-size: 20px;
574 761 line-height: 30px;
575 762 padding:0;
576 763 font-weight: bold;
@@ -576,9 +763,10 @@
576 763 font-weight: bold;
577 764 color: inherit;
578 765 }
579 766
580 -.e2pdf-html ul {
767 +.e2pdf-html ul,
768 +.e2pdf-page-number ul{
581 769 list-style-type: none;
582 770 margin: 0;
583 771 padding: 0;
584 772 display: block;
@@ -585,25 +773,30 @@
585 773 padding-left: 0.4em;
586 774
587 775 }
588 776
589 -.e2pdf-html ol {
777 +.e2pdf-html ol,
778 +.e2pdf-page-number ol {
590 779 list-style-position: inside;
591 780 margin: 0;
592 781 padding: 0;
593 782 }
594 783
595 -.e2pdf-html ul li, .e2pdf-html ol li {
596 - 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;
597 788 }
598 789
599 -.e2pdf-html ul li {
790 +.e2pdf-html ul li,
791 +.e2pdf-page-number ul li {
600 792 list-style-type: none;
601 793 position: relative;
602 794 }
603 795
604 -.e2pdf-html ul li:before {
605 - content:"\2219";
796 +.e2pdf-html ul li:before,
797 +.e2pdf-page-number ul li:before {
798 + content:"\2219";
606 799 font-size: 2.8em;
607 800 line-height: inherit;
608 801 position: absolute;
609 802 top: -.02em;
@@ -627,11 +820,12 @@
627 820
628 821 .page-options-icons {
629 822 position: absolute;
630 823 right: 0;
631 - top: -28px;
824 + top: -30px;
632 825 display: block;
633 826 line-height: 14px;
827 + font-size: 14px;
634 828 }
635 829
636 830 .page-options-icon {
637 831 display: inline-block;
@@ -644,14 +838,12 @@
644 838 font-weight: bold;
645 839 font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
646 840 }
647 841
648 -.e2pdf-welcome li,
649 -.e2pdf-page-options li
842 +.e2pdf-welcome li
650 843 {
651 844 display: inline-block;
652 - width: 33.3%;
653 - padding: 0 10px;
845 + width: 33.33%;
654 846 vertical-align: top;
655 847 -webkit-box-sizing: border-box;
656 848 -moz-box-sizing: border-box;
657 849 box-sizing: border-box;
@@ -656,13 +848,21 @@
656 848 -moz-box-sizing: border-box;
657 849 box-sizing: border-box;
658 850 }
659 851
660 -.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,
661 861 .e2pdf-welcome li a.button-primary:focus,
662 862 .e2pdf-welcome li a.button-primary:link,
663 863 .e2pdf-welcome li a.button-primary:active,
664 -.e2pdf-page-options li a.button-primary,
864 +.e2pdf-page-options li a.button-primary,
665 865 .e2pdf-page-options li a.button-primary:focus,
666 866 .e2pdf-page-options li a.button-primary:link,
667 867 .e2pdf-page-options li a.button-primary:active
668 868 {
@@ -672,17 +872,24 @@
672 872 padding: 0;
673 873 margin: 0;
674 874 line-height: 50px;
675 875 vertical-align: middle;
676 -
677 876 }
678 877
679 -.e2pdf-html {
680 - 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;
681 887 outline-offset: -1px;
682 888 }
683 889
684 -.e2pdf-hide-markup .e2pdf-html {
890 +.e2pdf-hide-markup .e2pdf-html,
891 +.e2pdf-hide-markup .e2pdf-page-number {
685 892 outline: none;
686 893 }
687 894
688 895 .e2pdf-el-wrapper .e2pdf-link {
@@ -695,67 +902,39 @@
695 902 box-sizing: border-box;
696 903 border: 1px dashed #5fbfe2;
697 904 }
698 905
699 -.e2pdf-el-wrapper .e2pdf-signature:before {
700 - position: absolute;
701 - content: "Signature";
702 - left: 0;
703 - top: 0;
704 - font-size: 8px;
705 - font-family: "Noto Sans";
706 - color: #fff;
707 - line-height: 8px;
708 - background: #23282d;
709 - padding: 2px;
710 - max-width: 100%;
711 - max-height: 100%;
906 +.wp-core-ui .button.button-small.ed_button {
907 + margin: 0;
908 + padding: 6px;
712 909 -webkit-box-sizing: border-box;
713 910 -moz-box-sizing: border-box;
714 911 box-sizing: border-box;
715 -
912 + box-shadow: none;
716 913 }
717 914
718 -.e2pdf-el-wrapper .e2pdf-signature {
719 - width: 100%;
720 - height: 100%;
721 - overflow: hidden;
722 - min-height: 2px;
723 - -webkit-box-sizing: border-box;
724 - -moz-box-sizing: border-box;
725 - box-sizing: border-box;
726 - border: 1px dashed #23282d;
727 - overflow: hidden;
915 +.ed_button {
916 + font-size: 15px;
728 917 }
729 918
730 -.wp-core-ui .button.button-small.ed_button {
731 - margin: 0;
732 - padding: 0 10px;
733 - height: 24px;
734 - line-height: 24px;
919 +.wp-core-ui .button-group.button-small .button, .wp-core-ui .button.button-small {
920 + line-height: none;
735 921 }
736 922
737 -.ed_button {
738 - font-size: 15px;
739 -}
740 923
741 -
742 924 .wp-core-ui .button.button-small.ed_button i {
743 - line-height: 18px;
744 - height: 18px;
745 - display: inline-block;
925 + display: inline;
746 926 vertical-align: middle;
747 927 font-size: 18px;
748 928 }
749 929
750 -.wp-core-ui .button.button-small.ed_button .dashicons-editor-strikethrough {
751 - font-size: 24px;
752 -}
753 930
754 931 .wp-core-ui .e2pdf-panel-options li .button.button-small.ed_button {
932 + display: inline-block;
755 933 border: 0px;
756 - border-radius: 0;
757 934 border-right: 1px solid #ddd;
935 + border-bottom: 1px solid #ddd;
936 + font-size: 10px;
758 937 }
759 938
760 939 .e2pdf-tpl .ui-resizable {
761 940 max-width: 100%;
@@ -761,11 +940,15 @@
761 940 max-width: 100%;
762 941 max-height: 100%;
763 942 }
764 943
765 -.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 {
766 948 width: 100%;
767 949 height: 100%;
950 + max-width: 100%;
768 951 resize: none;
769 952 margin: 0;
770 953 padding: 0;
771 954 vertical-align: top;
@@ -771,8 +954,9 @@
771 954 vertical-align: top;
772 955 background: none;
773 956 box-shadow: none;
774 957 border: 1px dashed #ddd;
958 + border-radius: 0;
775 959 -webkit-box-sizing: border-box;
776 960 -moz-box-sizing: border-box;
777 961 box-sizing: border-box;
778 962 font-size: inherit;
@@ -780,8 +964,47 @@
780 964 min-width: 0;
781 965 min-height: 0;
782 966 }
783 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 +
784 1007 .e2pdf-hide-markup .e2pdf-tpl .e2pdf-drag,
785 1008 .e2pdf-hide-markup .e2pdf-tpl .ui-resizable-se,
786 1009 .e2pdf-hidden-loader
787 1010 {
@@ -787,9 +1010,11 @@
787 1010 {
788 1011 display: none !important;
789 1012 }
790 1013
791 -.e2pdf-el-wrapper .e2pdf-html {
1014 +.e2pdf-el-wrapper .e2pdf-html,
1015 +.e2pdf-el-wrapper .e2pdf-page-number
1016 +{
792 1017 width: 100%;
793 1018 height: 100%;
794 1019 overflow: hidden;
795 1020 min-height: 2px;
@@ -797,8 +1022,56 @@
797 1022 -moz-box-sizing: border-box;
798 1023 box-sizing: border-box;
799 1024 }
800 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 +
801 1074 .e2pdf-el-wrapper {
802 1075 z-index: 0;
803 1076 -webkit-box-sizing: border-box;
804 1077 -moz-box-sizing: border-box;
@@ -805,41 +1078,77 @@
805 1078 box-sizing: border-box;
806 1079 }
807 1080
808 1081 .e2pdf-element .ui-resizable-se {
809 - right: 0px;
810 - bottom: -17px;
811 - border: 1px dashed #ddd;
812 - border-top: none;
813 - color: #000;
814 - background-color: #fff;
1082 + right: -5px;
1083 + bottom: -5px;
1084 + background-image: none;
815 1085 }
816 1086
817 -.e2pdf-drag {
818 - font-size: 12px;
819 - width: 16px;
820 - height: 16px;
821 - line-height: 16px;
822 - position: absolute;
823 - right: 16px;
824 - bottom: -17px;
825 - color: #000;
826 - border: 1px dashed #ddd;
827 - border-right: none;
828 - border-top: none;
829 - 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;
830 1115 -webkit-box-sizing: border-box;
831 1116 -moz-box-sizing: border-box;
832 1117 box-sizing: border-box;
833 1118 }
834 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 +
835 1138 .e2pdf-drag:hover {
836 1139 cursor: pointer;
837 1140 }
838 1141
1142 +.e2pdf-focused .e2pdf-drag {
1143 + display: none;
1144 +}
1145 +
839 1146 .categorydiv.e2pdf-tabs-panel div.tabs-panel {
840 1147 max-height: none;
841 1148 overflow: visible;
1149 + border: 0 !important;
1150 + padding: 0px 5px !important;
842 1151 }
843 1152
844 1153 .e2pdf-el-wrapper .ui-icon {
845 1154 -webkit-box-sizing: border-box;
@@ -858,20 +1167,21 @@
858 1167
859 1168 .e2pdf-colorpicker-wr .wp-picker-container {
860 1169 display: inline-block;
861 1170 outline: 0;
1171 + width: 100%;
862 1172 }
863 1173
864 1174 .postbox-container .e2pdf-colorpicker-wr .wp-picker-container .iris-picker {
865 1175 position: absolute;
866 - top: -205px;
1176 + top: -185px;
867 1177 margin-right: 25px;
868 1178 right: 100%;
869 1179 }
870 1180
871 1181 .e2pdf-colorpicker-wr .wp-color-result, .e2pdf-colorpicker-wr .wp-picker-container .wp-color-result.button {
872 - height: 28px;
873 - line-height: 28px;
1182 + height: 40px;
1183 + line-height: 40px;
874 1184 margin: 0;
875 1185 border: none;
876 1186 border-radius: 0;
877 1187 box-shadow: none;
@@ -881,11 +1191,15 @@
881 1191 width: 100%;
882 1192 border: 1px solid #ddd;
883 1193 }
884 1194
1195 +.e2pdf-colorpicker-wr .wp-picker-container .wp-color-result.button {
1196 + min-height: 40px;
1197 +}
1198 +
885 1199 .e2pdf-colorpicker-wr .wp-color-result .wp-color-result-text {
886 - height: 26px;
887 - line-height: 26px;
1200 + height: 40px;
1201 + line-height: 40px;
888 1202 margin: 0;
889 1203 border: none;
890 1204 border-radius: 0;
891 1205 box-shadow: none;
@@ -892,19 +1206,23 @@
892 1206 -webkit-box-sizing: border-box;
893 1207 -moz-box-sizing: border-box;
894 1208 box-sizing: border-box;
895 1209 width: 100%;
1210 + border-bottom: 1px solid #ddd;
1211 + text-overflow: ellipsis;
1212 + overflow: hidden;
896 1213 }
897 1214
898 1215 .e2pdf-colorpicker-wr .wp-color-result.wp-picker-open, .e2pdf-colorpicker-wr .wp-picker-container .wp-color-result.button.wp-picker-open
899 1216 {
900 1217 width: 50%;
1218 + margin-right: 0 !important;
901 1219 }
902 1220
903 1221 .wp-core-ui .e2pdf-colorpicker-wr .button.button-small {
904 1222 padding: 0;
905 - height: 28px;
906 - line-height: 28px;
1223 + height: 30px;
1224 + line-height: 30px;
907 1225 margin: 0;
908 1226 -webkit-box-sizing: border-box;
909 1227 -moz-box-sizing: border-box;
910 1228 box-sizing: border-box;
@@ -916,14 +1234,15 @@
916 1234 }
917 1235
918 1236 .e2pdf-colorpicker-wr .wp-picker-container input[type=text].wp-color-picker {
919 1237 width: 60%;
920 - height: 28px;
921 - line-height: 28px;
1238 + height: 40px;
1239 + line-height: 40px;
922 1240 }
923 1241
924 1242 .e2pdf-colorpicker-wr .wp-picker-container .wp-picker-input-wrap label input[type=text].wp-color-picker {
925 1243 width: 100%;
1244 + border-radius: 0;
926 1245 }
927 1246
928 1247 .e2pdf-colorpicker-wr .wp-picker-container.wp-picker-active .e2pdf-color-picker {
929 1248 display: inline-block;
@@ -941,10 +1260,10 @@
941 1260 }
942 1261
943 1262 .e2pdf-colorpicker-wr .wp-core-ui .button.button-small {
944 1263 border-radius: 0;
945 - height: 28px;
946 - line-height: 28px;
1264 + height: 30px;
1265 + line-height: 30px;
947 1266 }
948 1267
949 1268 .e2pdf-colorpicker-wr .wp-picker-input-wrap {
950 1269 width: 50%;
@@ -950,9 +1269,9 @@
950 1269 width: 50%;
951 1270 }
952 1271
953 1272 .e2pdf-colorpicker-wr .wp-picker-input-wrap label {
954 - width: 60%;
1273 + width: 100%;
955 1274 }
956 1275
957 1276 .e2pdf-color-picker {
958 1277 display: none;
@@ -961,18 +1280,31 @@
961 1280 .e2pdf-hide {
962 1281 display: none;
963 1282 }
964 1283
1284 +.e2pdf-strong-label .e2pdf-label {
1285 + font-size: 12px;
1286 + font-weight: bold;
1287 +}
1288 +
965 1289 .e2pdf-hide-label .e2pdf-label {
966 1290 display: none;
967 1291 }
968 1292
1293 +.e2pdf-label {
1294 + vertical-align: middle;
1295 +}
1296 +
1297 +.e2pdf-mt-label {
1298 + margin-top: 18px;
1299 +}
1300 +
969 1301 .e2pdf-rel {
970 1302 position: relative;
971 1303 }
972 1304
973 -.e2pdf-el-properties .e2pdf-left > div,
974 -.e2pdf-el-properties .e2pdf-right > div,
1305 +.e2pdf-el-properties .e2pdf-left > div,
1306 +.e2pdf-el-properties .e2pdf-right > div,
975 1307 .e2pdf-el-properties .e2pdf-top > div,
976 1308 .e2pdf-el-properties .e2pdf-bottom > div {
977 1309 margin-bottom: 5px;
978 1310 margin-top: 10px;
@@ -978,11 +1310,14 @@
978 1310 margin-top: 10px;
979 1311 padding: 10px;
980 1312 background: #fafafa;
981 1313 border: 1px solid #eee;
982 - border-radius: 3px;
983 1314 }
984 1315
1316 +.e2pdf-el-properties textarea {
1317 + overscroll-behavior: contain;
1318 +}
1319 +
985 1320 .e2pdf-select-options {
986 1321 height: 75px;
987 1322 }
988 1323
@@ -1023,9 +1358,11 @@
1023 1358 display: block;
1024 1359 }
1025 1360
1026 1361 .e2pdf-loader, .e2pdf-form-loader .spinner {
1027 - 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;
1028 1365 margin: 0;
1029 1366 }
1030 1367
1031 1368 .e2pdf-el-wrapper.e2pdf-loader .e2pdf-image {
@@ -1033,30 +1370,33 @@
1033 1370 }
1034 1371
1035 1372 .e2pdf-form-loader {
1036 1373 position: absolute;
1037 - top: 0;
1038 - right: 20px;
1374 + top: 3px;
1375 + right: 24px;
1039 1376 }
1040 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 +
1041 1391 .e2pdf-border {
1042 1392 border: 1px dashed #ddd;
1043 1393 }
1044 1394
1045 -.e2pdf-export-form .e2pdf-ib {
1046 - line-height: 28px;
1047 - vertical-align: middle;
1048 -}
1049 -
1050 1395 .e2pdf-export-form .e2pdf-grid {
1051 1396 margin-bottom: 10px;
1052 1397 }
1053 1398
1054 -.e2pdf-export-form select, input[type='text'] {
1055 - width: 100%;
1056 -}
1057 -
1058 -
1059 1399 .e2pdf-export-form .e2pdf-options {
1060 1400 display: none;
1061 1401 }
1062 1402
@@ -1071,12 +1411,16 @@
1071 1411 .e2pdf-align-left {
1072 1412 text-align: left;
1073 1413 }
1074 1414
1075 -a.e2pdf-link,
1076 -a.e2pdf-link:focus,
1077 -a.e2pdf-link:link,
1078 -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,
1079 1423 a.e2pdf-link:hover {
1080 1424 text-decoration: none;
1081 1425 vertical-align: middle;
1082 1426 outline:none;
@@ -1088,8 +1432,13 @@
1088 1432 position: absolute;
1089 1433 z-index: 102 !important;
1090 1434 }
1091 1435
1436 +.e2pdf-inline-radio > div {
1437 + display: inline-block;
1438 + padding: 0 4px;
1439 +}
1440 +
1092 1441 ul.e2pdf-inline-links {
1093 1442 margin: 0;
1094 1443 }
1095 1444
@@ -1124,14 +1473,8 @@
1124 1473 box-shadow: none;
1125 1474 border-color: #ddd;
1126 1475 }
1127 1476
1128 -.e2pdf-submitbox .e2pdf-link,
1129 -.e2pdf-submitbox .e2pdf-link i {
1130 - line-height: 28px;
1131 - height: 28px;
1132 -}
1133 -
1134 1477 a.e2pdf-color-orange, .e2pdf-color-orange, .e2pdf-license-status .pre_expired {
1135 1478 color: #ffbf00;
1136 1479 border-bottom: 1px dotted #ffbf00;
1137 1480 }
@@ -1146,9 +1489,9 @@
1146 1489 border-bottom: 1px dotted #093;
1147 1490 }
1148 1491
1149 1492 .e2pdf-templates-list-tablenav .alignright.actions {
1150 - padding: 0;
1493 + padding: 0;
1151 1494 }
1152 1495
1153 1496 .e2pdf-templates-list-tablenav .alignright.actions a.button {
1154 1497 margin: 3px 0 0 0;
@@ -1157,36 +1500,59 @@
1157 1500 .e2pdf-debug-panel {
1158 1501 clear: both;
1159 1502 width: 100%;
1160 1503 text-align: left;
1161 - font-size: 10px;
1162 - padding: 10px;
1504 + font-size: 9px;
1505 + padding: 5px;
1163 1506 -webkit-box-sizing: border-box;
1164 1507 -moz-box-sizing: border-box;
1165 1508 box-sizing: border-box;
1166 - margin-top: 10px;
1167 1509 }
1168 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 +
1169 1528 .e2pdf-fonts-list .e2pdf-name {
1170 - width: 40%;
1529 + width: 80%;
1171 1530 }
1172 1531
1173 1532 .e2pdf-fonts-list .e2pdf-value {
1174 - width: 60%;
1533 + width: 20%;
1534 + text-align: right;
1175 1535 }
1176 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 +
1177 1547 .e2pdf-options-list .e2pdf-name {
1178 - line-height: 28px;
1548 + line-height: 30px;
1179 1549 }
1180 1550
1181 1551 .e2pdf-options-list .e2pdf-value {
1182 - line-height: 28px;
1552 + line-height: 30px;
1183 1553 }
1184 1554
1185 -.e2pdf-options-list .e2pdf-value input[type='text'] {
1186 - text-align: right;
1187 -}
1188 -
1189 1555 .e2pdf-export-shortcodes {
1190 1556 background: #eee;
1191 1557 border: 1px dashed #ddd;
1192 1558 padding: 10px;
@@ -1200,36 +1566,60 @@
1200 1566 font-size: 12px;
1201 1567 background: #fff;
1202 1568 }
1203 1569
1204 -.e2pdf-notice.notice {
1205 - border-left-color: #f6a828;
1206 - padding: 10px;
1207 -}
1208 -
1209 -.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 {
1210 1573 color: #cccccc;
1211 1574 }
1212 1575
1213 1576 .e2pdf-selected .e2pdf-drag, .e2pdf-active {
1214 1577 color: #0073aa;
1578 + color: var(--wp-admin-theme-color);
1215 1579 }
1216 1580
1217 -.e2pdf-show-all-elements .e2pdf-tpl .e2pdf-hide {
1581 +.e2pdf-show-all-elements .e2pdf-tpl .e2pdf-element.e2pdf-hide {
1218 1582 display: inline-block;
1219 1583 }
1220 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 +
1221 1607 .e2pdf-vm-wrapper {
1222 1608 position: absolute;
1223 1609 width: 100%;
1224 1610 height: 100%;
1225 - z-index: 1;
1611 + z-index: 999;
1226 1612 top: 0;
1227 1613 left: 0;
1228 1614 overflow: hidden;
1229 1615 }
1230 1616
1231 -.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 {
1232 1622 margin: 0;
1233 1623 }
1234 1624
1235 1625 a.e2pdf-vm-element {
@@ -1245,95 +1635,57 @@
1245 1635 a.e2pdf-vm-element:hover {
1246 1636 opacity: 0.4;
1247 1637 }
1248 1638
1249 -.e2pdf-tpl-inner {
1250 - position: absolute;
1251 - min-width: 100%;
1639 +.e2pdf-vm-item {
1640 + padding: 0 5px;
1641 + vertical-align: bottom;
1252 1642 }
1253 1643
1254 -.e2pdf-z200 .e2pdf-tpl-inner {
1255 - -ms-transform: scale(2);
1256 - -webkit-transform: scale(2);
1257 - transform: scale(2);
1258 - transform-origin: 0 0;
1644 +.e2pdf-vm-item label {
1645 + word-break: break-all;
1646 + text-overflow: ellipsis;
1647 + overflow: hidden;
1259 1648 }
1260 1649
1261 -.e2pdf-z200 .e2pdf-page {
1262 - margin-top: 80px;
1650 +.e2pdf-tpl-inner {
1651 + position: absolute;
1652 + min-width: 100%;
1263 1653 }
1264 1654
1265 -.e2pdf-z175 .e2pdf-tpl-inner {
1266 - -ms-transform: scale(1.75);
1267 - -webkit-transform: scale(1.75);
1268 - 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));
1269 1660 transform-origin: 0 0;
1270 1661 }
1271 1662
1272 -.e2pdf-z175 .e2pdf-page {
1273 - margin-top: 70px;
1274 -}
1275 -
1276 -.e2pdf-z150 .e2pdf-tpl-inner {
1277 - -ms-transform: scale(1.5);
1278 - -webkit-transform: scale(1.5);
1279 - 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)));
1280 1667 transform-origin: 0 0;
1281 1668 }
1282 1669
1283 -.e2pdf-z150 .e2pdf-page {
1284 - 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%;
1285 1675 }
1286 1676
1287 -.e2pdf-z125 .e2pdf-tpl-inner {
1288 - -ms-transform: scale(1.25);
1289 - -webkit-transform: scale(1.25);
1290 - transform: scale(1.25);
1291 - 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;
1292 1681 }
1293 1682
1294 -.e2pdf-z125 .e2pdf-page {
1295 - margin-top: 50px;
1296 -}
1297 -
1298 -.e2pdf-z75 .e2pdf-tpl-inner {
1299 - -ms-transform: scale(0.75);
1300 - -webkit-transform: scale(0.75);
1301 - transform: scale(0.75);
1302 - transform-origin: 0 0;
1303 - width: 133.33%;
1304 - height: 75%;
1305 -}
1306 -
1307 -.e2pdf-z50 .e2pdf-tpl-inner {
1308 - -ms-transform: scale(0.50);
1309 - -webkit-transform: scale(0.50);
1310 - transform: scale(0.50);
1311 - transform-origin: 0 0;
1312 - width: 200%;
1313 - height: 50%;
1314 -}
1315 -
1316 -.e2pdf-z25 .e2pdf-tpl-inner {
1317 - -ms-transform: scale(0.25);
1318 - -webkit-transform: scale(0.25);
1319 - transform: scale(0.25);
1320 - transform-origin: 0 0;
1321 - width: 400%;
1322 - height: 25%;
1323 -}
1324 -
1325 -.e2pdf-dialog input[type='text'], .e2pdf-dialog select {
1326 - height: 28px;
1327 - line-height: 28px;
1328 - margin: 0;
1329 -}
1330 -
1331 1683 .e2pdf-dialog li {
1332 1684 margin-bottom: 10px;
1333 1685 }
1334 1686
1335 -.e2pdf-dialog .e2pdf-el-properties li:not('ui-menu-item') {
1687 +.e2pdf-dialog .e2pdf-el-properties li:not(ui-menu-item) {
1336 1688 margin-bottom: 5px;
1337 1689 background: #f9f9f9;
1338 1690 padding: 5px;
1339 1691 padding-right: 10px;
@@ -1349,8 +1701,13 @@
1349 1701 font-size: 12px;
1350 1702 font-weight: bold;
1351 1703 }
1352 1704
1705 +.e2pdf-dialog label.e2pdf-label {
1706 + font-weight: normal;
1707 + line-height: 40px;
1708 +}
1709 +
1353 1710 .e2pdf-dialog .visual-mapper label {
1354 1711 display: block;
1355 1712 }
1356 1713
@@ -1355,8 +1712,12 @@
1355 1712 }
1356 1713
1357 1714 .e2pdf-vm-content {
1358 1715 margin-bottom: 10px;
1716 + display: inline-block;
1717 + min-width: 100%;
1718 + width: 100%;
1719 + min-height: 30px;
1359 1720 }
1360 1721
1361 1722 .e2pdf-vm-content input, .e2pdf-vm-content select {
1362 1723 display: inline-block;
@@ -1364,21 +1725,12 @@
1364 1725 margin-right: 0;
1365 1726 max-width: 100%;
1366 1727 }
1367 1728
1368 -.e2pdf-vm-content .frm_fields_container h3 {
1369 - margin-top: 0;
1370 - margin-bottom: 0;
1371 -}
1372 -
1373 -.e2pdf-vm-content .frm_style_formidable-style.with_frm_style .frm_repeat_sec {
1374 - margin-top: 0;
1375 - margin-bottom: 0;
1376 -}
1377 -
1378 1729 .e2pdf-vm-field-wrapper {
1379 1730 position: relative;
1380 1731 display: inline-block;
1732 + width: 100%;
1381 1733 }
1382 1734
1383 1735 .e2pdf-dialog input[type='text'].e2pdf-vm-field {
1384 1736 position: absolute;
@@ -1392,9 +1744,9 @@
1392 1744 display: none;
1393 1745 }
1394 1746
1395 1747 .visual-mapper {
1396 - min-height: 28px !important;
1748 + min-height: 30px !important;
1397 1749 }
1398 1750
1399 1751 .misc-pub-e2pdf-activation a.e2pdf-link, .misc-pub-e2pdf-item a.e2pdf-link {
1400 1752 line-height: 22px;
@@ -1399,9 +1751,13 @@
1399 1751 .misc-pub-e2pdf-activation a.e2pdf-link, .misc-pub-e2pdf-item a.e2pdf-link {
1400 1752 line-height: 22px;
1401 1753 }
1402 1754
1403 -#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 {
1404 1760 font: 400 20px/1 dashicons;
1405 1761 speak: none;
1406 1762 display: inline-block;
1407 1763 margin-left: -1px;
@@ -1413,11 +1769,23 @@
1413 1769 content: "\f528";
1414 1770 }
1415 1771
1416 1772 #post-body .misc-pub-e2pdf-item:before {
1417 - content: "\f498";
1773 + content: "\f498";
1418 1774 }
1419 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 +
1420 1788 .misc-pub-e2pdf-shortcode input {
1421 1789 font-size: 12px;
1422 1790 }
1423 1791
@@ -1425,10 +1793,11 @@
1425 1793 padding: 6px 8px 8px;
1426 1794 }
1427 1795
1428 1796 .e2pdf-reupload-pages {
1429 - max-height: 400px;
1797 + max-height: 300px;
1430 1798 overflow-y: auto;
1799 + overscroll-behavior: contain;
1431 1800 }
1432 1801
1433 1802 .e2pdf-reupload-pages .e2pdf-grid {
1434 1803 padding-bottom: 5px;
@@ -1433,27 +1802,61 @@
1433 1802 .e2pdf-reupload-pages .e2pdf-grid {
1434 1803 padding-bottom: 5px;
1435 1804 border-bottom: 1px solid #eee;
1436 1805 margin-bottom: 5px;
1437 - line-height: 28px;
1806 + line-height: 30px;
1438 1807 }
1439 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 +
1440 1818 .e2pdf-mt5 {
1441 1819 margin-top: 5px;
1442 1820 }
1443 1821
1822 +.wp-core-ui .button.e2pdf-mt6, .e2pdf-mt6 {
1823 + margin-top: 6px;
1824 +}
1825 +
1444 1826 .e2pdf-mt10 {
1445 1827 margin-top: 10px;
1446 1828 }
1447 1829
1830 +.e2pdf-mt15 {
1831 + margin-top: 15px;
1832 +}
1833 +
1448 1834 .e2pdf-mt23 {
1449 1835 margin-top: 23px;
1450 1836 }
1451 1837
1838 +.e2pdf-mb0 {
1839 + margin-bottom: 0px;
1840 +}
1841 +
1452 1842 .e2pdf-mb5 {
1453 1843 margin-bottom: 5px;
1454 1844 }
1455 1845
1846 +.e2pdf-mb10 {
1847 + margin-bottom: 5px;
1848 +}
1849 +
1850 +.e2pdf-mb20 {
1851 + margin-bottom: 20px;
1852 +}
1853 +
1854 +.wp-core-ui .button-primary.e2pdf-ml5,
1855 +.e2pdf-ml5 {
1856 + margin-left: 5px;
1857 +}
1858 +
1456 1859 .e2pdf-email-lock {
1457 1860 position: absolute;
1458 1861 width: 100%;
1459 1862 height: 100%;
@@ -1505,26 +1908,45 @@
1505 1908 -moz-box-sizing: border-box;
1506 1909 box-sizing: border-box;
1507 1910 }
1508 1911
1509 -.e2pdf-action-delete {
1912 +.e2pdf-action-delete, .e2pdf-search-replace-delete {
1510 1913 position: absolute;
1511 1914 top: 0;
1512 1915 right: 0;
1916 + background: #eee;
1513 1917 }
1514 1918
1515 -.e2pdf-action {
1516 - padding: 10px;
1517 - border-radius: 3px;
1518 - border: 1px solid #eee;
1519 - margin-bottom: 10px;
1919 +.e2pdf-action-duplicate {
1920 + position: absolute;
1921 + top: 0;
1922 + right: 22px;
1923 + background: #eee;
1520 1924 }
1521 1925
1522 -.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] {
1523 1945 margin-top: 5px;
1524 1946 }
1525 1947
1526 -.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 {
1527 1949 display: none;
1528 1950 }
1529 1951
1530 1952 .e2pdf-action .e2pdf-colorpicker-wr .wp-picker-input-wrap label,
@@ -1547,27 +1969,30 @@
1547 1969 display: none;
1548 1970 }
1549 1971
1550 1972 .e2pdf-action .e2pdf-colorpicker-wr .wp-picker-container .wp-picker-input-wrap label input[type=text].wp-color-picker {
1551 - padding-left: 25px;
1973 + padding-left: 32px;
1552 1974 }
1553 1975
1554 1976
1555 1977 .e2pdf-guide-h {
1556 - border-top: 1px dashed #99D5FF;
1557 - width: 100%;
1978 + border-top: #0073aa;
1979 + border-top: 1px dashed var(--wp-admin-theme-color);
1980 + width: 100%;
1558 1981 }
1559 1982
1560 1983 .e2pdf-guide-v {
1561 - border-left: 1px dashed #99D5FF;
1562 - height: 100%;
1984 + border-left: #0073aa;
1985 + border-left: 1px dashed var(--wp-admin-theme-color);
1986 + height: 100%;
1563 1987 }
1564 1988
1565 1989 .e2pdf-guide {
1566 - display: none;
1567 - position: absolute;
1568 - left: 0;
1569 - top: 0;
1990 + display: none;
1991 + position: absolute;
1992 + left: 0;
1993 + top: 0;
1994 + z-index: 999999;
1570 1995 }
1571 1996
1572 1997 .e2pdf-element .e2pdf-radio, .e2pdf-element .e2pdf-checkbox {
1573 1998 -moz-appearance: none;
@@ -1584,8 +2009,9 @@
1584 2009 }
1585 2010
1586 2011 .category-tabs.e2pdf-tabs {
1587 2012 margin-bottom: 4px;
2013 + line-height: 18px;
1588 2014 }
1589 2015
1590 2016 .e2pdf-onload .spinner {
1591 2017 visibility: visible;
@@ -1590,12 +2016,366 @@
1590 2016 .e2pdf-onload .spinner {
1591 2017 visibility: visible;
1592 2018 }
1593 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 +
1594 2031 .e2pdf-load-page {
1595 - background: url('../img/loader.gif') center center no-repeat #fdfdfd !important;
2032 + background: url('../img/loader.svg') center center no-repeat #fdfdfd !important;
1596 2033 }
1597 2034
2035 +.tablenav .tablenav-pages.e2pdf-tablenav-pages .button, .tablenav .tablenav-pages.e2pdf-tablenav-pages .tablenav-pages-navspan {
2036 + display: inline-block;
2037 + vertical-align: baseline;
2038 + min-width: 30px;
2039 + min-height: 30px;
2040 + margin: 0;
2041 + padding: 0 4px;
2042 + font-size: 16px;
2043 + line-height: 1.5;
2044 + text-align: center;
2045 +}
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 +
1598 2378 @media screen and (max-width: 1024px) {
1599 2379 .widefat.e2pdf-templates-list .column-item {
1600 2380 width: 11em;
1601 2381 }
@@ -1600,9 +2380,9 @@
1600 2380 width: 11em;
1601 2381 }
1602 2382 }
1603 2383
1604 -@media only screen and (max-width: 960px) {
2384 +@media screen and (max-width: 960px) {
1605 2385 .widefat.e2pdf-templates-list .column-id {
1606 2386 width: 3.4em;
1607 2387 }
1608 2388
@@ -1610,8 +2390,49 @@
1610 2390 width: 9em;
1611 2391 }
1612 2392 }
1613 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 +
1614 2435 @media screen and (max-width: 782px) {
1615 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 {
1616 2437 display: table-cell !important;
1617 2438 width: 3.7em !important;
@@ -1630,5 +2451,15 @@
1630 2451 .wp-list-table.e2pdf-templates-list td.column-shortcode .misc-pub-section {
1631 2452 padding: 5px;
1632 2453 }
1633 2454
1634 -}
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 +