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 / chat-style.css

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

625 lines 12.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .code-block-container {
2 position: relative;
3 margin: 15px 0;
4 }
5
6 .code-block {
7 background-color: #212121;
8 color: #fff;
9 padding: 10px;
10 border-radius: 5px;
11 white-space: pre-wrap; /* Maintain formatting */
12 overflow: auto; /* Enable scrolling for long content */
13 font-family: monospace;
14 }
15
16 .code-block code {
17 font-family: monospace;
18 white-space: pre-wrap;
19 display: block;
20 }
21
22
23
24 .mxchat-image-gallery {
25 display: flex;
26 flex-wrap: wrap;
27 gap: 10px;
28 justify-content: center;
29 }
30
31 .mxchat-image-item {
32 text-align: center;
33 overflow: hidden;
34 word-wrap: break-word;
35 }
36
37 .mxchat-image-title {
38 display: block;
39 font-size: 14px;
40 color: inherit;
41 white-space: nowrap;
42 overflow: hidden;
43 text-overflow: ellipsis;
44 max-width: 100%;
45 }
46
47 .mxchat-image-link {
48 text-decoration: none;
49 }
50
51 .mxchat-image-thumbnail {
52 max-width: 100%;
53 height: auto;
54 border-radius: 5px;
55 transition: transform 0.3s;
56 }
57
58 .mxchat-image-thumbnail:hover {
59 transform: scale(1.05);
60 }
61 .mxchat-generated-image {
62 max-width: 100%;
63 height: auto;
64 border-radius: 0 0 8px 8px;
65 }
66
67
68 /* MxChat Product Card Styling */
69 .mxchat-product-card {
70 display: flex;
71 flex-direction: column;
72 align-items: center;
73 margin: 10px 0;
74 padding: 10px;
75 border-radius: 5px;
76 background-color: inherit;
77 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
78 }
79
80 .mxchat-product-card img.mxchat-product-image {
81 max-width: 100%;
82 height: auto;
83 margin-bottom: 5px;
84 border-radius: 4px;
85 }
86
87 .mxchat-product-card h3.mxchat-product-name {
88 font-size: 16px;
89 font-weight: bold;
90 margin: 5px 0;
91 text-align: center;
92 color: inherit;
93 }
94
95 .mxchat-product-card .mxchat-product-price {
96 color: inherit;
97 font-weight: bold;
98 margin-bottom: 5px;
99 }
100
101 .mxchat-product-card .mxchat-product-description {
102 font-size: 14px;
103 text-align: center;
104 margin-bottom: 10px;
105 color: inherit;
106 }
107
108 .mxchat-product-card .mxchat-add-to-cart-button {
109 background-color: #0071a1;
110 color: #fff;
111 padding: 8px 12px;
112 border: none;
113 cursor: pointer;
114 border-radius: 3px;
115 transition: background-color 0.3s ease;
116 }
117
118 .mxchat-product-card .mxchat-add-to-cart-button:hover {
119 background-color: #005f87;
120 }
121
122
123
124
125
126 #mxchat-popular-questions {
127 padding: 10px;
128 margin-bottom: 15px;
129 }
130
131 .mxchat-popular-questions-title {
132 font-size: 16px;
133 font-weight: bold;
134 color: #333;
135 margin-bottom: 10px;
136 }
137
138 .mxchat-popular-questions-container {
139 display: flex;
140 flex-direction: column;
141 gap: 10px;
142 }
143
144 .mxchat-popular-question {
145 padding: 12px 20px;
146 background-color: #f5f5f5; /* Darker background for better contrast */
147 border: 1px solid #bbb; /* Darker border for better visibility */
148 border-radius: 8px;
149 color: #333;
150 font-size: 16px;
151 cursor: pointer;
152 text-align: left;
153 transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
154 }
155
156 .mxchat-popular-question:hover {
157 background-color: #eaeaea; /* Slightly darker on hover */
158 border-color: #999; /* Darker border on hover */
159 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Slightly darker shadow on hover */
160 color: #212121;
161 }
162
163 .mxchat-popular-question:focus {
164 outline: none;
165 background-color: #e0e0e0; /* Darker background on focus */
166 border-color: #777; /* More prominent focus border */
167 box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.5); /* Subtle focus ring */
168 color: #212121;
169 }
170
171 .mxchat-popular-question:active {
172 background-color: #d8d8d8; /* Darker pressed background */
173 border-color: #666; /* Darker border when pressed */
174 box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15); /* Slightly darker pressed effect */
175 color: #212121;
176 }
177
178
179
180
181
182
183
184
185
186
187
188 #widget_icon, #widget_icon_2, #widget_icon_3, #widget_icon_5, #widget_icon_4, #widget_icon_6, #widget_icon_7 {
189 padding: 10px;
190 }
191
192 .invisible {
193 display: none;
194 opacity: 0;
195 pointer-events: none;
196 }
197
198 #mxchat-chatbot-wrapper .chatbot-footer .privacy-notice {
199 font-size: 0.75rem;
200 margin: 0;
201 color: #71717a;
202 }
203
204 #mxchat-chatbot-wrapper .chatbot-footer .privacy-notice a {
205 color: #0073aa; /* You can specify the color for the link */
206 text-decoration: underline;
207 font-size: 0.75rem;
208
209 }
210
211 #mxchat-chatbot #chat-container #input-container #send-button, .copy-btn {
212 transition: background-color .3s;
213 color: #fff;
214 font-size: 1rem;
215 cursor: pointer;
216 font-weight: 700;
217 }
218
219 #mxchat-chatbot {
220 max-width: 800px;
221 overflow: hidden;
222 position: relative;
223 display: flex;
224 flex-direction: column;
225 height: 500px;
226 box-sizing: border-box;
227 flex-grow: 1;
228 }
229
230 #chat-container {
231 display: flex;
232 flex-direction: column;
233 height: 100%;
234 }
235
236 #chat-box {
237 flex-grow: 1;
238 overflow-y: auto;
239 padding: 10px;
240 margin-bottom: 0;
241 font-size: 1rem;
242 }
243
244 #chat-box::-webkit-scrollbar {
245 width: 5px;
246 }
247
248 #chat-box::-webkit-scrollbar-thumb {
249 background-color: #333;
250 border-radius: 20px;
251 }
252
253 .bot-message, .user-message {
254 margin-bottom: 15px;
255 padding: 10px;
256 display: inline-block;
257 max-width: 85%;
258 box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
259 }
260
261 .user-message {
262 background: #fff;
263 color: #212121;
264 text-align: left;
265 float: right;
266 clear: both;
267 border-radius: 18px 0 18px 18px;
268 border: solid 1px #212121;
269 }
270
271 #mxchat-chatbot #chat-container #chat-box .bot-message {
272 text-align: left;
273 float: left;
274 clear: both;
275 border: 1px solid rgba(226, 232, 255, .2);
276 border-radius: 0 18px 18px;
277 background: #212121;
278 color: #fff;
279 overflow-x: hidden;
280 }
281
282 #mxchat-chatbot-wrapper {
283 box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
284 border-radius: 10px;
285 display: flex;
286 flex-direction: column;
287 height: 100%;
288 width: 100%;
289 }
290
291 #mxchat-chatbot #chat-container #input-container {
292 position: relative;
293 display: flex;
294 align-items: center;
295 padding: 10px;
296 }
297
298 #mxchat-chatbot #chat-container #input-container #chat-input {
299 flex-grow: 1;
300 padding: .5rem 2.5rem .5rem .5rem;
301 border-radius: 10px;
302 border: 1px solid #bbb;
303 color: #212121;
304 font-size: 1rem;
305 background: 0 0;
306 width: calc(100% - 30px);
307 margin-bottom: 0px;
308 height: 100%;
309 }
310
311 #mxchat-chatbot #chat-container #input-container #send-button {
312 position:absolute;
313 right: 10px;
314 top: 50%;
315 transform: translateY(-50%);
316 border: none;
317 border-radius: 50%;
318 width: 30px;
319 height: 30px;
320 display: flex;
321 align-items: center;
322 justify-content: center;
323 background: 0 0!important;
324 padding: 5px;
325 margin: 0px 0px 0px 0px;
326 }
327
328 #mxchat-chatbot #chat-container #input-container #send-button .fa-paper-plane {
329 font-size: 1.3rem;
330 }
331
332 #send-button:hover, .copy-btn:hover {
333 opacity: .8;
334 }
335
336 #mxchat-chatbot:after {
337 content: "";
338 display: table;
339 clear: both;
340 }
341
342 pre {
343 background-color: #000;
344 border: 1px solid #ddd;
345 border-radius: 20px;
346 border-left: 3px solid #9e7aff;
347 color: #fff;
348 page-break-inside: avoid;
349 font-family: monospace;
350 font-size: 15px;
351 line-height: 1.6;
352 margin-bottom: 1.6em;
353 max-width: 100%;
354 overflow: auto;
355 padding: 1em 1.5em;
356 display: block;
357 word-wrap: break-word;
358 }
359
360 .copy-btn {
361 padding: 10px 20px;
362 border: none;
363 border-radius: 4px;
364 background-color: #9e7aff;
365 }
366
367 #floating-chatbot {
368 position: fixed;
369 bottom: 25px;
370 right: 25px;
371 width: 375px;
372 height: 625px;
373 box-shadow: 0 0 10px rgba(0, 0, 0, .25);
374 border-radius: 20px;
375 overflow: hidden;
376 display: flex;
377 z-index: 100000;
378 transition: transform .3s ease-in-out, opacity .3s ease-in-out;
379 transform: translateY(20%);
380 opacity: 0;
381 pointer-events: none;
382 }
383
384 #floating-chatbot.visible {
385 transform: translateY(0);
386 opacity: 1;
387 pointer-events: auto;
388 }
389
390 #floating-chatbot-button.hidden, .exit-chat span {
391 display: none!important;
392 }
393
394 .visible {
395 display: flex;
396 }
397
398 #floating-chatbot-button {
399 transition: opacity 1s ease-in-out;
400 font-size: 1.25rem;
401 position: fixed;
402 bottom: 30px;
403 right: 25px;
404 background-color: #d63638;
405 color: #fff;
406 width: 60px;
407 height: 60px;
408 border-radius: 50%;
409 box-shadow: 0 4px 8px rgba(0, 0, 0, .2)!important;
410 justify-content: center;
411 align-items: center;
412 cursor: pointer;
413 transition: .3s;
414 z-index: 100000;
415 display: flex;
416 }
417
418 #floating-chatbot-button img {
419 max-width: 100%;
420 max-height: 100%;
421 padding: 10px;
422 width: auto;
423 height: auto;
424 }
425
426 #mxchat-chatbot-wrapper.active+#floating-chatbot-button {
427 bottom: 530px;
428 width: 100%;
429 }
430
431 .chatbot-close-button {
432 position: absolute;
433 top: 5px;
434 right: 5px;
435 border: none;
436 background: 0 0;
437 cursor: pointer;
438 font-size: 20px;
439 color: #f0f0f1;
440 }
441
442 #mxchat-chatbot-wrapper .chatbot-top-bar {
443 cursor: pointer;
444 color: #fff;
445 padding: 10px;
446 border-top-left-radius: 10px;
447 border-top-right-radius: 10px;
448 display: flex;
449 justify-content: space-between;
450 align-items: baseline;
451 }
452
453 #mxchat-chatbot-wrapper .chatbot-top-bar .chatbot-title {
454 font-size: 1rem;
455 line-height: 25px;
456 padding: 10px;
457 margin: 0;
458 font-family: 'Plus Jakarta Sans', sans-serif;
459 font-weight: bold;
460 }
461
462 #mxchat-chatbot-wrapper .chatbot-top-bar .chatbot-title span {
463 font-weight: 700;
464 }
465
466 #mxchat-chatbot-wrapper .chatbot-top-bar button.exit-chat {
467 background: 0 0;
468 border: none;
469 opacity: .8;
470 }
471
472 .exit-chat {
473 border: none;
474 background: 0 0;
475 cursor: pointer;
476 display: flex;
477 align-items: center;
478 justify-content: center;
479 padding: 5px;
480 margin-left: auto;
481 }
482
483 .exit-chat svg {
484 fill: white;
485 width: 24px;
486 height: 24px;
487 transform: rotate(270deg);
488 }
489
490 #mxchat-chatbot-wrapper .chatbot-footer {
491 text-align: center;
492 padding-bottom: 10px;
493 font-size: .85em;
494 }
495
496 #mxchat-chatbot-wrapper .chatbot-footer .powered-by {
497 text-decoration: none;
498 color: inherit;
499 font-weight: 700;
500 }
501
502 #mxchat-chatbot-wrapper .chatbot-footer .powered-by span {
503 text-decoration: underline;
504 }
505
506 .thinking-dots-container {
507 display: flex;
508 justify-content: center;
509 align-items: center;
510 overflow: hidden;
511 height: 20px; /* Adjust as needed */
512 }
513
514 .thinking-dots {
515 display: flex;
516 justify-content: center;
517 align-items: center;
518 height: 90%;
519 }
520
521 .dot {
522 height: 8px;
523 width: 8px;
524 margin: 0 3px;
525 background-color: #fff;
526 border-radius: 50%;
527 display: inline-block;
528 animation: bounce 1.4s ease-in-out infinite both;
529 }
530
531 .dot:first-child {
532 animation-delay: -.32s;
533 }
534
535 .dot:nth-child(2) {
536 animation-delay: -.16s;
537 }
538
539 @keyframes bounce {
540 0%, 100%, 80% {
541 transform: scale(1);
542 }
543 40% {
544 transform: scale(1.5);
545 }
546 }
547
548
549
550 #pre-chat-message {
551 position: fixed;
552 bottom: 85px;
553 right: 30px;
554 background-color: #fff;
555 color: #212121;
556 padding: 10px;
557 box-shadow: 0px 0px 10px rgba(150, 150, 150, 0.3);
558 border-radius: 5px;
559 z-index: 1000;
560 cursor: pointer;
561 max-width: 325px;
562 font-size: 14px;
563 display: none;
564 background: #fff;
565 margin-bottom: 10px;
566 }
567
568 #pre-chat-message .close-pre-chat-message {
569 position: absolute;
570 top: -6px;
571 right: -6px;
572 background-color: #ccc;
573 border: none;
574 color: #333;
575 font-size: 14px;
576 cursor: pointer;
577 border-radius: 50%;
578 width: 20px;
579 height: 20px;
580 display: flex;
581 align-items: center;
582 justify-content: center;
583 padding: 0;
584 line-height: 1;
585 display: flex; /* Show the close button on hover */
586 }
587
588
589
590 @media (max-width: 550px) {
591
592 #pre-chat-message {
593 bottom: 70px; /* Adjust this value as needed */
594 right: 15px; /* Adjust this value as needed */
595 }
596
597 #chat-input {
598 width: calc(100% - 70px);
599 }
600 .bot-message, .user-message {
601 padding: 10px;
602 max-width: 95%;
603 }
604 #floating-chatbot-button {
605 bottom: 15px;
606 right: 10px;
607 }
608 #floating-chatbot {
609 width: 100vw;
610 height: calc(var(--vh, 1vh) * 100);
611 margin: 0;
612 padding: 0;
613 position: fixed;
614 bottom: 0;
615 top: 0;
616 left: 0;
617 right: 0;
618 border-radius: 0;
619 }
620 #mxchat-chatbot-wrapper .chatbot-top-bar {
621 border-top-left-radius: 0;
622 border-top-right-radius: 0;
623 }
624 }
625