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.1.5 1.6.85 0.1.6 1.6.86 0.1.7 1.6.87 0.1.8 1.6.88 0.1.9 1.6.89 0.2.0 1.6.90
ai-engine / themes / messages.css
ai-engine / themes Last commit date
icons 2 years ago sass 1 year ago chatgpt.css 2 years ago messages.css 2 years ago timeless.css 1 year ago
messages.css
1037 lines
1 .mwai-messages-theme {
2 --mwai-spacing: 10px;
3 --mwai-fontSize: 13px;
4 --mwai-lineHeight: 1.5;
5 --mwai-borderRadius: 10px;
6 --mwai-width: 460px;
7 --mwai-maxHeight: 40vh;
8 --mwai-iconTextColor: black;
9 --mwai-iconTextBackgroundColor: white;
10 --mwai-fontColor: black;
11 --mwai-backgroundPrimaryColor: #fafafa;
12 --mwai-backgroundHeaderColor: #0084ff;
13 --mwai-bubbleColor: #0084ff;
14 --mwai-headerButtonsColor: white;
15 --mwai-conversationsBackgroundColor: white;
16 --mwai-backgroundUserColor: #0084ff;
17 --mwai-backgroundAiColor: #eee;
18 --mwai-backgroundAiSecondaryColor: #ddd;
19 --mwai-errorBackgroundColor: #6d2f2a;
20 --mwai-errorTextColor: #FFFFFF;
21 }
22
23 .mwai-messages-theme * {
24 box-sizing: border-box;
25 }
26
27 .mwai-messages-theme .mwai-content {
28 display: flex;
29 background: var(--mwai-backgroundPrimaryColor);
30 font-size: var(--mwai-fontSize);
31 color: var(--mwai-fontColor);
32 border-radius: var(--mwai-borderRadius);
33 flex-direction: column;
34 }
35
36 .mwai-messages-theme .mwai-conversation {
37 display: flex;
38 flex-direction: column;
39 overflow: auto;
40 max-height: var(--mwai-maxHeight);
41 padding: var(--mwai-spacing) var(--mwai-spacing) 0;
42 }
43
44 .mwai-messages-theme .mwai-conversation .mwai-reply {
45 margin-bottom: var(--mwai-spacing);
46 padding: 7px 12px;
47 border-radius: 15px;
48 font-size: var(--mwai-fontSize);
49 color: var(--mwai-fontColor);
50 position: relative;
51 }
52
53 .mwai-messages-theme .mwai-conversation .mwai-reply .mwai-name,
54 .mwai-messages-theme .mwai-conversation .mwai-reply .mwai-name-text {
55 display: none;
56 }
57
58 .mwai-messages-theme .mwai-conversation .mwai-reply * > p:first-child {
59 margin-top: 0;
60 }
61
62 .mwai-messages-theme .mwai-conversation .mwai-reply * > p:last-child {
63 margin-bottom: 0;
64 }
65
66 .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-ai {
67 align-self: flex-start;
68 background: var(--mwai-backgroundAiColor);
69 margin-left: 5px;
70 }
71
72 .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-ai::before, .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-ai::after {
73 content: "";
74 position: absolute;
75 z-index: 1;
76 bottom: 0;
77 left: -10px;
78 width: 10px;
79 height: 20px;
80 background: var(--mwai-backgroundPrimaryColor);
81 border-bottom-right-radius: 10px;
82 }
83
84 .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-ai::before {
85 z-index: 0;
86 left: -7px;
87 height: 20px;
88 width: 20px;
89 background: var(--mwai-backgroundAiColor);
90 border-bottom-right-radius: 15px;
91 }
92
93 .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user {
94 align-self: flex-end;
95 background: var(--mwai-backgroundUserColor);
96 color: white;
97 margin-right: 10px;
98 }
99
100 .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user::before, .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user::after {
101 content: "";
102 position: absolute;
103 z-index: 1;
104 bottom: 0;
105 right: -10px;
106 width: 10px;
107 height: 20px;
108 background: var(--mwai-backgroundPrimaryColor);
109 border-bottom-left-radius: 10px;
110 }
111
112 .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user::before {
113 z-index: 0;
114 right: -10px;
115 height: 20px;
116 width: 20px;
117 background: var(--mwai-backgroundUserColor);
118 background-attachment: fixed;
119 border-bottom-left-radius: 15px;
120 }
121
122 .mwai-messages-theme .mwai-text {
123 flex: auto;
124 }
125
126 .mwai-messages-theme .mwai-text .mwai-image {
127 display: block;
128 max-width: 250px;
129 height: auto;
130 margin: 0 0 10px 0;
131 border-radius: var(--mwai-borderRadius);
132 }
133
134 .mwai-messages-theme .mwai-text .mwai-filename {
135 display: flex;
136 text-decoration: none;
137 border: 1px solid var(--mwai-backgroundPrimaryColor);
138 border-radius: var(--mwai-borderRadius);
139 color: white;
140 padding: 5px 10px;
141 margin-bottom: 10px;
142 }
143
144 .mwai-messages-theme .mwai-text > span > p > *:first-child {
145 margin-top: 0;
146 }
147
148 .mwai-messages-theme .mwai-text a {
149 color: #2196f3;
150 }
151
152 .mwai-messages-theme .mwai-text h1 {
153 font-size: 200%;
154 }
155
156 .mwai-messages-theme .mwai-text h2 {
157 font-size: 160%;
158 }
159
160 .mwai-messages-theme .mwai-text h3 {
161 font-size: 140%;
162 }
163
164 .mwai-messages-theme .mwai-text h4 {
165 font-size: 120%;
166 }
167
168 .mwai-messages-theme .mwai-text p {
169 font-size: var(--mwai-fontSize);
170 line-height: var(--mwai-lineHeight);
171 }
172
173 .mwai-messages-theme .mwai-text p code {
174 background: var(--mwai-backgroundAiSecondaryColor);
175 padding: 2px 6px;
176 border-radius: 8px;
177 font-size: calc(var(--mwai-fontSize) * 0.9);
178 font-family: system-ui;
179 }
180
181 .mwai-messages-theme .mwai-text pre {
182 color: var(--mwai-fontColor);
183 border-radius: var(--mwai-borderRadius);
184 break-after: auto;
185 white-space: pre-wrap;
186 max-width: 100%;
187 width: 100%;
188 font-family: system-ui;
189 background: var(--mwai-backgroundAiSecondaryColor);
190 padding: var(--mwai-spacing);
191 }
192
193 .mwai-messages-theme .mwai-text pre code {
194 padding: 0 !important;
195 font-family: system-ui;
196 background: var(--mwai-backgroundAiSecondaryColor);
197 }
198
199 .mwai-messages-theme .mwai-text ol {
200 padding: 0;
201 margin: 0 0 0 20px;
202 }
203
204 .mwai-messages-theme .mwai-text table {
205 width: 100%;
206 border: 2px solid var(--mwai-backgroundAiSecondaryColor);
207 border-collapse: collapse;
208 }
209
210 .mwai-messages-theme .mwai-text thead {
211 background: var(--mwai-backgroundAiSecondaryColor);
212 }
213
214 .mwai-messages-theme .mwai-text tr,
215 .mwai-messages-theme .mwai-text td {
216 padding: 2px 5px;
217 }
218
219 .mwai-messages-theme .mwai-text td {
220 border: 2px solid var(--mwai-backgroundAiSecondaryColor);
221 }
222
223 .mwai-messages-theme .mwai-text .mwai-typewriter {
224 display: inline-block;
225 }
226
227 .mwai-messages-theme .mwai-text .mwai-typewriter > :first-child {
228 margin-top: 0;
229 }
230
231 .mwai-messages-theme .mwai-text > *:first-child {
232 margin-top: 0;
233 }
234
235 .mwai-messages-theme .mwai-text > *:last-child {
236 margin-bottom: 0;
237 }
238
239 .mwai-messages-theme .mwai-input {
240 display: flex;
241 align-items: center;
242 padding: var(--mwai-spacing);
243 }
244
245 .mwai-messages-theme .mwai-input .mwai-input-text {
246 flex: auto;
247 position: relative;
248 display: flex;
249 background: var(--mwai-backgroundPrimaryColor);
250 border-radius: var(--mwai-borderRadius);
251 border: 1px solid var(--mwai-backgroundAiSecondaryColor);
252 overflow: hidden;
253 }
254
255 .mwai-messages-theme .mwai-input .mwai-input-text.mwai-blocked img {
256 filter: grayscale(100%);
257 opacity: 0.5;
258 }
259
260 .mwai-messages-theme .mwai-input .mwai-input-text.mwai-dragging {
261 border: 1px dashed var(--mwai-backgroundAiSecondaryColor);
262 }
263
264 .mwai-messages-theme .mwai-input .mwai-input-text textarea {
265 background: var(--mwai-backgroundPrimaryColor);
266 color: var(--mwai-fontColor);
267 flex: auto;
268 padding: var(--mwai-spacing);
269 border: none;
270 font-size: var(--mwai-fontSize);
271 resize: none;
272 font-family: inherit;
273 margin: 0;
274 overflow: hidden;
275 min-height: inherit;
276 }
277
278 .mwai-messages-theme .mwai-input .mwai-input-text textarea:focus {
279 outline: none;
280 box-shadow: none;
281 }
282
283 .mwai-messages-theme .mwai-input .mwai-input-text textarea::placeholder {
284 color: var(--mwai-fontColor);
285 opacity: 0.5;
286 }
287
288 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone {
289 width: 32px;
290 height: 32px;
291 }
292
293 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone svg {
294 width: 32px;
295 height: 32px;
296 fill: var(--mwai-fontColor);
297 opacity: 0.5;
298 filter: grayscale(100%);
299 transition: opacity 0.3s ease-out;
300 padding: 5px 10px;
301 cursor: pointer;
302 }
303
304 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg {
305 opacity: 1;
306 }
307
308 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg {
309 opacity: 0;
310 cursor: not-allowed;
311 }
312
313 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon {
314 background: url("icons/white-icons.svg");
315 background-size: 500%;
316 background-position: 0px -96px;
317 width: 32px;
318 height: 32px;
319 margin-top: calc(var(--mwai-spacing) / 2);
320 margin-left: 5px;
321 z-index: 100;
322 }
323
324 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-idle-add {
325 background-position: -32px -96px;
326 }
327
328 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-add {
329 background-position: -32px 0px;
330 }
331
332 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-up {
333 background-position: -64px 0px;
334 }
335
336 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-del {
337 background-position: -96px 0px;
338 }
339
340 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-ok {
341 background-position: -128px 0px;
342 }
343
344 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-add {
345 background-position: -32px -64px;
346 }
347
348 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-up {
349 background-position: -64px -64px;
350 }
351
352 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-del {
353 background-position: -96px -64px;
354 }
355
356 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-ok {
357 background-position: -128px -64px;
358 }
359
360 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon .mwai-file-upload-progress {
361 position: absolute;
362 font-size: 8px;
363 width: 21px;
364 top: 24px;
365 left: 23px;
366 overflow: hidden;
367 text-align: center;
368 font-weight: bold;
369 color: white;
370 }
371
372 .mwai-messages-theme button {
373 margin-left: var(--mwai-spacing);
374 padding: 5px 15px;
375 background-color: var(--mwai-backgroundUserColor);
376 color: white;
377 border: none;
378 border-radius: var(--mwai-borderRadius);
379 cursor: pointer;
380 height: 32px;
381 width: 110px;
382 display: flex;
383 justify-content: center;
384 align-items: center;
385 }
386
387 .mwai-messages-theme button .mwai-timer {
388 margin-left: 5px;
389 margin-right: 5px;
390 font-size: 11px;
391 }
392
393 .mwai-messages-theme button:hover {
394 filter: brightness(1.2);
395 }
396
397 .mwai-messages-theme button[disabled] {
398 cursor: not-allowed;
399 }
400
401 .mwai-messages-theme button[disabled] span {
402 opacity: 0.5;
403 }
404
405 .mwai-messages-theme button[disabled].mwai-busy span {
406 display: none;
407 }
408
409 .mwai-messages-theme button[disabled].mwai-busy:before {
410 content: '';
411 width: 18px;
412 height: 18px;
413 margin: auto;
414 border: 3px solid transparent;
415 border-top-color: var(--mwai-fontColor);
416 border-radius: 50%;
417 animation: mwai-button-spinner 1s ease infinite;
418 }
419
420 .mwai-messages-theme .mwai-compliance {
421 opacity: 0.50;
422 margin-top: calc(-1 * var(--mwai-spacing));
423 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
424 font-size: smaller;
425 color: var(--mwai-fontColor);
426 text-align: left;
427 }
428
429 .mwai-messages-theme .mwai-gallery {
430 display: grid;
431 grid-template-columns: repeat(3, 1fr);
432 grid-gap: 5px;
433 }
434
435 .mwai-messages-theme .mwai-gallery img {
436 width: 100%;
437 }
438
439 .mwai-messages-theme.mwai-discussions {
440 border-radius: var(--mwai-borderRadius);
441 background: var(--mwai-conversationsBackgroundColor);
442 color: var(--mwai-backgroundPrimaryColor);
443 overflow: hidden;
444 }
445
446 .mwai-messages-theme.mwai-discussions * {
447 box-sizing: border-box;
448 }
449
450 .mwai-messages-theme.mwai-discussions .mwai-header {
451 background: var(--mwai-backgroundAiSecondaryColor);
452 padding: var(--mwai-spacing);
453 display: flex;
454 justify-content: space-between;
455 align-items: center;
456 }
457
458 .mwai-messages-theme.mwai-discussions .mwai-content {
459 background: var(--mwai-conversationsBackgroundColor);
460 list-style: none;
461 padding: 0;
462 margin: 0;
463 }
464
465 .mwai-messages-theme.mwai-discussions .mwai-content li {
466 margin-left: calc(var(--mwai-spacing) / 2);
467 margin-right: calc(var(--mwai-spacing) / 2);
468 margin-bottom: calc(var(--mwai-spacing) / 2);
469 color: var(--mwai-conversationsTextColor);
470 font-size: 75%;
471 padding: calc(var(--mwai-spacing) / 2);
472 opacity: 0.65;
473 }
474
475 .mwai-messages-theme.mwai-discussions .mwai-content li.mwai-active, .mwai-messages-theme.mwai-discussions .mwai-content li:hover {
476 color: var(--mwai-backgroundPrimaryColor);
477 background: var(--mwai-backgroundHeaderColor);
478 border-radius: var(--mwai-borderRadius);
479 opacity: 1;
480 cursor: pointer;
481 }
482
483 .mwai-messages-theme.mwai-discussions .mwai-content li:first-child {
484 margin-top: calc(var(--mwai-spacing) / 2);
485 }
486
487 .mwai-messages-theme.mwai-discussions button {
488 margin-left: 0;
489 }
490
491 .mwai-messages-theme.mwai-transition, .mwai-messages-theme .mwai-transition {
492 opacity: 0;
493 transition: opacity 350ms ease-in-out;
494 }
495
496 .mwai-messages-theme.mwai-transition-visible, .mwai-messages-theme .mwai-transition-visible {
497 opacity: 1;
498 }
499
500 .mwai-messages-theme .mwai-text {
501 overflow-wrap: anywhere;
502 }
503
504 .mwai-messages-theme .mwai-text img {
505 max-width: 100%;
506 }
507
508 .mwai-messages-theme .mwai-text div p:first-child {
509 margin-top: 0;
510 }
511
512 .mwai-messages-theme .mwai-text div p:last-child {
513 margin-bottom: 0;
514 }
515
516 .mwai-messages-theme .mwai-trigger {
517 position: absolute;
518 right: 0;
519 bottom: 0;
520 transition: all 0.2s ease-out;
521 z-index: 9999;
522 display: flex;
523 flex-direction: column;
524 align-items: end;
525 }
526
527 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container {
528 display: flex;
529 flex-direction: column;
530 align-items: flex-end;
531 }
532
533 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text {
534 background: var(--mwai-iconTextBackgroundColor);
535 color: var(--mwai-iconTextColor);
536 box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
537 max-width: 200px;
538 font-size: 13px;
539 margin-bottom: 15px;
540 padding: 10px 15px;
541 border-radius: 8px;
542 }
543
544 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
545 color: var(--mwai-iconTextColor);
546 background: var(--mwai-iconTextBackgroundColor);
547 padding: 5px;
548 width: 20px;
549 height: 20px;
550 border-radius: 100%;
551 display: none;
552 justify-content: center;
553 align-items: center;
554 margin-bottom: 3px;
555 }
556
557 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container:hover {
558 cursor: pointer;
559 }
560
561 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close {
562 display: flex;
563 font-size: 12px;
564 }
565
566 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover {
567 filter: brightness(1.2);
568 }
569
570 @media (max-width: 760px) {
571 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
572 display: flex;
573 }
574 }
575
576 .mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon {
577 filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15));
578 transition: all 0.2s ease-out;
579 }
580
581 .mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover {
582 cursor: pointer;
583 transform: scale(1.05);
584 }
585
586 .mwai-messages-theme.mwai-window {
587 position: fixed;
588 right: 30px;
589 bottom: 30px;
590 width: var(--mwai-width);
591 z-index: 9999;
592 }
593
594 .mwai-messages-theme.mwai-window .mwai-header {
595 display: none;
596 justify-content: flex-end;
597 align-items: center;
598 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
599 background: var(--mwai-backgroundHeaderColor);
600 }
601
602 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons {
603 display: flex;
604 align-items: center;
605 }
606
607 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
608 justify-content: center;
609 height: 32px;
610 width: 22px;
611 cursor: pointer;
612 display: flex;
613 justify-content: center;
614 align-items: center;
615 }
616
617 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
618 transition: all 0.2s ease-out;
619 content: ' ';
620 cursor: pointer;
621 position: absolute;
622 height: 13px;
623 width: 13px;
624 border: 1px solid var(--mwai-headerButtonsColor);
625 }
626
627 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
628 width: 16px;
629 height: 16px;
630 }
631
632 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button {
633 justify-content: center;
634 height: 32px;
635 width: 33px;
636 cursor: pointer;
637 border-radius: var(--mwai-borderRadius);
638 }
639
640 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
641 transition: all 0.2s ease-out;
642 transform: translate(16px, 5px) rotate(45deg);
643 }
644
645 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
646 transition: all 0.2s ease-out;
647 transform: translate(16px, 5px) rotate(-45deg);
648 }
649
650 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
651 content: ' ';
652 cursor: pointer;
653 position: absolute;
654 height: 22px;
655 width: 1px;
656 background-color: var(--mwai-headerButtonsColor);
657 }
658
659 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
660 opacity: 1;
661 transform: translate(16px, 5px) rotate(135deg);
662 }
663
664 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
665 opacity: 1;
666 transform: translate(16px, 5px) rotate(45deg);
667 }
668
669 .mwai-messages-theme.mwai-window .mwai-content {
670 display: none;
671 opacity: 0;
672 max-height: var(--mwai-maxHeight);
673 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
674 overflow: hidden;
675 }
676
677 .mwai-messages-theme.mwai-window.mwai-bottom-left {
678 bottom: 30px;
679 right: inherit;
680 left: 30px;
681 }
682
683 .mwai-messages-theme.mwai-window.mwai-bottom-left .mwai-open-button {
684 right: inherit;
685 left: 0;
686 }
687
688 .mwai-messages-theme.mwai-window.mwai-top-right {
689 top: 30px;
690 bottom: inherit;
691 right: 30px;
692 }
693
694 .mwai-messages-theme.mwai-window.mwai-top-right .mwai-open-button {
695 top: 0;
696 bottom: inherit;
697 }
698
699 .mwai-messages-theme.mwai-window.mwai-top-left {
700 top: 30px;
701 bottom: inherit;
702 right: inherit;
703 left: 30px;
704 }
705
706 .mwai-messages-theme.mwai-window.mwai-top-left .mwai-open-button {
707 top: 0;
708 bottom: inherit;
709 right: inherit;
710 left: 0;
711 }
712
713 .mwai-messages-theme.mwai-window.mwai-top-left .mwai-open-button, .mwai-messages-theme.mwai-window.mwai-bottom-left .mwai-open-button {
714 align-items: flex-start;
715 }
716
717 .mwai-messages-theme.mwai-window.mwai-top-right .mwai-open-button, .mwai-messages-theme.mwai-window.mwai-top-left .mwai-open-button {
718 flex-direction: column-reverse;
719 }
720
721 .mwai-messages-theme.mwai-window.mwai-top-right .mwai-open-button .mwai-icon-text, .mwai-messages-theme.mwai-window.mwai-top-left .mwai-open-button .mwai-icon-text {
722 margin-bottom: 0;
723 margin-top: 15px;
724 }
725
726 .mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
727 margin-bottom: 0px;
728 }
729
730 .mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
731 width: 16px;
732 height: 16px;
733 }
734
735 .mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
736 width: 13px;
737 height: 13px;
738 }
739
740 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window), .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open {
741 position: fixed;
742 left: 0 !important;
743 right: 0 !important;
744 bottom: 0 !important;
745 top: 0 !important;
746 width: inherit;
747 height: inherit;
748 max-height: inherit;
749 max-width: inherit;
750 display: flex;
751 flex-direction: column;
752 margin: 0;
753 z-index: 999999;
754 background-color: var(--mwai-backgroundSecondaryColor);
755 }
756
757 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-header, .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header {
758 border-radius: 0;
759 }
760
761 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-content, .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-content {
762 height: 100%;
763 max-height: inherit;
764 border-radius: 0;
765 }
766
767 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-content .mwai-conversation, .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-content .mwai-conversation {
768 flex: auto;
769 max-height: none;
770 }
771
772 .mwai-messages-theme.mwai-window.mwai-open .mwai-header {
773 display: flex;
774 }
775
776 .mwai-messages-theme.mwai-window.mwai-open .mwai-content {
777 display: flex;
778 transition: opacity 200ms ease-in-out 0s;
779 opacity: 1;
780 }
781
782 .mwai-messages-theme.mwai-window.mwai-open .mwai-open-button {
783 display: none;
784 }
785
786 .mwai-messages-theme .mwai-error {
787 margin: var(--mwai-spacing);
788 color: white;
789 background: rgba(180, 55, 55, 0.55);
790 padding: var(--mwai-spacing);
791 border-radius: var(--mwai-borderRadius);
792 }
793
794 .mwai-messages-theme .mwai-error:hover {
795 cursor: pointer;
796 background: rgba(180, 44, 44, 0.85);
797 }
798
799 .mwai-messages-theme.mwai-bubble .mwai-icon-container {
800 background: var(--mwai-bubbleColor);
801 width: 60px;
802 height: 60px;
803 border-radius: 100%;
804 transition: all 0.2s ease-out;
805 display: flex;
806 justify-content: center;
807 align-items: center;
808 }
809
810 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-icon {
811 max-width: 50%;
812 max-height: 50%;
813 filter: none;
814 }
815
816 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-icon:hover {
817 transform: none;
818 }
819
820 .mwai-messages-theme.mwai-bubble .mwai-icon-container:hover {
821 cursor: pointer;
822 filter: brightness(1.1);
823 }
824
825 @media (max-width: 760px) {
826 .mwai-messages-theme.mwai-window.mwai-open {
827 position: fixed;
828 left: 0 !important;
829 right: 0 !important;
830 bottom: 0 !important;
831 top: 0 !important;
832 width: inherit;
833 height: inherit;
834 max-height: inherit;
835 max-width: inherit;
836 display: flex;
837 flex-direction: column;
838 margin: 0;
839 z-index: 999999;
840 background-color: var(--mwai-backgroundSecondaryColor);
841 }
842 .mwai-messages-theme.mwai-window.mwai-open .mwai-header {
843 border-radius: 0;
844 }
845 .mwai-messages-theme.mwai-window.mwai-open .mwai-content {
846 height: 100%;
847 max-height: inherit;
848 border-radius: 0;
849 }
850 .mwai-messages-theme.mwai-window.mwai-open .mwai-content .mwai-conversation {
851 flex: auto;
852 max-height: none;
853 }
854 .mwai-messages-theme.mwai-window.mwai-open .mwai-input {
855 flex-direction: column;
856 }
857 .mwai-messages-theme.mwai-window.mwai-open .mwai-input button {
858 font-size: 16px;
859 margin-left: 0;
860 width: 100%;
861 }
862 .mwai-messages-theme.mwai-window.mwai-open .mwai-input .mwai-input-text {
863 margin-bottom: var(--mwai-spacing);
864 width: 100%;
865 }
866 .mwai-messages-theme.mwai-window.mwai-open .mwai-input .mwai-input-text input, .mwai-messages-theme.mwai-window.mwai-open .mwai-input .mwai-input-text textarea {
867 font-size: 16px;
868 }
869 .mwai-messages-theme.mwai-window.mwai-open .mwai-content {
870 display: flex;
871 transition: opacity 200ms ease-in-out 0s;
872 opacity: 1;
873 height: 100%;
874 max-height: inherit;
875 }
876 .mwai-messages-theme.mwai-window.mwai-open .mwai-content .mwai-conversation {
877 flex: auto;
878 max-height: none;
879 }
880 .mwai-messages-theme.mwai-window.mwai-open .mwai-resize-button {
881 display: none !important;
882 }
883 .mwai-messages-theme.mwai-window.mwai-open .mwai-open-button {
884 display: none;
885 }
886 }
887
888 @keyframes mwai-button-spinner {
889 from {
890 transform: rotate(0turn);
891 }
892 to {
893 transform: rotate(1turn);
894 }
895 }
896
897 .mwai-messages-theme .admin-bar .mwai-fullscreen:not(.mwai-window),
898 .mwai-messages-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
899 top: 32px;
900 }
901
902 .mwai-messages-theme pre code.hljs {
903 display: block;
904 overflow-x: auto;
905 padding: 1em;
906 }
907
908 .mwai-messages-theme code.hljs {
909 padding: 3px 5px;
910 }
911
912 .mwai-messages-theme .hljs {
913 color: #333;
914 background: #f0f0f0;
915 }
916
917 .mwai-messages-theme .hljs-subst {
918 color: #333;
919 }
920
921 .mwai-messages-theme .hljs-comment {
922 color: #888;
923 }
924
925 .mwai-messages-theme .hljs-attr, .mwai-messages-theme .hljs-doctag, .mwai-messages-theme .hljs-keyword, .mwai-messages-theme .hljs-meta .hljs-keyword, .mwai-messages-theme .hljs-section, .mwai-messages-theme .hljs-selector-tag {
926 color: #0077cc;
927 }
928
929 .mwai-messages-theme .hljs-attribute {
930 color: #aa3377;
931 }
932
933 .mwai-messages-theme .hljs-name, .mwai-messages-theme .hljs-number, .mwai-messages-theme .hljs-quote, .mwai-messages-theme .hljs-selector-id, .mwai-messages-theme .hljs-template-tag, .mwai-messages-theme .hljs-type {
934 color: #c18401;
935 }
936
937 .mwai-messages-theme .hljs-selector-class {
938 color: #0077cc;
939 }
940
941 .mwai-messages-theme .hljs-link, .mwai-messages-theme .hljs-regexp, .mwai-messages-theme .hljs-selector-attr, .mwai-messages-theme .hljs-string, .mwai-messages-theme .hljs-symbol, .mwai-messages-theme .hljs-template-variable, .mwai-messages-theme .hljs-variable {
942 color: #689700;
943 }
944
945 .mwai-messages-theme .hljs-meta, .mwai-messages-theme .hljs-selector-pseudo {
946 color: #0077cc;
947 }
948
949 .mwai-messages-theme .hljs-built_in, .mwai-messages-theme .hljs-literal, .mwai-messages-theme .hljs-title {
950 color: #c18401;
951 }
952
953 .mwai-messages-theme .hljs-bullet, .mwai-messages-theme .hljs-code {
954 color: #555;
955 }
956
957 .mwai-messages-theme .hljs-meta .hljs-string {
958 color: #689700;
959 }
960
961 .mwai-messages-theme .hljs-deletion {
962 color: #b71c1c;
963 }
964
965 .mwai-messages-theme .hljs-addition {
966 color: #1b5e20;
967 }
968
969 .mwai-messages-theme .hljs-emphasis {
970 font-style: italic;
971 }
972
973 .mwai-messages-theme .hljs-strong {
974 font-weight: 700;
975 }
976
977 .mwai-messages-theme .mwai-reply-actions {
978 position: absolute;
979 border-radius: 5px;
980 top: 10px;
981 right: 10px;
982 display: flex;
983 align-items: center;
984 padding: 2px 2px;
985 z-index: 100;
986 background: var(--mwai-backgroundPrimaryColor);
987 box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
988 }
989
990 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button {
991 fill: var(--mwai-fontColor);
992 padding: 3px 5px;
993 width: 24px;
994 height: 24px;
995 background: var(--mwai-backgroundPrimaryColor);
996 cursor: pointer;
997 border-radius: 5px;
998 }
999
1000 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button:hover {
1001 filter: brightness(1.2);
1002 }
1003
1004 .mwai-messages-theme .mwai-reply-actions.mwai-hidden {
1005 opacity: 0;
1006 }
1007
1008 .mwai-messages-theme .mwai-reply-actions {
1009 top: 5px;
1010 }
1011
1012 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button {
1013 zoom: 0.8;
1014 }
1015
1016 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button:hover {
1017 fill: var(--mwai-backgroundPrimaryColor);
1018 background: var(--mwai-backgroundUserColor);
1019 }
1020
1021 @media (max-width: 760px) {
1022 .mwai-messages-theme .mwai-chat.mwai-window {
1023 width: calc(100% - 40px);
1024 z-index: 9999999999;
1025 }
1026 .mwai-messages-theme .mwai-chat .mwai-input {
1027 flex-direction: column;
1028 }
1029 .mwai-messages-theme .mwai-chat .mwai-input .mwai-input-text {
1030 width: 100%;
1031 margin-bottom: 10px;
1032 }
1033 .mwai-messages-theme .mwai-chat .mwai-input button {
1034 width: 100%;
1035 }
1036 }
1037