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