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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
919 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 .mwai-image {
261 display: block;
262 max-width: 250px;
263 height: auto;
264 margin: 0 0 10px 0;
265 border-radius: var(--mwai-borderRadius);
266 }
267
268 .mwai-chat .mwai-reply .mwai-text * {
269 font-size: var(--mwai-fontSize);
270 }
271
272 .mwai-chat .mwai-reply .mwai-text > span > *:first-child {
273 margin-top: 0;
274 }
275
276 .mwai-chat .mwai-reply .mwai-text > span > *:last-child {
277 margin-bottom: 0;
278 }
279
280 .mwai-chat .mwai-reply .mwai-text a {
281 color: #2196f3;
282 }
283
284 .mwai-chat .mwai-reply .mwai-text h1 {
285 font-size: 200%;
286 }
287
288 .mwai-chat .mwai-reply .mwai-text h2 {
289 font-size: 160%;
290 }
291
292 .mwai-chat .mwai-reply .mwai-text h3 {
293 font-size: 140%;
294 }
295
296 .mwai-chat .mwai-reply .mwai-text h4 {
297 font-size: 120%;
298 }
299
300 .mwai-chat .mwai-reply .mwai-text p code {
301 background: var(--mwai-backgroundSecondaryColor);
302 padding: 2px 6px;
303 border-radius: 8px;
304 font-size: 90%;
305 font-family: system-ui;
306 }
307
308 .mwai-chat .mwai-reply .mwai-text pre {
309 color: var(--mwai-fontColor);
310 border-radius: var(--mwai-borderRadius);
311 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
312 break-after: auto;
313 white-space: pre-wrap;
314 font-size: 95%;
315 max-width: 100%;
316 width: 100%;
317 font-family: system-ui;
318 background: #343541;
319 }
320
321 .mwai-chat .mwai-reply .mwai-text pre code {
322 padding: 0 !important;
323 font-family: system-ui;
324 background: #343541;
325 }
326
327 .mwai-chat .mwai-reply .mwai-text ul {
328 padding: 0;
329 }
330
331 .mwai-chat .mwai-reply .mwai-text ol {
332 padding: 0;
333 margin: 0 0 0 20px;
334 }
335
336 .mwai-chat .mwai-reply .mwai-text table {
337 width: 100%;
338 border: 2px solid var(--mwai-backgroundSecondaryColor);
339 border-collapse: collapse;
340 }
341
342 .mwai-chat .mwai-reply .mwai-text thead {
343 background: var(--mwai-backgroundSecondaryColor);
344 }
345
346 .mwai-chat .mwai-reply .mwai-text tr, .mwai-chat .mwai-reply .mwai-text td {
347 padding: 2px 5px;
348 }
349
350 .mwai-chat .mwai-reply .mwai-text td {
351 border: 2px solid var(--mwai-backgroundSecondaryColor);
352 }
353
354 .mwai-chat .mwai-reply .mwai-text .mwai-typewriter {
355 display: inline-block;
356 }
357
358 .mwai-chat .mwai-reply .mwai-text .mwai-typewriter > :first-child {
359 margin-top: 0;
360 }
361
362 .mwai-chat .mwai-reply .mwai-text > *:first-child {
363 margin-top: 0;
364 }
365
366 .mwai-chat .mwai-reply .mwai-text > *:last-child {
367 margin-bottom: 0;
368 }
369
370 .mwai-chat .mwai-reply.mwai-system {
371 background: var(--mwai-errorBackgroundColor);
372 color: var(--mwai-errorFontColor);
373 }
374
375 .mwai-chat .mwai-reply.mwai-system .mwai-name {
376 display: none;
377 }
378
379 .mwai-chat .mwai-input {
380 display: flex;
381 padding: var(--mwai-spacing);
382 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
383 }
384
385 .mwai-chat .mwai-input .mwai-input-text {
386 flex: auto;
387 position: relative;
388 display: flex;
389 background: var(--mwai-backgroundPrimaryColor);
390 border-radius: var(--mwai-borderRadius);
391 overflow: hidden;
392 }
393
394 .mwai-chat .mwai-input .mwai-input-text textarea {
395 background: var(--mwai-backgroundPrimaryColor);
396 color: var(--mwai-fontColor);
397 flex: auto;
398 padding: var(--mwai-spacing);
399 border: none;
400 font-size: var(--mwai-fontSize);
401 resize: none;
402 font-family: inherit;
403 margin: 0;
404 overflow: hidden;
405 }
406
407 .mwai-chat .mwai-input .mwai-input-text textarea:focus {
408 outline: none;
409 box-shadow: none;
410 }
411
412 .mwai-chat .mwai-input .mwai-input-text textarea::placeholder {
413 color: var(--mwai-fontColor);
414 opacity: 0.5;
415 }
416
417 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone, .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload {
418 display: flex;
419 align-items: center;
420 justify-content: center;
421 height: 100%;
422 cursor: pointer;
423 }
424
425 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone svg, .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload svg {
426 fill: var(--mwai-fontColor);
427 width: 34px;
428 height: 34px;
429 fill: var(--mwai-fontColor);
430 opacity: 0.5;
431 filter: grayscale(100%);
432 transition: opacity 0.3s ease-out;
433 }
434
435 .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 {
436 opacity: 1;
437 }
438
439 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone[disabled] svg, .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload[disabled] svg {
440 opacity: 0;
441 }
442
443 .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload {
444 margin-left: 5px;
445 margin-right: -12px;
446 z-index: 100;
447 }
448
449 .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload svg {
450 width: 42px;
451 height: 42px;
452 padding: 5px;
453 }
454
455 .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload span {
456 position: absolute;
457 font-size: 55%;
458 }
459
460 .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload.mwai-enabled svg {
461 opacity: 1;
462 filter: none;
463 }
464
465 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone svg {
466 padding: 5px 10px;
467 }
468
469 .mwai-chat .mwai-input button {
470 margin-left: var(--mwai-spacing);
471 }
472
473 .mwai-chat .mwai-compliance {
474 opacity: 0.50;
475 margin-top: calc( -1 * var(--mwai-spacing));
476 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
477 font-size: smaller;
478 color: var(--mwai-fontColor);
479 text-align: left;
480 }
481
482 .mwai-chat .mwai-gallery {
483 display: grid;
484 grid-template-columns: repeat(3, 1fr);
485 grid-gap: 5px;
486 }
487
488 .mwai-chat .mwai-gallery img {
489 width: 100%;
490 }
491
492 .mwai-text img {
493 max-width: 100%;
494 }
495
496 .mwai-text div p:first-child {
497 margin-top: 0;
498 }
499
500 .mwai-text div p:last-child {
501 margin-bottom: 0;
502 }
503
504 .mwai-open-button {
505 position: absolute;
506 right: 0;
507 bottom: 0;
508 transition: all 0.2s ease-out;
509 z-index: 9999;
510 display: flex;
511 flex-direction: column;
512 align-items: end;
513 }
514
515 .mwai-open-button .mwai-icon-text {
516 background: var(--mwai-iconTextBackgroundColor);
517 color: var(--mwai-iconTextColor);
518 max-width: 200px;
519 font-size: 13px;
520 margin-bottom: 15px;
521 padding: 5px 10px;
522 border-radius: 8px;
523 }
524
525 .mwai-open-button img {
526 filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15));
527 }
528
529 .mwai-open-button:hover {
530 cursor: pointer;
531 filter: saturate(2.5) hue-rotate(5deg);
532 }
533
534 .mwai-window {
535 position: fixed;
536 right: 30px;
537 bottom: 30px;
538 width: var(--mwai-width);
539 z-index: 9999;
540 }
541
542 .mwai-window .mwai-header {
543 display: none;
544 justify-content: flex-end;
545 align-items: center;
546 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
547 background: var(--mwai-backgroundHeaderColor);
548 }
549
550 .mwai-window .mwai-header .mwai-buttons {
551 display: flex;
552 align-items: center;
553 }
554
555 .mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
556 justify-content: center;
557 height: 32px;
558 width: 22px;
559 cursor: pointer;
560 display: flex;
561 justify-content: center;
562 align-items: center;
563 }
564
565 .mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
566 transition: all 0.2s ease-out;
567 content: ' ';
568 cursor: pointer;
569 position: absolute;
570 height: 13px;
571 width: 13px;
572 border: 1px solid var(--mwai-headerButtonsColor);
573 }
574
575 .mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
576 width: 16px;
577 height: 16px;
578 }
579
580 .mwai-window .mwai-header .mwai-buttons .mwai-close-button {
581 justify-content: center;
582 height: 32px;
583 width: 33px;
584 cursor: pointer;
585 border-radius: var(--mwai-borderRadius);
586 }
587
588 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
589 transition: all 0.2s ease-out;
590 transform: translate(16px, 5px) rotate(45deg);
591 }
592
593 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
594 transition: all 0.2s ease-out;
595 transform: translate(16px, 5px) rotate(-45deg);
596 }
597
598 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
599 content: ' ';
600 cursor: pointer;
601 position: absolute;
602 height: 22px;
603 width: 1px;
604 background-color: var(--mwai-headerButtonsColor);
605 }
606
607 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
608 opacity: 1;
609 transform: translate(16px, 5px) rotate(135deg);
610 }
611
612 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
613 opacity: 1;
614 transform: translate(16px, 5px) rotate(45deg);
615 }
616
617 .mwai-window .mwai-content {
618 display: none;
619 opacity: 0;
620 max-height: var(--mwai-maxHeight);
621 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
622 overflow: hidden;
623 }
624
625 .mwai-window.mwai-bottom-left {
626 bottom: 30px;
627 right: inherit;
628 left: 30px;
629 }
630
631 .mwai-window.mwai-bottom-left .mwai-open-button {
632 right: inherit;
633 left: 0;
634 }
635
636 .mwai-window.mwai-top-right {
637 top: 30px;
638 bottom: inherit;
639 right: 30px;
640 }
641
642 .mwai-window.mwai-top-right .mwai-open-button {
643 top: 0;
644 bottom: inherit;
645 }
646
647 .mwai-window.mwai-top-left {
648 top: 30px;
649 bottom: inherit;
650 right: inherit;
651 left: 30px;
652 }
653
654 .mwai-window.mwai-top-left .mwai-open-button {
655 top: 0;
656 bottom: inherit;
657 right: inherit;
658 left: 0;
659 }
660
661 .mwai-window.mwai-top-left .mwai-open-button, .mwai-window.mwai-bottom-left .mwai-open-button {
662 align-items: flex-start;
663 }
664
665 .mwai-window.mwai-top-right .mwai-open-button, .mwai-window.mwai-top-left .mwai-open-button {
666 flex-direction: column-reverse;
667 }
668
669 .mwai-window.mwai-top-right .mwai-open-button .mwai-icon-text, .mwai-window.mwai-top-left .mwai-open-button .mwai-icon-text {
670 margin-bottom: 0;
671 margin-top: 15px;
672 }
673
674 .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
675 margin-bottom: 0px;
676 }
677
678 .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
679 width: 16px;
680 height: 16px;
681 }
682
683 .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
684 width: 13px;
685 height: 13px;
686 }
687
688 .mwai-fullscreen:not(.mwai-window), .mwai-fullscreen.mwai-window.mwai-open {
689 position: fixed;
690 left: 0 !important;
691 right: 0 !important;
692 bottom: 0 !important;
693 top: 0 !important;
694 width: inherit;
695 height: inherit;
696 max-height: inherit;
697 max-width: inherit;
698 display: flex;
699 flex-direction: column;
700 margin: 0;
701 z-index: 999999;
702 background-color: var(--mwai-backgroundSecondaryColor);
703 }
704
705 .mwai-fullscreen:not(.mwai-window) .mwai-content, .mwai-fullscreen.mwai-window.mwai-open .mwai-content {
706 height: 100%;
707 max-height: inherit;
708 }
709
710 .mwai-fullscreen:not(.mwai-window) .mwai-content .mwai-conversation, .mwai-fullscreen.mwai-window.mwai-open .mwai-content .mwai-conversation {
711 flex: auto;
712 max-height: none;
713 }
714
715 .mwai-window.mwai-open .mwai-header {
716 display: flex;
717 }
718
719 .mwai-window.mwai-open .mwai-content {
720 display: flex;
721 transition: opacity 200ms ease-in-out 0s;
722 opacity: 1;
723 }
724
725 .mwai-window.mwai-open .mwai-open-button {
726 display: none;
727 }
728
729 .mwai-error {
730 margin: var(--mwai-spacing);
731 color: white;
732 background: rgba(180, 55, 55, 0.55);
733 padding: var(--mwai-spacing);
734 border-radius: var(--mwai-borderRadius);
735 }
736
737 .mwai-error:hover {
738 cursor: pointer;
739 background: rgba(180, 44, 44, 0.85);
740 }
741
742 @keyframes mwai-button-spinner {
743 from {
744 transform: rotate(0turn);
745 }
746 to {
747 transform: rotate(1turn);
748 }
749 }
750
751 .admin-bar .mwai-fullscreen:not(.mwai-window),
752 .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
753 top: 32px;
754 }
755
756 @media (max-width: 760px) {
757 .mwai-chat.mwai-window {
758 width: calc(100% - 40px);
759 z-index: 9999999999;
760 }
761 .mwai-chat .mwai-reply {
762 flex-direction: column;
763 }
764 .mwai-chat .mwai-input {
765 flex-direction: column;
766 }
767 }
768
769 .mwai-copy-button {
770 opacity: 0;
771 transition: all 0.3s ease-out;
772 width: 22px;
773 height: 22px;
774 position: absolute;
775 right: var(--mwai-spacing);
776 }
777
778 .mwai-copy-button .mwai-copy-button-one {
779 position: absolute;
780 width: 16px;
781 height: 16px;
782 margin-top: 0px;
783 margin-left: 0px;
784 background: white;
785 opacity: 0.4;
786 transition: all 0.2s ease-in;
787 cursor: pointer;
788 border-radius: 2px;
789 }
790
791 .mwai-copy-button .mwai-copy-button-two {
792 position: absolute;
793 width: 16px;
794 height: 16px;
795 margin-top: 6px;
796 margin-left: 6px;
797 background: white;
798 opacity: 0.6;
799 transition: all 0.2s ease-in;
800 cursor: pointer;
801 border-radius: 2px;
802 }
803
804 .mwai-copy-button:hover .mwai-copy-button-one {
805 opacity: 0.6;
806 margin-top: 0px;
807 margin-left: 6px;
808 }
809
810 .mwai-copy-button:hover .mwai-copy-button-two {
811 opacity: 1;
812 margin-top: 6px;
813 margin-left: 0px;
814 }
815
816 .mwai-copy-button.mwai-animate .mwai-copy-button-one {
817 opacity: 0;
818 }
819
820 .mwai-copy-button.mwai-animate .mwai-copy-button-two {
821 width: 18px;
822 height: 18px;
823 margin-top: 2px;
824 margin-left: 2px;
825 opacity: 1;
826 }
827
828 .mwai-chat .mwai-reply:hover .mwai-copy-button {
829 display: block;
830 opacity: 1;
831 }
832
833 .mwai-chat pre code.hljs {
834 display: block;
835 overflow-x: auto;
836 padding: 1em;
837 }
838
839 .mwai-chat code.hljs {
840 padding: 3px 5px;
841 }
842
843 .mwai-chat .hljs {
844 color: #fff;
845 background: #1c1b1b;
846 }
847
848 .mwai-chat .hljs-subst {
849 color: #fff;
850 }
851
852 .mwai-chat .hljs-comment {
853 color: #999;
854 }
855
856 .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 {
857 color: #88aece;
858 }
859
860 .mwai-chat .hljs-attribute {
861 color: #c59bc1;
862 }
863
864 .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 {
865 color: #f08d49;
866 }
867
868 .mwai-chat .hljs-selector-class {
869 color: #88aece;
870 }
871
872 .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 {
873 color: #b5bd68;
874 }
875
876 .mwai-chat .hljs-meta, .mwai-chat .hljs-selector-pseudo {
877 color: #88aece;
878 }
879
880 .mwai-chat .hljs-built_in, .mwai-chat .hljs-literal, .mwai-chat .hljs-title {
881 color: #f08d49;
882 }
883
884 .mwai-chat .hljs-bullet, .mwai-chat .hljs-code {
885 color: #ccc;
886 }
887
888 .mwai-chat .hljs-meta .hljs-string {
889 color: #b5bd68;
890 }
891
892 .mwai-chat .hljs-deletion {
893 color: #de7176;
894 }
895
896 .mwai-chat .hljs-addition {
897 color: #76c490;
898 }
899
900 .mwai-chat .hljs-emphasis {
901 font-style: italic;
902 }
903
904 .mwai-chat .hljs-strong {
905 font-weight: 700;
906 }
907
908 @media (max-width: 760px) {
909 .mwai-chat .mwai-input button {
910 margin: 15px 0 0 0;
911 height: 40px;
912 width: inherit;
913 }
914 .mwai-chat .mwai-name {
915 margin-right: 0;
916 max-width: inherit;
917 }
918 }
919