PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 1.4
MxChat – AI Chatbot & Content Generation for WordPress v1.4
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.4, at css/admin-style.css

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