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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.scss
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.scss
600 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 button {
21 color: var(--mwai-fontColor);
22 background: var(--mwai-backgroundSecondaryColor);
23 border: 1px solid var(--mwai-backgroundPrimaryColor);
24 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
25 min-width: 90px;
26 border-radius: 5px;
27 cursor: pointer;
28 transition: all 0.2s ease-out;
29 display: flex;
30 align-items: center;
31 justify-content: center;
32 font-size: 90%;
33 position: relative;
34
35 .mwai-timer {
36 margin-left: 5px;
37 margin-right: 5px;
38 font-size: 11px;
39 }
40
41 &:hover {
42 background: var(--mwai-backgroundPrimaryColor);
43 }
44 }
45
46 button[disabled]] {
47 cursor: not-allowed;
48
49 span {
50 opacity: 0.5;
51 }
52
53 &.mwai-busy {
54
55 span {
56 display: none;
57 }
58
59 &: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 }
71 }
72
73 .mwai-discussions {
74 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius);
75 background: var(--mwai-backgroundHeaderColor);
76 overflow: hidden;
77
78 * {
79 box-sizing: border-box;
80 }
81
82 .mwai-header {
83 color: var(--mwai-headerButtonsColor);
84 padding: var(--mwai-spacing);
85 display: flex;
86 justify-content: space-between;
87 align-items: center;
88 }
89
90 .mwai-content {
91 background: var(--mwai-conversationsBackgroundColor);
92 list-style: none;
93 padding: calc(var(--mwai-spacing) / 2);
94 margin: 0;
95
96 .mwai-discussion {
97 margin: 0;
98 }
99
100 li {
101 color: var(--mwai-conversationsTextColor);
102 font-size: 75%;
103 padding: calc(var(--mwai-spacing) / 2);
104 opacity: 0.65;
105
106 &.mwai-active {
107 background: var(--mwai-backgroundPrimaryColor);
108 border-radius: var(--mwai-borderRadius);
109 opacity: 1;
110 }
111
112 &:hover {
113 background: var(--mwai-backgroundPrimaryColor);
114 border-radius: var(--mwai-borderRadius);
115 cursor: pointer;
116 }
117 }
118 }
119 }
120
121 .mwai-chat {
122
123 * {
124 box-sizing: border-box;
125 }
126
127 .mwai-content {
128 background: var(--mwai-backgroundSecondaryColor);
129 color: var(--mwai-fontColor);
130 font-size: var(--mwai-fontSize);
131 overflow: hidden;
132 display: flex;
133 flex-direction: column;
134 border-radius: var(--mwai-borderRadius);
135 }
136
137 .mwai-conversation {
138 overflow: auto;
139 }
140
141 .mwai-reply {
142 display: flex;
143 padding: var(--mwai-spacing);
144 position: relative;
145 line-height: var(--mwai-lineHeight);
146
147 .mwai-copy-button {
148 opacity: 0;
149 transition: all 0.3s ease-out;
150 width: 22px;
151 height: 22px;
152 position: absolute;
153 right: var(--mwai-spacing);
154
155 .mwai-copy-button-one {
156 position: absolute;
157 width: 16px;
158 height: 16px;
159 margin-top: 0px;
160 margin-left: 0px;
161 background: white;
162 opacity: 0.4;
163 transition: all 0.2s ease-in;
164 cursor: pointer;
165 border-radius: 2px;
166 }
167
168 .mwai-copy-button-two {
169 position: absolute;
170 width: 16px;
171 height: 16px;
172 margin-top: 6px;
173 margin-left: 6px;
174 background: white;
175 opacity: 0.6;
176 transition: all 0.2s ease-in;
177 cursor: pointer;
178 border-radius: 2px;
179 }
180
181 &:hover {
182 .mwai-copy-button-one {
183 opacity: 0.6;
184 margin-top: 0px;
185 margin-left: 6px;
186 }
187
188 .mwai-copy-button-two {
189 opacity: 1;
190 margin-top: 6px;
191 margin-left: 0px;
192 }
193 }
194
195 &.mwai-animate {
196
197 .mwai-copy-button-one {
198 opacity: 0;
199 }
200
201 .mwai-copy-button-two {
202 width: 18px;
203 height: 18px;
204 margin-top: 2px;
205 margin-left: 2px;
206 opacity: 1;
207 }
208 }
209 }
210
211 transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
212
213 &.mwai-fade-out {
214 opacity: 0;
215 }
216
217 &:hover {
218 .mwai-copy-button {
219 display: block;
220 opacity: 1;
221 }
222 }
223
224 &.mwai-user {
225 background: var(--mwai-backgroundSecondaryColor);
226 }
227
228 &.mwai-ai {
229 background: var(--mwai-backgroundPrimaryColor);
230 }
231
232 .mwai-name {
233 color: var(--mwai-fontColor);
234 margin-right: 5px;
235
236 .mwai-name-text {
237 opacity: 0.50;
238 white-space: nowrap;
239 }
240
241 .mwai-avatar {
242 margin-right: 10px;
243 width: 40px;
244 height: 40px;
245 display: flex;
246 align-items: center;
247 justify-content: center;
248 border-radius: 5px;
249 overflow: hidden;
250
251 img {
252 max-width: 100%;
253 max-height: 100%;
254 }
255
256 &.mwai-svg img {
257 width: 28px;
258 height: 28px;
259 filter: brightness(0) invert(1);
260 }
261 }
262 }
263
264 .mwai-text {
265 flex: auto;
266 font-size: var(--mwai-fontSize);
267 line-height: var(--mwai-lineHeight);
268 color: var(--mwai-fontColor);
269 font-size: var(--mwai-fontSize);
270
271 .mwai-image {
272 display: block;
273 max-width: 250px;
274 height: auto;
275 margin: 0 0 10px 0;
276 border-radius: var(--mwai-borderRadius);
277 }
278
279 .mwai-filename {
280 display: flex;
281 text-decoration: none;
282 border: 1px solid var(--mwai-backgroundPrimaryColor);
283 border-radius: var(--mwai-borderRadius);
284 padding: 5px 10px;
285 margin-bottom: 10px;
286 }
287
288 * {
289 font-size: var(--mwai-fontSize);
290 }
291
292 > span > *:first-child {
293 margin-top: 0;
294 }
295
296 > span > *:last-child {
297 margin-bottom: 0;
298 }
299
300 a {
301 color: #2196f3;
302 }
303
304 h1 {
305 font-size: 200%;
306 }
307
308 h2 {
309 font-size: 160%;
310 }
311
312 h3 {
313 font-size: 140%;
314 }
315
316 h4 {
317 font-size: 120%;
318 }
319
320 p {
321
322 code {
323 background: var(--mwai-backgroundSecondaryColor);
324 padding: 2px 6px;
325 border-radius: 8px;
326 font-size: 90%;
327 font-family: system-ui;
328 }
329 }
330
331 pre {
332 color: var(--mwai-fontColor);
333 border-radius: var(--mwai-borderRadius);
334 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
335 break-after: auto;
336 white-space: pre-wrap;
337 font-size: 95%;
338 max-width: 100%;
339 width: 100%;
340 font-family: system-ui;
341 background: #343541;
342
343 code {
344 padding: 0 !important;
345 font-family: system-ui;
346 background: #343541;
347 }
348 }
349
350 ul {
351 padding: 0;
352 }
353
354 ol {
355 padding: 0;
356 margin: 0 0 0 20px;
357 }
358
359 table {
360 width: 100%;
361 border: 2px solid var(--mwai-backgroundSecondaryColor);
362 border-collapse: collapse
363 }
364
365 thead {
366 background: var(--mwai-backgroundSecondaryColor);
367 }
368
369 tr, td {
370 padding: 2px 5px;
371 }
372
373 td {
374 border: 2px solid var(--mwai-backgroundSecondaryColor);
375 }
376
377 .mwai-typewriter {
378 display: inline-block;
379
380 > :first-child {
381 margin-top: 0;
382 }
383 }
384
385 >* {
386 &:first-child {
387 margin-top: 0;
388
389 }
390 &:last-child {
391 margin-bottom: 0;
392 }
393 }
394 }
395
396 &.mwai-system {
397 background: var(--mwai-errorBackgroundColor);
398 color: var(--mwai-errorFontColor);
399
400 .mwai-name {
401 display: none;
402 }
403 }
404 }
405
406 .mwai-input {
407 display: flex;
408 padding: var(--mwai-spacing);
409 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
410
411 .mwai-input-text {
412 flex: auto;
413 position: relative;
414 background: var(--mwai-backgroundPrimaryColor);
415 border-radius: var(--mwai-borderRadius);
416 overflow: hidden;
417 display: flex;
418 align-items: center;
419
420 &.mwai-dragging {
421 filter: brightness(1.2);
422 }
423
424 textarea {
425 background: inherit;
426 color: var(--mwai-fontColor);
427 flex: auto;
428 padding: var(--mwai-spacing);
429 border: none;
430 font-size: var(--mwai-fontSize);
431 resize: none;
432 font-family: inherit;
433 margin: 0;
434 overflow: hidden;
435
436 &:focus {
437 outline: none;
438 box-shadow: none;
439 }
440
441 &::placeholder {
442 color: var(--mwai-fontColor);
443 opacity: 0.5;
444 }
445 }
446
447 .mwai-microphone {
448 display: flex;
449 align-items: center;
450 justify-content: center;
451 height: 100%;
452 cursor: pointer;
453
454 svg {
455 fill: var(--mwai-fontColor);
456 width: 34px;
457 height: 34px;
458 fill: var(--mwai-fontColor);
459 opacity: 0.5;
460 filter: grayscale(100%);
461 transition: opacity 0.3s ease-out;
462 }
463
464 &[active=true]=true] {
465 svg {
466 opacity: 1;
467 }
468 }
469
470 &[disabled]] {
471 svg {
472 opacity: 0;
473 }
474 }
475 }
476
477 .mwai-file-upload {
478 display: flex;
479 align-items: center;
480 justify-content: center;
481 margin-left: 5px;
482 width: 36px;
483 height: 100%;
484 cursor: pointer;
485 margin-right: -8px;
486 z-index: 100;
487
488 img {
489 width: 100%;
490 height: auto;
491 background-size: cover;
492 }
493
494 .mwai-idle-idle {
495 filter: brightness(1);
496 }
497
498 .mwai-idle-add {
499 filter: brightness(1);
500 }
501
502 .mwai-image-add, .mwai-image-del, .mwai-image-ok, .mwai-image-up {
503 filter: brightness(1);
504 }
505
506 .mwai-document-add, .mwai-document-del, .mwai-document-ok, .mwai-document-up {
507 filter: brightness(1);
508 }
509
510 .mwai-enabled {
511 filter: saturate(0);
512 }
513
514 span {
515 position: absolute;
516 font-size: 11px;
517 width: 21px;
518 top: 25px;
519 left: 24px;
520 overflow: hidden;
521 text-align: center;
522 font-weight: bold;
523 }
524 }
525
526 .mwai-microphone {
527 svg {
528 padding: 5px 10px;
529 }
530 }
531 }
532
533 button {
534 margin-left: var(--mwai-spacing);
535 }
536 }
537
538 .mwai-compliance {
539 opacity: 0.50;
540 margin-top: calc( -1 * var(--mwai-spacing));
541 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
542 font-size: smaller;
543 color: var(--mwai-fontColor);
544 text-align: left;
545 }
546
547 .mwai-gallery {
548 display: grid;
549 grid-template-columns: repeat(3, 1fr);
550 grid-gap: 5px;
551
552 img {
553 width: 100%;
554 }
555 }
556 }
557
558 @import '_common.scss';
559 @import '_copybutton.scss';
560 @import '_codeDark.scss';
561
562 // Mobile
563
564 @media (max-width: 760px) {
565
566 .mwai-chat {
567
568 .mwai-input {
569
570 button {
571 margin: 15px 0 0 0;
572 height: 40px;
573 width: inherit;
574 }
575 }
576
577 .mwai-name {
578 margin-right: 0;
579 max-width: inherit;
580 }
581 }
582 }
583
584 // Mobile
585
586 @media (max-width: 760px) {
587
588 .mwai-chat {
589
590 &.mwai-window {
591 width: calc(100% - 40px);
592 z-index: 9999999999;
593 }
594
595 .mwai-input {
596 flex-direction: column;
597 }
598 }
599 }
600