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.6.83 0.1.4 1.6.84 0.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.module.css
ai-engine / themes Last commit date
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
Messages.module.css
835 lines
1 .mwai-chat {
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-headerButtonsColor: white;
14 --mwai-backgroundUserColor: #0084ff;
15 --mwai-backgroundAiColor: #eee;
16 --mwai-backgroundAiSecondaryColor: #ddd;
17 }
18
19 .mwai-chat * {
20 box-sizing: border-box;
21 }
22
23 .mwai-chat .mwai-content {
24 display: flex;
25 background: var(--mwai-backgroundPrimaryColor);
26 font-size: var(--mwai-fontSize);
27 color: var(--mwai-fontColor);
28 border-radius: var(--mwai-borderRadius);
29 flex-direction: column;
30 }
31
32 .mwai-chat .mwai-conversation {
33 display: flex;
34 flex-direction: column;
35 overflow: auto;
36 max-height: var(--mwai-maxHeight);
37 padding: var(--mwai-spacing);
38 }
39
40 .mwai-chat .mwai-conversation .mwai-reply {
41 margin-bottom: var(--mwai-spacing);
42 padding: 7px 12px;
43 border-radius: 15px;
44 font-size: var(--mwai-fontSize);
45 color: var(--mwai-fontColor);
46 position: relative;
47 }
48
49 .mwai-chat .mwai-conversation .mwai-reply .mwai-name {
50 display: none;
51 }
52
53 .mwai-chat .mwai-conversation .mwai-reply .mwai-name-text {
54 display: none;
55 }
56
57 .mwai-chat .mwai-conversation .mwai-reply * > p:first-child {
58 margin-top: 0px;
59 }
60
61 .mwai-chat .mwai-conversation .mwai-reply * > p:last-child {
62 margin-bottom: 0px;
63 }
64
65 .mwai-chat .mwai-conversation .mwai-reply.mwai-ai {
66 align-self: flex-start;
67 background: var(--mwai-backgroundAiColor);
68 margin-left: 5px;
69 }
70
71 .mwai-chat .mwai-conversation .mwai-reply.mwai-ai::before, .mwai-chat .mwai-conversation .mwai-reply.mwai-ai::after {
72 content: "";
73 position: absolute;
74 z-index: 1;
75 bottom: 0;
76 left: -10px;
77 width: 10px;
78 height: 20px;
79 background: var(--mwai-backgroundPrimaryColor);
80 border-bottom-right-radius: 10px;
81 }
82
83 .mwai-chat .mwai-conversation .mwai-reply.mwai-ai::before {
84 z-index: 0;
85 left: -7px;
86 height: 20px;
87 width: 20px;
88 background: var(--mwai-backgroundAiColor);
89 border-bottom-right-radius: 15px;
90 }
91
92 .mwai-chat .mwai-conversation .mwai-reply.mwai-user {
93 align-self: flex-end;
94 background: var(--mwai-backgroundUserColor);
95 color: white;
96 margin-right: 10px;
97 }
98
99 .mwai-chat .mwai-conversation .mwai-reply.mwai-user::before, .mwai-chat .mwai-conversation .mwai-reply.mwai-user::after {
100 content: "";
101 position: absolute;
102 z-index: 1;
103 bottom: 0;
104 right: -10px;
105 width: 10px;
106 height: 20px;
107 background: var(--mwai-backgroundPrimaryColor);
108 border-bottom-left-radius: 10px;
109 }
110
111 .mwai-chat .mwai-conversation .mwai-reply.mwai-user::before {
112 z-index: 0;
113 right: -10px;
114 height: 20px;
115 width: 20px;
116 background: var(--mwai-backgroundUserColor);
117 background-attachment: fixed;
118 border-bottom-left-radius: 15px;
119 }
120
121 .mwai-chat .mwai-text {
122 flex: auto;
123 }
124
125 .mwai-chat .mwai-text .mwai-image {
126 display: block;
127 max-width: 250px;
128 height: auto;
129 margin: 0 0 10px 0;
130 border-radius: var(--mwai-borderRadius);
131 }
132
133 .mwai-chat .mwai-text .mwai-filename {
134 display: flex;
135 font-style: italic;
136 text-decoration: none;
137 align-items: center;
138 color: var(--mwai-fontColor);
139 font-size: 90%;
140 background: white;
141 border-radius: 5px;
142 padding: 2px 3px;
143 }
144
145 .mwai-chat .mwai-text .mwai-filename svg {
146 width: 16px;
147 height: 16px;
148 margin-right: 5px;
149 }
150
151 .mwai-chat .mwai-text > span > p > *:first-child {
152 margin-top: 0;
153 }
154
155 .mwai-chat .mwai-text a {
156 color: #2196f3;
157 }
158
159 .mwai-chat .mwai-text h1 {
160 font-size: 200%;
161 }
162
163 .mwai-chat .mwai-text h2 {
164 font-size: 160%;
165 }
166
167 .mwai-chat .mwai-text h3 {
168 font-size: 140%;
169 }
170
171 .mwai-chat .mwai-text h4 {
172 font-size: 120%;
173 }
174
175 .mwai-chat .mwai-text p {
176 font-size: var(--mwai-fontSize);
177 line-height: var(--mwai-lineHeight);
178 }
179
180 .mwai-chat .mwai-text p code {
181 background: var(--mwai-backgroundAiSecondaryColor);
182 padding: 2px 6px;
183 border-radius: 8px;
184 font-size: 90%;
185 font-family: system-ui;
186 }
187
188 .mwai-chat .mwai-text pre {
189 color: var(--mwai-fontColor);
190 border-radius: var(--mwai-borderRadius);
191 break-after: auto;
192 white-space: pre-wrap;
193 max-width: 100%;
194 width: 100%;
195 font-family: system-ui;
196 background: var(--mwai-backgroundAiSecondaryColor);
197 padding: var(--mwai-spacing);
198 }
199
200 .mwai-chat .mwai-text pre code {
201 padding: 0 !important;
202 font-family: system-ui;
203 background: var(--mwai-backgroundAiSecondaryColor);
204 }
205
206 .mwai-chat .mwai-text ol {
207 padding: 0;
208 margin: 0 0 0 20px;
209 }
210
211 .mwai-chat .mwai-text table {
212 width: 100%;
213 border: 2px solid var(--mwai-backgroundAiSecondaryColor);
214 border-collapse: collapse;
215 }
216
217 .mwai-chat .mwai-text thead {
218 background: var(--mwai-backgroundAiSecondaryColor);
219 }
220
221 .mwai-chat .mwai-text tr, .mwai-chat .mwai-text td {
222 padding: 2px 5px;
223 }
224
225 .mwai-chat .mwai-text td {
226 border: 2px solid var(--mwai-backgroundAiSecondaryColor);
227 }
228
229 .mwai-chat .mwai-text .mwai-typewriter {
230 display: inline-block;
231 }
232
233 .mwai-chat .mwai-text .mwai-typewriter > :first-child {
234 margin-top: 0;
235 }
236
237 .mwai-chat .mwai-text > *:first-child {
238 margin-top: 0;
239 }
240
241 .mwai-chat .mwai-text > *:last-child {
242 margin-bottom: 0;
243 }
244
245 .mwai-chat .mwai-avatar img {
246 width: 24px;
247 border-radius: 5px;
248 }
249
250 .mwai-chat .mwai-input {
251 display: flex;
252 align-items: center;
253 padding: var(--mwai-spacing);
254 }
255
256 .mwai-chat .mwai-input .mwai-input-text {
257 flex: auto;
258 position: relative;
259 display: flex;
260 background: var(--mwai-backgroundPrimaryColor);
261 border-radius: var(--mwai-borderRadius);
262 border: 1px solid var(--mwai-backgroundAiSecondaryColor);
263 overflow: hidden;
264 }
265
266 .mwai-chat .mwai-input .mwai-input-text textarea {
267 background: var(--mwai-backgroundPrimaryColor);
268 color: var(--mwai-fontColor);
269 flex: auto;
270 padding: var(--mwai-spacing);
271 border: none;
272 font-size: var(--mwai-fontSize);
273 resize: none;
274 font-family: inherit;
275 margin: 0;
276 overflow: hidden;
277 }
278
279 .mwai-chat .mwai-input .mwai-input-text textarea:focus {
280 outline: none;
281 box-shadow: none;
282 }
283
284 .mwai-chat .mwai-input .mwai-input-text textarea::placeholder {
285 color: var(--mwai-fontColor);
286 opacity: 0.5;
287 }
288
289 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone, .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload {
290 display: flex;
291 align-items: center;
292 justify-content: center;
293 height: 100%;
294 cursor: pointer;
295 }
296
297 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone svg, .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload svg {
298 fill: var(--mwai-fontColor);
299 width: 34px;
300 height: 34px;
301 fill: var(--mwai-fontColor);
302 opacity: 0.5;
303 transition: opacity 0.3s ease-out;
304 }
305
306 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone[active=true] svg, .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload[active=true] svg {
307 opacity: 1;
308 }
309
310 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone[disabled] svg, .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload[disabled] svg {
311 opacity: 0;
312 }
313
314 .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload {
315 margin-left: 5px;
316 margin-right: -5px;
317 }
318
319 .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload svg {
320 width: 42px;
321 height: 42px;
322 padding: 5px;
323 }
324
325 .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload span {
326 position: absolute;
327 font-size: 55%;
328 }
329
330 .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload.enabled svg {
331 opacity: 1;
332 filter: none;
333 }
334
335 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone svg {
336 padding: 5px 10px;
337 }
338
339 .mwai-chat .mwai-input button {
340 margin-left: var(--mwai-spacing);
341 padding: 5px 15px;
342 background-color: var(--mwai-backgroundUserColor);
343 color: white;
344 border: none;
345 border-radius: var(--mwai-borderRadius);
346 cursor: pointer;
347 height: 32px;
348 width: 110px;
349 display: flex;
350 justify-content: center;
351 align-items: center;
352 }
353
354 .mwai-chat .mwai-input button .mwai-timer {
355 margin-left: 5px;
356 margin-right: 5px;
357 font-size: 11px;
358 }
359
360 .mwai-chat .mwai-input button:hover {
361 filter: brightness(1.2);
362 }
363
364 .mwai-chat button[disabled] {
365 cursor: not-allowed;
366 }
367
368 .mwai-chat button[disabled] span {
369 opacity: 0.5;
370 }
371
372 .mwai-chat button[disabled].mwai-busy span {
373 display: none;
374 }
375
376 .mwai-chat button[disabled].mwai-busy:before {
377 content: '';
378 width: 18px;
379 height: 18px;
380 margin: auto;
381 border: 3px solid transparent;
382 border-top-color: var(--mwai-fontColor);
383 border-radius: 50%;
384 animation: mwai-button-spinner 1s ease infinite;
385 }
386
387 .mwai-chat .mwai-compliance {
388 opacity: 0.50;
389 margin-top: calc( -1 * var(--mwai-spacing));
390 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
391 font-size: smaller;
392 color: var(--mwai-fontColor);
393 text-align: left;
394 }
395
396 .mwai-chat .mwai-gallery {
397 display: grid;
398 grid-template-columns: repeat(3, 1fr);
399 grid-gap: 5px;
400 }
401
402 .mwai-chat .mwai-gallery img {
403 width: 100%;
404 }
405
406 .mwai-text img {
407 max-width: 100%;
408 }
409
410 .mwai-text div p:first-child {
411 margin-top: 0;
412 }
413
414 .mwai-text div p:last-child {
415 margin-bottom: 0;
416 }
417
418 .mwai-open-button {
419 position: absolute;
420 right: 0;
421 bottom: 0;
422 transition: all 0.2s ease-out;
423 z-index: 9999;
424 display: flex;
425 flex-direction: column;
426 align-items: end;
427 }
428
429 .mwai-open-button .mwai-icon-text {
430 background: var(--mwai-iconTextBackgroundColor);
431 color: var(--mwai-iconTextColor);
432 max-width: 200px;
433 font-size: 13px;
434 margin-bottom: 15px;
435 padding: 5px 10px;
436 border-radius: 8px;
437 }
438
439 .mwai-open-button img {
440 filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15));
441 }
442
443 .mwai-open-button:hover {
444 cursor: pointer;
445 filter: saturate(2.5) hue-rotate(5deg);
446 }
447
448 .mwai-window {
449 position: fixed;
450 right: 30px;
451 bottom: 30px;
452 width: var(--mwai-width);
453 z-index: 9999;
454 }
455
456 .mwai-window .mwai-header {
457 display: none;
458 justify-content: flex-end;
459 align-items: center;
460 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
461 background: var(--mwai-backgroundHeaderColor);
462 }
463
464 .mwai-window .mwai-header .mwai-buttons {
465 display: flex;
466 align-items: center;
467 }
468
469 .mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
470 justify-content: center;
471 height: 32px;
472 width: 22px;
473 cursor: pointer;
474 display: flex;
475 justify-content: center;
476 align-items: center;
477 }
478
479 .mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
480 transition: all 0.2s ease-out;
481 content: ' ';
482 cursor: pointer;
483 position: absolute;
484 height: 13px;
485 width: 13px;
486 border: 1px solid var(--mwai-headerButtonsColor);
487 }
488
489 .mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
490 width: 16px;
491 height: 16px;
492 }
493
494 .mwai-window .mwai-header .mwai-buttons .mwai-close-button {
495 justify-content: center;
496 height: 32px;
497 width: 33px;
498 cursor: pointer;
499 border-radius: var(--mwai-borderRadius);
500 }
501
502 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
503 transition: all 0.2s ease-out;
504 transform: translate(16px, 5px) rotate(45deg);
505 }
506
507 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
508 transition: all 0.2s ease-out;
509 transform: translate(16px, 5px) rotate(-45deg);
510 }
511
512 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
513 content: ' ';
514 cursor: pointer;
515 position: absolute;
516 height: 22px;
517 width: 1px;
518 background-color: var(--mwai-headerButtonsColor);
519 }
520
521 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
522 opacity: 1;
523 transform: translate(16px, 5px) rotate(135deg);
524 }
525
526 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
527 opacity: 1;
528 transform: translate(16px, 5px) rotate(45deg);
529 }
530
531 .mwai-window .mwai-content {
532 display: none;
533 opacity: 0;
534 max-height: var(--mwai-maxHeight);
535 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
536 overflow: hidden;
537 }
538
539 .mwai-window.mwai-bottom-left {
540 bottom: 30px;
541 right: inherit;
542 left: 30px;
543 }
544
545 .mwai-window.mwai-bottom-left .mwai-open-button {
546 right: inherit;
547 left: 0;
548 }
549
550 .mwai-window.mwai-top-right {
551 top: 30px;
552 bottom: inherit;
553 right: 30px;
554 }
555
556 .mwai-window.mwai-top-right .mwai-open-button {
557 top: 0;
558 bottom: inherit;
559 }
560
561 .mwai-window.mwai-top-left {
562 top: 30px;
563 bottom: inherit;
564 right: inherit;
565 left: 30px;
566 }
567
568 .mwai-window.mwai-top-left .mwai-open-button {
569 top: 0;
570 bottom: inherit;
571 right: inherit;
572 left: 0;
573 }
574
575 .mwai-window.mwai-top-left .mwai-open-button, .mwai-window.mwai-bottom-left .mwai-open-button {
576 align-items: flex-start;
577 }
578
579 .mwai-window.mwai-top-right .mwai-open-button, .mwai-window.mwai-top-left .mwai-open-button {
580 flex-direction: column-reverse;
581 }
582
583 .mwai-window.mwai-top-right .mwai-open-button .mwai-icon-text, .mwai-window.mwai-top-left .mwai-open-button .mwai-icon-text {
584 margin-bottom: 0;
585 margin-top: 15px;
586 }
587
588 .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
589 margin-bottom: 0px;
590 }
591
592 .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
593 width: 16px;
594 height: 16px;
595 }
596
597 .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
598 width: 13px;
599 height: 13px;
600 }
601
602 .mwai-fullscreen:not(.mwai-window), .mwai-fullscreen.mwai-window.mwai-open {
603 position: fixed;
604 left: 0 !important;
605 right: 0 !important;
606 bottom: 0 !important;
607 top: 0 !important;
608 width: inherit;
609 height: inherit;
610 max-height: inherit;
611 max-width: inherit;
612 display: flex;
613 flex-direction: column;
614 margin: 0;
615 z-index: 999999;
616 background-color: var(--mwai-backgroundSecondaryColor);
617 }
618
619 .mwai-fullscreen:not(.mwai-window) .mwai-content, .mwai-fullscreen.mwai-window.mwai-open .mwai-content {
620 height: 100%;
621 max-height: inherit;
622 }
623
624 .mwai-fullscreen:not(.mwai-window) .mwai-content .mwai-conversation, .mwai-fullscreen.mwai-window.mwai-open .mwai-content .mwai-conversation {
625 flex: auto;
626 max-height: none;
627 }
628
629 .mwai-window.mwai-open .mwai-header {
630 display: flex;
631 }
632
633 .mwai-window.mwai-open .mwai-content {
634 display: flex;
635 transition: opacity 200ms ease-in-out 0s;
636 opacity: 1;
637 }
638
639 .mwai-window.mwai-open .mwai-open-button {
640 display: none;
641 }
642
643 .mwai-error {
644 margin: var(--mwai-spacing);
645 color: white;
646 background: rgba(180, 55, 55, 0.55);
647 padding: var(--mwai-spacing);
648 border-radius: var(--mwai-borderRadius);
649 }
650
651 .mwai-error:hover {
652 cursor: pointer;
653 background: rgba(180, 44, 44, 0.85);
654 }
655
656 @keyframes mwai-button-spinner {
657 from {
658 transform: rotate(0turn);
659 }
660 to {
661 transform: rotate(1turn);
662 }
663 }
664
665 .admin-bar .mwai-fullscreen:not(.mwai-window),
666 .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
667 top: 32px;
668 }
669
670 @media (max-width: 760px) {
671 .mwai-chat.mwai-window {
672 width: calc(100% - 40px);
673 z-index: 9999999999;
674 }
675 .mwai-chat .mwai-reply {
676 flex-direction: column;
677 }
678 .mwai-chat .mwai-input {
679 flex-direction: column;
680 }
681 }
682
683 .mwai-copy-button {
684 opacity: 0;
685 transition: all 0.3s ease-out;
686 width: 22px;
687 height: 22px;
688 position: absolute;
689 right: var(--mwai-spacing);
690 }
691
692 .mwai-copy-button .mwai-copy-button-one {
693 position: absolute;
694 width: 16px;
695 height: 16px;
696 margin-top: 0px;
697 margin-left: 0px;
698 background: white;
699 opacity: 0.4;
700 transition: all 0.2s ease-in;
701 cursor: pointer;
702 border-radius: 2px;
703 }
704
705 .mwai-copy-button .mwai-copy-button-two {
706 position: absolute;
707 width: 16px;
708 height: 16px;
709 margin-top: 6px;
710 margin-left: 6px;
711 background: white;
712 opacity: 0.6;
713 transition: all 0.2s ease-in;
714 cursor: pointer;
715 border-radius: 2px;
716 }
717
718 .mwai-copy-button:hover .mwai-copy-button-one {
719 opacity: 0.6;
720 margin-top: 0px;
721 margin-left: 6px;
722 }
723
724 .mwai-copy-button:hover .mwai-copy-button-two {
725 opacity: 1;
726 margin-top: 6px;
727 margin-left: 0px;
728 }
729
730 .mwai-copy-button.mwai-animate .mwai-copy-button-one {
731 opacity: 0;
732 }
733
734 .mwai-copy-button.mwai-animate .mwai-copy-button-two {
735 width: 18px;
736 height: 18px;
737 margin-top: 2px;
738 margin-left: 2px;
739 opacity: 1;
740 }
741
742 .mwai-chat .mwai-reply:hover .mwai-copy-button {
743 display: block;
744 opacity: 1;
745 }
746
747 .mwai-chat pre code.hljs {
748 display: block;
749 overflow-x: auto;
750 padding: 1em;
751 }
752
753 .mwai-chat code.hljs {
754 padding: 3px 5px;
755 }
756
757 .mwai-chat .hljs {
758 color: #333;
759 background: #f0f0f0;
760 }
761
762 .mwai-chat .hljs-subst {
763 color: #333;
764 }
765
766 .mwai-chat .hljs-comment {
767 color: #888;
768 }
769
770 .mwai-chat .hljs-attr, .mwai-chat .hljs-doctag, .mwai-chat .hljs-keyword, .mwai-chat .hljs-meta .hljs-keyword, .mwai-chat .hljs-section, .mwai-chat .hljs-selector-tag {
771 color: #0077cc;
772 }
773
774 .mwai-chat .hljs-attribute {
775 color: #aa3377;
776 }
777
778 .mwai-chat .hljs-name, .mwai-chat .hljs-number, .mwai-chat .hljs-quote, .mwai-chat .hljs-selector-id, .mwai-chat .hljs-template-tag, .mwai-chat .hljs-type {
779 color: #c18401;
780 }
781
782 .mwai-chat .hljs-selector-class {
783 color: #0077cc;
784 }
785
786 .mwai-chat .hljs-link, .mwai-chat .hljs-regexp, .mwai-chat .hljs-selector-attr, .mwai-chat .hljs-string, .mwai-chat .hljs-symbol, .mwai-chat .hljs-template-variable, .mwai-chat .hljs-variable {
787 color: #689700;
788 }
789
790 .mwai-chat .hljs-meta, .mwai-chat .hljs-selector-pseudo {
791 color: #0077cc;
792 }
793
794 .mwai-chat .hljs-built_in, .mwai-chat .hljs-literal, .mwai-chat .hljs-title {
795 color: #c18401;
796 }
797
798 .mwai-chat .hljs-bullet, .mwai-chat .hljs-code {
799 color: #555;
800 }
801
802 .mwai-chat .hljs-meta .hljs-string {
803 color: #689700;
804 }
805
806 .mwai-chat .hljs-deletion {
807 color: #b71c1c;
808 }
809
810 .mwai-chat .hljs-addition {
811 color: #1b5e20;
812 }
813
814 .mwai-chat .hljs-emphasis {
815 font-style: italic;
816 }
817
818 .mwai-chat .hljs-strong {
819 font-weight: 700;
820 }
821
822 .mwai-copy-button {
823 position: absolute;
824 left: 15px;
825 zoom: 0.5;
826 top: 18px;
827 filter: revert;
828 }
829
830 .mwai-ai .mwai-copy-button {
831 right: 15px;
832 left: inherit;
833 filter: brightness(0.4);
834 }
835