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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
899 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 img {
506 filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15));
507 }
508
509 .mwai-open-button:hover {
510 cursor: pointer;
511 filter: saturate(2.5) hue-rotate(5deg);
512 }
513
514 .mwai-window {
515 position: fixed;
516 right: 30px;
517 bottom: 30px;
518 width: var(--mwai-width);
519 z-index: 9999;
520 }
521
522 .mwai-window .mwai-header {
523 display: none;
524 justify-content: flex-end;
525 align-items: center;
526 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
527 background: var(--mwai-backgroundHeaderColor);
528 }
529
530 .mwai-window .mwai-header .mwai-buttons {
531 display: flex;
532 align-items: center;
533 }
534
535 .mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
536 justify-content: center;
537 height: 32px;
538 width: 22px;
539 cursor: pointer;
540 display: flex;
541 justify-content: center;
542 align-items: center;
543 }
544
545 .mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
546 transition: all 0.2s ease-out;
547 content: ' ';
548 cursor: pointer;
549 position: absolute;
550 height: 13px;
551 width: 13px;
552 border: 1px solid var(--mwai-headerButtonsColor);
553 }
554
555 .mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
556 width: 16px;
557 height: 16px;
558 }
559
560 .mwai-window .mwai-header .mwai-buttons .mwai-close-button {
561 justify-content: center;
562 height: 32px;
563 width: 33px;
564 cursor: pointer;
565 border-radius: var(--mwai-borderRadius);
566 }
567
568 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
569 transition: all 0.2s ease-out;
570 transform: translate(16px, 5px) rotate(45deg);
571 }
572
573 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
574 transition: all 0.2s ease-out;
575 transform: translate(16px, 5px) rotate(-45deg);
576 }
577
578 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
579 content: ' ';
580 cursor: pointer;
581 position: absolute;
582 height: 22px;
583 width: 1px;
584 background-color: var(--mwai-headerButtonsColor);
585 }
586
587 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
588 opacity: 1;
589 transform: translate(16px, 5px) rotate(135deg);
590 }
591
592 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
593 opacity: 1;
594 transform: translate(16px, 5px) rotate(45deg);
595 }
596
597 .mwai-window .mwai-content {
598 display: none;
599 opacity: 0;
600 max-height: var(--mwai-maxHeight);
601 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
602 overflow: hidden;
603 }
604
605 .mwai-window.mwai-bottom-left {
606 bottom: 30px;
607 right: inherit;
608 left: 30px;
609 }
610
611 .mwai-window.mwai-bottom-left .mwai-open-button {
612 right: inherit;
613 left: 0;
614 }
615
616 .mwai-window.mwai-top-right {
617 top: 30px;
618 bottom: inherit;
619 right: 30px;
620 }
621
622 .mwai-window.mwai-top-right .mwai-open-button {
623 top: 0;
624 bottom: inherit;
625 }
626
627 .mwai-window.mwai-top-left {
628 top: 30px;
629 bottom: inherit;
630 right: inherit;
631 left: 30px;
632 }
633
634 .mwai-window.mwai-top-left .mwai-open-button {
635 top: 0;
636 bottom: inherit;
637 right: inherit;
638 left: 0;
639 }
640
641 .mwai-window.mwai-top-left .mwai-open-button, .mwai-window.mwai-bottom-left .mwai-open-button {
642 align-items: flex-start;
643 }
644
645 .mwai-window.mwai-top-right .mwai-open-button, .mwai-window.mwai-top-left .mwai-open-button {
646 flex-direction: column-reverse;
647 }
648
649 .mwai-window.mwai-top-right .mwai-open-button .mwai-icon-text, .mwai-window.mwai-top-left .mwai-open-button .mwai-icon-text {
650 margin-bottom: 0;
651 margin-top: 15px;
652 }
653
654 .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
655 margin-bottom: 0px;
656 }
657
658 .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
659 width: 16px;
660 height: 16px;
661 }
662
663 .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
664 width: 13px;
665 height: 13px;
666 }
667
668 .mwai-fullscreen:not(.mwai-window), .mwai-fullscreen.mwai-window.mwai-open {
669 position: fixed;
670 left: 0 !important;
671 right: 0 !important;
672 bottom: 0 !important;
673 top: 0 !important;
674 width: inherit;
675 height: inherit;
676 max-height: inherit;
677 max-width: inherit;
678 display: flex;
679 flex-direction: column;
680 margin: 0;
681 z-index: 999999;
682 background-color: var(--mwai-backgroundSecondaryColor);
683 }
684
685 .mwai-fullscreen:not(.mwai-window) .mwai-content, .mwai-fullscreen.mwai-window.mwai-open .mwai-content {
686 height: 100%;
687 max-height: inherit;
688 }
689
690 .mwai-fullscreen:not(.mwai-window) .mwai-content .mwai-conversation, .mwai-fullscreen.mwai-window.mwai-open .mwai-content .mwai-conversation {
691 flex: auto;
692 max-height: none;
693 }
694
695 .mwai-window.mwai-open .mwai-header {
696 display: flex;
697 }
698
699 .mwai-window.mwai-open .mwai-content {
700 display: flex;
701 transition: opacity 200ms ease-in-out 0s;
702 opacity: 1;
703 }
704
705 .mwai-window.mwai-open .mwai-open-button {
706 display: none;
707 }
708
709 .mwai-error {
710 margin: var(--mwai-spacing);
711 color: white;
712 background: rgba(180, 55, 55, 0.55);
713 padding: var(--mwai-spacing);
714 border-radius: var(--mwai-borderRadius);
715 }
716
717 .mwai-error:hover {
718 cursor: pointer;
719 background: rgba(180, 44, 44, 0.85);
720 }
721
722 @keyframes mwai-button-spinner {
723 from {
724 transform: rotate(0turn);
725 }
726 to {
727 transform: rotate(1turn);
728 }
729 }
730
731 .admin-bar .mwai-fullscreen:not(.mwai-window),
732 .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
733 top: 32px;
734 }
735
736 @media (max-width: 760px) {
737 .mwai-chat.mwai-window {
738 width: calc(100% - 40px);
739 z-index: 9999999999;
740 }
741 .mwai-chat .mwai-reply {
742 flex-direction: column;
743 }
744 .mwai-chat .mwai-input {
745 flex-direction: column;
746 }
747 }
748
749 .mwai-copy-button {
750 opacity: 0;
751 transition: all 0.3s ease-out;
752 width: 22px;
753 height: 22px;
754 position: absolute;
755 right: var(--mwai-spacing);
756 }
757
758 .mwai-copy-button .mwai-copy-button-one {
759 position: absolute;
760 width: 16px;
761 height: 16px;
762 margin-top: 0px;
763 margin-left: 0px;
764 background: white;
765 opacity: 0.4;
766 transition: all 0.2s ease-in;
767 cursor: pointer;
768 border-radius: 2px;
769 }
770
771 .mwai-copy-button .mwai-copy-button-two {
772 position: absolute;
773 width: 16px;
774 height: 16px;
775 margin-top: 6px;
776 margin-left: 6px;
777 background: white;
778 opacity: 0.6;
779 transition: all 0.2s ease-in;
780 cursor: pointer;
781 border-radius: 2px;
782 }
783
784 .mwai-copy-button:hover .mwai-copy-button-one {
785 opacity: 0.6;
786 margin-top: 0px;
787 margin-left: 6px;
788 }
789
790 .mwai-copy-button:hover .mwai-copy-button-two {
791 opacity: 1;
792 margin-top: 6px;
793 margin-left: 0px;
794 }
795
796 .mwai-copy-button.mwai-animate .mwai-copy-button-one {
797 opacity: 0;
798 }
799
800 .mwai-copy-button.mwai-animate .mwai-copy-button-two {
801 width: 18px;
802 height: 18px;
803 margin-top: 2px;
804 margin-left: 2px;
805 opacity: 1;
806 }
807
808 .mwai-chat .mwai-reply:hover .mwai-copy-button {
809 display: block;
810 opacity: 1;
811 }
812
813 .mwai-chat pre code.hljs {
814 display: block;
815 overflow-x: auto;
816 padding: 1em;
817 }
818
819 .mwai-chat code.hljs {
820 padding: 3px 5px;
821 }
822
823 .mwai-chat .hljs {
824 color: #fff;
825 background: #1c1b1b;
826 }
827
828 .mwai-chat .hljs-subst {
829 color: #fff;
830 }
831
832 .mwai-chat .hljs-comment {
833 color: #999;
834 }
835
836 .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 {
837 color: #88aece;
838 }
839
840 .mwai-chat .hljs-attribute {
841 color: #c59bc1;
842 }
843
844 .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 {
845 color: #f08d49;
846 }
847
848 .mwai-chat .hljs-selector-class {
849 color: #88aece;
850 }
851
852 .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 {
853 color: #b5bd68;
854 }
855
856 .mwai-chat .hljs-meta, .mwai-chat .hljs-selector-pseudo {
857 color: #88aece;
858 }
859
860 .mwai-chat .hljs-built_in, .mwai-chat .hljs-literal, .mwai-chat .hljs-title {
861 color: #f08d49;
862 }
863
864 .mwai-chat .hljs-bullet, .mwai-chat .hljs-code {
865 color: #ccc;
866 }
867
868 .mwai-chat .hljs-meta .hljs-string {
869 color: #b5bd68;
870 }
871
872 .mwai-chat .hljs-deletion {
873 color: #de7176;
874 }
875
876 .mwai-chat .hljs-addition {
877 color: #76c490;
878 }
879
880 .mwai-chat .hljs-emphasis {
881 font-style: italic;
882 }
883
884 .mwai-chat .hljs-strong {
885 font-weight: 700;
886 }
887
888 @media (max-width: 760px) {
889 .mwai-chat .mwai-input button {
890 margin: 15px 0 0 0;
891 height: 40px;
892 width: inherit;
893 }
894 .mwai-chat .mwai-name {
895 margin-right: 0;
896 max-width: inherit;
897 }
898 }
899