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

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