| @@ -3735,124 +3735,5 @@ | ||
| 3735 | 3735 | font-size: 0; |
| 3736 | 3736 | padding: 8px 4px !important; |
| 3737 | 3737 | width: 40px; |
| 3738 | 3738 | } |
| 3739 | -} | |
| 3740 | - | |
| 3741 | -/* ─── Edit Entry Modal ─── */ | |
| 3742 | - | |
| 3743 | -.mxchat-edit-entry-btn { | |
| 3744 | - color: var(--mxch-primary, #7873f5); | |
| 3745 | -} | |
| 3746 | -.mxchat-edit-entry-btn:hover { | |
| 3747 | - color: var(--mxch-primary-dark, #5b56d6); | |
| 3748 | - background: rgba(120, 115, 245, 0.08); | |
| 3749 | -} | |
| 3750 | - | |
| 3751 | -.mxchat-kb-edit-modal-content { | |
| 3752 | - max-width: 760px; | |
| 3753 | - max-height: 90vh; | |
| 3754 | -} | |
| 3755 | - | |
| 3756 | -.mxchat-kb-edit-body { | |
| 3757 | - flex: 1; | |
| 3758 | - display: flex; | |
| 3759 | - flex-direction: column; | |
| 3760 | - padding: 20px; | |
| 3761 | - overflow: hidden; | |
| 3762 | - gap: 12px; | |
| 3763 | -} | |
| 3764 | - | |
| 3765 | -.mxchat-kb-edit-source { | |
| 3766 | - font-size: 12px; | |
| 3767 | - color: var(--mxch-text-muted, #6b7280); | |
| 3768 | - word-break: break-all; | |
| 3769 | -} | |
| 3770 | -.mxchat-kb-edit-source a { | |
| 3771 | - color: var(--mxch-primary, #7873f5); | |
| 3772 | - text-decoration: none; | |
| 3773 | -} | |
| 3774 | - | |
| 3775 | -.mxchat-kb-edit-textarea { | |
| 3776 | - flex: 1; | |
| 3777 | - min-height: 300px; | |
| 3778 | - max-height: 55vh; | |
| 3779 | - width: 100%; | |
| 3780 | - padding: 14px; | |
| 3781 | - border: 1px solid var(--mxch-input-border, #d1d5db); | |
| 3782 | - border-radius: 8px; | |
| 3783 | - font-size: 14px; | |
| 3784 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; | |
| 3785 | - line-height: 1.6; | |
| 3786 | - resize: vertical; | |
| 3787 | - color: var(--mxch-text-primary, #1a1a2e); | |
| 3788 | - background: var(--mxch-input-bg, #fff); | |
| 3789 | - box-sizing: border-box; | |
| 3790 | - transition: border-color 0.2s; | |
| 3791 | -} | |
| 3792 | -.mxchat-kb-edit-textarea:focus { | |
| 3793 | - outline: none; | |
| 3794 | - border-color: var(--mxch-primary, #7873f5); | |
| 3795 | - box-shadow: 0 0 0 3px rgba(120, 115, 245, 0.1); | |
| 3796 | -} | |
| 3797 | - | |
| 3798 | -.mxchat-kb-edit-meta { | |
| 3799 | - display: flex; | |
| 3800 | - justify-content: space-between; | |
| 3801 | - font-size: 12px; | |
| 3802 | - color: var(--mxch-text-muted, #6b7280); | |
| 3803 | -} | |
| 3804 | - | |
| 3805 | -.mxchat-kb-edit-footer { | |
| 3806 | - display: flex; | |
| 3807 | - align-items: center; | |
| 3808 | - justify-content: space-between; | |
| 3809 | - padding: 14px 20px; | |
| 3810 | - border-top: 1px solid #e5e5e5; | |
| 3811 | - gap: 12px; | |
| 3812 | -} | |
| 3813 | - | |
| 3814 | -.mxchat-kb-edit-notice { | |
| 3815 | - flex: 1; | |
| 3816 | - font-size: 13px; | |
| 3817 | -} | |
| 3818 | -.mxchat-kb-edit-notice.success { color: #16a34a; } | |
| 3819 | -.mxchat-kb-edit-notice.error { color: #dc2626; } | |
| 3820 | - | |
| 3821 | -.mxchat-kb-edit-actions { | |
| 3822 | - display: flex; | |
| 3823 | - gap: 8px; | |
| 3824 | - flex-shrink: 0; | |
| 3825 | -} | |
| 3826 | - | |
| 3827 | -.mxchat-kb-edit-save-spinner { | |
| 3828 | - display: inline-flex; | |
| 3829 | - align-items: center; | |
| 3830 | - gap: 6px; | |
| 3831 | -} | |
| 3832 | - | |
| 3833 | -@media (max-width: 782px) { | |
| 3834 | - .mxchat-kb-edit-modal-content { | |
| 3835 | - width: 96%; | |
| 3836 | - max-width: 96%; | |
| 3837 | - margin: 10px auto; | |
| 3838 | - max-height: 95vh; | |
| 3839 | - } | |
| 3840 | - .mxchat-kb-edit-body { | |
| 3841 | - padding: 14px; | |
| 3842 | - } | |
| 3843 | - .mxchat-kb-edit-textarea { | |
| 3844 | - min-height: 200px; | |
| 3845 | - font-size: 15px; | |
| 3846 | - } | |
| 3847 | - .mxchat-kb-edit-footer { | |
| 3848 | - flex-direction: column; | |
| 3849 | - align-items: stretch; | |
| 3850 | - } | |
| 3851 | - .mxchat-kb-edit-actions { | |
| 3852 | - justify-content: stretch; | |
| 3853 | - } | |
| 3854 | - .mxchat-kb-edit-actions .mxch-btn { | |
| 3855 | - flex: 1; | |
| 3856 | - text-align: center; | |
| 3857 | - } | |
| 3858 | 3739 | } |