Fix mobile QR popout style
| @@ -34,6 +34,12 @@ | ||
| 34 | 34 | right: 0.25em; |
| 35 | 35 | top: 0; |
| 36 | 36 | } |
| 37 | +/*hide QR popout for mobile*/ | |
| 38 | +@media screen and (max-width: 1000px) { | |
| 39 | + #qr--bar > #qr--popoutTrigger { | |
| 40 | + display: none; | |
| 41 | + } | |
| 42 | +} | |
| 37 | 43 | #qr--bar.popoutVisible { |
| 38 | 44 | padding-right: 2.5em; |
| 39 | 45 | } |
| @@ -1,11 +1,16 @@ | ||
| 1 | 1 | @keyframes qr--success { |
| 2 | - 0%, 100% { | |
| 2 | + | |
| 3 | + 0%, | |
| 4 | + 100% { | |
| 3 | 5 | color: var(--SmartThemeBodyColor); |
| 4 | 6 | } |
| 5 | - 25%, 75% { | |
| 7 | + | |
| 8 | + 25%, | |
| 9 | + 75% { | |
| 6 | 10 | color: rgb(81, 163, 81); |
| 7 | 11 | } |
| 8 | 12 | } |
| 13 | + | |
| 9 | 14 | &.qr--success { |
| 10 | 15 | animation-name: qr--success; |
| 11 | 16 | animation-duration: 3s; |
| @@ -13,6 +18,7 @@ | ||
| 13 | 18 | animation-delay: 0s; |
| 14 | 19 | animation-iteration-count: 1; |
| 15 | 20 | } |
| 21 | + | |
| 16 | 22 | #qr--bar { |
| 17 | 23 | outline: none; |
| 18 | 24 | margin: 0; |
| @@ -33,6 +39,14 @@ | ||
| 33 | 39 | top: 0; |
| 34 | 40 | } |
| 35 | 41 | } |
| 42 | + | |
| 43 | +/*hide QR popout for mobile*/ | |
| 44 | +@media screen and (max-width: 1000px) { | |
| 45 | + #qr--bar>#qr--popoutTrigger { | |
| 46 | + display: none; | |
| 47 | + } | |
| 48 | +} | |
| 49 | + | |
| 36 | 50 | #qr--bar.popoutVisible { |
| 37 | 51 | padding-right: 2.5em; |
| 38 | 52 | } |
| @@ -68,17 +82,21 @@ | ||
| 68 | 82 | #qr--popout>.qr--body { |
| 69 | 83 | >.qr--buttons { |
| 70 | 84 | --qr--color: transparent; |
| 85 | + | |
| 71 | 86 | &.qr--color { |
| 72 | 87 | background-color: var(--qr--color); |
| 73 | 88 | } |
| 89 | + | |
| 74 | 90 | &.qr--borderColor { |
| 75 | 91 | background-color: transparent; |
| 76 | 92 | border-left: 5px solid var(--qr--color); |
| 77 | 93 | border-right: 5px solid var(--qr--color); |
| 78 | 94 | } |
| 95 | + | |
| 79 | 96 | &:has(.qr--buttons.qr--color) { |
| 80 | 97 | margin: 5px; |
| 81 | 98 | } |
| 99 | + | |
| 82 | 100 | margin: 0; |
| 83 | 101 | padding: 0; |
| 84 | 102 | display: flex; |
| @@ -89,6 +107,7 @@ | ||
| 89 | 107 | |
| 90 | 108 | >.qr--buttons { |
| 91 | 109 | display: contents; |
| 110 | + | |
| 92 | 111 | &.qr--color { |
| 93 | 112 | .qr--button:before { |
| 94 | 113 | content: ''; |
| @@ -97,11 +116,14 @@ | ||
| 97 | 116 | inset: -5px; |
| 98 | 117 | z-index: -1; |
| 99 | 118 | } |
| 119 | + | |
| 100 | 120 | &.qr--borderColor { |
| 101 | 121 | .qr--button:before { |
| 102 | 122 | display: none; |
| 103 | 123 | } |
| 104 | - &:before, &:after { | |
| 124 | + | |
| 125 | + &:before, | |
| 126 | + &:after { | |
| 105 | 127 | content: ''; |
| 106 | 128 | width: 5px; |
| 107 | 129 | background-color: var(--qr--color); |
| @@ -132,6 +154,7 @@ | ||
| 132 | 154 | .qr--hidden { |
| 133 | 155 | display: none; |
| 134 | 156 | } |
| 157 | + | |
| 135 | 158 | .qr--button-icon { |
| 136 | 159 | margin: 0 0.5em; |
| 137 | 160 | } |
| @@ -277,15 +300,19 @@ | ||
| 277 | 300 | transition: var(--animation-duration); |
| 278 | 301 | margin: -2px 0 -11px 0; |
| 279 | 302 | position: relative; |
| 303 | + | |
| 280 | 304 | .qr--actions { |
| 281 | 305 | display: flex; |
| 282 | 306 | gap: 0.25em; |
| 283 | 307 | flex: 0 0 auto; |
| 308 | + | |
| 284 | 309 | .qr--action { |
| 285 | 310 | margin: 0; |
| 286 | 311 | } |
| 287 | 312 | } |
| 288 | - &:before, &:after { | |
| 313 | + | |
| 314 | + &:before, | |
| 315 | + &:after { | |
| 289 | 316 | content: ""; |
| 290 | 317 | display: block; |
| 291 | 318 | flex: 1 1 auto; |
| @@ -293,10 +320,13 @@ | ||
| 293 | 320 | margin: 0 1em; |
| 294 | 321 | height: 0; |
| 295 | 322 | } |
| 296 | - &:hover, &:focus-within { | |
| 323 | + | |
| 324 | + &:hover, | |
| 325 | + &:focus-within { | |
| 297 | 326 | opacity: 1; |
| 298 | 327 | } |
| 299 | 328 | } |
| 329 | + | |
| 300 | 330 | >.qr--set-item .qr--content { |
| 301 | 331 | display: flex; |
| 302 | 332 | flex-direction: row; |
| @@ -336,9 +366,11 @@ | ||
| 336 | 366 | display: flex; |
| 337 | 367 | align-items: center; |
| 338 | 368 | gap: 0.5em; |
| 369 | + | |
| 339 | 370 | .qr--set-itemIcon:not(.fa-solid) { |
| 340 | 371 | display: none; |
| 341 | 372 | } |
| 373 | + | |
| 342 | 374 | .qr--set-itemLabel { |
| 343 | 375 | min-width: 24px; |
| 344 | 376 | } |
| @@ -384,6 +416,7 @@ | ||
| 384 | 416 | align-items: baseline; |
| 385 | 417 | } |
| 386 | 418 | } |
| 419 | + | |
| 387 | 420 | >#qr--autoExec { |
| 388 | 421 | .checkbox_label { |
| 389 | 422 | text-wrap: nowrap; |
| @@ -433,44 +466,52 @@ | ||
| 433 | 466 | bottom: unset; |
| 434 | 467 | margin: unset; |
| 435 | 468 | padding: 0; |
| 469 | + | |
| 436 | 470 | &::backdrop { |
| 437 | 471 | backdrop-filter: unset; |
| 438 | 472 | background-color: transparent; |
| 439 | 473 | } |
| 474 | + | |
| 440 | 475 | .popup-body { |
| 441 | 476 | flex: 0 0 auto; |
| 442 | 477 | height: min-content; |
| 443 | 478 | width: min-content; |
| 444 | 479 | } |
| 480 | + | |
| 445 | 481 | .popup-content { |
| 446 | 482 | flex: 0 0 auto; |
| 447 | 483 | margin-top: 0; |
| 448 | 484 | |
| 449 | 485 | >#qr--modalEditor { |
| 450 | 486 | max-height: 50vh; |
| 487 | + | |
| 451 | 488 | >#qr--main, |
| 452 | 489 | >#qr--resizeHandle, |
| 453 | 490 | >#qr--qrOptions>h3, |
| 454 | 491 | >#qr--qrOptions>#qr--modal-executeButtons, |
| 455 | 492 | > #qr--qrOptions > #qr--modal-executeProgress { |
| 456 | - { | |
| 457 | 493 | display: none; |
| 458 | 494 | } |
| 495 | + | |
| 459 | 496 | #qr--qrOptions { |
| 460 | 497 | width: auto; |
| 461 | 498 | } |
| 499 | + | |
| 462 | 500 | #qr--modal-debugButtons .qr--modal-debugButton#qr--modal-maximize { |
| 463 | 501 | display: flex; |
| 464 | 502 | } |
| 503 | + | |
| 465 | 504 | #qr--modal-debugButtons .qr--modal-debugButton#qr--modal-minimize { |
| 466 | 505 | display: none; |
| 467 | 506 | } |
| 507 | + | |
| 468 | 508 | #qr--modal-debugState { |
| 469 | 509 | padding-top: 0; |
| 470 | 510 | } |
| 471 | 511 | } |
| 472 | 512 | } |
| 473 | 513 | } |
| 514 | + | |
| 474 | 515 | &:has(.qr--isExecuting) { |
| 475 | 516 | .popup-controls { |
| 476 | 517 | display: none; |
| @@ -481,10 +522,12 @@ | ||
| 481 | 522 | z-index: 50000; |
| 482 | 523 | pointer-events: none; |
| 483 | 524 | background-color: rgb(47 150 180 / 0.5); |
| 525 | + | |
| 484 | 526 | &.qr--unresolved { |
| 485 | 527 | background-color: rgb(255 255 0 / 0.5); |
| 486 | 528 | } |
| 487 | 529 | } |
| 530 | + | |
| 488 | 531 | .qr--highlight-secondary { |
| 489 | 532 | position: absolute; |
| 490 | 533 | z-index: 50000; |
| @@ -505,6 +548,7 @@ | ||
| 505 | 548 | overflow: hidden; |
| 506 | 549 | |
| 507 | 550 | &.qr--isExecuting { |
| 551 | + | |
| 508 | 552 | #qr--main>h3:first-child, |
| 509 | 553 | #qr--main>.qr--labels, |
| 510 | 554 | #qr--main>.qr--modal-messageContainer>.qr--modal-editorSettings, |
| @@ -512,15 +556,17 @@ | ||
| 512 | 556 | #qr--qrOptions>#qr--ctxEditor, |
| 513 | 557 | #qr--qrOptions>.qr--ctxEditorActions, |
| 514 | 558 | #qr--qrOptions>.qr--ctxEditorActions+h3, |
| 515 | 559 | #qr--qrOptions > .qr--ctxEditorActions + h3 + div { |
| 516 | - { | |
| 517 | 560 | display: none; |
| 518 | 561 | } |
| 562 | + | |
| 519 | 563 | #qr--main>.qr--modal-messageContainer>#qr--modal-messageHolder>#qr--modal-message { |
| 520 | 564 | visibility: hidden; |
| 521 | 565 | } |
| 566 | + | |
| 522 | 567 | #qr--modal-debugButtons { |
| 523 | 568 | display: flex; |
| 569 | + | |
| 524 | 570 | .menu_button:not(#qr--modal-minimize, #qr--modal-maximize) { |
| 525 | 571 | cursor: not-allowed; |
| 526 | 572 | opacity: 0.5; |
| @@ -529,11 +575,13 @@ | ||
| 529 | 575 | border-color: transparent; |
| 530 | 576 | } |
| 531 | 577 | } |
| 578 | + | |
| 532 | 579 | &.qr--isPaused #qr--modal-debugButtons { |
| 533 | 580 | .menu_button:not(#qr--modal-minimize, #qr--modal-maximize) { |
| 534 | 581 | cursor: pointer; |
| 535 | 582 | opacity: 1; |
| 536 | 583 | pointer-events: all; |
| 584 | + | |
| 537 | 585 | &#qr--modal-resume { |
| 538 | 586 | animation-name: qr--debugPulse; |
| 539 | 587 | animation-duration: 1500ms; |
| @@ -541,31 +589,38 @@ | ||
| 541 | 589 | animation-delay: 0s; |
| 542 | 590 | animation-iteration-count: infinite; |
| 543 | 591 | } |
| 592 | + | |
| 544 | 593 | &#qr--modal-resume { |
| 545 | 594 | border-color: rgb(81, 163, 81); |
| 546 | 595 | } |
| 596 | + | |
| 547 | 597 | &#qr--modal-step { |
| 548 | 598 | border-color: var(--SmartThemeQuoteColor); |
| 549 | 599 | } |
| 600 | + | |
| 550 | 601 | &#qr--modal-stepInto { |
| 551 | 602 | border-color: var(--SmartThemeQuoteColor); |
| 552 | 603 | } |
| 604 | + | |
| 553 | 605 | &#qr--modal-stepOut { |
| 554 | 606 | border-color: var(--SmartThemeQuoteColor); |
| 555 | 607 | } |
| 556 | 608 | } |
| 557 | 609 | } |
| 610 | + | |
| 558 | 611 | #qr--resizeHandle { |
| 559 | 612 | width: 6px; |
| 560 | 613 | background-color: var(--SmartThemeBorderColor); |
| 561 | 614 | border: 2px solid var(--SmartThemeBlurTintColor); |
| 562 | 615 | transition: border-color var(--animation-duration-2x), background-color var(--animation-duration-2x); |
| 563 | 616 | cursor: w-resize; |
| 617 | + | |
| 564 | 618 | &:hover { |
| 565 | 619 | background-color: var(--SmartThemeQuoteColor); |
| 566 | 620 | border-color: var(--SmartThemeQuoteColor); |
| 567 | 621 | } |
| 568 | 622 | } |
| 623 | + | |
| 569 | 624 | #qr--qrOptions { |
| 570 | 625 | width: var(--width, auto); |
| 571 | 626 | } |
| @@ -576,38 +631,48 @@ | ||
| 576 | 631 | display: flex; |
| 577 | 632 | flex-direction: column; |
| 578 | 633 | overflow: hidden; |
| 634 | + | |
| 579 | 635 | >.qr--labels { |
| 580 | 636 | flex: 0 0 auto; |
| 581 | 637 | display: flex; |
| 582 | 638 | flex-direction: row; |
| 583 | 639 | gap: 0.5em; |
| 584 | 640 | padding: 1px; |
| 585 | - > label, > .label { | |
| 641 | + | |
| 642 | + >label, | |
| 643 | + >.label { | |
| 586 | 644 | flex: 1 1 1px; |
| 587 | 645 | display: flex; |
| 588 | 646 | flex-direction: column; |
| 589 | 647 | position: relative; |
| 648 | + | |
| 590 | 649 | &.qr--fit { |
| 591 | 650 | flex: 0 0 auto; |
| 592 | 651 | justify-content: center; |
| 593 | 652 | } |
| 653 | + | |
| 594 | 654 | .qr--inputGroup { |
| 595 | 655 | display: flex; |
| 596 | 656 | align-items: baseline; |
| 597 | 657 | gap: 0.5em; |
| 658 | + | |
| 598 | 659 | input { |
| 599 | 660 | flex: 1 1 auto; |
| 600 | 661 | } |
| 601 | 662 | } |
| 663 | + | |
| 602 | 664 | .qr--labelText { |
| 603 | 665 | flex: 1 1 auto; |
| 604 | 666 | } |
| 667 | + | |
| 605 | 668 | .qr--labelHint { |
| 606 | 669 | flex: 1 1 auto; |
| 607 | 670 | } |
| 671 | + | |
| 608 | 672 | input { |
| 609 | 673 | flex: 0 0 auto; |
| 610 | 674 | } |
| 675 | + | |
| 611 | 676 | .qr--modal-switcherList { |
| 612 | 677 | background-color: var(--stcdx--bgColor); |
| 613 | 678 | border: 1px solid var(--SmartThemeBorderColor); |
| @@ -625,6 +690,7 @@ | ||
| 625 | 690 | list-style: none; |
| 626 | 691 | z-index: 40000; |
| 627 | 692 | max-width: 100%; |
| 693 | + | |
| 628 | 694 | .qr--modal-switcherItem { |
| 629 | 695 | display: flex; |
| 630 | 696 | gap: 1em; |
| @@ -632,18 +698,24 @@ | ||
| 632 | 698 | opacity: 0.75; |
| 633 | 699 | transition: var(--animation-duration-2x); |
| 634 | 700 | cursor: pointer; |
| 701 | + | |
| 635 | 702 | &:hover { |
| 636 | 703 | opacity: 1; |
| 637 | 704 | } |
| 705 | + | |
| 638 | 706 | &.qr--current { |
| 639 | 707 | opacity: 1; |
| 640 | - .qr--label, .qr--id { | |
| 708 | + | |
| 709 | + .qr--label, | |
| 710 | + .qr--id { | |
| 641 | 711 | font-weight: bold; |
| 642 | 712 | } |
| 643 | 713 | } |
| 644 | 714 | } |
| 715 | + | |
| 645 | 716 | .qr--label { |
| 646 | 717 | white-space: nowrap; |
| 718 | + | |
| 647 | 719 | .menu_button { |
| 648 | 720 | display: inline-block; |
| 649 | 721 | height: min-content; |
| @@ -651,11 +723,19 @@ | ||
| 651 | 723 | margin: 0 0.5em 0 0; |
| 652 | 724 | } |
| 653 | 725 | } |
| 726 | + | |
| 654 | 727 | .qr--id { |
| 655 | 728 | opacity: 0.5; |
| 656 | - &:before { content: "["; } | |
| 729 | + | |
| 657 | - &:after { content: "]"; } | |
| 730 | + &:before { | |
| 731 | + content: "["; | |
| 658 | 732 | } |
| 733 | + | |
| 734 | + &:after { | |
| 735 | + content: "]"; | |
| 736 | + } | |
| 737 | + } | |
| 738 | + | |
| 659 | 739 | .qr--message { |
| 660 | 740 | height: 1lh; |
| 661 | 741 | overflow: hidden; |
| @@ -666,11 +746,13 @@ | ||
| 666 | 746 | } |
| 667 | 747 | } |
| 668 | 748 | } |
| 749 | + | |
| 669 | 750 | >.qr--modal-messageContainer { |
| 670 | 751 | flex: 1 1 auto; |
| 671 | 752 | display: flex; |
| 672 | 753 | flex-direction: column; |
| 673 | 754 | overflow: hidden; |
| 755 | + | |
| 674 | 756 | >.qr--modal-editorSettings { |
| 675 | 757 | display: flex; |
| 676 | 758 | flex-wrap: wrap; |
| @@ -679,38 +761,48 @@ | ||
| 679 | 761 | color: var(--grey70); |
| 680 | 762 | font-size: smaller; |
| 681 | 763 | align-items: baseline; |
| 764 | + | |
| 682 | 765 | >.checkbox_label { |
| 683 | 766 | white-space: nowrap; |
| 767 | + | |
| 684 | 768 | >input { |
| 685 | 769 | font-size: inherit; |
| 686 | 770 | } |
| 687 | 771 | } |
| 688 | 772 | } |
| 773 | + | |
| 689 | 774 | >#qr--modal-messageHolder { |
| 690 | 775 | flex: 1 1 auto; |
| 691 | 776 | display: grid; |
| 692 | 777 | text-align: left; |
| 693 | 778 | overflow: hidden; |
| 779 | + | |
| 694 | 780 | &.qr--noSyntax { |
| 695 | 781 | >#qr--modal-messageSyntax { |
| 696 | 782 | display: none; |
| 697 | 783 | } |
| 784 | + | |
| 698 | 785 | >#qr--modal-message { |
| 699 | 786 | background-color: var(--ac-style-color-background); |
| 700 | 787 | color: var(--ac-style-color-text); |
| 701 | - &::-webkit-scrollbar, &::-webkit-scrollbar-thumb { | |
| 788 | + | |
| 789 | + &::-webkit-scrollbar, | |
| 790 | + &::-webkit-scrollbar-thumb { | |
| 702 | 791 | visibility: visible; |
| 703 | 792 | cursor: unset; |
| 704 | 793 | } |
| 794 | + | |
| 705 | 795 | &::selection { |
| 706 | 796 | color: unset; |
| 707 | 797 | background-color: rgba(108 171 251 / 0.25); |
| 798 | + | |
| 708 | 799 | @supports (color: rgb(from white r g b / 0.25)) { |
| 709 | 800 | background-color: rgb(from var(--ac-style-color-matchedText) r g b / 0.25); |
| 710 | 801 | } |
| 711 | 802 | } |
| 712 | 803 | } |
| 713 | 804 | } |
| 805 | + | |
| 714 | 806 | >#qr--modal-messageSyntax { |
| 715 | 807 | grid-column: 1; |
| 716 | 808 | grid-row: 1; |
| @@ -720,10 +812,12 @@ | ||
| 720 | 812 | overflow: hidden; |
| 721 | 813 | min-width: 100%; |
| 722 | 814 | width: 0; |
| 815 | + | |
| 723 | 816 | >#qr--modal-messageSyntaxInner { |
| 724 | 817 | height: 100%; |
| 725 | 818 | } |
| 726 | 819 | } |
| 820 | + | |
| 727 | 821 | >#qr--modal-message { |
| 728 | 822 | background-color: transparent; |
| 729 | 823 | color: transparent; |
| @@ -731,19 +825,25 @@ | ||
| 731 | 825 | grid-row: 1; |
| 732 | 826 | caret-color: var(--ac-style-color-text); |
| 733 | 827 | overflow: auto; |
| 734 | - &::-webkit-scrollbar, &::-webkit-scrollbar-thumb { | |
| 828 | + | |
| 829 | + &::-webkit-scrollbar, | |
| 830 | + &::-webkit-scrollbar-thumb { | |
| 735 | 831 | visibility: hidden; |
| 736 | 832 | cursor: default; |
| 737 | 833 | } |
| 834 | + | |
| 738 | 835 | &::selection { |
| 739 | 836 | color: transparent; |
| 740 | 837 | background-color: rgba(108 171 251 / 0.25); |
| 838 | + | |
| 741 | 839 | @supports (color: rgb(from white r g b / 0.25)) { |
| 742 | 840 | background-color: rgb(from var(--ac-style-color-matchedText) r g b / 0.25); |
| 743 | 841 | } |
| 744 | 842 | } |
| 745 | 843 | } |
| 746 | - #qr--modal-message, #qr--modal-messageSyntaxInner { | |
| 844 | + | |
| 845 | + #qr--modal-message, | |
| 846 | + #qr--modal-messageSyntaxInner { | |
| 747 | 847 | font-family: var(--monoFontFamily); |
| 748 | 848 | padding: 0.75em; |
| 749 | 849 | margin: 0; |
| @@ -756,10 +856,12 @@ | ||
| 756 | 856 | } |
| 757 | 857 | } |
| 758 | 858 | } |
| 859 | + | |
| 759 | 860 | #qr--modal-icon { |
| 760 | 861 | height: 100%; |
| 761 | 862 | aspect-ratio: 1 / 1; |
| 762 | 863 | } |
| 864 | + | |
| 763 | 865 | #qr--modal-executeButtons { |
| 764 | 866 | display: flex; |
| 765 | 867 | gap: 1em; |
| @@ -819,16 +921,20 @@ | ||
| 819 | 921 | border-color: rgb(215, 136, 114); |
| 820 | 922 | } |
| 821 | 923 | } |
| 924 | + | |
| 822 | 925 | #qr--modal-debugButtons { |
| 823 | 926 | display: none; |
| 824 | 927 | gap: 1em; |
| 928 | + | |
| 825 | 929 | .qr--modal-debugButton { |
| 826 | 930 | aspect-ratio: 1.25 / 1; |
| 827 | 931 | width: 2.25em; |
| 828 | 932 | position: relative; |
| 933 | + | |
| 829 | 934 | &:not(.fa-solid) { |
| 830 | 935 | border-width: 1px; |
| 831 | 936 | border-style: solid; |
| 937 | + | |
| 832 | 938 | &:after { |
| 833 | 939 | content: ''; |
| 834 | 940 | position: absolute; |
| @@ -839,18 +945,23 @@ | ||
| 839 | 945 | mask-repeat: no-repeat; |
| 840 | 946 | } |
| 841 | 947 | } |
| 948 | + | |
| 842 | 949 | &#qr--modal-resume:after { |
| 843 | 950 | mask-image: url('/img/step-resume.svg'); |
| 844 | 951 | } |
| 952 | + | |
| 845 | 953 | &#qr--modal-step:after { |
| 846 | 954 | mask-image: url('/img/step-over.svg'); |
| 847 | 955 | } |
| 956 | + | |
| 848 | 957 | &#qr--modal-stepInto:after { |
| 849 | 958 | mask-image: url('/img/step-into.svg'); |
| 850 | 959 | } |
| 960 | + | |
| 851 | 961 | &#qr--modal-stepOut:after { |
| 852 | 962 | mask-image: url('/img/step-out.svg'); |
| 853 | 963 | } |
| 964 | + | |
| 854 | 965 | &#qr--modal-maximize { |
| 855 | 966 | display: none; |
| 856 | 967 | } |
| @@ -941,11 +1052,14 @@ | ||
| 941 | 1052 | width: 0; |
| 942 | 1053 | white-space: pre-wrap; |
| 943 | 1054 | } |
| 1055 | + | |
| 944 | 1056 | #qr--modal-debugState { |
| 945 | 1057 | display: none; |
| 1058 | + | |
| 946 | 1059 | &.qr--active { |
| 947 | 1060 | display: block; |
| 948 | 1061 | } |
| 1062 | + | |
| 949 | 1063 | text-align: left; |
| 950 | 1064 | font-size: smaller; |
| 951 | 1065 | font-family: var(--monoFontFamily); |
| @@ -961,6 +1075,7 @@ | ||
| 961 | 1075 | display: grid; |
| 962 | 1076 | grid-template-columns: 0fr 1fr 1fr; |
| 963 | 1077 | column-gap: 0em; |
| 1078 | + | |
| 964 | 1079 | .qr--title { |
| 965 | 1080 | grid-column: 1 / 4; |
| 966 | 1081 | font-weight: bold; |
| @@ -969,47 +1084,66 @@ | ||
| 969 | 1084 | padding: 0.25em; |
| 970 | 1085 | margin-top: 0.5em; |
| 971 | 1086 | } |
| 972 | - .qr--var, .qr--macro, .qr--pipe { | |
| 1087 | + | |
| 1088 | + .qr--var, | |
| 1089 | + .qr--macro, | |
| 1090 | + .qr--pipe { | |
| 973 | 1091 | display: contents; |
| 1092 | + | |
| 974 | 1093 | &:nth-child(2n + 1) { |
| 975 | - .qr--key, .qr--val { | |
| 1094 | + | |
| 1095 | + .qr--key, | |
| 1096 | + .qr--val { | |
| 976 | 1097 | background-color: rgb(from var(--SmartThemeEmColor) r g b / 0.25); |
| 977 | 1098 | } |
| 1099 | + | |
| 978 | 1100 | .qr--val { |
| 979 | 1101 | &:nth-child(2n) { |
| 980 | 1102 | background-color: rgb(from var(--SmartThemeEmColor) r g b / 0.125); |
| 981 | 1103 | } |
| 1104 | + | |
| 982 | 1105 | &:hover { |
| 983 | 1106 | background-color: rgb(from var(--SmartThemeEmColor) r g b / 0.5); |
| 984 | 1107 | } |
| 985 | 1108 | } |
| 986 | 1109 | } |
| 1110 | + | |
| 987 | 1111 | &:nth-child(2n) { |
| 988 | 1112 | .qr--val { |
| 989 | 1113 | &:nth-child(2n) { |
| 990 | 1114 | background-color: rgb(from var(--SmartThemeEmColor) r g b / 0.0625); |
| 991 | 1115 | } |
| 1116 | + | |
| 992 | 1117 | &:hover { |
| 993 | 1118 | background-color: rgb(from var(--SmartThemeEmColor) r g b / 0.5); |
| 994 | 1119 | } |
| 995 | 1120 | } |
| 996 | 1121 | } |
| 1122 | + | |
| 997 | 1123 | &.qr--isHidden { |
| 998 | - .qr--key, .qr--val { | |
| 1124 | + | |
| 1125 | + .qr--key, | |
| 1126 | + .qr--val { | |
| 999 | 1127 | opacity: 0.5; |
| 1000 | 1128 | } |
| 1001 | 1129 | } |
| 1130 | + | |
| 1002 | 1131 | .qr--val { |
| 1003 | 1132 | grid-column: 2 / 4; |
| 1133 | + | |
| 1004 | 1134 | &.qr--singleCol { |
| 1005 | 1135 | grid-column: unset; |
| 1006 | 1136 | } |
| 1137 | + | |
| 1007 | 1138 | &.qr--simple { |
| 1008 | - &:before, &:after { | |
| 1139 | + | |
| 1140 | + &:before, | |
| 1141 | + &:after { | |
| 1009 | 1142 | content: '"'; |
| 1010 | 1143 | color: var(--SmartThemeQuoteColor); |
| 1011 | 1144 | } |
| 1012 | 1145 | } |
| 1146 | + | |
| 1013 | 1147 | &.qr--unresolved { |
| 1014 | 1148 | &:after { |
| 1015 | 1149 | content: '-UNRESOLVED-'; |
| @@ -1019,21 +1153,36 @@ | ||
| 1019 | 1153 | } |
| 1020 | 1154 | } |
| 1021 | 1155 | } |
| 1156 | + | |
| 1022 | 1157 | .qr--key { |
| 1023 | 1158 | margin-left: 0.5em; |
| 1024 | 1159 | padding-right: 1em; |
| 1025 | - &:after { content: ": "; } | |
| 1160 | + | |
| 1161 | + &:after { | |
| 1162 | + content: ": "; | |
| 1026 | 1163 | } |
| 1027 | - .qr--pipe, .qr--macro { | |
| 1164 | + } | |
| 1165 | + | |
| 1166 | + .qr--pipe, | |
| 1167 | + .qr--macro { | |
| 1028 | 1168 | >.qr--key { |
| 1029 | - &:before { content: "{{"; } | |
| 1169 | + &:before { | |
| 1030 | - &:after { content: "}}: "; } | |
| 1170 | + content: "{{"; | |
| 1171 | + } | |
| 1172 | + | |
| 1173 | + &:after { | |
| 1174 | + content: "}}: "; | |
| 1175 | + } | |
| 1031 | 1176 | } |
| 1032 | 1177 | } |
| 1178 | + | |
| 1033 | 1179 | .qr--scope { |
| 1034 | 1180 | display: contents; |
| 1181 | + | |
| 1035 | 1182 | .qr--pipe { |
| 1036 | - .qr--key, .qr--val { | |
| 1183 | + | |
| 1184 | + .qr--key, | |
| 1185 | + .qr--val { | |
| 1037 | 1186 | opacity: 0.5; |
| 1038 | 1187 | } |
| 1039 | 1188 | } |
| @@ -1043,6 +1192,7 @@ | ||
| 1043 | 1192 | .qr--stack { |
| 1044 | 1193 | display: grid; |
| 1045 | 1194 | grid-template-columns: 1fr 0fr; |
| 1195 | + | |
| 1046 | 1196 | .qr--title { |
| 1047 | 1197 | grid-column: 1 / 3; |
| 1048 | 1198 | font-weight: bold; |
| @@ -1051,16 +1201,22 @@ | ||
| 1051 | 1201 | padding: 0.25em; |
| 1052 | 1202 | margin-top: 1em; |
| 1053 | 1203 | } |
| 1204 | + | |
| 1054 | 1205 | .qr--item { |
| 1055 | 1206 | display: contents; |
| 1207 | + | |
| 1056 | 1208 | &:nth-child(2n + 1) { |
| 1057 | - .qr--name, .qr--source { | |
| 1209 | + | |
| 1210 | + .qr--name, | |
| 1211 | + .qr--source { | |
| 1058 | 1212 | background-color: rgb(from var(--SmartThemeEmColor) r g b / 0.25); |
| 1059 | 1213 | } |
| 1060 | 1214 | } |
| 1215 | + | |
| 1061 | 1216 | .qr--name { |
| 1062 | 1217 | margin-left: 0.5em; |
| 1063 | 1218 | } |
| 1219 | + | |
| 1064 | 1220 | .qr--source { |
| 1065 | 1221 | opacity: 0.5; |
| 1066 | 1222 | text-align: right; |
| @@ -1086,6 +1242,7 @@ | ||
| 1086 | 1242 | } |
| 1087 | 1243 | |
| 1088 | 1244 | @keyframes qr--debugPulse { |
| 1245 | + | |
| 1089 | 1246 | 0%, |
| 1090 | 1247 | 100% { |
| 1091 | 1248 | border-color: rgb(81, 163, 81); |
| @@ -1098,6 +1255,7 @@ | ||
| 1098 | 1255 | |
| 1099 | 1256 | .popup.qr--hide { |
| 1100 | 1257 | opacity: 0 !important; |
| 1258 | + | |
| 1101 | 1259 | &::backdrop { |
| 1102 | 1260 | opacity: 0 !important; |
| 1103 | 1261 | } |
| @@ -1117,6 +1275,7 @@ | ||
| 1117 | 1275 | overflow: hidden; |
| 1118 | 1276 | font-weight: bold; |
| 1119 | 1277 | } |
| 1278 | + | |
| 1120 | 1279 | display: flex; |
| 1121 | 1280 | align-items: center; |
| 1122 | 1281 | flex-direction: column; |
| @@ -1125,6 +1284,7 @@ | ||
| 1125 | 1284 | box-shadow: 0 0 0; |
| 1126 | 1285 | transition: var(--animation-duration-2x); |
| 1127 | 1286 | } |
| 1287 | + | |
| 1128 | 1288 | .qr--copy { |
| 1129 | 1289 | &:after { |
| 1130 | 1290 | content: 'Copy'; |
| @@ -1132,6 +1292,7 @@ | ||
| 1132 | 1292 | overflow: hidden; |
| 1133 | 1293 | font-weight: bold; |
| 1134 | 1294 | } |
| 1295 | + | |
| 1135 | 1296 | display: flex; |
| 1136 | 1297 | align-items: center; |
| 1137 | 1298 | flex-direction: column; |
| @@ -1140,16 +1301,19 @@ | ||
| 1140 | 1301 | box-shadow: 0 0 0; |
| 1141 | 1302 | transition: var(--animation-duration-2x); |
| 1142 | 1303 | } |
| 1304 | + | |
| 1143 | 1305 | &:has(.qr--transferSelect:focus) { |
| 1144 | 1306 | .popup-button-ok { |
| 1145 | 1307 | font-weight: bold; |
| 1146 | 1308 | box-shadow: 0 0 10px; |
| 1147 | 1309 | } |
| 1310 | + | |
| 1148 | 1311 | &.qr--isCopy { |
| 1149 | 1312 | .popup-button-ok { |
| 1150 | 1313 | font-weight: normal; |
| 1151 | 1314 | box-shadow: 0 0 0; |
| 1152 | 1315 | } |
| 1316 | + | |
| 1153 | 1317 | .qr--copy { |
| 1154 | 1318 | font-weight: bold; |
| 1155 | 1319 | box-shadow: 0 0 10px; |