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.0.8 1.6.77 0.0.9 1.6.78 0.1.0 1.6.79 0.1.1 1.6.81 0.1.2 1.6.82 0.1.3 1.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 / timeless.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
timeless.scss
778 lines
1 // out: ../timeless.css
2 @import '_common.scss';
3
4 // Chatbot
5 .mwai-timeless-theme {
6 --mwai-spacing: 15px;
7 --mwai-fontSize: 13px;
8 --mwai-lineHeight: 1.5;
9 --mwai-borderRadius: 10px;
10 --mwai-width: 360px;
11 --mwai-maxHeight: 40vh;
12 --mwai-iconTextColor: #FFFFFF;
13 --mwai-iconTextBackgroundColor: #2831dc;
14 --mwai-fontColor: black;
15 --mwai-backgroundPrimaryColor: #fafafa;
16 --mwai-backgroundHeaderColor: linear-gradient(130deg, #2831dc 0%, #09a9f8 100%);
17 --mwai-bubbleColor: #2831dc;
18 --mwai-headerButtonsColor: white;
19 --mwai-conversationsBackgroundColor: white;
20 --mwai-backgroundUserColor: linear-gradient(130deg, #272fdc 0%, #09a9f8 100%);
21 --mwai-backgroundAiColor: #F1F3F7;
22 --mwai-backgroundAiSecondaryColor: #ddd;
23 --mwai-errorBackgroundColor: #6d2f2a;
24 --mwai-errorTextColor: #FFFFFF;
25
26 font-size: var(--mwai-fontSize);
27
28 * {
29 box-sizing: border-box;
30 }
31
32 &.mwai-window .mwai-header {
33 height: 80px;
34 padding: var(--mwai-spacing);
35
36 .mwai-avatar img {
37 width: 48px;
38 height: 48px;
39 }
40
41 .mwai-name {
42 color: white;
43 font-size: 140%;
44 margin-left: calc(var(--mwai-spacing) / 2);
45
46 small {
47 font-size: 75%;
48 display: block;
49 }
50 }
51 }
52
53 .mwai-content {
54 display: flex;
55 background: var(--mwai-backgroundPrimaryColor);
56 font-size: var(--mwai-fontSize);
57 color: var(--mwai-fontColor);
58 border-radius: var(--mwai-borderRadius);
59 flex-direction: column;
60 }
61
62 .mwai-shortcuts {
63 display: flex;
64 flex-direction: column;
65 align-items: flex-end;
66
67 .mwai-shortcut {
68 margin-bottom: 5px;
69 font-size: var(--mwai-fontSize);
70 height: inherit;
71 min-height: inherit;
72 width: inherit;
73 min-width: 90px;
74 border-radius: var(--mwai-borderRadius);
75 padding: 7px 12px;
76 cursor: pointer;
77 display: flex;
78 align-items: center;
79 justify-content: end;
80
81 &.mwai-success {
82 background: #4caf50;
83 color: white;
84 box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
85 }
86
87 &.mwai-danger {
88 background: #f44336;
89 color: white;
90 box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
91 }
92
93 &.mwai-warning {
94 background: #ff9800;
95 color: white;
96 box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
97 }
98
99 &.mwai-info {
100 background: #2196f3;
101 color: white;
102 box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
103 }
104
105 .mwai-icon {
106 margin-right: 5px;
107
108 img {
109 max-height: 16px;
110 width: auto;
111 }
112 }
113
114 &:hover {
115 filter: brightness(1.1);
116 }
117 }
118 }
119
120 .mwai-blocks {
121 display: flex;
122 flex-direction: column;
123 padding: var(--mwai-spacing);
124 border-top: 0.5px solid rgba(0, 0, 0, 0.15);
125 background: var(--mwai-backgroundAiColor);
126
127 .mwai-block {
128 p:first-child {
129 margin-top: 0;
130 }
131 }
132
133 button {
134 cursor: pointer;
135 }
136 }
137
138 .mwai-conversation {
139 display: flex;
140 flex-direction: column;
141 overflow: auto;
142 max-height: var(--mwai-maxHeight);
143 padding: var(--mwai-spacing);
144
145 .mwai-reply {
146 margin-bottom: var(--mwai-spacing);
147 padding: 7px 12px;
148 border-radius: var(--mwai-borderRadius);
149 font-size: var(--mwai-fontSize);
150 color: var(--mwai-fontColor);
151 position: relative;
152
153 .mwai-name,
154 .mwai-name-text {
155 display: none;
156 }
157
158 & * > p {
159 &:first-child {
160 margin-top: 0;
161 }
162 &:last-child {
163 margin-bottom: 0;
164 }
165 }
166
167 &.mwai-ai {
168 align-self: flex-start;
169 background: var(--mwai-backgroundAiColor);
170 }
171
172 &.mwai-user {
173 align-self: flex-end;
174 background: var(--mwai-backgroundUserColor);
175 color: white;
176 }
177 }
178 }
179
180 .mwai-text {
181 flex: auto;
182
183 .mwai-image {
184 display: block;
185 max-width: 250px;
186 height: auto;
187 margin: 0 0 10px 0;
188 border-radius: var(--mwai-borderRadius);
189 }
190
191 .mwai-filename {
192 display: flex;
193 text-decoration: none;
194 border: 1px solid var(--mwai-backgroundPrimaryColor);
195 border-radius: var(--mwai-borderRadius);
196 color: white;
197 padding: 5px 10px;
198 margin-bottom: 10px;
199 }
200
201 > span > p > *:first-child {
202 margin-top: 0;
203 }
204
205 a {
206 color: #2196f3;
207 }
208
209 h1 {
210 font-size: 200%;
211 }
212
213 h2 {
214 font-size: 160%;
215 }
216
217 h3 {
218 font-size: 140%;
219 }
220
221 h4 {
222 font-size: 120%;
223 }
224
225 p {
226 font-size: var(--mwai-fontSize);
227 line-height: var(--mwai-lineHeight);
228
229 code {
230 background: var(--mwai-backgroundAiSecondaryColor);
231 padding: 2px 6px;
232 border-radius: 8px;
233 font-size: calc(var(--mwai-fontSize) * 0.9);
234 font-family: system-ui;
235 }
236 }
237
238 pre {
239 color: var(--mwai-fontColor);
240 border-radius: var(--mwai-borderRadius);
241 break-after: auto;
242 white-space: pre-wrap;
243 max-width: 100%;
244 width: 100%;
245 font-family: system-ui;
246 background: var(--mwai-backgroundAiSecondaryColor);
247 padding: var(--mwai-spacing);
248
249 code {
250 padding: 0 !important;
251 font-family: system-ui;
252 background: var(--mwai-backgroundAiSecondaryColor);
253 }
254 }
255
256 ol {
257 padding: 0;
258 margin: 0 0 0 20px;
259 }
260
261 table {
262 width: 100%;
263 border: 2px solid var(--mwai-backgroundAiSecondaryColor);
264 border-collapse: collapse;
265 }
266
267 thead {
268 background: var(--mwai-backgroundAiSecondaryColor);
269 }
270
271 tr,
272 td {
273 padding: 2px 5px;
274 }
275
276 td {
277 border: 2px solid var(--mwai-backgroundAiSecondaryColor);
278 }
279
280 .mwai-typewriter {
281 display: inline-block;
282
283 > :first-child {
284 margin-top: 0;
285 }
286 }
287
288 > * {
289 &:first-child {
290 margin-top: 0;
291 }
292 &:last-child {
293 margin-bottom: 0;
294 }
295 }
296 }
297
298 button {
299 background: var(--mwai-backgroundUserColor);
300 color: white;
301 border: none;
302 transition: all 0.5s;
303 padding: 7px 12px;
304 border-radius: var(--mwai-borderRadius);
305 }
306
307 .mwai-input {
308 display: flex;
309 align-items: center;
310 width: 100%;
311 border-top: 0.5px solid rgba(0, 0, 0, 0.15);
312 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
313 position: relative;
314
315 .mwai-input-text {
316 flex: auto;
317 position: relative;
318 display: flex;
319 width: 100%;
320 background: var(--mwai-backgroundPrimaryColor);
321 overflow: hidden;
322
323 &.mwai-blocked img {
324 filter: grayscale(100%);
325 opacity: 0.5;
326 }
327
328 &.mwai-dragging {
329 border: 1px dashed var(--mwai-backgroundAiSecondaryColor);
330 }
331
332 textarea {
333 background: var(--mwai-backgroundPrimaryColor);
334 color: var(--mwai-fontColor);
335 flex: auto;
336 border: none;
337 font-size: var(--mwai-fontSize);
338 resize: none;
339 font-family: inherit;
340 margin: 0;
341 overflow: hidden;
342 min-height: inherit;
343 box-shadow: none;
344 outline: none;
345
346 &::placeholder {
347 color: rgba(0, 0, 0, 0.25);
348 }
349 }
350
351 .mwai-microphone {
352 @include microphone;
353 }
354 }
355
356 button {
357 margin-left: var(--mwai-spacing);
358 border-radius: 100%;
359 cursor: pointer;
360 height: 48px;
361 width: 48px;
362 min-width: 48px;
363 min-height: 48px;
364
365 img {
366 width: 24px;
367 height: 24px;
368 margin: auto;
369 display: block;
370 // Black and white and only white
371 filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg) brightness(1000%) contrast(100%);
372 }
373
374 .mwai-timer {
375 margin-left: 5px;
376 margin-right: 5px;
377 font-size: 11px;
378 }
379
380 &:hover {
381 filter: brightness(1.2);
382 }
383 }
384
385 button[disabled]] {
386 cursor: not-allowed;
387 filter: saturate(0%);
388 }
389 }
390
391 $scale: 0.8;
392
393 .mwai-footer {
394 display: flex;
395 align-items: center;
396 border-top: 0.5px solid rgba(0, 0, 0, 0.15);
397 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
398
399 .mwai-tools {
400 margin-right: calc(var(--mwai-spacing) / 2);
401 height: 38px;
402
403 .mwai-file-upload {
404 display: inline-block;
405 }
406
407 .mwai-file-upload-icon {
408 display: inline-block;
409 $icon-size: 32px;
410 $ideal-size: 24px;
411 background: url('icons/white-icons.svg');
412 background-size: 500%; // 5 icons in the row
413 background-position: -0 * $icon-size -3 * $icon-size;
414 width: $icon-size;
415 height: $icon-size;
416 margin-top: calc(var(--mwai-spacing) / 2);
417 z-index: 100;
418 transform: scale($scale);
419 transform-origin: 0 0;
420
421 @include file-upload-icon-sprites;
422 }
423 }
424
425 .mwai-compliance {
426 opacity: 0.50;
427 font-size: 11px;
428 line-height: 11px;
429 color: var(--mwai-fontColor);
430 text-align: left;
431 padding: calc(var(--mwai-spacing) / 2) 0;
432 }
433
434 }
435
436 .mwai-gallery {
437 display: grid;
438 grid-template-columns: repeat(3, 1fr);
439 grid-gap: 5px;
440
441 img {
442 width: 100%;
443 }
444 }
445
446 &.mwai-window {
447 filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
448
449 .mwai-input-submit {
450 margin-right: -36px;
451 margin-left: 0px;
452 }
453
454 @media (max-width: 760px) {
455 .mwai-input-submit {
456 margin-right: inherit;
457 border-radius: 0;
458 }
459 }
460
461 &.mwai-fullscreen {
462 .mwai-input-submit {
463 margin-right: inherit;
464 }
465 }
466 }
467
468 &.mwai-form-container {
469 padding: var(--mwai-spacing);
470 font-size: var(--mwai-fontSize);
471 color: var(--mwai-fontColor);
472 background: var(--mwai-backgroundPrimaryColor);
473 border-radius: var(--mwai-borderRadius);
474
475 fieldset {
476 border: 0;
477 margin: 0;
478 padding: 0;
479 display: flex;
480 flex-direction: column;
481 margin-bottom: 10px;
482
483 input[type="text"]="text""], input[type="email"]="email""], input[type="tel"]="tel""], input[type="url"]="url""], input[type="password"]="password""], input[type="number"]="number""], input[type="date"]="date""], input[type="datetime"]="datetime""], input[type="datetime-local"]="datetime-local""], input[type="month"]="month""], input[type="search"]="search""], input[type="time"]="time""], input[type="week"]="week""], select, textarea {
484 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
485 border: 0;
486 width: 100%;
487 border-radius: var(--mwai-borderRadius);
488 font-size: var(--mwai-fontSize);
489 background: var(--mwai-backgroundAiColor) !important;
490 color: var(--mwai-fontColor);
491 }
492
493 select {
494 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
495 border: 0;
496 width: 100%;
497 border-radius: var(--mwai-borderRadius);
498 font-size: var(--mwai-fontSize);
499 background: var(--mwai-backgroundPrimaryColor);
500 color: var(--mwai-fontColor);
501 }
502
503 textarea {
504 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
505 border: 0;
506 width: 100%;
507 border-radius: var(--mwai-borderRadius);
508 font-family: inherit;
509 font-size: var(--mwai-fontSize);
510 background: var(--mwai-backgroundPrimaryColor);
511 color: var(--mwai-fontColor);
512 }
513
514 input[disabled]], select[disabled]], textarea[disabled]] {
515 opacity: 0.25;
516 }
517 }
518
519 .mwai-form-submit {
520
521 button {
522 height: 45px;
523 background: none;
524 width: 100%;
525 color: white;
526 font-size: var(--mwai-fontSize);
527 background: var(--mwai-backgroundUserColor);
528 border: 1px solid var(--mwai-backgroundPrimaryColor);
529 border-radius: var(--mwai-borderRadius);
530 cursor: pointer;
531 transition: all 0.2s ease-out;
532 position: relative;
533
534 &:hover {
535 filter: brightness(1.2);
536 }
537 }
538
539 button[disabled]] {
540 span {
541 opacity: 0.25;
542 }
543
544 &:hover {
545 filter: brightness(1);
546 cursor: not-allowed;
547 }
548 }
549
550 &.mwai-loading {
551
552 button {
553
554 span {
555 opacity: 0;
556 }
557
558 &::after {
559 content: '';
560 position: absolute;
561 width: 18px;
562 height: 18px;
563 top: 0;
564 left: 0;
565 right: 0;
566 bottom: 0;
567 margin: auto;
568 border: 3px solid transparent;
569 border-top-color: white;
570 border-radius: 50%;
571 animation: mwai-button-spinner 1s ease infinite;
572 }
573 }
574 }
575 }
576
577 .mwai-form-output-container {
578
579 .mwai-form-output {
580 font-size: var(--mwai-fontSize);
581 position: relative;
582 margin-top: var(--mwai-spacing);
583 padding: var(--mwai-spacing);
584 border: 1px solid var(--mwai-backgroundPrimaryColor);
585
586 &.mwai-error {
587 background: var(--mwai-errorBackgroundColor);
588 color: var(--mwai-errorFontColor);
589 }
590
591 & > * {
592 color: var(--mwai-fontColor) !important;
593 }
594
595 & > *:first-child {
596 margin-top: 0;
597 }
598
599 & > *:last-child {
600 margin-bottom: 0;
601 }
602
603 img {
604 max-width: 33%;
605 }
606
607 div {
608 & > *:first-child {
609 margin-top: 0;
610 }
611
612 & > *:last-child {
613 margin-bottom: 0;
614 }
615 }
616 }
617
618 &.mwai-has-content {
619 display: block;
620 }
621 }
622
623 .wp-block-columns {
624 margin: 0;
625 }
626 }
627 }
628
629 // Discussions
630 .mwai-timeless-theme.mwai-discussions {
631 border-radius: var(--mwai-borderRadius);
632 background: var(--mwai-conversationsBackgroundColor);
633 color: var(--mwai-backgroundPrimaryColor);
634 overflow: hidden;
635
636 * {
637 box-sizing: border-box;
638 }
639
640 .mwai-discussion {
641 display: flex;
642 gap: 5px;
643 padding-left: calc(var(--mwai-spacing) / 2);
644 padding-right: calc(var(--mwai-spacing) / 2);
645 padding-bottom: calc(var(--mwai-spacing) / 2);
646 color: var(--mwai-conversationsTextColor);
647 opacity: 0.65;
648 justify-content: space-between;
649 align-items: center;
650
651 .mwai-discussion-title {
652 flex: auto;
653 padding: 5px;
654 }
655
656 .mwai-discussion-actions {
657 display: flex;
658 gap: 1px;
659
660 .mwai-icon {
661 width: 30px;
662 height: 30px;
663 background: var(--mwai-iconTextBackgroundColor);
664 color: var(--mwai-iconTextColor);
665 border-radius: 50%;
666 cursor: pointer;
667 transition: all 0.2s ease-out;
668 display: flex;
669 align-items: center;
670 justify-content: center;
671
672 &:hover {
673 color: white;
674 background: blue;
675
676 &.mwai-danger {
677 background: red;
678 }
679 }
680 }
681 }
682
683 &.mwai-active, &:hover {
684 cursor: pointer;
685
686 .mwai-discussion-title {
687 color: var(--mwai-backgroundPrimaryColor);
688 background: var(--mwai-backgroundHeaderColor);
689 border-radius: var(--mwai-borderRadius);
690 opacity: 1;
691 }
692 }
693
694 &:first-child {
695 margin-top: calc(var(--mwai-spacing) / 2);
696 }
697 }
698
699 .mwai-header {
700 background: var(--mwai-backgroundAiSecondaryColor);
701 padding: var(--mwai-spacing);
702 display: flex;
703 justify-content: space-between;
704 align-items: center;
705 }
706
707 .mwai-content {
708 background: var(--mwai-conversationsBackgroundColor);
709 list-style: none;
710 padding: 0;
711 margin: 0;
712 }
713
714 button {
715 margin-left: 0;
716 }
717 }
718
719 // Common
720 .mwai-timeless-theme {
721 @include common-styles;
722 @include code-light;
723 @include reply-actions;
724 }
725
726 // Common Overrides
727 .mwai-timeless-theme {
728
729 .mwai-reply-actions {
730 top: 5px;
731
732 .mwai-copy-button {
733 padding-top: 4px;
734
735 &:hover {
736 fill: var(--mwai-backgroundPrimaryColor);
737 background: var(--mwai-backgroundUserColor);
738 }
739 }
740 }
741 }
742
743 // Mobile
744 .mwai-timeless-theme {
745
746 @media (max-width: 760px) {
747
748 &.mwai-window {
749 width: calc(100% - 40px);
750 z-index: 9999999999;
751 }
752
753 .mwai-input {
754 flex-direction: column;
755
756 .mwai-input-text {
757 width: 100%;
758 margin-bottom: 10px;
759 }
760
761 .mwai-input-submit {
762 width: 100%;
763 border-radius: var(--mwai-borderRadius);
764 margin-left: 0;
765 height: 24px;
766 min-height: 36px;
767
768 img {
769 width: 16px;
770 height: 16px;
771 }
772 }
773 }
774
775 }
776
777 }
778