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

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