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

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