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.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
870 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 // Safari-specific fix for spinner cleanup
517 button:not(.mwai-busy):before {
518 content: none !important;
519 display: none !important;
520 animation: none !important;
521 }
522
523 // WordPress Admin Bar
524
525 .admin-bar .mwai-fullscreen:not(.mwai-window),
526 .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
527 top: 32px;
528 }
529 }
530
531 @mixin code-dark {
532
533 pre code.hljs {
534 display: block;
535 overflow-x: auto;
536 padding: 1em;
537 }
538
539 code.hljs {
540 padding: 3px 5px;
541 }
542
543 .hljs {
544 color: #fff;
545
546 &-subst {
547 color: #fff;
548 }
549
550 &-comment {
551 color: #999;
552 }
553
554 &-attr,
555 &-doctag,
556 &-keyword,
557 &-meta .hljs-keyword,
558 &-section,
559 &-selector-tag {
560 color: #88aece;
561 }
562
563 &-attribute {
564 color: #c59bc1;
565 }
566
567 &-name,
568 &-number,
569 &-quote,
570 &-selector-id,
571 &-template-tag,
572 &-type {
573 color: #f08d49;
574 }
575
576 &-selector-class {
577 color: #88aece;
578 }
579
580 &-link,
581 &-regexp,
582 &-selector-attr,
583 &-string,
584 &-symbol,
585 &-template-variable,
586 &-variable {
587 color: #b5bd68;
588 }
589
590 &-meta,
591 &-selector-pseudo {
592 color: #88aece;
593 }
594
595 &-built_in,
596 &-literal,
597 &-title {
598 color: #f08d49;
599 }
600
601 &-bullet,
602 &-code {
603 color: #ccc;
604 }
605
606 &-meta .hljs-string {
607 color: #b5bd68;
608 }
609
610 &-deletion {
611 color: #de7176;
612 }
613
614 &-addition {
615 color: #76c490;
616 }
617
618 &-emphasis {
619 font-style: italic;
620 }
621
622 &-strong {
623 font-weight: 700;
624 }
625 }
626 }
627
628 @mixin code-light {
629
630 pre code.hljs {
631 display: block;
632 overflow-x: auto;
633 padding: 1em;
634 }
635
636 code.hljs {
637 padding: 3px 5px;
638 }
639
640 .hljs {
641 color: #333;
642 background: #f0f0f0;
643
644 &-subst {
645 color: #333;
646 }
647
648 &-comment {
649 color: #888;
650 }
651
652 &-attr,
653 &-doctag,
654 &-keyword,
655 &-meta .hljs-keyword,
656 &-section,
657 &-selector-tag {
658 color: #0077cc;
659 }
660
661 &-attribute {
662 color: #aa3377;
663 }
664
665 &-name,
666 &-number,
667 &-quote,
668 &-selector-id,
669 &-template-tag,
670 &-type {
671 color: #c18401;
672 }
673
674 &-selector-class {
675 color: #0077cc;
676 }
677
678 &-link,
679 &-regexp,
680 &-selector-attr,
681 &-string,
682 &-symbol,
683 &-template-variable,
684 &-variable {
685 color: #689700;
686 }
687
688 &-meta,
689 &-selector-pseudo {
690 color: #0077cc;
691 }
692
693 &-built_in,
694 &-literal,
695 &-title {
696 color: #c18401;
697 }
698
699 &-bullet,
700 &-code {
701 color: #555;
702 }
703
704 &-meta .hljs-string {
705 color: #689700;
706 }
707
708 &-deletion {
709 color: #b71c1c;
710 }
711
712 &-addition {
713 color: #1b5e20;
714 }
715
716 &-emphasis {
717 font-style: italic;
718 }
719
720 &-strong {
721 font-weight: 700;
722 }
723 }
724 }
725
726 @mixin reply-actions {
727 .mwai-reply-actions {
728 position: absolute;
729 border-radius: 5px;
730 top: 10px;
731 right: 10px;
732 display: flex;
733 align-items: center;
734 padding: 2px 2px;
735 z-index: 100;
736 background: var(--mwai-backgroundPrimaryColor);
737 box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
738 z-index: 100;
739
740 .mwai-copy-button {
741 fill: var(--mwai-fontColor);
742 padding: 3px 5px;
743 width: 24px;
744 height: 24px;
745 background: var(--mwai-backgroundPrimaryColor);
746 cursor: pointer;
747 border-radius: 5px;
748
749 &:hover {
750 filter: brightness(1.2);
751 }
752 }
753
754 &.mwai-hidden {
755 opacity: 0;
756 }
757 }
758 }
759
760 @mixin realtime {
761 .mwai-realtime {
762 padding: var(--mwai-spacing);
763
764 .mwai-visualizer {
765 display: flex;
766 justify-content: center;
767 align-items: center;
768
769 hr {
770 width: 100px;
771 margin-right: var(--mwai-spacing);
772 margin-left: var(--mwai-spacing);
773 border: 1px solid var(--mwai-backgroundPrimaryColor);
774 }
775
776 .mwai-animation {
777 background: var(--mwai-backgroundPrimaryColor);
778 }
779 }
780
781 .mwai-controls {
782 display: flex;
783 justify-content: center;
784 align-items: center;
785 margin-bottom: var(--mwai-spacing);
786
787 > * + * {
788 margin-left: 10px;
789 }
790
791 button {
792 border-radius: 100%;
793 width: 50px;
794 height: 50px;
795 margin: 5px;
796 padding: 5px;
797 display: flex;
798 align-items: center;
799 justify-content: center;
800 color: var(--mwai-fontColor);
801 border: 2px solid var(--mwai-backgroundPrimaryColor);
802 background: none;
803 cursor: pointer;
804 transition: all 0.2s ease-out;
805 min-width: inherit;
806 max-width: inherit;
807
808 &:hover:not(:disabled) {
809 background: var(--mwai-backgroundPrimaryColor);
810 }
811
812 &:disabled {
813 opacity: 0.5;
814 cursor: not-allowed;
815 background: none;
816 }
817
818 &.mwai-active {
819 border: 2px solid var(--mwai-fontColor);
820 }
821 }
822 }
823
824 .mwai-last-transcript {
825 margin: var(--mwai-spacing);
826 margin-top: 0;
827 border: 2px solid var(--mwai-backgroundPrimaryColor);
828 padding: calc(var(--mwai-spacing) / 2);
829 border-radius: var(--mwai-borderRadius);
830 display: flex;
831 justify-content: center;
832 font-size: 80%;
833 }
834
835 .mwai-statistics {
836 display: grid;
837 grid-template-columns: 1fr 1fr 1fr;
838 grid-row-gap: 10px;
839 font-size: 14px;
840
841 div {
842 display: flex;
843 flex-direction: column;
844 align-items: center;
845 }
846
847 label {
848 font-size: 11px;
849 opacity: 0.5;
850 text-transform: uppercase;
851 }
852 }
853
854 .mwai-options {
855 margin-top: var(--mwai-spacing);
856 display: flex;
857 align-items: center;
858
859 .mwai-option {
860 cursor: pointer;
861 opacity: 0.5;
862 margin-right: 2px;
863
864 &.mwai-active {
865 opacity: 1;
866 }
867 }
868 }
869 }
870 }