|
613 | 613 | </container> |
614 | 614 |
|
615 | 615 | <style> |
| 616 | + :global(body) { |
| 617 | + margin: 0; |
| 618 | + padding: 0; |
| 619 | + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; |
| 620 | + background: #0a0a0a; |
| 621 | + color: #e0e0e0; |
| 622 | + font-size: 14px; |
| 623 | + line-height: 1.5; |
| 624 | + } |
| 625 | +
|
| 626 | + :global(#page) { |
| 627 | + max-width: 1400px; |
| 628 | + margin: 0 auto; |
| 629 | + padding: 16px; |
| 630 | + } |
| 631 | +
|
| 632 | + :global(hr) { |
| 633 | + border: none; |
| 634 | + border-top: 1px solid #333; |
| 635 | + margin: 16px 0; |
| 636 | + } |
| 637 | +
|
| 638 | + :global(button) { |
| 639 | + background: #1a1a1a; |
| 640 | + color: #e0e0e0; |
| 641 | + border: 1px solid #333; |
| 642 | + padding: 6px 12px; |
| 643 | + border-radius: 4px; |
| 644 | + cursor: pointer; |
| 645 | + font-size: 13px; |
| 646 | + transition: all 0.2s; |
| 647 | + } |
| 648 | +
|
| 649 | + :global(button:hover) { |
| 650 | + background: #2a2a2a; |
| 651 | + border-color: #555; |
| 652 | + } |
| 653 | +
|
| 654 | + :global(button:active) { |
| 655 | + transform: translateY(1px); |
| 656 | + } |
| 657 | +
|
| 658 | + :global(input[type="text"]), |
| 659 | + :global(input[type="number"]), |
| 660 | + :global(select) { |
| 661 | + background: #1a1a1a; |
| 662 | + color: #e0e0e0; |
| 663 | + border: 1px solid #333; |
| 664 | + padding: 6px 8px; |
| 665 | + border-radius: 4px; |
| 666 | + font-size: 13px; |
| 667 | + } |
| 668 | +
|
| 669 | + :global(input[type="text"]:focus), |
| 670 | + :global(input[type="number"]:focus), |
| 671 | + :global(select:focus) { |
| 672 | + outline: none; |
| 673 | + border-color: #4a9eff; |
| 674 | + } |
| 675 | +
|
| 676 | + :global(input[type="checkbox"]) { |
| 677 | + accent-color: #4a9eff; |
| 678 | + } |
| 679 | +
|
| 680 | + :global(a) { |
| 681 | + color: #4a9eff; |
| 682 | + text-decoration: none; |
| 683 | + } |
| 684 | +
|
| 685 | + :global(a:hover) { |
| 686 | + text-decoration: underline; |
| 687 | + } |
| 688 | +
|
| 689 | + :global(#shader-name) { |
| 690 | + width: 200px; |
| 691 | + margin-right: 8px; |
| 692 | + } |
| 693 | +
|
| 694 | + :global(#tab-nav) { |
| 695 | + display: flex; |
| 696 | + gap: 8px; |
| 697 | + margin-bottom: 16px; |
| 698 | + } |
| 699 | +
|
| 700 | + :global(#canvas) { |
| 701 | + border: 1px solid #333; |
| 702 | + border-radius: 4px; |
| 703 | + margin-bottom: 16px; |
| 704 | + background: #000; |
| 705 | + } |
| 706 | +
|
| 707 | + :global(#editorWrapper) { |
| 708 | + border: 1px solid #333; |
| 709 | + border-radius: 4px; |
| 710 | + margin-top: 16px; |
| 711 | + overflow: hidden; |
| 712 | + } |
| 713 | +
|
| 714 | + :global(#params) { |
| 715 | + background: #141414; |
| 716 | + border: 1px solid #333; |
| 717 | + border-radius: 4px; |
| 718 | + padding: 12px; |
| 719 | + margin-top: 16px; |
| 720 | + } |
| 721 | +
|
| 722 | + :global(#params p) { |
| 723 | + margin: 0 0 8px 0; |
| 724 | + font-weight: 600; |
| 725 | + } |
| 726 | +
|
| 727 | + :global(#params ol) { |
| 728 | + margin: 12px 0 0 0; |
| 729 | + padding-left: 20px; |
| 730 | + } |
| 731 | +
|
| 732 | + :global(#params li) { |
| 733 | + margin-bottom: 12px; |
| 734 | + padding: 8px; |
| 735 | + background: #1a1a1a; |
| 736 | + border: 1px solid #333; |
| 737 | + border-radius: 4px; |
| 738 | + } |
| 739 | +
|
| 740 | + :global(.shaderParam input), |
| 741 | + :global(.shaderParam select) { |
| 742 | + margin-right: 6px; |
| 743 | + margin-bottom: 4px; |
| 744 | + } |
| 745 | +
|
| 746 | + :global(.shaderParam .paramName) { |
| 747 | + width: 120px; |
| 748 | + font-weight: 600; |
| 749 | + } |
| 750 | +
|
| 751 | + :global(.float-param-slider) { |
| 752 | + width: 150px; |
| 753 | + vertical-align: middle; |
| 754 | + margin-left: 8px; |
| 755 | + } |
| 756 | +
|
| 757 | + :global(ul) { |
| 758 | + list-style: none; |
| 759 | + padding: 0; |
| 760 | + margin: 0; |
| 761 | + } |
| 762 | +
|
| 763 | + :global(ul li) { |
| 764 | + margin-bottom: 8px; |
| 765 | + } |
| 766 | +
|
| 767 | + :global(ul button) { |
| 768 | + width: 100%; |
| 769 | + text-align: left; |
| 770 | + padding: 8px 12px; |
| 771 | + } |
| 772 | +
|
616 | 773 | .hidden { |
617 | 774 | display: none; |
618 | 775 | } |
|
622 | 779 | } |
623 | 780 |
|
624 | 781 | .hidden.inline-block { |
625 | | - display: none |
| 782 | + display: none; |
626 | 783 | } |
627 | 784 |
|
628 | 785 | .small-number-input { |
629 | | - width: 50px; |
| 786 | + width: 60px; |
| 787 | + } |
| 788 | +
|
| 789 | + .nav-btn { |
| 790 | + flex: 1; |
| 791 | + max-width: 200px; |
630 | 792 | } |
631 | 793 |
|
632 | 794 | .nav-btn.selected { |
633 | | - outline: 3px solid lightblue; |
| 795 | + background: #2a2a2a; |
| 796 | + border-color: #4a9eff; |
| 797 | + color: #4a9eff; |
| 798 | + } |
| 799 | +
|
| 800 | + :global(#login), |
| 801 | + :global(#logout) { |
| 802 | + margin-left: 8px; |
| 803 | + } |
| 804 | +
|
| 805 | + :global(.cm-editor) { |
| 806 | + background: #1a1a1a; |
| 807 | + } |
| 808 | +
|
| 809 | + :global(.add-param), |
| 810 | + :global(.delete-param) { |
| 811 | + font-size: 12px; |
| 812 | + padding: 4px 8px; |
| 813 | + } |
| 814 | +
|
| 815 | + :global(.delete-param) { |
| 816 | + background: #2a1a1a; |
| 817 | + border-color: #553333; |
| 818 | + } |
| 819 | +
|
| 820 | + :global(.delete-param:hover) { |
| 821 | + background: #3a1a1a; |
| 822 | + border-color: #773333; |
634 | 823 | } |
635 | 824 | </style> |
0 commit comments