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