|
38 | 38 | color: var(--success); |
39 | 39 | } |
40 | 40 |
|
| 41 | +.btn:disabled { |
| 42 | + cursor: not-allowed; |
| 43 | + opacity: 0.45; |
| 44 | + transform: none; |
| 45 | + box-shadow: none; |
| 46 | +} |
| 47 | + |
| 48 | +.btn:disabled:hover { |
| 49 | + color: inherit; |
| 50 | + background: transparent; |
| 51 | + border-color: var(--border); |
| 52 | + transform: none; |
| 53 | + box-shadow: none; |
| 54 | +} |
| 55 | + |
41 | 56 | /* --- Status Bar --- */ |
42 | 57 | .status-bar { |
43 | 58 | display: flex; |
|
419 | 434 | } |
420 | 435 |
|
421 | 436 | /* --- Responsive --- */ |
| 437 | +@media (max-width: 1024px) { |
| 438 | + .tool-main { |
| 439 | + width: 100%; |
| 440 | + } |
| 441 | +} |
| 442 | + |
422 | 443 | @media (max-width: 768px) { |
423 | 444 | .main-content { padding: 0 20px; } |
424 | 445 | .toolbar { flex-direction: column; align-items: flex-start; } |
|
697 | 718 | font-size: 12px; |
698 | 719 | } |
699 | 720 |
|
| 721 | +/* ============================================================ |
| 722 | + Base64 Workbench |
| 723 | + A compact vertical conversion flow that keeps the original |
| 724 | + editor-first feel while reducing first-viewport sprawl. |
| 725 | + ============================================================ */ |
| 726 | + |
| 727 | +.base64-workbench { |
| 728 | + display: flex; |
| 729 | + flex-direction: column; |
| 730 | + gap: 12px; |
| 731 | +} |
| 732 | + |
| 733 | +.base64-workbench .pane-card { |
| 734 | + padding: 20px; |
| 735 | + border-radius: 12px; |
| 736 | +} |
| 737 | + |
| 738 | +.base64-workbench .pane-editor { |
| 739 | + min-height: 168px; |
| 740 | + height: clamp(168px, 24vh, 220px); |
| 741 | + resize: vertical; |
| 742 | +} |
| 743 | + |
| 744 | +.base64-command-bar { |
| 745 | + padding: 2px 0 0; |
| 746 | +} |
| 747 | + |
| 748 | +.base64-command-bar .pane-toolbar { |
| 749 | + margin: 0; |
| 750 | + padding: 0; |
| 751 | + gap: 12px; |
| 752 | +} |
| 753 | + |
| 754 | +.base64-command-bar .pane-toolbar-left, |
| 755 | +.base64-command-bar .pane-toolbar-right { |
| 756 | + flex-wrap: wrap; |
| 757 | +} |
| 758 | + |
| 759 | +.base64-command-bar .pane-toolbar-right { |
| 760 | + margin-left: auto; |
| 761 | +} |
| 762 | + |
| 763 | +.base64-workbench .status-bar-dual { |
| 764 | + padding: 0 4px; |
| 765 | +} |
| 766 | + |
| 767 | +@media (max-width: 768px) { |
| 768 | + .pane-toolbar { |
| 769 | + align-items: flex-start; |
| 770 | + flex-direction: row; |
| 771 | + flex-wrap: nowrap; |
| 772 | + gap: 8px; |
| 773 | + } |
| 774 | + .pane-toolbar-left { |
| 775 | + flex: 0 0 auto; |
| 776 | + width: auto; |
| 777 | + } |
| 778 | + .pane-toolbar-right { |
| 779 | + flex: 1 1 auto; |
| 780 | + justify-content: flex-end; |
| 781 | + min-width: 0; |
| 782 | + width: auto; |
| 783 | + } |
| 784 | +} |
| 785 | + |
700 | 786 | @media (max-width: 600px) { |
701 | 787 | .pane-card { padding: 16px; } |
702 | 788 | .pane-card .pane-editor { min-height: 200px; font-size: 13px; } |
703 | | - .pane-toolbar { gap: 6px; } |
704 | 789 | } |
705 | 790 |
|
706 | 791 | /* ============================================================ |
|
0 commit comments