PluginProbe
E2Pdf – Export Pdf Tool for WordPress / 1.32.53
E2Pdf – Export Pdf Tool for WordPress v1.32.53
1.32.53 1.32.51 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 All 74 releases
← All changes | css/e2pdf.backend.css +1141 -309 1.03.07 → 1.32.53 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;
@@ -26,12 +21,16 @@
26 21 .e2pdf-w25 {
27 22 width: 25%;
28 23 }
29 24
30 -.e2pdf-w30 {
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
@@ -38,9 +37,9 @@
38 37 .e2pdf-w40 {
39 38 width: 40%;
40 39 }
41 40
42 -.e2pdf-w50 {
41 +.e2pdf-w50, .e2pdf-dialog label.e2pdf-w50 {
43 42 width: 50%;
44 43 }
45 44
46 45 .e2pdf-w60 {
@@ -46,20 +45,40 @@
46 45 .e2pdf-w60 {
47 46 width: 60%;
48 47 }
49 48
50 -.e2pdf-w70 {
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,24 +838,31 @@
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%;
846 + vertical-align: top;
654 847 -webkit-box-sizing: border-box;
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,30 +1370,33 @@
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
1053 -.e2pdf-export-form select, input[type='text'] {
1054 - width: 100%;
1055 -}
1056 -
1057 -
1058 1399 .e2pdf-export-form .e2pdf-options {
1059 1400 display: none;
1060 1401 }
1061 1402
@@ -1070,12 +1411,16 @@
1070 1411 .e2pdf-align-left {
1071 1412 text-align: left;
1072 1413 }
1073 1414
1074 -a.e2pdf-link,
1075 -a.e2pdf-link:focus,
1076 -a.e2pdf-link:link,
1077 -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,
1078 1423 a.e2pdf-link:hover {
1079 1424 text-decoration: none;
1080 1425 vertical-align: middle;
1081 1426 outline:none;
@@ -1087,8 +1432,13 @@
1087 1432 position: absolute;
1088 1433 z-index: 102 !important;
1089 1434 }
1090 1435
1436 +.e2pdf-inline-radio > div {
1437 + display: inline-block;
1438 + padding: 0 4px;
1439 +}
1440 +
1091 1441 ul.e2pdf-inline-links {
1092 1442 margin: 0;
1093 1443 }
1094 1444
@@ -1123,14 +1473,8 @@
1123 1473 box-shadow: none;
1124 1474 border-color: #ddd;
1125 1475 }
1126 1476
1127 -.e2pdf-submitbox .e2pdf-link,
1128 -.e2pdf-submitbox .e2pdf-link i {
1129 - line-height: 28px;
1130 - height: 28px;
1131 -}
1132 -
1133 1477 a.e2pdf-color-orange, .e2pdf-color-orange, .e2pdf-license-status .pre_expired {
1134 1478 color: #ffbf00;
1135 1479 border-bottom: 1px dotted #ffbf00;
1136 1480 }
@@ -1145,9 +1489,9 @@
1145 1489 border-bottom: 1px dotted #093;
1146 1490 }
1147 1491
1148 1492 .e2pdf-templates-list-tablenav .alignright.actions {
1149 - padding: 0;
1493 + padding: 0;
1150 1494 }
1151 1495
1152 1496 .e2pdf-templates-list-tablenav .alignright.actions a.button {
1153 1497 margin: 3px 0 0 0;
@@ -1156,36 +1500,59 @@
1156 1500 .e2pdf-debug-panel {
1157 1501 clear: both;
1158 1502 width: 100%;
1159 1503 text-align: left;
1160 - font-size: 10px;
1161 - padding: 10px;
1504 + font-size: 9px;
1505 + padding: 5px;
1162 1506 -webkit-box-sizing: border-box;
1163 1507 -moz-box-sizing: border-box;
1164 1508 box-sizing: border-box;
1165 - margin-top: 10px;
1166 1509 }
1167 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 +
1168 1528 .e2pdf-fonts-list .e2pdf-name {
1169 - width: 40%;
1529 + width: 80%;
1170 1530 }
1171 1531
1172 1532 .e2pdf-fonts-list .e2pdf-value {
1173 - width: 60%;
1533 + width: 20%;
1534 + text-align: right;
1174 1535 }
1175 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 +
1176 1547 .e2pdf-options-list .e2pdf-name {
1177 - line-height: 28px;
1548 + line-height: 30px;
1178 1549 }
1179 1550
1180 1551 .e2pdf-options-list .e2pdf-value {
1181 - line-height: 28px;
1552 + line-height: 30px;
1182 1553 }
1183 1554
1184 -.e2pdf-options-list .e2pdf-value input[type='text'] {
1185 - text-align: right;
1186 -}
1187 -
1188 1555 .e2pdf-export-shortcodes {
1189 1556 background: #eee;
1190 1557 border: 1px dashed #ddd;
1191 1558 padding: 10px;
@@ -1199,36 +1566,60 @@
1199 1566 font-size: 12px;
1200 1567 background: #fff;
1201 1568 }
1202 1569
1203 -.e2pdf-notice.notice {
1204 - border-left-color: #f6a828;
1205 - padding: 10px;
1206 -}
1207 -
1208 -.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 {
1209 1573 color: #cccccc;
1210 1574 }
1211 1575
1212 1576 .e2pdf-selected .e2pdf-drag, .e2pdf-active {
1213 1577 color: #0073aa;
1578 + color: var(--wp-admin-theme-color);
1214 1579 }
1215 1580
1216 -.e2pdf-show-all-elements .e2pdf-tpl .e2pdf-hide {
1581 +.e2pdf-show-all-elements .e2pdf-tpl .e2pdf-element.e2pdf-hide {
1217 1582 display: inline-block;
1218 1583 }
1219 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 +
1220 1607 .e2pdf-vm-wrapper {
1221 1608 position: absolute;
1222 1609 width: 100%;
1223 1610 height: 100%;
1224 - z-index: 1;
1611 + z-index: 999;
1225 1612 top: 0;
1226 1613 left: 0;
1227 1614 overflow: hidden;
1228 1615 }
1229 1616
1230 -.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 {
1231 1622 margin: 0;
1232 1623 }
1233 1624
1234 1625 a.e2pdf-vm-element {
@@ -1244,95 +1635,57 @@
1244 1635 a.e2pdf-vm-element:hover {
1245 1636 opacity: 0.4;
1246 1637 }
1247 1638
1248 -.e2pdf-tpl-inner {
1249 - position: absolute;
1250 - min-width: 100%;
1639 +.e2pdf-vm-item {
1640 + padding: 0 5px;
1641 + vertical-align: bottom;
1251 1642 }
1252 1643
1253 -.e2pdf-z200 .e2pdf-tpl-inner {
1254 - -ms-transform: scale(2);
1255 - -webkit-transform: scale(2);
1256 - transform: scale(2);
1257 - transform-origin: 0 0;
1644 +.e2pdf-vm-item label {
1645 + word-break: break-all;
1646 + text-overflow: ellipsis;
1647 + overflow: hidden;
1258 1648 }
1259 1649
1260 -.e2pdf-z200 .e2pdf-page {
1261 - margin-top: 80px;
1650 +.e2pdf-tpl-inner {
1651 + position: absolute;
1652 + min-width: 100%;
1262 1653 }
1263 1654
1264 -.e2pdf-z175 .e2pdf-tpl-inner {
1265 - -ms-transform: scale(1.75);
1266 - -webkit-transform: scale(1.75);
1267 - 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));
1268 1660 transform-origin: 0 0;
1269 1661 }
1270 1662
1271 -.e2pdf-z175 .e2pdf-page {
1272 - margin-top: 70px;
1273 -}
1274 -
1275 -.e2pdf-z150 .e2pdf-tpl-inner {
1276 - -ms-transform: scale(1.5);
1277 - -webkit-transform: scale(1.5);
1278 - 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)));
1279 1667 transform-origin: 0 0;
1280 1668 }
1281 1669
1282 -.e2pdf-z150 .e2pdf-page {
1283 - 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%;
1284 1675 }
1285 1676
1286 -.e2pdf-z125 .e2pdf-tpl-inner {
1287 - -ms-transform: scale(1.25);
1288 - -webkit-transform: scale(1.25);
1289 - transform: scale(1.25);
1290 - 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;
1291 1681 }
1292 1682
1293 -.e2pdf-z125 .e2pdf-page {
1294 - margin-top: 50px;
1295 -}
1296 -
1297 -.e2pdf-z75 .e2pdf-tpl-inner {
1298 - -ms-transform: scale(0.75);
1299 - -webkit-transform: scale(0.75);
1300 - transform: scale(0.75);
1301 - transform-origin: 0 0;
1302 - width: 133.33%;
1303 - height: 75%;
1304 -}
1305 -
1306 -.e2pdf-z50 .e2pdf-tpl-inner {
1307 - -ms-transform: scale(0.50);
1308 - -webkit-transform: scale(0.50);
1309 - transform: scale(0.50);
1310 - transform-origin: 0 0;
1311 - width: 200%;
1312 - height: 50%;
1313 -}
1314 -
1315 -.e2pdf-z25 .e2pdf-tpl-inner {
1316 - -ms-transform: scale(0.25);
1317 - -webkit-transform: scale(0.25);
1318 - transform: scale(0.25);
1319 - transform-origin: 0 0;
1320 - width: 400%;
1321 - height: 25%;
1322 -}
1323 -
1324 -.e2pdf-dialog input[type='text'], .e2pdf-dialog select {
1325 - height: 28px;
1326 - line-height: 28px;
1327 - margin: 0;
1328 -}
1329 -
1330 1683 .e2pdf-dialog li {
1331 1684 margin-bottom: 10px;
1332 1685 }
1333 1686
1334 -.e2pdf-dialog .e2pdf-el-properties li:not('ui-menu-item') {
1687 +.e2pdf-dialog .e2pdf-el-properties li:not(ui-menu-item) {
1335 1688 margin-bottom: 5px;
1336 1689 background: #f9f9f9;
1337 1690 padding: 5px;
1338 1691 padding-right: 10px;
@@ -1348,8 +1701,13 @@
1348 1701 font-size: 12px;
1349 1702 font-weight: bold;
1350 1703 }
1351 1704
1705 +.e2pdf-dialog label.e2pdf-label {
1706 + font-weight: normal;
1707 + line-height: 40px;
1708 +}
1709 +
1352 1710 .e2pdf-dialog .visual-mapper label {
1353 1711 display: block;
1354 1712 }
1355 1713
@@ -1354,8 +1712,12 @@
1354 1712 }
1355 1713
1356 1714 .e2pdf-vm-content {
1357 1715 margin-bottom: 10px;
1716 + display: inline-block;
1717 + min-width: 100%;
1718 + width: 100%;
1719 + min-height: 30px;
1358 1720 }
1359 1721
1360 1722 .e2pdf-vm-content input, .e2pdf-vm-content select {
1361 1723 display: inline-block;
@@ -1363,21 +1725,12 @@
1363 1725 margin-right: 0;
1364 1726 max-width: 100%;
1365 1727 }
1366 1728
1367 -.e2pdf-vm-content .frm_fields_container h3 {
1368 - margin-top: 0;
1369 - margin-bottom: 0;
1370 -}
1371 -
1372 -.e2pdf-vm-content .frm_style_formidable-style.with_frm_style .frm_repeat_sec {
1373 - margin-top: 0;
1374 - margin-bottom: 0;
1375 -}
1376 -
1377 1729 .e2pdf-vm-field-wrapper {
1378 1730 position: relative;
1379 1731 display: inline-block;
1732 + width: 100%;
1380 1733 }
1381 1734
1382 1735 .e2pdf-dialog input[type='text'].e2pdf-vm-field {
1383 1736 position: absolute;
@@ -1391,9 +1744,9 @@
1391 1744 display: none;
1392 1745 }
1393 1746
1394 1747 .visual-mapper {
1395 - min-height: 28px !important;
1748 + min-height: 30px !important;
1396 1749 }
1397 1750
1398 1751 .misc-pub-e2pdf-activation a.e2pdf-link, .misc-pub-e2pdf-item a.e2pdf-link {
1399 1752 line-height: 22px;
@@ -1398,9 +1751,13 @@
1398 1751 .misc-pub-e2pdf-activation a.e2pdf-link, .misc-pub-e2pdf-item a.e2pdf-link {
1399 1752 line-height: 22px;
1400 1753 }
1401 1754
1402 -#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 {
1403 1760 font: 400 20px/1 dashicons;
1404 1761 speak: none;
1405 1762 display: inline-block;
1406 1763 margin-left: -1px;
@@ -1412,11 +1769,23 @@
1412 1769 content: "\f528";
1413 1770 }
1414 1771
1415 1772 #post-body .misc-pub-e2pdf-item:before {
1416 - content: "\f498";
1773 + content: "\f498";
1417 1774 }
1418 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 +
1419 1788 .misc-pub-e2pdf-shortcode input {
1420 1789 font-size: 12px;
1421 1790 }
1422 1791
@@ -1424,10 +1793,11 @@
1424 1793 padding: 6px 8px 8px;
1425 1794 }
1426 1795
1427 1796 .e2pdf-reupload-pages {
1428 - max-height: 400px;
1797 + max-height: 300px;
1429 1798 overflow-y: auto;
1799 + overscroll-behavior: contain;
1430 1800 }
1431 1801
1432 1802 .e2pdf-reupload-pages .e2pdf-grid {
1433 1803 padding-bottom: 5px;
@@ -1432,27 +1802,61 @@
1432 1802 .e2pdf-reupload-pages .e2pdf-grid {
1433 1803 padding-bottom: 5px;
1434 1804 border-bottom: 1px solid #eee;
1435 1805 margin-bottom: 5px;
1436 - line-height: 28px;
1806 + line-height: 30px;
1437 1807 }
1438 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 +
1439 1818 .e2pdf-mt5 {
1440 1819 margin-top: 5px;
1441 1820 }
1442 1821
1822 +.wp-core-ui .button.e2pdf-mt6, .e2pdf-mt6 {
1823 + margin-top: 6px;
1824 +}
1825 +
1443 1826 .e2pdf-mt10 {
1444 1827 margin-top: 10px;
1445 1828 }
1446 1829
1830 +.e2pdf-mt15 {
1831 + margin-top: 15px;
1832 +}
1833 +
1447 1834 .e2pdf-mt23 {
1448 1835 margin-top: 23px;
1449 1836 }
1450 1837
1838 +.e2pdf-mb0 {
1839 + margin-bottom: 0px;
1840 +}
1841 +
1451 1842 .e2pdf-mb5 {
1452 1843 margin-bottom: 5px;
1453 1844 }
1454 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 +
1455 1859 .e2pdf-email-lock {
1456 1860 position: absolute;
1457 1861 width: 100%;
1458 1862 height: 100%;
@@ -1504,26 +1908,45 @@
1504 1908 -moz-box-sizing: border-box;
1505 1909 box-sizing: border-box;
1506 1910 }
1507 1911
1508 -.e2pdf-action-delete {
1912 +.e2pdf-action-delete, .e2pdf-search-replace-delete {
1509 1913 position: absolute;
1510 1914 top: 0;
1511 1915 right: 0;
1916 + background: #eee;
1512 1917 }
1513 1918
1514 -.e2pdf-action {
1515 - padding: 10px;
1516 - border-radius: 3px;
1517 - border: 1px solid #eee;
1518 - margin-bottom: 10px;
1919 +.e2pdf-action-duplicate {
1920 + position: absolute;
1921 + top: 0;
1922 + right: 22px;
1923 + background: #eee;
1519 1924 }
1520 1925
1521 -.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] {
1522 1945 margin-top: 5px;
1523 1946 }
1524 1947
1525 -.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 {
1526 1949 display: none;
1527 1950 }
1528 1951
1529 1952 .e2pdf-action .e2pdf-colorpicker-wr .wp-picker-input-wrap label,
@@ -1546,27 +1969,30 @@
1546 1969 display: none;
1547 1970 }
1548 1971
1549 1972 .e2pdf-action .e2pdf-colorpicker-wr .wp-picker-container .wp-picker-input-wrap label input[type=text].wp-color-picker {
1550 - padding-left: 25px;
1973 + padding-left: 32px;
1551 1974 }
1552 1975
1553 1976
1554 1977 .e2pdf-guide-h {
1555 - border-top: 1px dashed #99D5FF;
1556 - width: 100%;
1978 + border-top: #0073aa;
1979 + border-top: 1px dashed var(--wp-admin-theme-color);
1980 + width: 100%;
1557 1981 }
1558 1982
1559 1983 .e2pdf-guide-v {
1560 - border-left: 1px dashed #99D5FF;
1561 - height: 100%;
1984 + border-left: #0073aa;
1985 + border-left: 1px dashed var(--wp-admin-theme-color);
1986 + height: 100%;
1562 1987 }
1563 1988
1564 1989 .e2pdf-guide {
1565 - display: none;
1566 - position: absolute;
1567 - left: 0;
1568 - top: 0;
1990 + display: none;
1991 + position: absolute;
1992 + left: 0;
1993 + top: 0;
1994 + z-index: 999999;
1569 1995 }
1570 1996
1571 1997 .e2pdf-element .e2pdf-radio, .e2pdf-element .e2pdf-checkbox {
1572 1998 -moz-appearance: none;
@@ -1583,8 +2009,9 @@
1583 2009 }
1584 2010
1585 2011 .category-tabs.e2pdf-tabs {
1586 2012 margin-bottom: 4px;
2013 + line-height: 18px;
1587 2014 }
1588 2015
1589 2016 .e2pdf-onload .spinner {
1590 2017 visibility: visible;
@@ -1589,12 +2016,366 @@
1589 2016 .e2pdf-onload .spinner {
1590 2017 visibility: visible;
1591 2018 }
1592 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 +
1593 2031 .e2pdf-load-page {
1594 - background: url('../img/loader.gif') center center no-repeat #fdfdfd !important;
2032 + background: url('../img/loader.svg') center center no-repeat #fdfdfd !important;
1595 2033 }
1596 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 +
1597 2378 @media screen and (max-width: 1024px) {
1598 2379 .widefat.e2pdf-templates-list .column-item {
1599 2380 width: 11em;
1600 2381 }
@@ -1599,9 +2380,9 @@
1599 2380 width: 11em;
1600 2381 }
1601 2382 }
1602 2383
1603 -@media only screen and (max-width: 960px) {
2384 +@media screen and (max-width: 960px) {
1604 2385 .widefat.e2pdf-templates-list .column-id {
1605 2386 width: 3.4em;
1606 2387 }
1607 2388
@@ -1609,8 +2390,49 @@
1609 2390 width: 9em;
1610 2391 }
1611 2392 }
1612 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 +
1613 2435 @media screen and (max-width: 782px) {
1614 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 {
1615 2437 display: table-cell !important;
1616 2438 width: 3.7em !important;
@@ -1629,5 +2451,15 @@
1629 2451 .wp-list-table.e2pdf-templates-list td.column-shortcode .misc-pub-section {
1630 2452 padding: 5px;
1631 2453 }
1632 2454
1633 -}
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 +