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

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