PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 1.5.1
MxChat – AI Chatbot & Content Generation for WordPress v1.5.1
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 / chat-style.css

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

885 lines 18.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .active-pdf-container {
2 display: inline-flex;
3 align-items: center;
4 max-width: 200px;
5 margin: 0px;
6 padding: 0px;
7 line-height: 13px;
8 }
9
10 .active-pdf-name {
11 font-size: 11px;
12 color: #666;
13 white-space: nowrap;
14 overflow: hidden;
15 text-overflow: ellipsis;
16 }
17
18 .remove-pdf-btn {
19 background: 0 0;
20 border: none;
21 padding: 2px;
22 margin-left: 4px;
23 cursor: pointer;
24 transition: opacity .2s;
25 line-height: 13px;
26 }
27
28 .remove-pdf-btn:hover {
29 opacity: 1;
30 background: none;
31 }
32
33
34
35
36 #mxchat-chatbot .chat-toolbar {
37 display: flex;
38 gap: 10px;
39 padding: 8px;
40 border-top: 1px solid #e5e5e5;
41 background: none;
42 }
43
44 #mxchat-chatbot .toolbar-btn {
45 background: none;
46 border: none;
47 padding: 0px;
48 cursor: pointer;
49 width: 20px;
50 height: 20px;
51 display: flex;
52 align-items: center;
53 justify-content: center;
54 opacity: 0.6;
55 transition: opacity 0.2s;
56 margin: 0;
57 min-width: 0;
58 box-shadow: none;
59 }
60
61 #mxchat-chatbot .toolbar-btn svg {
62 width: 100%;
63 height: 100%;
64 }
65
66 #mxchat-chatbot .toolbar-btn:hover {
67 opacity: 1;
68 background: none;
69 border: none;
70 box-shadow: none;
71 }
72
73 #mxchat-chatbot .toolbar-btn:disabled {
74 opacity: 0.3;
75 cursor: not-allowed;
76 background: none;
77 border: none;
78 }
79
80 #mxchat-chatbot .spinner {
81 animation: rotate 2s linear infinite;
82 width: 20px;
83 height: 20px;
84 }
85
86 #mxchat-chatbot .spinner circle {
87 stroke: #212121;
88 stroke-linecap: round;
89 animation: dash 1.5s ease-in-out infinite;
90 }
91
92 @keyframes rotate {
93 100% {
94 transform: rotate(360deg);
95 }
96 }
97
98 @keyframes dash {
99 0% {
100 stroke-dasharray: 1, 150;
101 stroke-dashoffset: 0;
102 }
103 50% {
104 stroke-dasharray: 90, 150;
105 stroke-dashoffset: -35;
106 }
107 100% {
108 stroke-dasharray: 90, 150;
109 stroke-dashoffset: -124;
110 }
111 }
112
113
114
115
116 .mxchat-code-block-container {
117 position: relative;
118 margin: 20px 0;
119 font-family: monospace;
120 }
121
122 .chatbot-title-container {
123 display: flex;
124 align-items: center;
125 justify-content: space-between;
126 width: 100%;
127 }
128
129 .chat-mode-indicator {
130 font-size: 12px;
131 margin-right: 8px;
132 padding: 4px 8px;
133 border-radius: 12px;
134 background: rgba(255, 255, 255, 0.2);
135 color: #ffffff;
136 }
137
138 #mxchat-chatbot #chat-container #chat-box .agent-message {
139 text-align: left;
140 float: left;
141 clear: both;
142 border: 1px solid rgba(226, 232, 255, .2);
143 border-radius: 0 18px 18px;
144 background: #212121;
145 color: #fff;
146 overflow-x: hidden;
147 margin-bottom: 15px;
148 padding: 10px;
149 display: inline-block;
150 max-width: 85%;
151 font-size: 14px;
152 line-height: 24px;
153 box-shadow: -2px 2px rgba(250, 115, 230, 0.6), -4px 4px rgba(120, 115, 245, 0.6);
154 }
155
156 .mxchat-code-block {
157 background-color: #212121;
158 color: #fff;
159 padding: 15px;
160 border-radius: 5px;
161 white-space: pre-wrap; /* Maintain formatting */
162 overflow: auto; /* Enable scrolling for long content */
163 font-family: monospace;
164 }
165
166 .mxchat-code-block code {
167 display: block;
168 white-space: pre-wrap;
169 }
170
171 /* Copy button styling */
172 .mxchat-copy-button {
173 position: absolute;
174 top: 10px;
175 right: 10px;
176 background-color: #0073aa;
177 color: #ffffff;
178 border: none;
179 border-radius: 5px;
180 padding: 5px 15px;
181 font-size: 12px;
182 font-weight: bold;
183 cursor: pointer;
184 transition: background-color 0.3s ease, transform 0.2s ease;
185 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
186 z-index: 10; /* Ensure the button is on top */
187 }
188
189 .mxchat-copy-button:hover {
190 background-color: #005177;
191 transform: translateY(-1px);
192 }
193
194 .mxchat-copy-button:active {
195 transform: translateY(1px);
196 }
197
198 .mxchat-image-gallery {
199 display: flex;
200 flex-wrap: wrap;
201 gap: 10px;
202 justify-content: center;
203 }
204
205 .mxchat-image-item {
206 text-align: center;
207 overflow: hidden;
208 word-wrap: break-word;
209 }
210
211 .mxchat-image-title {
212 display: block;
213 font-size: 14px;
214 color: inherit;
215 white-space: nowrap;
216 overflow: hidden;
217 text-overflow: ellipsis;
218 max-width: 100%;
219 }
220
221 .mxchat-image-link {
222 text-decoration: none;
223 }
224
225 .mxchat-image-thumbnail {
226 max-width: 100%;
227 height: auto;
228 border-radius: 5px;
229 transition: transform 0.3s;
230 }
231
232 .mxchat-image-thumbnail:hover {
233 transform: scale(1.05);
234 }
235 .mxchat-generated-image {
236 max-width: 100%;
237 height: auto;
238 border-radius: 0 0 8px 8px;
239 }
240
241
242 /* MxChat Product Card Styling */
243 .mxchat-product-card {
244 display: flex;
245 flex-direction: column;
246 align-items: center;
247 margin: 10px 0;
248 padding: 10px;
249 border-radius: 5px;
250 background-color: inherit;
251 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
252 }
253
254 .mxchat-product-card img.mxchat-product-image {
255 max-width: 100%;
256 height: auto;
257 margin-bottom: 5px;
258 border-radius: 4px;
259 }
260
261 .mxchat-product-card h3.mxchat-product-name {
262 font-size: 16px;
263 font-weight: bold;
264 margin: 5px 0;
265 text-align: center;
266 color: inherit;
267 }
268
269 .mxchat-product-card .mxchat-product-price {
270 color: inherit;
271 font-weight: bold;
272 margin-bottom: 5px;
273 }
274
275 .mxchat-product-card .mxchat-product-description {
276 font-size: 14px;
277 text-align: center;
278 margin-bottom: 10px;
279 color: inherit;
280 }
281
282 .mxchat-product-card .mxchat-add-to-cart-button {
283 background-color: #0071a1;
284 color: #fff;
285 padding: 8px 12px;
286 border: none;
287 cursor: pointer;
288 border-radius: 3px;
289 transition: background-color 0.3s ease;
290 }
291
292 .mxchat-product-card .mxchat-add-to-cart-button:hover {
293 background-color: #005f87;
294 }
295
296
297
298
299
300 #mxchat-popular-questions {
301 padding: 10px;
302 }
303
304 .mxchat-popular-questions-title {
305 font-size: 14px;
306 line-height: 24px;
307 font-weight: bold;
308 color: #212121;
309 margin-bottom: 10px;
310 }
311
312 .mxchat-popular-questions-container {
313 position: relative; /* Make it the parent for positioning */
314 display: flex;
315 flex-direction: column;
316 max-height: 200px;
317 overflow-y: auto;
318 padding-right: 10px;
319 padding-bottom: 10px;
320 scrollbar-width: thin; /* For Firefox */
321 scrollbar-color: #212121 #f1f1f1; /* Thumb and track colors */
322 }
323
324
325 /* Styling the scrollbar for WebKit browsers (Chrome, Safari, etc.) */
326 .mxchat-popular-questions-container::-webkit-scrollbar {
327 width: 8px;
328 }
329
330 .mxchat-popular-questions-container::-webkit-scrollbar-track {
331 background: #f1f1f1;
332 border-radius: 4px;
333 }
334
335 .mxchat-popular-questions-container::-webkit-scrollbar-thumb {
336 background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
337 border-radius: 4px;
338 }
339
340 .mxchat-popular-questions-container::-webkit-scrollbar-thumb:hover {
341 background: linear-gradient(135deg, #d164ce, #6568d8, #2daeb8);
342 }
343
344 /* For Firefox */
345 .mxchat-popular-questions-container {
346 scrollbar-width: thin; /* Makes the scrollbar thinner */
347 scrollbar-color: #212121 #f1f1f1; /* Thumb color and track color */
348 }
349
350 /* For Edge and other modern browsers */
351 .mxchat-popular-questions-container {
352 -ms-overflow-style: none; /* Removes the default scrollbars for Edge */
353 scrollbar-gutter: stable; /* Prevent layout shifting */
354 }
355
356 /* For a more uniform cross-browser look */
357 .mxchat-popular-questions-container {
358 overflow: auto;
359 overscroll-behavior: contain;
360 }
361
362 .mxchat-popular-question {
363 padding: 12px 20px;
364 background-color: #f5f5f5; /* Darker background for better contrast */
365 border: 1px solid #bbb; /* Darker border for better visibility */
366 border-radius: 8px;
367 color: #212121;
368 font-size: 14px;
369 line-height: 24px;
370 cursor: pointer;
371 text-align: left;
372 transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
373 margin-bottom: 10px;
374 }
375
376 .mxchat-popular-question:hover {
377 background-color: #eaeaea; /* Slightly darker on hover */
378 border-color: #999; /* Darker border on hover */
379 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Slightly darker shadow on hover */
380 color: #212121;
381 }
382
383 .mxchat-popular-question:focus {
384 outline: none;
385 background-color: #e0e0e0; /* Darker background on focus */
386 border-color: #777; /* More prominent focus border */
387 box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.5); /* Subtle focus ring */
388 color: #212121;
389 }
390
391 .mxchat-popular-question:active {
392 background-color: #d8d8d8; /* Darker pressed background */
393 border-color: #666; /* Darker border when pressed */
394 box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15); /* Slightly darker pressed effect */
395 color: #212121;
396 }
397
398
399 #widget_icon, #widget_icon_2, #widget_icon_3, #widget_icon_5, #widget_icon_4, #widget_icon_6, #widget_icon_7 {
400 padding: 10px;
401 }
402
403 #widget_icon_10 {
404 fill: #fff;
405 }
406
407 .invisible {
408 display: none;
409 opacity: 0;
410 pointer-events: none;
411 }
412
413 #mxchat-chatbot {
414 background: #fff;
415 }
416
417 #mxchat-chatbot-wrapper .chatbot-footer .privacy-notice {
418 font-size: 12px;
419 margin: 0;
420 color: #71717a;
421 }
422
423 #mxchat-chatbot-wrapper .chatbot-footer .privacy-notice a {
424 color: #0073aa; /* You can specify the color for the link */
425 text-decoration: underline;
426 font-size: 12px;
427 }
428
429 #mxchat-chatbot #chat-container #input-container #send-button, .copy-btn {
430 transition: background-color .3s;
431 color: #fff;
432 font-size: 1rem;
433 cursor: pointer;
434 font-weight: 700;
435 margin-bottom: 10px;
436 }
437
438 #mxchat-chatbot {
439 max-width: 800px;
440 overflow: hidden;
441 position: relative;
442 display: flex;
443 flex-direction: column;
444 height: 500px;
445 box-sizing: border-box;
446 flex-grow: 1;
447 }
448
449 #chat-container {
450 display: flex;
451 flex-direction: column;
452 height: 100%;
453 }
454
455 #chat-box {
456 flex-grow: 1;
457 overflow-y: auto;
458 padding: 10px;
459 margin-bottom: 0;
460 font-size: 1rem;
461 }
462
463 #chat-box::-webkit-scrollbar {
464 width: 5px;
465 }
466
467 #chat-box::-webkit-scrollbar-thumb {
468 background-color: #212121;
469 border-radius: 20px;
470 }
471
472 .bot-message, .user-message {
473 margin-bottom: 15px;
474 padding: 10px;
475 display: inline-block;
476 max-width: 85%;
477 box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
478 font-size: 14px;
479 line-height: 24px;
480 }
481
482 .user-message {
483 background: #fff;
484 color: #212121;
485 text-align: left;
486 float: right;
487 clear: both;
488 border-radius: 18px 0 18px 18px;
489 border: solid 1px #212121;
490 word-wrap: break-word;
491 }
492
493 #mxchat-chatbot #chat-container #chat-box .bot-message {
494 text-align: left;
495 float: left;
496 clear: both;
497 border: 1px solid rgba(226, 232, 255, .2);
498 border-radius: 0 18px 18px;
499 background: #212121;
500 color: #fff;
501 overflow-x: hidden;
502 }
503
504 #mxchat-chatbot-wrapper {
505 box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
506 border-radius: 10px;
507 display: flex;
508 flex-direction: column;
509 height: 100%;
510 width: 100%;
511 }
512
513 #mxchat-chatbot #chat-container #input-container {
514 position: relative;
515 display: flex;
516 align-items: center;
517 padding-right: 40px;
518 border: 1px solid #ccc;
519 border-radius: 10px;
520 margin: 10px;
521 }
522
523 #mxchat-chatbot #chat-container #input-container #chat-input {
524 flex-grow: 1;
525 color: #212121;
526 line-height: 24px;
527 background: 0 0;
528 margin-bottom: 0px;
529 width: 100%;
530 min-height: 20px;
531 max-height: 400px;
532 resize: none;
533 overflow-y: auto;
534 font-size: 16px;
535 border: none;
536 border-radius: 5px;
537 box-sizing: border-box;
538 padding: 0.4em 0.5em;
539 outline: none;
540 }
541
542 /* Styling the scrollbar for WebKit browsers (Chrome, Safari, etc.) */
543 #chat-input::-webkit-scrollbar {
544 width: 8px; /* Set the scrollbar width */
545 }
546
547 #chat-input::-webkit-scrollbar-track {
548 background: #f1f1f1; /* Scrollbar track background */
549 border-radius: 4px; /* Round the corners */
550 }
551
552 #chat-input::-webkit-scrollbar-thumb {
553 background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); /* Gradient scrollbar thumb */
554 border-radius: 4px; /* Round the corners */
555 }
556
557 #chat-input::-webkit-scrollbar-thumb:hover {
558 background: linear-gradient(135deg, #d164ce, #6568d8, #2daeb8); /* Hover effect */
559 }
560
561 /* Optional: Ensure consistent styling for other modern browsers using scrollbars */
562 #chat-input {
563 scrollbar-width: thin; /* For Firefox: sets scrollbar width to thin */
564 scrollbar-color: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1) #f1f1f1; /* For Firefox: color for thumb and track */
565 }
566
567
568 #mxchat-chatbot #chat-container #input-container #send-button {
569 position:absolute;
570 right: 10px;
571 top: 50%;
572 transform: translateY(-50%);
573 border: none;
574 border-radius: 50%;
575 width: 30px;
576 height: 30px;
577 display: flex;
578 align-items: center;
579 justify-content: center;
580 background: 0 0!important;
581 padding: 5px;
582 margin: 0px 0px 0px 0px;
583 }
584
585 #mxchat-chatbot #chat-container #input-container #send-button .fa-paper-plane {
586 font-size: 1.3rem;
587 }
588
589 #send-button:hover, .copy-btn:hover {
590 opacity: .8;
591 }
592
593 #mxchat-chatbot:after {
594 content: "";
595 display: table;
596 clear: both;
597 }
598
599 pre {
600 background-color: #000;
601 border: 1px solid #ddd;
602 border-radius: 20px;
603 border-left: 3px solid #9e7aff;
604 color: #fff;
605 page-break-inside: avoid;
606 font-family: monospace;
607 font-size: 15px;
608 line-height: 1.6;
609 margin-bottom: 1.6em;
610 max-width: 100%;
611 overflow: auto;
612 padding: 1em 1.5em;
613 display: block;
614 word-wrap: break-word;
615 }
616
617 .copy-btn {
618 padding: 10px 20px;
619 border: none;
620 border-radius: 4px;
621 background-color: #9e7aff;
622 }
623
624 #floating-chatbot {
625 position: fixed;
626 bottom: 25px;
627 right: 25px;
628 width: 375px;
629 height: 625px;
630 box-shadow: 0 0 10px rgba(0, 0, 0, .25);
631 border-radius: 20px;
632 overflow: hidden;
633 display: flex;
634 z-index: 100000;
635 transition: transform .3s ease-in-out, opacity .3s ease-in-out;
636 transform: translateY(20%);
637 opacity: 0;
638 pointer-events: none;
639 }
640
641 #floating-chatbot.visible {
642 transform: translateY(0);
643 opacity: 1;
644 pointer-events: auto;
645 }
646
647 #floating-chatbot-button.hidden, .exit-chat span {
648 display: none!important;
649 }
650
651 .visible {
652 display: flex;
653 }
654
655 #floating-chatbot-button {
656 transition: opacity 1s ease-in-out;
657 font-size: 1.25rem;
658 position: fixed;
659 bottom: 30px;
660 right: 25px;
661 background-color: #212121;
662 color: #fff;
663 width: 60px;
664 height: 60px;
665 border-radius: 50%;
666 box-shadow: 0 4px 8px rgba(0, 0, 0, .2)!important;
667 justify-content: center;
668 align-items: center;
669 cursor: pointer;
670 transition: .3s;
671 z-index: 100000;
672 display: flex;
673 }
674
675 #floating-chatbot-button img {
676 max-width: 100%;
677 max-height: 100%;
678 width: auto;
679 height: auto;
680 }
681
682 #mxchat-chatbot-wrapper.active+#floating-chatbot-button {
683 bottom: 530px;
684 width: 100%;
685 }
686
687 .chatbot-close-button {
688 position: absolute;
689 top: 5px;
690 right: 5px;
691 border: none;
692 background: 0 0;
693 cursor: pointer;
694 font-size: 20px;
695 color: #f0f0f1;
696 }
697
698 .chatbot-top-bar {
699 background: #212121;
700 }
701
702 #mxchat-chatbot-wrapper .chatbot-top-bar {
703 cursor: pointer;
704 color: #fff;
705 padding: 10px;
706 border-top-left-radius: 10px;
707 border-top-right-radius: 10px;
708 display: flex;
709 justify-content: space-between;
710 align-items: baseline;
711 }
712
713 #mxchat-chatbot-wrapper .chatbot-top-bar .chatbot-title {
714 font-size: 16px;
715 line-height: 25px;
716 padding: 10px;
717 margin: 0;
718 font-family: 'Plus Jakarta Sans', sans-serif;
719 font-weight: bold;
720 }
721
722 #mxchat-chatbot-wrapper .chatbot-top-bar .chatbot-title span {
723 font-weight: 700;
724 }
725
726 #mxchat-chatbot-wrapper .chatbot-top-bar button.exit-chat {
727 background: 0 0;
728 border: none;
729 opacity: .8;
730 }
731
732 .exit-chat {
733 border: none;
734 background: 0 0;
735 cursor: pointer;
736 display: flex;
737 align-items: center;
738 justify-content: center;
739 padding: 5px;
740 margin-left: auto;
741 }
742
743 .exit-chat svg {
744 fill: white;
745 width: 24px;
746 height: 24px;
747 transform: rotate(270deg);
748 }
749
750 #mxchat-chatbot-wrapper .chatbot-footer {
751 text-align: center;
752 padding-bottom: 10px;
753 font-size: .85em;
754 }
755
756 #mxchat-chatbot-wrapper .chatbot-footer .powered-by {
757 text-decoration: none;
758 color: inherit;
759 font-weight: 700;
760 }
761
762 #mxchat-chatbot-wrapper .chatbot-footer .powered-by span {
763 text-decoration: underline;
764 }
765
766 .thinking-dots-container {
767 display: flex;
768 justify-content: center;
769 align-items: center;
770 overflow: hidden;
771 height: 20px; /* Adjust as needed */
772 }
773
774 .thinking-dots {
775 display: flex;
776 justify-content: center;
777 align-items: center;
778 height: 90%;
779 }
780
781 .dot {
782 height: 8px;
783 width: 8px;
784 margin: 0 3px;
785 background-color: #fff;
786 border-radius: 50%;
787 display: inline-block;
788 animation: bounce 1.4s ease-in-out infinite both;
789 }
790
791 .dot:first-child {
792 animation-delay: -.32s;
793 }
794
795 .dot:nth-child(2) {
796 animation-delay: -.16s;
797 }
798
799 @keyframes bounce {
800 0%, 100%, 80% {
801 transform: scale(1);
802 }
803 40% {
804 transform: scale(1.5);
805 }
806 }
807
808
809
810 #pre-chat-message {
811 position: fixed;
812 bottom: 85px;
813 right: 30px;
814 background-color: #fff;
815 color: #212121;
816 padding: 10px;
817 box-shadow: 0px 0px 10px rgba(150, 150, 150, 0.3);
818 border-radius: 5px;
819 z-index: 1000;
820 cursor: pointer;
821 max-width: 325px;
822 font-size: 14px;
823 display: none;
824 background: #fff;
825 margin-bottom: 10px;
826 }
827
828 #pre-chat-message .close-pre-chat-message {
829 position: absolute;
830 top: -6px;
831 right: -6px;
832 background-color: #ccc;
833 border: none;
834 color: #212121;
835 font-size: 14px;
836 cursor: pointer;
837 border-radius: 50%;
838 width: 20px;
839 height: 20px;
840 display: flex;
841 align-items: center;
842 justify-content: center;
843 padding: 0;
844 line-height: 1;
845 display: flex; /* Show the close button on hover */
846 }
847
848
849
850 @media (max-width: 550px) {
851
852 #pre-chat-message {
853 bottom: 70px; /* Adjust this value as needed */
854 right: 15px; /* Adjust this value as needed */
855 }
856
857 #chat-input {
858 width: calc(100% - 70px);
859 }
860 .bot-message, .user-message {
861 padding: 10px;
862 max-width: 95%;
863 }
864 #floating-chatbot-button {
865 bottom: 15px;
866 right: 10px;
867 }
868 #floating-chatbot {
869 width: 100vw;
870 height: calc(var(--vh, 1vh) * 100);
871 margin: 0;
872 padding: 0;
873 position: fixed;
874 bottom: 0;
875 top: 0;
876 left: 0;
877 right: 0;
878 border-radius: 0;
879 }
880 #mxchat-chatbot-wrapper .chatbot-top-bar {
881 border-top-left-radius: 0;
882 border-top-right-radius: 0;
883 }
884 }
885