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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 2 years ago ChatGPT.module.css 2 years ago ChatGPT.module.scss 2 years ago Messages.module.css 2 years ago Messages.module.scss 2 years ago _codeDark.scss 3 years ago _codeLight.scss 3 years ago _common.scss 2 years ago _copybutton.scss 3 years ago chatgpt.css 2 years ago messages.css 2 years ago timeless.css 2 years ago
messages.css
1066 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 }
276
277 .mwai-messages-theme .mwai-input .mwai-input-text textarea:focus {
278 outline: none;
279 box-shadow: none;
280 }
281
282 .mwai-messages-theme .mwai-input .mwai-input-text textarea::placeholder {
283 color: var(--mwai-fontColor);
284 opacity: 0.5;
285 }
286
287 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone {
288 width: 32px;
289 height: 32px;
290 }
291
292 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone svg {
293 width: 32px;
294 height: 32px;
295 fill: var(--mwai-fontColor);
296 opacity: 0.5;
297 filter: grayscale(100%);
298 transition: opacity 0.3s ease-out;
299 padding: 5px 10px;
300 cursor: pointer;
301 }
302
303 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg {
304 opacity: 1;
305 }
306
307 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg {
308 opacity: 0;
309 cursor: not-allowed;
310 }
311
312 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon {
313 background: url("icons/white-icons.svg");
314 background-size: 500%;
315 background-position: 0px -96px;
316 width: 32px;
317 height: 32px;
318 margin-top: calc(var(--mwai-spacing) / 2);
319 margin-left: 5px;
320 z-index: 100;
321 }
322
323 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-idle-add {
324 background-position: -32px -96px;
325 }
326
327 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-add {
328 background-position: -32px 0px;
329 }
330
331 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-up {
332 background-position: -64px 0px;
333 }
334
335 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-del {
336 background-position: -96px 0px;
337 }
338
339 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-ok {
340 background-position: -128px 0px;
341 }
342
343 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-add {
344 background-position: -32px -64px;
345 }
346
347 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-up {
348 background-position: -64px -64px;
349 }
350
351 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-del {
352 background-position: -96px -64px;
353 }
354
355 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-ok {
356 background-position: -128px -64px;
357 }
358
359 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon .mwai-file-upload-progress {
360 position: absolute;
361 font-size: 8px;
362 width: 21px;
363 top: 24px;
364 left: 23px;
365 overflow: hidden;
366 text-align: center;
367 font-weight: bold;
368 color: white;
369 }
370
371 .mwai-messages-theme button {
372 margin-left: var(--mwai-spacing);
373 padding: 5px 15px;
374 background-color: var(--mwai-backgroundUserColor);
375 color: white;
376 border: none;
377 border-radius: var(--mwai-borderRadius);
378 cursor: pointer;
379 height: 32px;
380 width: 110px;
381 display: flex;
382 justify-content: center;
383 align-items: center;
384 }
385
386 .mwai-messages-theme button .mwai-timer {
387 margin-left: 5px;
388 margin-right: 5px;
389 font-size: 11px;
390 }
391
392 .mwai-messages-theme button:hover {
393 filter: brightness(1.2);
394 }
395
396 .mwai-messages-theme button[disabled] {
397 cursor: not-allowed;
398 }
399
400 .mwai-messages-theme button[disabled] span {
401 opacity: 0.5;
402 }
403
404 .mwai-messages-theme button[disabled].mwai-busy span {
405 display: none;
406 }
407
408 .mwai-messages-theme button[disabled].mwai-busy:before {
409 content: '';
410 width: 18px;
411 height: 18px;
412 margin: auto;
413 border: 3px solid transparent;
414 border-top-color: var(--mwai-fontColor);
415 border-radius: 50%;
416 animation: mwai-button-spinner 1s ease infinite;
417 }
418
419 .mwai-messages-theme .mwai-compliance {
420 opacity: 0.50;
421 margin-top: calc(-1 * var(--mwai-spacing));
422 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
423 font-size: smaller;
424 color: var(--mwai-fontColor);
425 text-align: left;
426 }
427
428 .mwai-messages-theme .mwai-gallery {
429 display: grid;
430 grid-template-columns: repeat(3, 1fr);
431 grid-gap: 5px;
432 }
433
434 .mwai-messages-theme .mwai-gallery img {
435 width: 100%;
436 }
437
438 .mwai-messages-theme.mwai-discussions {
439 border-radius: var(--mwai-borderRadius);
440 background: var(--mwai-conversationsBackgroundColor);
441 color: var(--mwai-backgroundPrimaryColor);
442 overflow: hidden;
443 }
444
445 .mwai-messages-theme.mwai-discussions * {
446 box-sizing: border-box;
447 }
448
449 .mwai-messages-theme.mwai-discussions .mwai-header {
450 background: var(--mwai-backgroundAiSecondaryColor);
451 padding: var(--mwai-spacing);
452 display: flex;
453 justify-content: space-between;
454 align-items: center;
455 }
456
457 .mwai-messages-theme.mwai-discussions .mwai-content {
458 background: var(--mwai-conversationsBackgroundColor);
459 list-style: none;
460 padding: 0;
461 margin: 0;
462 }
463
464 .mwai-messages-theme.mwai-discussions .mwai-content li {
465 margin-left: calc(var(--mwai-spacing) / 2);
466 margin-right: calc(var(--mwai-spacing) / 2);
467 margin-bottom: calc(var(--mwai-spacing) / 2);
468 color: var(--mwai-conversationsTextColor);
469 font-size: 75%;
470 padding: calc(var(--mwai-spacing) / 2);
471 opacity: 0.65;
472 }
473
474 .mwai-messages-theme.mwai-discussions .mwai-content li.mwai-active, .mwai-messages-theme.mwai-discussions .mwai-content li:hover {
475 color: var(--mwai-backgroundPrimaryColor);
476 background: var(--mwai-backgroundHeaderColor);
477 border-radius: var(--mwai-borderRadius);
478 opacity: 1;
479 cursor: pointer;
480 }
481
482 .mwai-messages-theme.mwai-discussions .mwai-content li:first-child {
483 margin-top: calc(var(--mwai-spacing) / 2);
484 }
485
486 .mwai-messages-theme.mwai-discussions button {
487 margin-left: 0;
488 }
489
490 .mwai-messages-theme.mwai-transition, .mwai-messages-theme .mwai-transition {
491 opacity: 0;
492 transition: opacity 350ms ease-in-out;
493 }
494
495 .mwai-messages-theme.mwai-transition-visible, .mwai-messages-theme .mwai-transition-visible {
496 opacity: 1;
497 }
498
499 .mwai-messages-theme .mwai-text img {
500 max-width: 100%;
501 }
502
503 .mwai-messages-theme .mwai-text div p:first-child {
504 margin-top: 0;
505 }
506
507 .mwai-messages-theme .mwai-text div p:last-child {
508 margin-bottom: 0;
509 }
510
511 .mwai-messages-theme .mwai-trigger {
512 position: absolute;
513 right: 0;
514 bottom: 0;
515 transition: all 0.2s ease-out;
516 z-index: 9999;
517 display: flex;
518 flex-direction: column;
519 align-items: end;
520 }
521
522 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container {
523 display: flex;
524 flex-direction: column;
525 align-items: flex-end;
526 }
527
528 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text {
529 background: var(--mwai-iconTextBackgroundColor);
530 color: var(--mwai-iconTextColor);
531 box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
532 max-width: 200px;
533 font-size: 13px;
534 margin-bottom: 15px;
535 padding: 10px 15px;
536 border-radius: 8px;
537 }
538
539 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
540 color: var(--mwai-iconTextColor);
541 background: var(--mwai-iconTextBackgroundColor);
542 padding: 5px;
543 width: 20px;
544 height: 20px;
545 border-radius: 100%;
546 display: none;
547 justify-content: center;
548 align-items: center;
549 margin-bottom: 3px;
550 }
551
552 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container:hover {
553 cursor: pointer;
554 }
555
556 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close {
557 display: flex;
558 font-size: 12px;
559 }
560
561 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover {
562 filter: brightness(1.2);
563 }
564
565 @media (max-width: 760px) {
566 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
567 display: flex;
568 }
569 }
570
571 .mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon {
572 filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15));
573 transition: all 0.2s ease-out;
574 }
575
576 .mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover {
577 cursor: pointer;
578 transform: scale(1.05);
579 }
580
581 .mwai-messages-theme.mwai-window {
582 position: fixed;
583 right: 30px;
584 bottom: 30px;
585 width: var(--mwai-width);
586 z-index: 9999;
587 }
588
589 .mwai-messages-theme.mwai-window .mwai-header {
590 display: none;
591 justify-content: flex-end;
592 align-items: center;
593 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
594 background: var(--mwai-backgroundHeaderColor);
595 }
596
597 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons {
598 display: flex;
599 align-items: center;
600 }
601
602 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
603 justify-content: center;
604 height: 32px;
605 width: 22px;
606 cursor: pointer;
607 display: flex;
608 justify-content: center;
609 align-items: center;
610 }
611
612 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
613 transition: all 0.2s ease-out;
614 content: ' ';
615 cursor: pointer;
616 position: absolute;
617 height: 13px;
618 width: 13px;
619 border: 1px solid var(--mwai-headerButtonsColor);
620 }
621
622 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
623 width: 16px;
624 height: 16px;
625 }
626
627 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button {
628 justify-content: center;
629 height: 32px;
630 width: 33px;
631 cursor: pointer;
632 border-radius: var(--mwai-borderRadius);
633 }
634
635 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
636 transition: all 0.2s ease-out;
637 transform: translate(16px, 5px) rotate(45deg);
638 }
639
640 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
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:before, .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
646 content: ' ';
647 cursor: pointer;
648 position: absolute;
649 height: 22px;
650 width: 1px;
651 background-color: var(--mwai-headerButtonsColor);
652 }
653
654 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
655 opacity: 1;
656 transform: translate(16px, 5px) rotate(135deg);
657 }
658
659 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
660 opacity: 1;
661 transform: translate(16px, 5px) rotate(45deg);
662 }
663
664 .mwai-messages-theme.mwai-window .mwai-content {
665 display: none;
666 opacity: 0;
667 max-height: var(--mwai-maxHeight);
668 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
669 overflow: hidden;
670 }
671
672 .mwai-messages-theme.mwai-window.mwai-bottom-left {
673 bottom: 30px;
674 right: inherit;
675 left: 30px;
676 }
677
678 .mwai-messages-theme.mwai-window.mwai-bottom-left .mwai-open-button {
679 right: inherit;
680 left: 0;
681 }
682
683 .mwai-messages-theme.mwai-window.mwai-top-right {
684 top: 30px;
685 bottom: inherit;
686 right: 30px;
687 }
688
689 .mwai-messages-theme.mwai-window.mwai-top-right .mwai-open-button {
690 top: 0;
691 bottom: inherit;
692 }
693
694 .mwai-messages-theme.mwai-window.mwai-top-left {
695 top: 30px;
696 bottom: inherit;
697 right: inherit;
698 left: 30px;
699 }
700
701 .mwai-messages-theme.mwai-window.mwai-top-left .mwai-open-button {
702 top: 0;
703 bottom: inherit;
704 right: inherit;
705 left: 0;
706 }
707
708 .mwai-messages-theme.mwai-window.mwai-top-left .mwai-open-button, .mwai-messages-theme.mwai-window.mwai-bottom-left .mwai-open-button {
709 align-items: flex-start;
710 }
711
712 .mwai-messages-theme.mwai-window.mwai-top-right .mwai-open-button, .mwai-messages-theme.mwai-window.mwai-top-left .mwai-open-button {
713 flex-direction: column-reverse;
714 }
715
716 .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 {
717 margin-bottom: 0;
718 margin-top: 15px;
719 }
720
721 .mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
722 margin-bottom: 0px;
723 }
724
725 .mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
726 width: 16px;
727 height: 16px;
728 }
729
730 .mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
731 width: 13px;
732 height: 13px;
733 }
734
735 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window), .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open {
736 position: fixed;
737 left: 0 !important;
738 right: 0 !important;
739 bottom: 0 !important;
740 top: 0 !important;
741 width: inherit;
742 height: inherit;
743 max-height: inherit;
744 max-width: inherit;
745 display: flex;
746 flex-direction: column;
747 margin: 0;
748 z-index: 999999;
749 background-color: var(--mwai-backgroundSecondaryColor);
750 }
751
752 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-header, .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header {
753 border-radius: 0;
754 }
755
756 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-content, .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-content {
757 height: 100%;
758 max-height: inherit;
759 border-radius: 0;
760 }
761
762 .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 {
763 flex: auto;
764 max-height: none;
765 }
766
767 .mwai-messages-theme.mwai-window.mwai-open .mwai-header {
768 display: flex;
769 }
770
771 .mwai-messages-theme.mwai-window.mwai-open .mwai-content {
772 display: flex;
773 transition: opacity 200ms ease-in-out 0s;
774 opacity: 1;
775 }
776
777 .mwai-messages-theme.mwai-window.mwai-open .mwai-open-button {
778 display: none;
779 }
780
781 .mwai-messages-theme .mwai-error {
782 margin: var(--mwai-spacing);
783 color: white;
784 background: rgba(180, 55, 55, 0.55);
785 padding: var(--mwai-spacing);
786 border-radius: var(--mwai-borderRadius);
787 }
788
789 .mwai-messages-theme .mwai-error:hover {
790 cursor: pointer;
791 background: rgba(180, 44, 44, 0.85);
792 }
793
794 .mwai-messages-theme.mwai-bubble .mwai-icon-container {
795 background: var(--mwai-bubbleColor);
796 width: 60px;
797 height: 60px;
798 border-radius: 100%;
799 transition: all 0.2s ease-out;
800 display: flex;
801 justify-content: center;
802 align-items: center;
803 }
804
805 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-icon {
806 max-width: 50%;
807 max-height: 50%;
808 filter: none;
809 }
810
811 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-icon:hover {
812 transform: none;
813 }
814
815 .mwai-messages-theme.mwai-bubble .mwai-icon-container:hover {
816 cursor: pointer;
817 filter: brightness(1.1);
818 }
819
820 @media (max-width: 760px) {
821 .mwai-messages-theme.mwai-window.mwai-open {
822 position: fixed;
823 left: 0 !important;
824 right: 0 !important;
825 bottom: 0 !important;
826 top: 0 !important;
827 width: inherit;
828 height: inherit;
829 max-height: inherit;
830 max-width: inherit;
831 display: flex;
832 flex-direction: column;
833 margin: 0;
834 z-index: 999999;
835 background-color: var(--mwai-backgroundSecondaryColor);
836 }
837 .mwai-messages-theme.mwai-window.mwai-open .mwai-header {
838 border-radius: 0;
839 }
840 .mwai-messages-theme.mwai-window.mwai-open .mwai-content {
841 height: 100%;
842 max-height: inherit;
843 border-radius: 0;
844 }
845 .mwai-messages-theme.mwai-window.mwai-open .mwai-content .mwai-conversation {
846 flex: auto;
847 max-height: none;
848 }
849 .mwai-messages-theme.mwai-window.mwai-open .mwai-input {
850 flex-direction: column;
851 }
852 .mwai-messages-theme.mwai-window.mwai-open .mwai-input button {
853 font-size: 16px;
854 margin-left: 0;
855 width: 100%;
856 }
857 .mwai-messages-theme.mwai-window.mwai-open .mwai-input .mwai-input-text {
858 margin-bottom: var(--mwai-spacing);
859 width: 100%;
860 }
861 .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 {
862 font-size: 16px;
863 }
864 .mwai-messages-theme.mwai-window.mwai-open .mwai-content {
865 display: flex;
866 transition: opacity 200ms ease-in-out 0s;
867 opacity: 1;
868 height: 100%;
869 max-height: inherit;
870 }
871 .mwai-messages-theme.mwai-window.mwai-open .mwai-content .mwai-conversation {
872 flex: auto;
873 max-height: none;
874 }
875 .mwai-messages-theme.mwai-window.mwai-open .mwai-resize-button {
876 display: none !important;
877 }
878 .mwai-messages-theme.mwai-window.mwai-open .mwai-open-button {
879 display: none;
880 }
881 }
882
883 @keyframes mwai-button-spinner {
884 from {
885 transform: rotate(0turn);
886 }
887 to {
888 transform: rotate(1turn);
889 }
890 }
891
892 .mwai-messages-theme .admin-bar .mwai-fullscreen:not(.mwai-window),
893 .mwai-messages-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
894 top: 32px;
895 }
896
897 .mwai-messages-theme pre code.hljs {
898 display: block;
899 overflow-x: auto;
900 padding: 1em;
901 }
902
903 .mwai-messages-theme code.hljs {
904 padding: 3px 5px;
905 }
906
907 .mwai-messages-theme .hljs {
908 color: #333;
909 background: #f0f0f0;
910 }
911
912 .mwai-messages-theme .hljs-subst {
913 color: #333;
914 }
915
916 .mwai-messages-theme .hljs-comment {
917 color: #888;
918 }
919
920 .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 {
921 color: #0077cc;
922 }
923
924 .mwai-messages-theme .hljs-attribute {
925 color: #aa3377;
926 }
927
928 .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 {
929 color: #c18401;
930 }
931
932 .mwai-messages-theme .hljs-selector-class {
933 color: #0077cc;
934 }
935
936 .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 {
937 color: #689700;
938 }
939
940 .mwai-messages-theme .hljs-meta, .mwai-messages-theme .hljs-selector-pseudo {
941 color: #0077cc;
942 }
943
944 .mwai-messages-theme .hljs-built_in, .mwai-messages-theme .hljs-literal, .mwai-messages-theme .hljs-title {
945 color: #c18401;
946 }
947
948 .mwai-messages-theme .hljs-bullet, .mwai-messages-theme .hljs-code {
949 color: #555;
950 }
951
952 .mwai-messages-theme .hljs-meta .hljs-string {
953 color: #689700;
954 }
955
956 .mwai-messages-theme .hljs-deletion {
957 color: #b71c1c;
958 }
959
960 .mwai-messages-theme .hljs-addition {
961 color: #1b5e20;
962 }
963
964 .mwai-messages-theme .hljs-emphasis {
965 font-style: italic;
966 }
967
968 .mwai-messages-theme .hljs-strong {
969 font-weight: 700;
970 }
971
972 .mwai-messages-theme .mwai-copy-button {
973 opacity: 0;
974 transition: all 0.3s ease-out;
975 width: 22px;
976 height: 22px;
977 position: absolute;
978 right: var(--mwai-spacing);
979 }
980
981 .mwai-messages-theme .mwai-copy-button .mwai-copy-button-one {
982 position: absolute;
983 width: 16px;
984 height: 16px;
985 margin-top: 0px;
986 margin-left: 0px;
987 background: white;
988 opacity: 0.4;
989 transition: all 0.2s ease-in;
990 cursor: pointer;
991 border-radius: 2px;
992 }
993
994 .mwai-messages-theme .mwai-copy-button .mwai-copy-button-two {
995 position: absolute;
996 width: 16px;
997 height: 16px;
998 margin-top: 6px;
999 margin-left: 6px;
1000 background: white;
1001 opacity: 0.6;
1002 transition: all 0.2s ease-in;
1003 cursor: pointer;
1004 border-radius: 2px;
1005 }
1006
1007 .mwai-messages-theme .mwai-copy-button:hover .mwai-copy-button-one {
1008 opacity: 0.6;
1009 margin-top: 0px;
1010 margin-left: 6px;
1011 }
1012
1013 .mwai-messages-theme .mwai-copy-button:hover .mwai-copy-button-two {
1014 opacity: 1;
1015 margin-top: 6px;
1016 margin-left: 0px;
1017 }
1018
1019 .mwai-messages-theme .mwai-copy-button.mwai-animate .mwai-copy-button-one {
1020 opacity: 0;
1021 }
1022
1023 .mwai-messages-theme .mwai-copy-button.mwai-animate .mwai-copy-button-two {
1024 width: 18px;
1025 height: 18px;
1026 margin-top: 2px;
1027 margin-left: 2px;
1028 opacity: 1;
1029 }
1030
1031 .mwai-messages-theme .mwai-chat .mwai-reply:hover .mwai-copy-button {
1032 display: block;
1033 opacity: 1;
1034 }
1035
1036 .mwai-messages-theme .mwai-copy-button {
1037 position: absolute;
1038 left: 15px;
1039 zoom: 0.5;
1040 top: 18px;
1041 filter: revert;
1042 }
1043
1044 .mwai-messages-theme .mwai-ai .mwai-copy-button {
1045 right: 15px;
1046 left: inherit;
1047 filter: brightness(0.4);
1048 }
1049
1050 @media (max-width: 760px) {
1051 .mwai-messages-theme .mwai-chat.mwai-window {
1052 width: calc(100% - 40px);
1053 z-index: 9999999999;
1054 }
1055 .mwai-messages-theme .mwai-chat .mwai-input {
1056 flex-direction: column;
1057 }
1058 .mwai-messages-theme .mwai-chat .mwai-input .mwai-input-text {
1059 width: 100%;
1060 margin-bottom: 10px;
1061 }
1062 .mwai-messages-theme .mwai-chat .mwai-input button {
1063 width: 100%;
1064 }
1065 }
1066