PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 1.5.3
MxChat – AI Chatbot & Content Generation for WordPress v1.5.3
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
mxchat-basic / css / admin-style.css

admin-style.css in MxChat – AI Chatbot & Content Generation for WordPress 1.5.3, at css/admin-style.css

1,108 lines 21.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .mxchat-transcript {
2 display: grid;
3 grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
4 gap: 20px;
5 margin: 20px 0;
6 }
7
8 .mxchat-session {
9 background: #fff;
10 border: 1px solid #dcdcde;
11 border-radius: 6px;
12 padding: 12px;
13 box-shadow: 0 1px 2px rgba(0,0,0,0.05);
14 }
15
16 .mxchat-session-header {
17 display: flex;
18 align-items: center;
19 gap: 8px;
20 margin-bottom: 10px;
21 padding-bottom: 8px;
22 border-bottom: 1px solid #dcdcde;
23 font-size: 12px;
24 color: #50575e;
25 }
26
27 .mxchat-messages {
28 display: flex;
29 flex-direction: column;
30 gap: 8px;
31 max-height: 400px;
32 overflow-y: auto;
33 }
34
35 .mxchat-message {
36 display: flex;
37 flex-direction: column;
38 max-width: 85%;
39 }
40
41 .mxchat-messages .user-message {
42 align-self: flex-end;
43 }
44
45 .mxchat-messages .bot-message,
46 .mxchat-messages .agent-message {
47 align-self: flex-start;
48 }
49
50 .mxchat-message-header {
51 font-size: 11px;
52 color: #666;
53 margin-bottom: 2px;
54 padding: 0 8px;
55 }
56
57 .mxchat-message-content {
58 padding: 8px 12px;
59 border-radius: 12px;
60 font-size: 13px;
61 line-height: 1.4;
62 word-wrap: break-word;
63 }
64
65 .mxchat-messages .user-message .mxchat-message-content {
66 background: #0073aa;
67 color: #fff;
68 border-bottom-right-radius: 4px;
69 }
70
71 .mxchat-messages .bot-message .mxchat-message-content {
72 background: #f0f0f1;
73 color: #1d2327;
74 border-bottom-left-radius: 4px;
75 }
76
77 .mxchat-messages .agent-message .mxchat-message-content {
78 background: #2271b1;
79 color: #fff;
80 border-bottom-left-radius: 4px;
81 }
82
83 .mxchat-timestamp {
84 font-size: 10px;
85 color: #8c8f94;
86 margin-top: 2px;
87 padding: 0 8px;
88 }
89
90 .mxchat-messages::-webkit-scrollbar {
91 width: 6px;
92 }
93
94 .mxchat-messages::-webkit-scrollbar-track {
95 background: #f1f1f1;
96 }
97
98 .mxchat-messages::-webkit-scrollbar-thumb {
99 background: #888;
100 border-radius: 3px;
101 }
102
103
104
105
106
107
108
109
110
111 .mxchat-process-status {
112 margin-top: 20px;
113 padding: 15px;
114 background: #fff;
115 border: 1px solid #ddd;
116 border-radius: 4px;
117 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
118 }
119
120 .mxchat-process-status h3 {
121 margin: 0 0 15px 0;
122 color: #23282d;
123 font-size: 14px;
124 font-weight: 600;
125 }
126
127 .mxchat-process-status p {
128 margin: 8px 0;
129 color: #555;
130 font-size: 13px;
131 }
132
133 .mxchat-process-status .status-complete {
134 color: #46b450;
135 font-weight: 500;
136 }
137
138 .mxchat-process-status.complete {
139 border-color: #46b450;
140 }
141
142
143
144
145
146 /* Toggle Switch Styles */
147 .mxchat-switch {
148 position: relative;
149 display: inline-block;
150 width: 60px;
151 height: 34px;
152 margin-right: 10px;
153 }
154
155 .mxchat-switch input {
156 opacity: 0;
157 width: 0;
158 height: 0;
159 }
160
161 .mxchat-slider {
162 position: absolute;
163 cursor: pointer;
164 top: 0;
165 left: 0;
166 right: 0;
167 bottom: 0;
168 background-color: #ccc;
169 transition: .4s;
170 border-radius: 34px;
171 }
172
173 .mxchat-slider:before {
174 position: absolute;
175 content: "";
176 height: 26px;
177 width: 26px;
178 left: 4px;
179 bottom: 4px;
180 background-color: white;
181 transition: .4s;
182 border-radius: 50%;
183 }
184
185 input:checked + .mxchat-slider {
186 background-color: #2196F3;
187 }
188
189 input:disabled + .mxchat-slider {
190 opacity: 0.5;
191 cursor: not-allowed;
192 }
193
194 input:checked + .mxchat-slider:before {
195 transform: translateX(26px);
196 }
197
198 .mxchat-status-label {
199 display: inline-block;
200 vertical-align: middle;
201 margin-left: 10px;
202 }
203
204 .status-text {
205 font-weight: 500;
206 }
207
208
209
210
211 .mxchat-question-row {
212 margin-bottom: 10px;
213 }
214
215 .mxchat-similarity-threshold .mxchat-slider-container {
216 display: flex;
217 align-items: center;
218 gap: 15px;
219 margin-top: 10px;
220 }
221
222 .mxchat-similarity-threshold input[type="range"] {
223 flex: 1;
224 margin: 0;
225 }
226
227 .mxchat-similarity-threshold .button-primary {
228 white-space: nowrap;
229 }
230
231 .mxchat-similarity-threshold label {
232 font-weight: bold;
233 display: block;
234 margin-bottom: 5px;
235 }
236
237 .mxchat-similarity-threshold {
238 max-width: 600px;
239 }
240
241 #threshold_value_display {
242 font-weight: normal;
243 margin-left: 10px;
244 color: #0073aa;
245 }
246
247 .mxchat-form-group {
248 margin-bottom: 20px;
249 }
250
251 .mxchat-form-group input[type="range"] {
252 width: 100%;
253 margin-top: 10px;
254 }
255
256 .mxchat-form-group label {
257 font-weight: bold;
258 display: block;
259 margin-bottom: 5px;
260 }
261
262 .mxchat-form-group .description {
263 font-size: 0.9em;
264 color: #666;
265 }
266
267 #threshold_value_display {
268 font-weight: normal;
269 margin-left: 10px;
270 color: #0073aa;
271 }
272
273
274
275
276 .mxchat-product-image, .mxchat-generated-image, .mxchat-image-thumbnail {
277 max-width: 100%;
278 }
279 .description {
280 margin-top: -10px;
281 }
282 .mxchat-search-group {
283 margin-top: 20px;
284 }
285
286 .tablenav .tablenav-pages {
287 display: flex;
288 align-items: center;
289 margin-left: 20px;
290 gap: 5px;
291 }
292
293 /* General Styles */
294 .mxchat-admin body, .mxchat-admin html {
295 font-family: Arial, sans-serif;
296 background-color: #fff;
297 color: #212121;
298 margin: 0;
299 padding: 0;
300 }
301
302 /* Main Wrapper */
303 .mxchat-admin .wrap {
304 max-width: 1200px;
305 margin: 0 auto;
306 padding: 20px;
307 background: #f9f9f9;
308 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
309 }
310
311 /* Header */
312 .mxchat-admin .wrap h2 {
313 border-bottom: 2px solid #ddd;
314 padding-bottom: 10px;
315 margin-bottom: 20px;
316 color: #212121;
317 }
318
319 .wrap.mxchat-admin .admin-title {
320 text-shadow: 0 2px 0 #c6c6c6;
321 font-weight: bold;
322 letter-spacing: 5px;
323 color: #212121;
324 font-size: 2.5rem;
325 }
326
327 .mxchat-admin .admin-emphasis {
328 color: white;
329 text-shadow: 2px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, 0px 0 0 #000, 4px 0 0 #000, 0 0px 0 #000, 0 0px 0 #000;
330 font-weight: bold;
331 letter-spacing: 5px;
332 font-size: 2.5rem;
333 }
334 /* Grid Layout */
335 .mxchat-admin .mxchat-grid-container {
336 display: grid;
337 grid-template-columns: repeat(2, 1fr);
338 grid-gap: 20px;
339 }
340
341 .mxchat-admin .mxchat-grid-item {
342 background: #fff;
343 border: 1px solid #ddd;
344 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
345 padding: 20px;
346 }
347
348 /* Full Width for Submit Content */
349 .mxchat-admin .mxchat-grid-item.full-width {
350 grid-column: span 2;
351 }
352
353 /* Form Styles */
354 .mxchat-admin .mxchat-form-group {
355 display: flex;
356 flex-direction: column;
357 margin-bottom: 20px;
358 }
359
360 .mxchat-admin .mxchat-form-group label {
361 margin-bottom: 10px;
362 font-weight: bold;
363 color: #212121;
364 }
365
366 .mxchat-admin .mxchat-form-group input[type="url"],
367 .mxchat-admin .mxchat-form-group input[type="text"],
368 .mxchat-admin .mxchat-form-group textarea {
369 padding: 10px;
370 border: 1px solid #ddd;
371 border-radius: 4px;
372 font-size: 1rem;
373 width: 100%;
374 box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
375 }
376
377 /* Larger Textarea for Content Submission */
378 .mxchat-admin .mxchat-form-group textarea {
379 min-height: 200px;
380 }
381
382 /* Button Styles */
383 .mxchat-admin .button.button-primary {
384 color: #fff;
385 background: #212121;
386 border-radius: 20px;
387 padding: 0px 30px;
388 font-size: 1rem;
389 font-weight: 700;
390 text-decoration: none;
391 transition: all .2s;
392 display: inline-flex;
393 justify-content: center;
394 align-items: center;
395 max-width: 200px;
396 width: auto;
397 box-shadow: 4px 4px #14141499;
398 border: none;
399 cursor: pointer;
400 }
401
402 .mxchat-admin .button.button-primary:hover,
403 .mxchat-admin .button.button-primary:active {
404 background: #444;
405 }
406
407 .submit-content-button {
408 margin-top: 10px !important;
409 }
410
411 /* Search and Sitemap Group */
412 .mxchat-admin .mxchat-search-group {
413 display: flex;
414 align-items: center;
415 gap: 10px;
416 }
417
418 .mxchat-admin .mxchat-search-group input[type="text"],
419 .mxchat-admin .mxchat-search-group input[type="url"] {
420 flex-grow: 1;
421 }
422
423 .mxchat-admin .mxchat-search-group input[type="submit"] {
424 background: #212121;
425 color: #fff;
426 border-radius: 20px;
427 padding: 0px 30px;
428 font-size: 1rem;
429 font-weight: 700;
430 box-shadow: 4px 4px #14141499;
431 border: none;
432 transition: background-color .2s;
433 cursor: pointer;
434 }
435
436 .mxchat-admin .mxchat-search-group input[type="submit"]:hover {
437 background-color: #444;
438 }
439
440 .mxchat-admin .mxchat-delete-all {
441 background: #e74c3c;
442 color: #fff;
443 border-radius: 20px;
444 padding: 10px 20px !important;
445 font-size: 1rem;
446 font-weight: 700;
447 text-decoration: none;
448 transition: all .2s;
449 justify-content: center;
450 align-items: center;
451 box-shadow: 4px 4px #c0392b;
452 cursor: pointer;
453 margin-top: 10px;
454 border: none;
455 }
456
457 .mxchat-admin .mxchat-delete-all:hover {
458 color: #fff;
459 background-color: #c0392b;
460 box-shadow: 4px 4px #a93226
461 }
462
463 .mxchat-admin .mxchat-intents-table .mxchat-delete-all {
464 background: #e74c3c;
465 color: #fff;
466 border-radius: 20px;
467 padding: 0px 20px !important;
468 font-size: 1rem;
469 font-weight: 700;
470 text-decoration: none;
471 transition: all .2s;
472 justify-content: center;
473 align-items: center;
474 box-shadow: 4px 4px #c0392b;
475 cursor: pointer;
476 margin-top: 10px;
477 border: none;
478 }
479
480 .mxchat-admin .mxchat-intents-table .mxchat-delete-all:hover {
481 color: #fff;
482 background-color: #c0392b;
483 box-shadow: 4px 4px #a93226;
484 }
485
486
487
488 /* Table Styles */
489 .mxchat-admin .wp-list-table {
490 width: 100%;
491 margin-top: 20px;
492 border-collapse: collapse;
493 background: #fff;
494 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
495 }
496
497 .mxchat-admin .wp-list-table th,
498 .mxchat-admin .wp-list-table td {
499 padding: 15px;
500 border-bottom: 1px solid #ddd;
501 text-align: left;
502 }
503
504 .mxchat-admin .wp-list-table th {
505 background: #f0f2f5;
506 color: #212121;
507 }
508
509 .mxchat-admin .wp-list-table tr:nth-child(even) {
510 background: #f9f9f9;
511 }
512
513 .mxchat-admin .mxchat-pro-banner {
514 background-color: #fff;
515 border-left: 4px solid #212121;
516 padding: 15px;
517 margin-bottom: 20px;
518 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
519 }
520
521 .mxchat-admin .mxchat-pro-banner p {
522 margin: 0;
523 font-size: 16px;
524 color: #212121;
525 }
526
527 .mxchat-admin .mxchat-pro-banner a {
528 color: #212121;
529 text-decoration: none;
530 font-weight: bold;
531 }
532
533 .mxchat-admin .mxchat-pro-banner a:hover {
534 text-decoration: underline;
535 }
536
537 /* Toggle Switch Styles */
538 .mxchat-admin .toggle-switch {
539 position: relative;
540 display: inline-block;
541 width: 60px;
542 height: 34px;
543 }
544
545 .mxchat-admin .toggle-switch input {
546 opacity: 0;
547 width: 0;
548 height: 0;
549 }
550
551 .mxchat-admin .slider {
552 position: absolute;
553 cursor: pointer;
554 top: 0;
555 left: 0;
556 right: 0;
557 bottom: 0;
558 background-color: #ccc;
559 transition: .4s;
560 border-radius: 34px;
561 }
562
563 .mxchat-admin .slider:before {
564 position: absolute;
565 content: "";
566 height: 26px;
567 width: 26px;
568 left: 4px;
569 bottom: 4px;
570 background-color: white;
571 transition: .4s;
572 border-radius: 50%;
573 }
574
575 .mxchat-admin input:checked + .slider {
576 background-color: #212121;
577 }
578
579 .mxchat-admin input:checked + .slider:before {
580 transform: translateX(26px);
581 }
582
583 /* Toggle Switch Label */
584 .mxchat-admin .toggle-switch-label {
585 display: flex;
586 align-items: center;
587 font-weight: 600;
588 color: #212121;
589 margin-bottom: 20px;
590 }
591
592 .mxchat-loading-text {
593 display: none;
594 margin-top: 10px;
595 color: #333;
596 }
597
598 .mxchat-spinner {
599 border: 8px solid #f3f3f3;
600 border-top: 8px solid #333;
601 border-radius: 50%;
602 width: 30px;
603 height: 30px;
604 animation: mxchat-spin 1s linear infinite;
605 display: flex;
606 justify-content: center;
607 align-items: center;
608 }
609
610 #mxchat-content-loading-text {
611 display: none;
612 margin-top: 10px;
613 color: #333;
614 }
615
616 .mxchat-content-spinner {
617 border: 8px solid #f3f3f3;
618 border-top: 8px solid #333;
619 border-radius: 50%;
620 width: 30px;
621 height: 30px;
622 animation: mxchat-spin 1s linear infinite;
623 display: flex;
624 justify-content: center;
625 align-items: center;
626 }
627
628 #mxchat-intent-loading {
629 border: 8px solid #f3f3f3;
630 border-top: 8px solid #333;
631 border-radius: 50%;
632 width: 30px;
633 height: 30px;
634 animation: mxchat-spin 1s linear infinite;
635 display: inline-block; /* Display as inline for better alignment */
636 margin-left: 10px;
637 vertical-align: middle;
638 }
639
640 #mxchat-intent-loading-text {
641 display: none;
642 margin-top: 10px;
643 color: #333;
644 }
645
646 #mxchat-activation-spinner {
647 border: 4px solid #f3f3f3;
648 border-top: 4px solid #007cba; /* Match the WordPress primary button color */
649 border-radius: 50%;
650 width: 20px;
651 height: 20px;
652 animation: mxchat-spin 1s linear infinite;
653 display: inline-block;
654 vertical-align: middle;
655 margin-left: 10px;
656 }
657
658 @keyframes mxchat-spin {
659 0% { transform: rotate(0deg); }
660 100% { transform: rotate(360deg); }
661 }
662
663
664
665
666 .pro-feature-wrapper {
667 position: relative;
668 display: inline-block;
669 }
670
671 .pro-feature-wrapper.active select,
672 .pro-feature-wrapper.active textarea {
673 opacity: 1; /* Fully opaque when active */
674 }
675
676 .pro-feature-wrapper.inactive select,
677 .pro-feature-wrapper.inactive textarea {
678 opacity: 0.5; /* Grayed out when inactive */
679 }
680
681 .pro-feature-overlay {
682 position: absolute;
683 top: 0;
684 left: 0;
685 width: 100%;
686 height: 100%;
687 display: flex;
688 justify-content: center;
689 align-items: center;
690 pointer-events: none;
691 }
692
693 .pro-feature-overlay img {
694 max-width: 100px;
695 pointer-events: auto; /* Allow clicking the image */
696 }
697
698 .pro-feature-wrapper a {
699 text-decoration: none;
700 position: absolute;
701 top: 0;
702 left: 0;
703 width: 100%;
704 height: 100%;
705 z-index: 10; /* Ensure the link is above everything else */
706 }
707
708 /* Transcripts Layout */
709 #mxchat-transcripts {
710 display: flex;
711 flex-wrap: wrap;
712 gap: 20px;
713 justify-content: flex-start;
714 }
715
716 .mxchat-admin .chat-session {
717 border: 1px solid #ddd;
718 padding: 15px;
719 width: calc(33.333% - 20px);
720 box-sizing: border-box;
721 background-color: #f9f9f9;
722 display: flex;
723 flex-direction: column;
724 max-height: 500px;
725 overflow: auto;
726 }
727
728 .mxchat-admin .chat-message {
729 border-bottom: 1px solid #eee;
730 padding-bottom: 10px;
731 margin-bottom: 10px;
732 }
733
734 .mxchat-admin .chat-session h4 {
735 margin-bottom: 15px;
736 font-size: 1.1em;
737 font-weight: 700;
738 }
739
740 .mxchat-controls {
741 display: flex;
742 align-items: center;
743 margin-bottom: 15px;
744 }
745
746 .mxchat-select-all-label {
747 margin-right: 15px;
748 display: flex;
749 align-items: center;
750 }
751
752 .mxchat-select-all-label input[type="checkbox"] {
753 margin-right: 5px;
754 }
755
756 .mxchat-controls .delete-chats-button.button {
757 padding: 6px 12px;
758 font-size: 14px;
759 background: #e74c3c;
760 color: #fff;
761 border-radius: 20px;
762 font-weight: 700;
763 text-decoration: none;
764 transition: all .2s;
765 justify-content: center;
766 align-items: center;
767 box-shadow: 4px 4px #c0392b;
768 cursor: pointer;
769 margin-top: 10px;
770 border: none;
771 }
772
773
774 .mxchat-controls .delete-chats-button.button:hover {
775 color: #fff;
776 background-color: #c0392b;
777 box-shadow: 4px 4px #a93226
778 }
779
780
781 .mxchat-license-status.active {
782 color: green;
783 font-weight: bold;
784 }
785
786 .mxchat-license-status.inactive {
787 color: red;
788 font-weight: bold;
789 }
790 .mxchat-nav-tab-wrapper {
791 margin: 0px 0px;
792 padding: 0px 0px;
793 display: flex;
794 }
795
796 .mxchat-nav-tab {
797 font-size: 14px;
798 padding: 10px 20px;
799 margin-right: 10px;
800 background: #f1f1f1;
801 border: 1px solid #ddd;
802 border-bottom: none;
803 cursor: pointer;
804 box-shadow: none;
805 color: #333;
806 text-decoration: none;
807 }
808
809 .mxchat-nav-tab:hover, .mxchat-nav-tab:focus {
810 background: #fff;
811 color: #0073aa;
812 box-shadow: none;
813 }
814
815 .mxchat-nav-tab-active {
816 background: #fff;
817 border-bottom: 1px solid #fff;
818 color: #0073aa;
819 }
820
821 .mxchat-tab-content {
822 display: none;
823 padding: 20px;
824 background: #fff;
825 border: 1px solid #ddd;
826 }
827
828 .mxchat-tab-content.active {
829 display: block;
830 }
831
832
833 .mxchat-settings-section {
834 padding: 20px 0;
835 }
836
837 .mxchat-settings-section h2 {
838 font-size: 1.2em;
839 margin-bottom: 10px;
840 color: #333;
841 font-weight: bold;
842 }
843
844 .section-divider {
845 width: 95%;
846 height: 2px;
847 background-color: #e0e0e0;
848 margin: 20px auto;
849 border-radius: 1px;
850 }
851
852 .form-table th {
853 padding: 10px 0;
854 vertical-align: top;
855 width: 220px;
856 }
857
858 .form-table td {
859 padding: 10px 0;
860 }
861
862
863
864
865 .mxchat-table {
866 width: 100%;
867 table-layout: fixed;
868 border-collapse: collapse;
869 border: 1px solid #ccc; /* Adds a border around the table */
870 }
871
872 /* Header styling to match theme */
873 .mxchat-table th {
874 background-color: #212121; /* Dark gray/black background */
875 color: #fff; /* White text */
876 font-weight: bold;
877 padding: 10px;
878 border-bottom: 3px solid #ccc; /* Thicker divider for the header */
879 }
880
881 /* General cell styling */
882 .mxchat-table th, .mxchat-table td {
883 padding: 8px 10px;
884 text-align: left;
885 vertical-align: top; /* Aligns content to the top of the cell */
886 border-bottom: 2px solid #ddd; /* Adds prominent dividers between rows */
887 }
888
889 /* Alternate row background for better readability */
890 .mxchat-table tbody tr:nth-child(odd) {
891 background-color: #f9f9f9;
892 }
893
894 .mxchat-table tbody tr:nth-child(even) {
895 background-color: #fff;
896 }
897
898 /* ID column should be small */
899 .mxchat-table td:nth-child(1),
900 .mxchat-table th:nth-child(1) {
901 width: 15%; /* ID column */
902 text-align: center;
903 }
904
905 /* Content column should be wide */
906 .mxchat-table td:nth-child(2),
907 .mxchat-table th:nth-child(2) {
908 width: 50%; /* Content column */
909 }
910
911 /* URL column */
912 .mxchat-table td:nth-child(3),
913 .mxchat-table th:nth-child(3) {
914 width: 20%; /* URL column */
915 text-align: left;
916 overflow-x: auto; /* Allow the URL to scroll horizontally if it's too long */
917 white-space: nowrap;
918 }
919
920 /* Actions column */
921 .mxchat-table td:nth-child(4),
922 .mxchat-table th:nth-child(4) {
923 width: 15%; /* Edit/Delete column */
924 text-align: center;
925 }
926
927 .mxchat-intents-table {
928 width: 100%;
929 table-layout: fixed;
930 border-collapse: collapse;
931 border: 1px solid #ccc;
932 }
933
934 .mxchat-intents-table th {
935 background-color: #212121;
936 color: #fff;
937 font-weight: bold;
938 padding: 10px;
939 border-bottom: 3px solid #ccc;
940 }
941
942 .mxchat-intents-table th,
943 .mxchat-intents-table td {
944 padding: 8px 10px;
945 text-align: left;
946 vertical-align: top;
947 border-bottom: 2px solid #ddd;
948 }
949
950 .mxchat-intents-table tbody tr:nth-child(odd) {
951 background-color: #f9f9f9;
952 }
953
954 .mxchat-intents-table tbody tr:nth-child(even) {
955 background-color: #fff;
956 }
957
958 /* Intent Label column */
959 .mxchat-intents-table td:nth-child(1),
960 .mxchat-intents-table th:nth-child(1) {
961 width: 20%;
962 }
963
964 /* Phrases column */
965 .mxchat-intents-table td:nth-child(2),
966 .mxchat-intents-table th:nth-child(2) {
967 width: 30%;
968 overflow-x: auto;
969 }
970
971 /* Callback Function column */
972 .mxchat-intents-table td:nth-child(3),
973 .mxchat-intents-table th:nth-child(3) {
974 width: 20%;
975 }
976
977 /* Similarity Threshold column */
978 .mxchat-intents-table td:nth-child(4),
979 .mxchat-intents-table th:nth-child(4) {
980 width: 15%;
981 text-align: center;
982 }
983
984 /* Actions column */
985 .mxchat-intents-table td:nth-child(5),
986 .mxchat-intents-table th:nth-child(5) {
987 width: 15%;
988 text-align: center;
989 }
990
991 /* Style the threshold range slider */
992 .mxchat-intents-threshold-form input[type="range"] {
993 width: 100%;
994 margin: 5px 0;
995 }
996
997 .mxchat-intents-threshold-form button {
998 margin-top: 5px;
999 }
1000
1001
1002
1003 /* Edit content textarea styling */
1004 .content-edit {
1005 width: 100%; /* Make textarea fill the column */
1006 height: 100px; /* Adjust height as needed */
1007 box-sizing: border-box; /* Ensure padding and border are included in the width/height */
1008 }
1009
1010 /* Button styling to match theme */
1011 .mxchat-table td .button {
1012 display: inline-block;
1013 margin-right: 5px;
1014 background-color: #212121;
1015 color: #fff;
1016 border: none;
1017 padding: 5px 10px;
1018 text-decoration: none;
1019 border-radius: 3px;
1020 cursor: pointer;
1021 box-shadow: 4px 4px #14141499;
1022 }
1023
1024 /* Hover state */
1025 .mxchat-table td .button:hover {
1026 display: inline-block;
1027 margin-right: 5px;
1028 background-color: #444;
1029 color: #fff;
1030 border: none;
1031 padding: 5px 10px;
1032 text-decoration: none;
1033 border-radius: 3px;
1034 cursor: pointer;
1035 box-shadow: 4px 4px #14141499;
1036 }
1037
1038 /* Active state */
1039 .mxchat-table td .button:active {
1040 display: inline-block;
1041 margin-right: 5px;
1042 background-color: #444;
1043 color: #fff;
1044 border: none;
1045 padding: 5px 10px;
1046 text-decoration: none;
1047 border-radius: 3px;
1048 cursor: pointer;
1049 box-shadow: 4px 4px #14141499;
1050 }
1051
1052 /* Focus state */
1053 .mxchat-table td .button:focus {
1054 display: inline-block;
1055 margin-right: 5px;
1056 background-color: #444;
1057 color: #fff;
1058 border: none;
1059 padding: 5px 10px;
1060 text-decoration: none;
1061 border-radius: 3px;
1062 cursor: pointer;
1063 box-shadow: 4px 4px #14141499;
1064 outline: none; /* Removes default outline */
1065 }
1066
1067
1068
1069 /* Responsive Design */
1070 @media (max-width: 1024px) {
1071 .mxchat-admin .mxchat-grid-container {
1072 grid-template-columns: 1fr;
1073 }
1074
1075 .mxchat-admin .mxchat-grid-item.full-width {
1076 grid-column: span 1;
1077 }
1078
1079 .mxchat-admin .chat-session {
1080 width: calc(100% - 0px);
1081 }
1082
1083 .mxchat-nav-tab {
1084 padding: 10px 12px;
1085 }
1086
1087 /* Search and Sitemap Group */
1088 .mxchat-admin .mxchat-search-group {
1089 align-items: normal;
1090 flex-direction: column;
1091 }
1092
1093 .mxchat-admin .mxchat-nav-tab-wrapper,
1094 .mxchat-admin .wrap h2.mxchat-nav-tab-wrapper,
1095 .mxchat-admin h1.mxchat-nav-tab-wrapper {
1096 border-bottom: 0;
1097 justify-content: space-evenly;
1098 display: flex;
1099 }
1100
1101 .mxchat-admin .mxchat-nav-tab-wrapper .mxchat-nav-tab {
1102 margin: 0;
1103 }
1104
1105
1106 }
1107
1108