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