PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.0.7
MxChat – AI Chatbot & Content Generation for WordPress v3.0.7
3.2.21 3.2.20 3.2.19 3.2.18 3.2.17 3.2.16 3.2.15 3.2.14 3.2.12 3.2.13 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 2.0.3 2.0.4 2.0.5 2.0.6 All 152 releases
← All changes | css/knowledge-style.css +0 -305 3.2.123.0.7 View file →
@@ -266,13 +266,8 @@
266 266 border: 1px solid #e5e5e5;
267 267 text-align: center;
268 268 }
269 269
270 -/* PDF Upload Area */
271 -#mxchat-pdf-upload-area input[type="file"] {
272 - margin-bottom: 12px;
273 -}
274 -
275 270 .mxchat-url-input-group {
276 271 display: flex;
277 272 gap: 12px;
278 273 max-width: 800px;
@@ -3588,306 +3583,6 @@
3588 3583 }
3589 3584
3590 3585 .mxchat-bulk-actions {
3591 3586 margin-left: 0;
3592 - }
3593 -}
3594 -
3595 -/* ==========================================================================
3596 - Knowledge Base - Mobile Responsive
3597 - ========================================================================== */
3598 -
3599 -/* Desktop defaults for KB header controls */
3600 -.mxch-kb-header-controls {
3601 - display: flex;
3602 - gap: 10px;
3603 - align-items: center;
3604 -}
3605 -
3606 -.mxch-kb-search-form {
3607 - display: flex;
3608 - gap: 10px;
3609 -}
3610 -
3611 -.mxch-kb-search-input {
3612 - width: 200px;
3613 -}
3614 -
3615 -.mxch-kb-type-filter {
3616 - width: auto;
3617 -}
3618 -
3619 -/* Mobile: Knowledge Base card header stacks vertically */
3620 -@media screen and (max-width: 960px) {
3621 - /* Stack card header vertically */
3622 - #knowledge-base .mxch-card-header {
3623 - flex-direction: column;
3624 - align-items: stretch;
3625 - gap: 12px;
3626 - padding: 12px 16px;
3627 - }
3628 -
3629 - /* Title row wraps badges */
3630 - #knowledge-base .mxch-card-title {
3631 - flex-wrap: wrap;
3632 - font-size: 14px;
3633 - }
3634 -
3635 - /* Controls stack vertically */
3636 - .mxch-kb-header-controls {
3637 - flex-direction: column;
3638 - align-items: stretch;
3639 - gap: 8px;
3640 - width: 100%;
3641 - }
3642 -
3643 - /* Search form wraps */
3644 - .mxch-kb-search-form {
3645 - flex-wrap: wrap;
3646 - gap: 8px;
3647 - width: 100%;
3648 - }
3649 -
3650 - /* Search input takes full width */
3651 - .mxch-kb-search-input {
3652 - width: 100% !important;
3653 - flex: 1;
3654 - min-width: 0;
3655 - }
3656 -
3657 - /* Filter dropdown takes full width */
3658 - .mxch-kb-type-filter {
3659 - width: 100% !important;
3660 - flex: 1;
3661 - min-width: 0;
3662 - }
3663 -
3664 - /* Delete container full width */
3665 - .mxchat-delete-container {
3666 - width: 100%;
3667 - }
3668 -
3669 - .mxchat-delete-container form,
3670 - .mxchat-delete-container .mxchat-bulk-delete {
3671 - width: 100%;
3672 - }
3673 -
3674 - .mxchat-delete-container .mxch-btn {
3675 - width: 100%;
3676 - justify-content: center;
3677 - }
3678 -
3679 - /* Table: hide ID and Source columns on mobile to save space */
3680 - .mxchat-records-table th:nth-child(2),
3681 - .mxchat-records-table td:nth-child(2) {
3682 - display: none;
3683 - }
3684 -
3685 - .mxchat-records-table th:nth-child(4),
3686 - .mxchat-records-table td:nth-child(4) {
3687 - display: none;
3688 - }
3689 -
3690 - /* Content column needs more room */
3691 - .mxchat-content-cell {
3692 - max-width: none !important;
3693 - }
3694 -
3695 - /* Table cells padding */
3696 - .mxchat-records-table th,
3697 - .mxchat-records-table td {
3698 - padding: 10px 8px !important;
3699 - }
3700 -
3701 - /* Pagination wraps nicely */
3702 - .mxchat-ajax-pagination {
3703 - flex-wrap: wrap;
3704 - justify-content: center;
3705 - }
3706 -}
3707 -
3708 -/* Small mobile: further adjustments */
3709 -@media screen and (max-width: 480px) {
3710 - #knowledge-base .mxch-card-header {
3711 - padding: 10px 12px;
3712 - }
3713 -
3714 - #knowledge-base .mxch-card-title {
3715 - font-size: 13px;
3716 - }
3717 -
3718 - /* Search form items fully stacked */
3719 - .mxch-kb-search-form {
3720 - flex-direction: column;
3721 - }
3722 -
3723 - /* Smaller table text */
3724 - .mxchat-records-table {
3725 - font-size: 12px;
3726 - }
3727 -
3728 - .mxchat-records-table th,
3729 - .mxchat-records-table td {
3730 - padding: 8px 6px !important;
3731 - }
3732 -
3733 - /* Also hide Actions header text but keep the column for delete buttons */
3734 - .mxchat-records-table th:nth-child(5) {
3735 - font-size: 0;
3736 - padding: 8px 4px !important;
3737 - width: 40px;
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 -/* ── Knowledge Inspector modal (plan-d8cb4b) ──────────────────────────
3828 - Read-only "View indexed content" viewer. Reuses the Testing tab's
3829 - match-card / chunk-detail components (admin-testing-tab.css, scoped under
3830 - .mxch-testing-results) so it looks native; this block only adds the modal
3831 - body scroll + the chunk-text container the Testing tab doesn't have. */
3832 -.mxchat-kb-inspect-body {
3833 - flex: 1;
3834 - display: flex;
3835 - flex-direction: column;
3836 - padding: 20px;
3837 - overflow-y: auto;
3838 - gap: 12px;
3839 -}
3840 -/* The modal body is the scroll container — let the inner results grow naturally
3841 - instead of the Testing tab's own 400px inner scroll (avoids a double scrollbar). */
3842 -.mxchat-kb-inspect-body .mxch-testing-results {
3843 - max-height: none;
3844 - overflow: visible;
3845 -}
3846 -.mxch-kb-inspect-chunk-text {
3847 - margin: 8px 0 0;
3848 - padding: 12px 14px;
3849 - background: #f8fafc;
3850 - border: 1px solid #e2e8f0;
3851 - border-radius: 6px;
3852 - max-height: 260px;
3853 - overflow-y: auto;
3854 - white-space: pre-wrap;
3855 - word-break: break-word;
3856 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
3857 - font-size: 13px;
3858 - line-height: 1.6;
3859 - color: var(--mxch-text-primary, #334155);
3860 -}
3861 -
3862 -.mxchat-kb-edit-save-spinner {
3863 - display: inline-flex;
3864 - align-items: center;
3865 - gap: 6px;
3866 -}
3867 -
3868 -@media (max-width: 782px) {
3869 - .mxchat-kb-edit-modal-content {
3870 - width: 96%;
3871 - max-width: 96%;
3872 - margin: 10px auto;
3873 - max-height: 95vh;
3874 - }
3875 - .mxchat-kb-edit-body {
3876 - padding: 14px;
3877 - }
3878 - .mxchat-kb-edit-textarea {
3879 - min-height: 200px;
3880 - font-size: 15px;
3881 - }
3882 - .mxchat-kb-edit-footer {
3883 - flex-direction: column;
3884 - align-items: stretch;
3885 - }
3886 - .mxchat-kb-edit-actions {
3887 - justify-content: stretch;
3888 - }
3889 - .mxchat-kb-edit-actions .mxch-btn {
3890 - flex: 1;
3891 - text-align: center;
3892 3587 }
3893 3588 }