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