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

435 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 }
137
138 #mxchat-chatbot #chat-container #input-container #send-button .fa-paper-plane {
139 font-size: 1.3rem;
140 }
141
142 #send-button:hover, .copy-btn:hover {
143 opacity: .8;
144 }
145
146 #mxchat-chatbot:after {
147 content: "";
148 display: table;
149 clear: both;
150 }
151
152 pre {
153 background-color: #000;
154 border: 1px solid #ddd;
155 border-radius: 20px;
156 border-left: 3px solid #9e7aff;
157 color: #fff;
158 page-break-inside: avoid;
159 font-family: monospace;
160 font-size: 15px;
161 line-height: 1.6;
162 margin-bottom: 1.6em;
163 max-width: 100%;
164 overflow: auto;
165 padding: 1em 1.5em;
166 display: block;
167 word-wrap: break-word;
168 }
169
170 .copy-btn {
171 padding: 10px 20px;
172 border: none;
173 border-radius: 4px;
174 background-color: #9e7aff;
175 }
176
177 #floating-chatbot {
178 position: fixed;
179 bottom: 25px;
180 right: 25px;
181 width: 375px;
182 height: 625px;
183 box-shadow: 0 0 10px rgba(0, 0, 0, .25);
184 border-radius: 20px;
185 overflow: hidden;
186 display: flex;
187 z-index: 100000;
188 transition: transform .3s ease-in-out, opacity .3s ease-in-out;
189 transform: translateY(20%);
190 opacity: 0;
191 pointer-events: none;
192 }
193
194 #floating-chatbot.visible {
195 transform: translateY(0);
196 opacity: 1;
197 pointer-events: auto;
198 }
199
200 #floating-chatbot-button.hidden, .exit-chat span {
201 display: none!important;
202 }
203
204 .visible {
205 display: flex;
206 }
207
208 #floating-chatbot-button {
209 transition: opacity 1s ease-in-out;
210 font-size: 1.25rem;
211 position: fixed;
212 bottom: 30px;
213 right: 25px;
214 background-color: #d63638;
215 color: #fff;
216 width: 60px;
217 height: 60px;
218 border-radius: 50%;
219 box-shadow: 0 4px 8px rgba(0, 0, 0, .2)!important;
220 justify-content: center;
221 align-items: center;
222 cursor: pointer;
223 transition: .3s;
224 z-index: 100000;
225 display: flex;
226 }
227
228 #floating-chatbot-button img {
229 max-width: 100%;
230 max-height: 100%;
231 padding: 10px;
232 width: auto;
233 height: auto;
234 }
235
236 #mxchat-chatbot-wrapper.active+#floating-chatbot-button {
237 bottom: 530px;
238 width: 100%;
239 }
240
241 .chatbot-close-button {
242 position: absolute;
243 top: 5px;
244 right: 5px;
245 border: none;
246 background: 0 0;
247 cursor: pointer;
248 font-size: 20px;
249 color: #f0f0f1;
250 }
251
252 #mxchat-chatbot-wrapper .chatbot-top-bar {
253 cursor: pointer;
254 color: #fff;
255 padding: 10px;
256 border-top-left-radius: 10px;
257 border-top-right-radius: 10px;
258 display: flex;
259 justify-content: space-between;
260 align-items: baseline;
261 }
262
263 #mxchat-chatbot-wrapper .chatbot-top-bar .chatbot-title {
264 font-size: 1rem;
265 line-height: 25px;
266 padding: 10px;
267 margin: 0;
268 font-family: 'Plus Jakarta Sans', sans-serif;
269 font-weight: bold;
270 }
271
272 #mxchat-chatbot-wrapper .chatbot-top-bar .chatbot-title span {
273 font-weight: 700;
274 }
275
276 #mxchat-chatbot-wrapper .chatbot-top-bar button.exit-chat {
277 background: 0 0;
278 border: none;
279 opacity: .8;
280 }
281
282 .exit-chat {
283 border: none;
284 background: 0 0;
285 cursor: pointer;
286 display: flex;
287 align-items: center;
288 justify-content: center;
289 padding: 5px;
290 margin-left: auto;
291 }
292
293 .exit-chat svg {
294 fill: white;
295 width: 24px;
296 height: 24px;
297 transform: rotate(270deg);
298 }
299
300 #mxchat-chatbot-wrapper .chatbot-footer {
301 text-align: center;
302 padding-bottom: 10px;
303 font-size: .85em;
304 }
305
306 #mxchat-chatbot-wrapper .chatbot-footer .powered-by {
307 text-decoration: none;
308 color: inherit;
309 font-weight: 700;
310 }
311
312 #mxchat-chatbot-wrapper .chatbot-footer .powered-by span {
313 text-decoration: underline;
314 }
315
316 .thinking-dots-container {
317 display: flex;
318 justify-content: center;
319 align-items: center;
320 overflow: hidden;
321 height: 20px; /* Adjust as needed */
322 }
323
324 .thinking-dots {
325 display: flex;
326 justify-content: center;
327 align-items: center;
328 height: 90%;
329 }
330
331 .dot {
332 height: 8px;
333 width: 8px;
334 margin: 0 3px;
335 background-color: #fff;
336 border-radius: 50%;
337 display: inline-block;
338 animation: bounce 1.4s ease-in-out infinite both;
339 }
340
341 .dot:first-child {
342 animation-delay: -.32s;
343 }
344
345 .dot:nth-child(2) {
346 animation-delay: -.16s;
347 }
348
349 @keyframes bounce {
350 0%, 100%, 80% {
351 transform: scale(1);
352 }
353 40% {
354 transform: scale(1.5);
355 }
356 }
357
358
359
360 #pre-chat-message {
361 position: fixed;
362 bottom: 85px;
363 right: 30px;
364 background-color: #fff;
365 color: #333;
366 padding: 10px;
367 box-shadow: rgba(150, 150, 150, 0.2) 0px 10px 30px 0px, rgba(150, 150, 150, 0.2) 0px 0px 0px 1px;
368 border-radius: 5px;
369 z-index: 1000;
370 cursor: pointer;
371 max-width: 70vw;
372 font-size: 14px;
373 display: none;
374 background: #fff;
375 margin-bottom: 10px;
376 }
377
378 #pre-chat-message .close-pre-chat-message {
379 position: absolute;
380 top: -6px;
381 right: -6px;
382 background-color: #ccc;
383 border: none;
384 color: #333;
385 font-size: 14px;
386 cursor: pointer;
387 border-radius: 50%;
388 width: 20px;
389 height: 20px;
390 display: flex;
391 align-items: center;
392 justify-content: center;
393 padding: 0;
394 line-height: 1;
395 display: flex; /* Show the close button on hover */
396 }
397
398
399
400 @media (max-width: 550px) {
401
402 #pre-chat-message {
403 bottom: 70px; /* Adjust this value as needed */
404 right: 15px; /* Adjust this value as needed */
405 }
406
407 #chat-input {
408 width: calc(100% - 70px);
409 }
410 .bot-message, .user-message {
411 padding: 10px;
412 max-width: 95%;
413 }
414 #floating-chatbot-button {
415 bottom: 15px;
416 right: 10px;
417 }
418 #floating-chatbot {
419 width: 100vw;
420 height: calc(var(--vh, 1vh) * 100);
421 margin: 0;
422 padding: 0;
423 position: fixed;
424 bottom: 0;
425 top: 0;
426 left: 0;
427 right: 0;
428 border-radius: 0;
429 }
430 #mxchat-chatbot-wrapper .chatbot-top-bar {
431 border-top-left-radius: 0;
432 border-top-right-radius: 0;
433 }
434 }
435