-
Notifications
You must be signed in to change notification settings - Fork 0
/
conversational-form-irisblue.css
1216 lines (1172 loc) · 42 KB
/
conversational-form-irisblue.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@charset "UTF-8";
/**
* Source: https://gist.github.com/certainlyakey/e9c0d8f5c87ff47e3d5b
*/
/**
* Source: https://gist.github.com/certainlyakey/e9c0d8f5c87ff47e3d5b
*/
/*
Globals
*/
/*
Response
*/
/*
Input
*/
/*
Globals
*/
/*
Response
*/
/*
Input
*/
.conversational-form {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
visibility: visible !important;
font-family: "Helvetica Neue", "Neue Helvetica W01", Helvetica, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
font-size: 18px;
line-height: 22px;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
z-index: 999;
margin: auto;
background: #fff;
overflow: hidden;
opacity: 0;
will-change: opacity; }
.conversational-form *, .conversational-form *:before, .conversational-form *:after {
box-sizing: border-box;
outline: none; }
.conversational-form:before {
content: "";
width: 100%;
height: 50px;
pointer-events: none;
background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%);
position: absolute;
top: 0px;
left: 0px;
z-index: 2; }
.conversational-form button {
border: none;
background: none;
margin: 0px;
padding: 0px;
outline: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important; }
.conversational-form menu {
padding: 0px;
margin: 0px; }
.conversational-form ul, .conversational-form ol, .conversational-form li {
margin: 0;
padding: 0; }
.conversational-form a, .conversational-form a:active, .conversational-form a:visited {
color: currentColor; }
.conversational-form button, .conversational-form a {
cursor: pointer; }
@media (max-width: 1152px) {
.conversational-form {
font-size: 16px;
line-height: 20px; } }
.conversational-form .conversational-form-inner {
padding: 0px 20px;
position: absolute;
width: 100%;
min-height: 100%;
max-height: 100%;
bottom: 0px;
height: auto;
overflow: hidden;
margin-bottom: auto;
display: flex;
flex-flow: column nowrap;
justify-content: flex-end;
align-items: baseline; }
@media (max-width: 1152px) {
.conversational-form .conversational-form-inner {
padding: 0px 14px; } }
.conversational-form--enable-animation .conversational-form {
transition: opacity 0.1875s cubic-bezier(0.215, 0.61, 0.355, 1); }
.conversational-form * {
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
tap-highlight-color: rgba(255, 255, 255, 0); }
.conversational-form--show {
opacity: 1; }
/*
Globals
*/
/*
Response
*/
/*
Input
*/
cf-info {
position: absolute;
pointer-events: none;
z-index: 0;
left: 0;
top: 25%;
height: auto;
width: 100%;
text-overflow: ellipsis;
padding-right: 20px;
margin-top: 12px;
overflow: hidden;
display: block;
transform: translateY(-115%);
color: black;
opacity: 1;
will-change: opacity;
font-size: 12px; }
cf-info.show {
opacity: 1; }
.conversational-form--enable-animation cf-info.show {
transition: opacity 0.75s cubic-bezier(0.215, 0.61, 0.355, 1); }
/*
Globals
*/
/*
Response
*/
/*
Input
*/
cf-input {
display: block;
position: relative;
width: 100%;
height: auto;
margin-bottom: 20px;
margin-top: 0px;
flex: 0 0 auto;
background: #fff; }
@media (max-width: 1152px) {
cf-input {
margin-bottom: 14px; } }
cf-input .inputWrapper {
position: relative; }
cf-input.animate-in input, cf-input.animate-in textarea {
transition-delay: 0s, 0s, 0s, 0.4s, 0.4s;
opacity: 1;
transform: translateY(0px) rotateX(0deg); }
cf-input.animate-in cf-input-button.cf-input-button {
transition-delay: 0s, 0s 0.75s;
transform: scale(1, 1); }
cf-input input, cf-input textarea {
resize: none;
overflow: hidden;
padding: calc((60px - 4px - 18px)/2) 60px calc((60px - 4px - 18px)/2) calc((60px - 2px - 18px)/2); }
cf-input input, cf-input textarea {
outline: none;
-webkit-appearance: none;
-webkit-touch-callout: auto !important;
-webkit-user-select: auto !important;
-moz-user-select: auto !important;
-ms-user-select: auto !important;
user-select: auto !important;
border-radius: 0px;
border: none;
-webkit-appearance: none;
position: relative;
z-index: 2;
display: block;
font-family: "Helvetica Neue", "Neue Helvetica W01", Helvetica, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
font-size: 18px;
width: 100%;
height: 60px;
min-height: 60px;
color: #4b4f56;
will-change: box-shadow, background, color, transform, opacity;
background: white;
box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.35);
opacity: 0;
transform: translateY(40px) rotateX(-40deg);
transition: all 0.3125s !important; }
cf-input input:-webkit-autofill, cf-input textarea:-webkit-autofill {
background-color: white; }
cf-input input:focus, cf-input input:active, cf-input textarea:focus, cf-input textarea:active {
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
.conversational-form--enable-animation cf-input input, .conversational-form--enable-animation cf-input textarea {
transition: box-shadow 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), background 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), color 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.375s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s, opacity 0.375s cubic-bezier(0.215, 0.61, 0.355, 1) 0s; }
cf-input input:hover::-webkit-input-placeholder, cf-input textarea:hover::-webkit-input-placeholder {
color: #040404; }
cf-input input:hover::-moz-input-placeholder, cf-input textarea:hover::-moz-input-placeholder {
color: #040404; }
cf-input input:hover:-moz-input-placeholder, cf-input textarea:hover:-moz-input-placeholder {
color: #040404; }
cf-input input:hover:-ms-input-placeholder, cf-input textarea:hover:-ms-input-placeholder {
color: #040404; }
cf-input input::-webkit-input-placeholder, cf-input textarea::-webkit-input-placeholder {
color: currentColor; }
cf-input input::-moz-input-placeholder, cf-input textarea::-moz-input-placeholder {
color: currentColor; }
cf-input input:-moz-input-placeholder, cf-input textarea:-moz-input-placeholder {
color: currentColor; }
cf-input input:-ms-input-placeholder, cf-input textarea:-ms-input-placeholder {
color: currentColor; }
cf-input input[no-animations], cf-input textarea[no-animations] {
transition: none !important; }
cf-input input[rows='1'], cf-input textarea[rows='1'] {
min-height: 60px !important; }
cf-input input:not([rows="1"]), cf-input textarea:not([rows="1"]) {
transition-delay: 0.9s !important; }
cf-input input[rows="2"], cf-input textarea[rows="2"] {
min-height: 80px !important; }
cf-input input[rows="3"], cf-input textarea[rows="3"] {
min-height: 100px !important; }
cf-input input[rows="4"], cf-input textarea[rows="4"] {
min-height: 120px !important; }
cf-input input[rows="5"], cf-input textarea[rows="5"] {
min-height: 140px !important; }
cf-input input[rows="6"], cf-input textarea[rows="6"] {
min-height: 160px !important; }
cf-input.hide-input input, cf-input.hide-input textarea {
display: none; }
cf-input.hide-input cf-input-button {
display: none; }
cf-input[disabled="disabled"] {
pointer-events: none; }
cf-input[disabled="disabled"] input, cf-input[disabled="disabled"] textarea {
background: rgba(232, 233, 235, 0.5); }
cf-input[disabled="disabled"] .cf-input-button {
background: rgba(232, 233, 235, 0.75); }
cf-input cf-icon-audio-eq {
display: block;
border: 0px solid grey;
border-color: #00c2df;
width: 100%;
height: 100%;
border-radius: 50%;
z-index: 0;
position: absolute;
top: 0px;
left: 0px; }
cf-input[error] {
pointer-events: none; }
cf-input[error] input, cf-input[error] textarea {
background: #ffebe9;
color: #fe8d84; }
cf-input[error] .cf-input-button {
background: #ffebe9; }
cf-input[error] .cf-input-button svg polygon {
fill: #fe8d84; }
cf-input[message] input, cf-input[message] textarea {
background: #00c2df;
color: #13e0ff; }
cf-input[message] .cf-input-button {
background: #00c2df; }
cf-input[message] .cf-input-button svg polygon {
fill: #13e0ff; }
cf-input[tag-type="file"] cf-input-button.cf-input-button.loading:after {
content: "";
display: block;
position: relative;
left: calc(50% - (60px / 4));
top: calc(50% - (60px / 4));
width: 30px;
height: 30px;
border: 1px solid #b9bcbe;
border-radius: 50%;
border-left: 0;
border-top: 0;
animation: cf-spin 1s linear infinite;
will-change: opacity; }
.conversational-form--enable-animation cf-input[tag-type="file"] cf-input-button.cf-input-button.loading:after {
transition: opacity 0.375s cubic-bezier(0.215, 0.61, 0.355, 1); }
cf-input[tag-type="file"] cf-input-button.cf-input-button div.cf-icon-attachment {
transform: rotateX(0deg);
opacity: 1; }
cf-input[tag-type="file"] cf-input-button.cf-input-button div.cf-icon-progress {
transform: rotateX(-90deg);
opacity: 0; }
cf-input-button.cf-input-button {
width: 60px;
height: 100%;
background: #00c2df;
position: absolute;
overflow: hidden;
right: 0;
bottom: 0;
z-index: 3;
cursor: pointer;
border-radius: 0;
will-change: background, border;
transform-origin: 50% 50%;
transform: scale(0, 0);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
border: none; }
.conversational-form--enable-animation cf-input-button.cf-input-button {
transition: background 0.375s cubic-bezier(0.215, 0.61, 0.355, 1), border 0.375s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.375s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s; }
cf-input-button.cf-input-button .cf-input-icons.cf-microphone {
transform: scale(0, 0);
pointer-events: none; }
cf-input-button.cf-input-button.microphone-interface .cf-input-icons {
transform-origin: 50% 50%;
transform: scale(1, 1) rotateX(0deg) translateZ(0px);
transition: transform 0.375s cubic-bezier(0.215, 0.61, 0.355, 1); }
cf-input-button.cf-input-button.microphone-interface .cf-input-icons:not(.cf-microphone) {
pointer-events: none;
transform: scale(0.25, 0.25) rotateX(90deg) translateZ(0px); }
cf-input-button.cf-input-button.microphone-interface .cf-input-icons.cf-microphone {
pointer-events: auto;
transform: scale(1, 1) rotateX(0deg) translateZ(0px); }
cf-input-button.cf-input-button.microphone-interface.loading:not(.typing) {
pointer-events: none; }
cf-input-button.cf-input-button.microphone-interface.loading:not(.typing) .cf-microphone div.cf-icon-audio {
opacity: 1; }
cf-input-button.cf-input-button.microphone-interface.typing .cf-input-icons:not(.cf-microphone) {
pointer-events: auto;
transform: scale(1, 1) rotateX(0deg) translateZ(0px); }
cf-input-button.cf-input-button.microphone-interface.typing .cf-input-icons.cf-microphone {
transform: scale(0.25, 0.25) rotateX(90deg) translateZ(0px);
pointer-events: none; }
cf-input-button.cf-input-button .cf-input-icons {
position: absolute;
z-index: 1;
pointer-events: none;
width: 100%;
height: 100%; }
cf-input-button.cf-input-button .cf-input-icons > div {
width: 100%;
height: 100%;
position: absolute;
z-index: 1;
background-repeat: no-repeat;
background-position: 50% 50%;
transform-origin: 50% 50%;
will-change: transform, opacity; }
.conversational-form--enable-animation cf-input-button.cf-input-button .cf-input-icons > div {
transition: transform 0.375s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.375s cubic-bezier(0.215, 0.61, 0.355, 1); }
cf-input-button.cf-input-button div.cf-icon-attachment {
transform: rotateX(90deg);
opacity: 0;
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12px' height='16px' viewBox='0 0 12 16' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg transform='translate%28-573.000000, -605.000000%29' stroke='%23E8E9EB'%3E%3Cg transform='translate%2884.000000, 136.000000%29'%3E%3Cg transform='translate%281.000000, 456.000000%29'%3E%3Cpath d='M499,23.1092437 L499,18.907563 C499,16.2016807 496.756849,14 494,14 C491.243151,14 489,16.2016807 489,18.907563 L489,24.5042017 C489,26.4369748 490.592466,28 492.561644,28 C494.530822,28 496.123288,26.4369748 496.123288,24.5042017 L496.123288,18.907563 C496.140411,17.7478992 495.181507,16.8067227 494,16.8067227 C492.818493,16.8067227 491.859589,17.7478992 491.859589,18.907563 L491.859589,23.1092437'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
background-size: 18px 24px; }
cf-input-button.cf-input-button div.cf-icon-progress {
transform: rotateX(0deg);
opacity: 1;
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='30px' height='30px' viewBox='0 0 30 30' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E8E9EB'%3E%3Cpolygon transform='translate%2815.500000, 15.500000%29 rotate%2890.000000%29 translate%28-15.500000, -15.500000%29 ' points='22 14.6875 12.111875 14.6875 16.6496875 10.1496875 15.5 9 9 15.5 15.5 22 16.6496875 20.8503125 12.111875 16.3125 22 16.3125'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
background-size: 45px 45px; }
cf-input-button.cf-input-button div.cf-icon-audio {
transform: rotateX(0deg);
opacity: 1;
background-image: url("data:image/svg+xml;charset=UTF-8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0%29 --%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='512px' height='512px' fill='%23E8E9EB' viewBox='0 0 512 512' enable-background='new 0 0 512 512' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M256,320c37.712,0,68.571-30.924,68.571-68.714V100.714C324.571,62.924,293.712,32,256,32s-68.571,30.924-68.571,68.714 v150.572C187.429,289.076,218.288,320,256,320z M377.139,244.548c0,68.714-58.282,116.815-121.139,116.815 s-121.139-48.102-121.139-116.815H96c0,77.873,61.719,143.153,137.144,153.465V480h45.713v-81.987 C354.281,386.561,416,322.421,416,244.548H377.139z'/%3E%3C/g%3E%3C/svg%3E ");
background-size: 39px 39px; }
cf-input-button.cf-input-button:active {
opacity: 0.2; }
cf-input-button.cf-input-button:hover, cf-input-button.cf-input-button:focus {
background: #00c2df;
border: 0; }
cf-input-button.cf-input-button:hover:after, cf-input-button.cf-input-button:focus:after {
opacity: 0; }
@media (min-width: 1152px) {
cf-input-button.cf-input-button:hover .cf-icon-progress, cf-input-button.cf-input-button:focus .cf-icon-progress {
animation: cf-arrow-up 0.75s cubic-bezier(0.645, 0.045, 0.355, 1); } }
/**
* Show submit button for groups when input is hidden
*/
cf-input[tag-type="file"] cf-input-button.cf-input-button,
cf-input[tag-type="group"] cf-input-button.cf-input-button,
cf-input[tag-type="select"] cf-input-button.cf-input-button {
height: 60px; }
cf-input[tag-type="file"].hide-input cf-input-button,
cf-input[tag-type="group"].hide-input cf-input-button,
cf-input[tag-type="select"].hide-input cf-input-button {
display: block;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto; }
cf-input[tag-type="file"].hide-input cf-input-control-elements,
cf-input[tag-type="group"].hide-input cf-input-control-elements,
cf-input[tag-type="select"].hide-input cf-input-control-elements {
margin-bottom: 60px; }
cf-input[error=""].hide-input cf-input-button .cf-icon-progress {
filter: saturate(0);
animation: shake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
@keyframes shake {
10%, 90% {
transform: translate3d(-1px, 0, 0); }
20%, 80% {
transform: translate3d(1px, 0, 0); }
30%, 50%, 70% {
transform: translate3d(-2px, 0, 0); }
40%, 60% {
transform: translate3d(2px, 0, 0); } }
@keyframes cf-spin {
0% {
transform: rotate(0deg); }
100% {
transform: rotate(360deg); } }
@keyframes cf-arrow-up {
0% {
transform: translateY(0px); }
40% {
transform: translateY(-40px); }
40.001% {
transform: translateY(40px); }
80% {
transform: translateY(-5px); }
90% {
transform: translateY(2px); }
100% {
transform: translateY(0px); } }
/*
Globals
*/
/*
Response
*/
/*
Input
*/
cf-input-control-elements.animate-in cf-list-button {
opacity: 1; }
cf-input-control-elements.hide-nav-buttons cf-list-button {
pointer-events: none; }
cf-input-control-elements.hide-nav-buttons cf-list-button:after {
opacity: 0; }
cf-list-button {
display: block;
position: absolute;
z-index: 2;
height: calc(100% - 16px);
width: 38px;
cursor: pointer;
opacity: 0;
pointer-events: none;
will-change: opacity; }
.conversational-form--enable-animation cf-list-button {
transition: opacity 0.75s cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s; }
@media (min-width: 1152px) {
cf-list-button:hover:nth-child(1) {
background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, white 75%); }
cf-list-button:hover:nth-child(1):after {
animation: cf-arrow-left 0.75s cubic-bezier(0.645, 0.045, 0.355, 1); }
cf-list-button:hover:nth-child(2) {
background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 75%); }
cf-list-button:hover:nth-child(2):after {
animation: cf-arrow-right 0.75s cubic-bezier(0.645, 0.045, 0.355, 1); } }
cf-list-button.cf-gradient:before {
opacity: 1; }
cf-list-button.active {
pointer-events: auto; }
cf-list-button.active:after {
opacity: 1; }
cf-list-button:active:after {
visibility: hidden; }
cf-list-button:nth-child(1) {
left: 0px; }
cf-list-button:nth-child(1):before {
background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, white 100%); }
cf-list-button:nth-child(1):after {
background-image: url("data:image/svg+xml;charset=UTF-8,%3c?xml version='1.0' encoding='UTF-8' standalone='no'?%3e%3csvg viewBox='0 0 6 10' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cg stroke='none' stroke-width='1' fill='%23000000' fill-rule='evenodd'%3e%3cg transform='translate%28-1230.000000, -567.000000%29' %3e%3cg transform='translate%28738.000000, 178.000000%29'%3e%3cg transform='translate%280.000000, 340.000000%29'%3e%3cg transform='translate%28466.000000, 0.000000%29'%3e%3cpolygon transform='translate%2829.000000, 54.000000%29 rotate%28-180.000000%29 translate%28-29.000000, -54.000000%29 ' points='26 50.1538462 27.125 49 32 54 27.125 59 26 57.8461538 29.75 54'%3e%3c/polygon%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e"); }
cf-list-button:nth-child(2) {
right: 0px; }
cf-list-button:nth-child(2):before {
background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 100%); }
cf-list-button:nth-child(2):after {
background-image: url("data:image/svg+xml;charset=UTF-8,%3c?xml version='1.0' encoding='UTF-8' standalone='no'?%3e%3csvg viewBox='0 0 6 10' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cg stroke='none' stroke-width='1' fill='%23000000' fill-rule='evenodd'%3e%3cg transform='translate%28-1230.000000, -567.000000%29'%3e%3cg transform='translate%28738.000000, 178.000000%29'%3e%3cg transform='translate%280.000000, 340.000000%29'%3e%3cg transform='translate%28466.000000, 0.000000%29'%3e%3cpolygon points='26 50.1538462 27.125 49 32 54 27.125 59 26 57.8461538 29.75 54'%3e%3c/polygon%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e"); }
cf-list-button:before {
content: "";
display: block;
width: 100%;
height: 100%;
opacity: 0;
will-change: opacity; }
.conversational-form--enable-animation cf-list-button:before {
transition: opacity 0.75s cubic-bezier(0.215, 0.61, 0.355, 1); }
cf-list-button:after {
content: "";
display: block;
width: 6px;
height: 10px;
position: absolute;
background-size: 6px 10px;
background-repeat: no-repeat;
top: calc(50% - 5px);
left: calc(50% - 3px);
opacity: 0;
will-change: opacity; }
.conversational-form--enable-animation cf-list-button:after {
transition: opacity 0.375s cubic-bezier(0.215, 0.61, 0.355, 1); }
@keyframes cf-arrow-right {
0% {
transform: translateX(0px);
opacity: 1; }
40% {
transform: translateX(20px);
opacity: 0; }
40.001% {
transform: translateX(-20px);
opacity: 0; }
80% {
transform: translateX(4px);
opacity: 1; }
90% {
transform: translateX(-2px);
opacity: 1; }
100% {
transform: translateX(0px);
opacity: 1; } }
@keyframes cf-arrow-left {
0% {
transform: translateX(0px);
opacity: 1; }
40% {
transform: translateX(-20px);
opacity: 0; }
40.001% {
transform: translateX(20px);
opacity: 0; }
80% {
transform: translateX(-4px);
opacity: 1; }
90% {
transform: translateX(2px);
opacity: 1; }
100% {
transform: translateX(0px);
opacity: 1; } }
.cf-progressBar {
background-color: white;
width: 100%;
height: 3px;
z-index: 999;
position: absolute;
top: 0;
left: 0;
opacity: 0;
transition: opacity .5s ease-in-out;
will-change: opacity; }
.cf-progressBar.show {
opacity: 1; }
.cf-progressBar .bar {
width: 0;
height: 100%;
background-color: #00c2df;
transition: width .3s ease-in-out;
will-change: width; }
/*
Globals
*/
/*
Response
*/
/*
Input
*/
cf-chat {
display: block;
width: 100%;
height: auto;
min-height: 100%;
overflow: hidden;
display: flex;
flex-flow: column nowrap;
justify-content: flex-end;
align-items: baseline;
margin-bottom: -10px; }
cf-chat scrollable {
width: calc(100% + 40px);
padding-right: 40px;
max-height: 100%;
min-height: 40px;
flex-grow: 1;
display: flex;
flex-direction: column-reverse;
/* 'column' for start, 'column-reverse' for end */
overflow-y: scroll; }
@supports (-ms-ime-align: auto) {
cf-chat scrollable {
overflow: hidden; } }
cf-chat .scrollableInner {
position: relative;
display: flex;
flex: 0 0 auto;
flex-direction: column;
padding-bottom: 10px;
padding-top: 40px;
overflow: hidden; }
cf-chat .scrollableInner.scroll {
flex: 1 1 auto;
height: 100%;
overflow-y: scroll;
margin-bottom: 20px; }
@supports (-ms-ime-align: auto) {
cf-chat .scrollableInner.scroll {
margin-right: -16px; } }
/*
Globals
*/
/*
Response
*/
/*
Input
*/
.conversational-form.done cf-chat-response {
pointer-events: none; }
cf-chat-response {
max-width: 90%;
min-width: 120px;
position: relative;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
padding-left: 62px;
margin-top: 8px;
color: #33363b;
margin-left: 0px;
margin-right: auto;
word-break: break-all;
display: flex;
flex-shrink: 0;
flex-grow: 1;
position: absolute;
visibility: hidden;
will-change: height;
transition: height 0.3375s cubic-bezier(0.215, 0.61, 0.355, 1);
padding-bottom: 12px; }
@media (min-width: 1152px) {
cf-chat-response {
max-width: 70%; } }
@media (max-width: 1152px) {
cf-chat-response {
padding-left: 47.71429px; } }
cf-chat-response.show {
position: relative;
visibility: visible; }
cf-chat-response.can-edit {
cursor: pointer; }
cf-chat-response.can-edit:hover text > p {
background: #009fb6; }
cf-chat-response.user {
justify-content: flex-end;
margin-right: 0px;
margin-left: auto;
padding-left: 0;
padding-right: calc(50px + 14px);
color: white; }
@media (max-width: 1152px) {
cf-chat-response.user {
padding-right: 47.71429px; } }
cf-chat-response.user thumb {
left: auto;
right: 0px; }
cf-chat-response.user text > p {
background: #00c2df;
border-radius: 24px 0px 24px 24px;
margin-right: 0px;
margin-left: auto; }
cf-chat-response.user.peak-thumb thumb {
transform: scale(1, 1) translateY(0px);
opacity: 1; }
.conversational-form--enable-animation cf-chat-response.user.peak-thumb thumb {
transition-delay: 0.2s, 0.2s, 0.2s; }
cf-chat-response.robot.peak-thumb thumb {
transform: scale(1, 1) translateY(0px);
opacity: 1; }
.conversational-form--enable-animation cf-chat-response.robot.peak-thumb thumb {
transition-delay: 0.2s, 0.2s, 0.2s; }
cf-chat-response.disabled {
pointer-events: none;
color: #6e747f; }
cf-chat-response.disabled text {
background: #dffbff; }
cf-chat-response[thinking] text thinking {
display: block; }
cf-chat-response text {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
display: inline-block;
position: relative;
min-height: 40px;
height: auto;
white-space: pre-wrap;
word-break: normal; }
cf-chat-response text > div {
display: inline-block; }
cf-chat-response text thinking span:nth-child(1) {
animation-delay: 0.66667 s; }
cf-chat-response text thinking span:nth-child(2) {
animation-delay: 1.33333 s; }
cf-chat-response text thinking span:nth-child(3) {
animation-delay: 2 s; }
cf-chat-response text strong {
font-weight: 900; }
cf-chat-response text > p {
display: inline-block;
margin: 0px;
padding: 0px;
background: #e8e9eb;
padding: 14px 21px 14px 21px;
border-radius: 0px 24px 24px 24px;
transition: background 0.375s cubic-bezier(0.215, 0.61, 0.355, 1); }
@media (max-width: 1152px) {
cf-chat-response text > p {
padding: 9px 17px 11px 17px; } }
.conversational-form--enable-animation cf-chat-response text > p {
will-change: transform,opacity;
transform: scale(0, 0) translateY(30px);
opacity: 0; }
.conversational-form--enable-animation cf-chat-response text > p.show {
animation: moveIn 0.2625s forwards 0.375s cubic-bezier(0.215, 0.61, 0.355, 1); }
cf-chat-response text > p.hasImage {
padding: 0;
overflow: hidden;
background: none; }
cf-chat-response text > p.hasImage img {
margin: 0;
padding: 0; }
cf-chat-response text > p.hasImage > span {
display: block;
padding: 5px 6px 6px 18px;
background: #00c2df; }
cf-chat-response text > p:not(:only-child) {
border-radius: 0px 24px 24px 0px; }
cf-chat-response text > p:not(:only-child):first-child {
border-radius: 24px 24px 24px 0px; }
cf-chat-response text > p:not(:only-child):last-child {
border-radius: 0px 24px 24px 24px; }
cf-chat-response text > p:not(:only-child):not(:first-child) {
margin-top: 6px; }
cf-chat-response text > p > img {
max-width: 140px;
padding-bottom: 8px;
width: 100%;
height: auto;
display: block;
margin-bottom: 6px; }
cf-chat-response text:after {
content: "";
display: block;
position: absolute;
top: 50%;
left: 30px;
transform: translateY(-50%);
padding-right: 30px; }
cf-chat-response text thinking {
position: relative;
display: table;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
display: none;
transform-origin: 0% 50%;
transform: scale(1.5); }
cf-chat-response text thinking span:nth-child(1) {
animation: dot-fade 1s linear 0.33333 s infinite; }
cf-chat-response text thinking span:nth-child(2) {
animation: dot-fade 1s linear 0.66667 s infinite; }
cf-chat-response text thinking span:nth-child(3) {
animation: dot-fade 1s linear 1 s infinite; }
cf-chat-response text svg.cf-icon-file {
width: 15px;
height: auto;
display: inline-block;
margin-right: 11px; }
cf-chat-response text svg.cf-icon-file g {
fill: #e8e9eb; }
cf-chat-response thumb {
position: absolute;
top: 0px;
left: 0px;
display: block;
width: 50px;
height: 50px;
border-radius: 50%;
background: #e8e9eb;
background-size: 100%;
background-repeat: no-repeat;
background-position: 50% 50%;
opacity: 0;
overflow: hidden;
transform-origin: 50% 50%;
transform: scale(0.001, 0.001) translateY(50px);
will-change: transform, opacity; }
@media (max-width: 1152px) {
cf-chat-response thumb {
width: 39.68254px;
height: 39.68254px; } }
.conversational-form--enable-animation cf-chat-response thumb {
transition: transform 0.2625s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.375s cubic-bezier(0.215, 0.61, 0.355, 1); }
cf-chat-response thumb > span {
display: block;
line-height: 36px;
text-align: center;
font-weight: bold;
font-size: 14.4px; }
cf-chat-response thumb > span[length="1"] {
font-size: 28.8px; }
cf-chat-response thumb > span[length="3"] {
font-size: 11.88px; }
@keyframes dot-fade {
0% {
opacity: 1; }
15.1111% {
opacity: 0; }
33.333% {
opacity: 1; }
100% {
opacity: 1; } }
@keyframes bounce {
0% {
transform: scale(1, 1);
opacity: 1; }
50% {
transform: scale(1.05, 1.05);
opacity: 0.85; }
100% {
transform: scale(1, 1);
opacity: 1; } }
@keyframes moveIn {
0% {
transform: scale(1, 1) translateY(60px);
opacity: 0; }
100% {
transform: scale(1, 1) translateY(0px);
opacity: 1; } }
/*
Globals
*/
/*
Response
*/
/*
Input
*/
cf-input-control-elements {
width: auto;
height: auto;
overflow: hidden;
display: block;
position: relative;
z-index: 0;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
visibility: hidden;
height: auto;
padding-top: 10px;
padding-bottom: 10px; }
cf-input-control-elements .cf-button {
margin-bottom: 10px;
display: inline-block; }
cf-input-control-elements .cf-button.hide {
display: none; }
cf-input-control-elements.resized {
visibility: visible;
height: auto; }
cf-input-control-elements.one-row cf-list {
height: auto; }
cf-input-control-elements.one-row cf-list-button {
opacity: 0; }
cf-input-control-elements.two-row cf-list {
white-space: normal;
height: auto; }
cf-input-control-elements.animate-in cf-list:last-of-type {
min-height: 56px; }
cf-input-control-elements.two-row.animate-in cf-list:last-of-type {
min-height: 112px; }
cf-list, cf-list-button {
will-change: height; }
.conversational-form--enable-animation cf-list, .conversational-form--enable-animation cf-list-button {
transition: height 0.375s cubic-bezier(0.215, 0.61, 0.355, 1); }
cf-input[tag-type="file"] cf-list {
cursor: default; }
cf-input[tag-type="file"] cf-input-control-elements {
margin-bottom: 0; }
cf-list {
display: block;
height: auto;
cursor: move;
white-space: nowrap; }
cf-list.disabled {
pointer-events: none; }
/*
Globals
*/
/*
Response
*/
/*
Input
*/
.cf-button {
background: #fff;
cursor: pointer;
border: 1px solid #00c2df;
border-radius: calc(24px * .88);
color: #00c2df;
line-height: 1;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
transform: translateZ(0px);
font-size: 16px;
transform-origin: 0% 100%;
will-change: opacity, background;
opacity: 0; }
@media (max-width: 1152px) {
.cf-button {
font-size: 14px; } }
.cf-button > div {
position: relative;
margin: 12px 22px; }
@media (max-width: 1152px) {
.cf-button > div {
margin: 10px 22px; } }
.cf-button.has-image {
max-width: 160px; }
@media (max-width: 1152px) {
.cf-button.has-image {
max-width: 132px; } }
.cf-button.has-image > div {
margin: 8px 22px 10px 22px; }
.conversational-form--enable-animation .cf-button {
transition: opacity 0s cubic-bezier(0.215, 0.61, 0.355, 1), background 0.75s cubic-bezier(0.215, 0.61, 0.355, 1); }
.cf-button.animate-in {
opacity: 1; }
.conversational-form--enable-animation .cf-button.animate-in {
transition-duration: 0.375s, 0.75s;
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1), cubic-bezier(0.215, 0.61, 0.355, 1); }
.conversational-form--enable-animation .cf-button.animate-in:nth-child(even) {
transition-delay: 0.05s, 0s; }
.conversational-form--enable-animation .cf-button.animate-in:nth-child(odd) {
transition-delay: 0.15s, 0s; }
.cf-button.animate-in.animate-out {
transform-origin: 75% 100%;
opacity: 0; }
.cf-button:not(:last-child) {
margin-right: 10px; }
.cf-button:hover, .cf-button:hover:not([checked="checked"]), .cf-button:focus, .cf-button:focus:not([checked="checked"]) {
background: #00c2df;
color: #e8e9eb; }
.cf-button[selected="selected"]:not(:focus):not(:hover):not(.highlight), .cf-button[checked="checked"]:not(:focus):not(:hover):not(.highlight) {
color: #e8e9eb;
background: #00c2df; }
.cf-button[disabled="disabled"] {
pointer-events: none; }
.cf-button[disabled="disabled"].animate-in {
opacity: 0.5; }
.cf-button:active > div {
opacity: 0.2; }
.cf-button .cf-image {
width: 100%;