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

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