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