@xapp/form-widget 1.63.1 → 1.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -1,811 +1 @@
1
- @font-face {
2
- font-family: RobotoRegular;
3
- font-style: normal;
4
- font-weight: 400;
5
- font-display: swap;
6
- src: local("Roboto"), local("Roboto-Regular"), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2) format("woff2");
7
- }
8
- .xapp-search {
9
- font-family: RobotoRegular, serif;
10
- }
11
-
12
- .xapp-search-widget {
13
- display: flex;
14
- flex-direction: column;
15
- border: var(--xapp-search-widget-border-style, solid) var(--xapp-search-widget-border-width, 1px) var(--xapp-search-widget-border-color, var(--xapp-search-accent-color, #d3d3df));
16
- background: #f4f8fd;
17
- border-radius: var(--xapp-search-widget-border-radius, 17.5px);
18
- overflow: hidden;
19
- max-width: 100%;
20
- max-height: 100%;
21
- box-sizing: border-box;
22
- position: relative;
23
- }
24
- .xapp-search-widget__content {
25
- display: flex;
26
- flex-direction: column;
27
- border-top: var(--xapp-search-widget-border-style, solid) var(--xapp-search-widget-border-width, 1px) var(--xapp-search-widget-border-color, var(--xapp-search-accent-color, #d3d3df));
28
- max-height: 100%;
29
- min-height: 128px;
30
- overflow: hidden;
31
- width: 500px;
32
- }
33
- .xapp-search-widget__response {
34
- padding-top: 1em;
35
- }
36
- .xapp-search-widget__spinner {
37
- width: 100px;
38
- height: 100px;
39
- margin: auto;
40
- padding: 20px;
41
- }
42
- .xapp-search-widget__close {
43
- position: absolute;
44
- top: 4px;
45
- right: 4px;
46
- width: 24px;
47
- height: 24px;
48
- border-radius: 50%;
49
- display: flex;
50
- align-items: center;
51
- justify-content: center;
52
- color: #dadad9;
53
- cursor: pointer;
54
- font-weight: bold;
55
- border: 1px solid;
56
- background: inherit;
57
- z-index: 1000;
58
- }
59
- .xapp-search-widget__close:hover {
60
- background-color: #a0a1c5;
61
- }
62
-
63
- .xapp-search-suggestions-container {
64
- position: absolute;
65
- top: 74px;
66
- left: 0;
67
- width: 100%;
68
- background-color: #f4f8fd;
69
- border: var(--xapp-search-widget-border-style, solid) var(--xapp-search-widget-border-width, 1px) var(--xapp-search-widget-border-color, var(--xapp-search-accent-color, #d3d3df));
70
- border-radius: 0 0 var(--xapp-search-widget-border-radius, 17.5px) var(--xapp-search-widget-border-radius, 17.5px);
71
- }
72
-
73
- .xapp-search-modal {
74
- position: fixed;
75
- top: 16px;
76
- left: 0;
77
- right: 0;
78
- bottom: 0;
79
- display: flex;
80
- flex-direction: column;
81
- align-items: center;
82
- padding: 48px;
83
- z-index: 1000;
84
- }
85
- @media (max-width: 640px) {
86
- .xapp-search-modal {
87
- padding-left: 24px;
88
- padding-right: 24px;
89
- }
90
- }
91
- @media (max-height: 640px) {
92
- .xapp-search-modal {
93
- padding-bottom: 24px;
94
- }
95
- }
96
- .xapp-search-modal__backdrop {
97
- position: absolute;
98
- top: 0;
99
- left: 0;
100
- right: 0;
101
- bottom: 0;
102
- z-index: -1;
103
- background: rgba(0, 0, 0, 0.4);
104
- }
105
- .xapp-search-modal__body {
106
- box-sizing: border-box;
107
- max-width: 100%;
108
- max-height: 100%;
109
- overflow: hidden;
110
- display: flex;
111
- flex-direction: column;
112
- }
113
-
114
- body.xapp-search-opened {
115
- overflow: hidden;
116
- }
117
-
118
- .xapp-search-input {
119
- position: relative;
120
- color: #061739;
121
- display: flex;
122
- flex-direction: row;
123
- align-items: center;
124
- width: 600px;
125
- }
126
- .xapp-search-input-value {
127
- flex: 1 1 auto;
128
- font-size: 28px;
129
- color: #061739;
130
- }
131
- .xapp-search-input-value__input {
132
- padding: 21px 12px;
133
- min-height: 70px;
134
- }
135
- .xapp-search-input-value input {
136
- width: 100% !important;
137
- }
138
- .xapp-search-input__btn {
139
- flex: 0 0 70px;
140
- height: 15px;
141
- padding: 17.5px;
142
- box-sizing: border-box;
143
- margin: 10px;
144
- display: flex;
145
- align-items: center;
146
- justify-content: center;
147
- }
148
- .xapp-search-input__cancel {
149
- flex: 0 0 auto;
150
- background: none;
151
- border: none;
152
- padding: 0 16px 0 0;
153
- cursor: pointer;
154
- font-size: 16px;
155
- color: inherit;
156
- }
157
-
158
- .pulsate {
159
- animation: pulsate 1s infinite;
160
- background-color: #e585a8 !important;
161
- border-radius: 50%;
162
- }
163
-
164
- @keyframes pulsate {
165
- 0% {
166
- transform: scale(1);
167
- }
168
- 50% {
169
- transform: scale(1.2);
170
- }
171
- 100% {
172
- transform: scale(1);
173
- }
174
- }
175
- .xapp-chat-button {
176
- position: fixed;
177
- top: 25px;
178
- left: 220px;
179
- cursor: pointer;
180
- margin-top: var(--xapp-chat-button-margin-top, var(--xapp-widget-margin-top, 16px));
181
- margin-right: var(--xapp-chat-button-margin-right, var(--xapp-widget-margin-right, 16px));
182
- margin-bottom: var(--xapp-chat-button-margin-bottom, var(--xapp-widget-margin-bottom, 16px));
183
- margin-left: var(--xapp-chat-button-margin-left, var(--xapp-widget-margin-left, 16px));
184
- display: block;
185
- opacity: 1;
186
- animation: widget-show-grow 0.5s backwards;
187
- width: 75px;
188
- height: 75px;
189
- z-index: var(--xapp-widget-z-index, 1000);
190
- background-color: transparent;
191
- padding: 0;
192
- border-width: 0px;
193
- }
194
- .xapp-chat-button.visible {
195
- animation: widget-hide-shrink 0.5s forwards;
196
- }
197
- .xapp-chat-button:focus-visible {
198
- outline: none;
199
- box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.3);
200
- }
201
- .xapp-chat-button__btn {
202
- position: absolute;
203
- width: 70px;
204
- height: 70px;
205
- border-radius: 35px;
206
- border: 2px solid rgb(255, 255, 255);
207
- background-color: var(--xapp-chat-button-background, #2f7ddd);
208
- box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);
209
- left: 50% !important;
210
- top: 50% !important;
211
- transform: translate(-50%, -50%);
212
- }
213
- .xapp-chat-button__btn svg {
214
- display: block;
215
- margin: auto;
216
- height: 100%;
217
- }
218
- .xapp-chat-button__cta {
219
- position: absolute;
220
- bottom: 56px;
221
- right: 24px;
222
- white-space: nowrap;
223
- font-size: 16px;
224
- font-family: RobotoRegular, serif;
225
- }
226
-
227
- .xapp-chat-button:hover {
228
- background: transparent !important;
229
- }
230
-
231
- .xapp-search-response {
232
- padding: 0 10px;
233
- overflow: auto;
234
- }
235
-
236
- .xapp-search-icon-button {
237
- border: none;
238
- background: none;
239
- cursor: pointer;
240
- padding: 0;
241
- display: flex;
242
- align-items: center;
243
- }
244
-
245
- .xapp-search-icon-button svg {
246
- display: block;
247
- margin: auto;
248
- height: 100%;
249
- }
250
-
251
- .xapp-search-icon-button__content {
252
- display: flex;
253
- width: 100%;
254
- }
255
-
256
- .xapp-search-icon-button:focus-visible {
257
- outline: none;
258
- filter: invert(100%);
259
- }
260
-
261
- @media screen and (max-width: 640px) {
262
- .xapp-search-icon-button {
263
- box-sizing: border-box;
264
- padding: 12px;
265
- min-height: 44px;
266
- min-width: 44px;
267
- }
268
- }
269
- .xappw-message-bubble {
270
- border-radius: 10px;
271
- padding: 10px;
272
- background: var(--xapp-bubble-background, #fff);
273
- }
274
-
275
- .xapp-search-rich-text {
276
- display: inline-block;
277
- max-width: 100%;
278
- overflow: hidden;
279
- white-space: pre-wrap;
280
- }
281
-
282
- .xappw-rich-input__input {
283
- display: block !important;
284
- width: calc(100% - 50px) !important;
285
- height: 37px;
286
- border: none !important;
287
- outline: none !important;
288
- box-sizing: border-box !important;
289
- margin: 0 !important;
290
- font-size: inherit !important;
291
- line-height: inherit;
292
- color: inherit !important;
293
- background-color: inherit !important;
294
- }
295
-
296
- .xappw-rich-input__input:focus {
297
- color: inherit !important;
298
- }
299
-
300
- @media screen and (max-width: 640px) {
301
- .xappw-rich-input__input {
302
- width: calc(100% - 90px);
303
- }
304
- }
305
- .xappw-suggestions-group__items {
306
- display: flex;
307
- flex-direction: column;
308
- padding: 2px 0;
309
- }
310
-
311
- .xappw-suggestions-group__heading {
312
- margin: 0 16px;
313
- }
314
-
315
- .xappw-suggestions-group-heading {
316
- display: flex;
317
- align-items: center;
318
- font-size: 12px;
319
- padding: 2px 0;
320
- color: #061739;
321
- }
322
-
323
- .xappw-suggestions-group-heading:after {
324
- content: "";
325
- border-top: solid 1px #d4d4d4;
326
- flex: 1 1 auto;
327
- margin-left: 8px;
328
- }
329
-
330
- .xappw-suggestions-item {
331
- padding: 0 0 0 24px;
332
- box-sizing: border-box;
333
- width: 100%;
334
- white-space: nowrap;
335
- display: flex;
336
- align-items: center;
337
- overflow: hidden;
338
- font-size: 15px;
339
- cursor: pointer;
340
- border-bottom: solid 1px rgba(0, 0, 0, 0);
341
- color: #061739;
342
- }
343
-
344
- .xappw-suggestions-item--current, .xappw-suggestions-item:hover {
345
- background-color: #3395d2;
346
- color: #fff;
347
- text-decoration: underline;
348
- }
349
-
350
- @media (hover: hover) {
351
- .xappw-suggestions-item--current .xappw-suggestions-item__actions, .xappw-suggestions-item:hover .xappw-suggestions-item__actions {
352
- visibility: visible;
353
- color: #fff;
354
- }
355
- }
356
- .xappw-suggestions-item__texts {
357
- padding: 3px 0;
358
- flex: 1 1 auto;
359
- overflow: hidden;
360
- }
361
-
362
- .xappw-suggestions-item__actions {
363
- flex: 0 0 auto;
364
- display: flex;
365
- margin-left: 8px;
366
- }
367
-
368
- @media (hover: hover) {
369
- .xappw-suggestions-item__actions {
370
- visibility: hidden;
371
- }
372
- }
373
- .xappw-suggestions-list {
374
- display: flex;
375
- flex-direction: column;
376
- }
377
-
378
- .xapp-search-rich-text-span {
379
- flex: 0 1 auto;
380
- display: inline-block;
381
- max-width: 100%;
382
- }
383
-
384
- .xapp-search-rich-text-span:last-child {
385
- overflow: hidden;
386
- white-space: pre;
387
- text-overflow: ellipsis;
388
- }
389
-
390
- .xapp-search-rich-text-bold-span {
391
- font-weight: bold;
392
- }
393
-
394
- .xapp-search-rich-text-input-span {
395
- text-decoration: none;
396
- font-size: inherit;
397
- height: calc(1.5em - 2px);
398
- line-height: 1em;
399
- width: 8em;
400
- color: inherit;
401
- }
402
-
403
- .xapp-search-rich-text-input-span--readonly {
404
- border: dashed 1px green;
405
- color: green;
406
- height: calc(1em - 2px);
407
- }
408
-
409
- .xapp-search-rich-text-normal-span {
410
- font-weight: normal;
411
- }
412
-
413
- .xapp-search-result {
414
- display: flex;
415
- flex-direction: row;
416
- flex: 1 1 auto;
417
- box-sizing: border-box;
418
- overflow: hidden;
419
- max-height: 100%;
420
- }
421
- .xapp-search-result__suggestions, .xapp-search-result__preview {
422
- padding-top: 12px;
423
- padding-bottom: 12px;
424
- box-sizing: border-box;
425
- overflow-x: hidden;
426
- overflow-y: auto;
427
- word-break: break-word;
428
- }
429
- .xapp-search-result__suggestions {
430
- flex: 0 0 60%;
431
- padding-top: 12px;
432
- padding-bottom: 12px;
433
- box-sizing: border-box;
434
- overflow: auto;
435
- }
436
- .xapp-search-result__preview {
437
- flex: 0 0 40%;
438
- border-left: solid 1px var(--xapp-search-widget-border-color, var(--xapp-search-accent-color, #d3d3df));
439
- padding-left: 12px;
440
- padding-right: 12px;
441
- }
442
- .xapp-search-result__use {
443
- width: 28px;
444
- padding: 4px;
445
- color: inherit;
446
- }
447
-
448
- .xapp-search-icon-label {
449
- border: none;
450
- background: none;
451
- cursor: pointer;
452
- display: flex;
453
- align-items: center;
454
- box-sizing: border-box;
455
- }
456
-
457
- .xapp-search-response-bubble {
458
- --xapp-bubble-background: var(--xapp-search-messages-others-bubble-background);
459
- }
460
-
461
- .xapp-search-response-output-speech {
462
- font-family: var(--xapp-search-messages-others-font-family, RobotoRegular, serif);
463
- font-weight: var(--xapp-search-messages-others-font-weight, normal);
464
- font-size: var(--xapp-search-messages-others-font-size, 16px);
465
- font-style: var(--xapp-search-messages-others-font-style, normal);
466
- color: var(--xapp-search-messages-others-text-color, #000);
467
- }
468
- .xapp-search-response-output-speech p {
469
- margin: 0 0 1em 0;
470
- }
471
- .xapp-search-response-output-speech p:last-child {
472
- margin-bottom: 0;
473
- }
474
-
475
- .xapp-search-response-part {
476
- margin-bottom: 12px;
477
- margin-top: 86px;
478
- box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 4px;
479
- border-radius: 8px;
480
- }
481
- .xapp-search-response-part.noHeaderForm {
482
- margin-top: 12px;
483
- }
484
-
485
- .xapp-search-suggested-actions__actions {
486
- margin-top: 8px;
487
- margin-bottom: 8px;
488
- }
489
- .xapp-search-suggested-actions__item {
490
- margin-right: 16px;
491
- }
492
-
493
- .xapp_formstep {
494
- display: none;
495
- padding: 8px;
496
- }
497
- .xapp_formstep.active {
498
- display: block;
499
- }
500
- .xapp_formstep_title p {
501
- margin: 10px 0 0 0;
502
- }
503
-
504
- .xapp-header-container {
505
- position: absolute;
506
- top: 0px;
507
- right: 0px;
508
- left: 0px;
509
- z-index: 1000;
510
- }
511
- .xapp-header-container .empty-step-header {
512
- height: 42px;
513
- }
514
-
515
- .xapp-search-suggested-action {
516
- display: inline-block;
517
- border-radius: 12px;
518
- border: solid 1px var(--xapp-search-widget-border-color, var(--xapp-search-accent-color, #d3d3df));
519
- background: white;
520
- padding: 4px 24px;
521
- color: black;
522
- text-decoration: none;
523
- box-sizing: border-box;
524
- text-align: center;
525
- line-height: normal;
526
- font-family: RobotoRegular, serif;
527
- font-size: 16px;
528
- cursor: pointer;
529
- }
530
-
531
- .xapp-search-carousel {
532
- display: flex;
533
- flex-flow: row nowrap;
534
- }
535
- .xapp-search-carousel__prev, .xapp-search-carousel__next {
536
- flex: 0 0 32px;
537
- height: 32px;
538
- cursor: pointer;
539
- box-sizing: border-box;
540
- padding: 4px;
541
- align-self: center;
542
- }
543
- .xapp-search-carousel__items {
544
- display: flex;
545
- position: relative;
546
- height: auto;
547
- align-items: stretch;
548
- scroll-behavior: smooth;
549
- -ms-overflow-style: none;
550
- -moz-overflow-style: none;
551
- -webkit-overflow-scrolling: touch;
552
- overflow-x: hidden;
553
- overflow-y: hidden;
554
- /* smartphones, touchscreens */
555
- }
556
- @media (hover: none) and (pointer: coarse) {
557
- .xapp-search-carousel__items {
558
- overflow-x: auto;
559
- }
560
- }
561
- .xapp-search-carousel__content {
562
- flex-grow: 1;
563
- }
564
-
565
- .xapp-search-cards {
566
- display: flex;
567
- flex-direction: column;
568
- }
569
-
570
- .xapp_formfield {
571
- display: none;
572
- }
573
- .xapp_formfield.active {
574
- display: block;
575
- }
576
-
577
- .xapp_form_nav_buttons {
578
- display: flex;
579
- justify-content: space-between;
580
- padding: 20px;
581
- }
582
-
583
- .xapp_dummy_button {
584
- flex-grow: 1;
585
- }
586
-
587
- .xapp-search-btn {
588
- display: inline-block;
589
- border-radius: 12px;
590
- border: solid 1px var(--xapp-search-widget-border-color, var(--xapp-search-accent-color, #d3d3df));
591
- background: white;
592
- padding: 4px 24px;
593
- color: black;
594
- text-decoration: none;
595
- box-sizing: border-box;
596
- text-align: center;
597
- line-height: normal;
598
- font-family: RobotoRegular, serif;
599
- font-size: 16px;
600
- cursor: pointer;
601
- }
602
- .xapp-search-btn--expand {
603
- width: 100%;
604
- }
605
-
606
- .xapp-search-carousel-item {
607
- display: inline-flex;
608
- flex-direction: column;
609
- padding-right: 12px;
610
- flex-shrink: 0;
611
- width: 275px;
612
- }
613
- .xapp-search-carousel-item:last-child {
614
- padding-right: 0;
615
- }
616
- @media (max-width: 640px) {
617
- .xapp-search-carousel-item {
618
- min-width: 100%;
619
- max-width: 100%;
620
- }
621
- }
622
-
623
- .xapp-search-card {
624
- border: var(--xapp-search-card-border-style, solid) var(--xapp-search-card-border-width, 0) var(--xapp-search-card-border-color, var(--xapp-search-widget-border-color, var(--xapp-search-accent-color, #d3d3df)));
625
- border-radius: var(--xapp-search-card-border-radius, 12px);
626
- margin-top: var(--xapp-search-card-margin-top, 0);
627
- margin-right: var(--xapp-search-card-margin-right, 0);
628
- margin-bottom: var(--xapp-search-card-margin-bottom, 20px);
629
- margin-left: var(--xapp-search-card-margin-left, 0);
630
- padding-top: var(--xapp-search-card-padding-top, 0);
631
- padding-right: var(--xapp-search-card-padding-right, 0);
632
- padding-bottom: var(--xapp-search-card-padding-bottom, 0);
633
- padding-left: var(--xapp-search-card-padding-left, 0);
634
- box-sizing: border-box;
635
- display: flex;
636
- flex-direction: row;
637
- flex-wrap: wrap;
638
- justify-items: stretch;
639
- overflow: hidden;
640
- background-color: var(--xapp-search-card-background, #fff);
641
- }
642
- .xapp-search-card__featured {
643
- flex: 1 1 240px;
644
- margin: 12px;
645
- width: 100%;
646
- min-width: 240px;
647
- overflow: hidden;
648
- }
649
- .xapp-search-card__featured-box {
650
- position: relative;
651
- padding-bottom: math-div(100%, math-div(16, 9));
652
- box-sizing: border-box;
653
- overflow: hidden;
654
- }
655
- .xapp-search-card__img {
656
- position: relative;
657
- width: 100%;
658
- height: 100%;
659
- object-fit: cover;
660
- overflow: hidden;
661
- }
662
- .xapp-search-card__content {
663
- flex: 4 1 200px;
664
- min-width: 200px;
665
- margin: 12px;
666
- display: flex;
667
- flex-direction: column;
668
- }
669
- .xapp-search-card__extra {
670
- margin-top: auto;
671
- margin-left: auto;
672
- display: flex;
673
- flex-direction: row;
674
- flex-wrap: wrap;
675
- justify-items: stretch;
676
- max-width: 100%;
677
- }
678
- .xapp-search-card__extra:before {
679
- content: "";
680
- min-width: 360px;
681
- }
682
- .xapp-search-card__link {
683
- display: block;
684
- flex: 0 0 auto;
685
- overflow: hidden;
686
- text-overflow: ellipsis;
687
- white-space: nowrap;
688
- line-height: var(--xapp-search-card-link-line-height, 1.5em);
689
- font-family: var(--xapp-search-card-link-font-family, RobotoRegular, serif);
690
- font-weight: var(--xapp-search-card-link-font-weight, normal);
691
- font-size: var(--xapp-search-card-link-font-size, 16px);
692
- font-style: var(--xapp-search-card-link-font-style, normal);
693
- color: var(--xapp-search-card-link-text-color, #006621);
694
- margin-top: var(--xapp-search-card-link-margin-top, 0);
695
- margin-right: var(--xapp-search-card-link-margin-right, 0);
696
- margin-bottom: var(--xapp-search-card-link-margin-bottom, 0);
697
- margin-left: var(--xapp-search-card-link-margin-left, 0);
698
- padding-top: var(--xapp-search-card-link-padding-top, 0);
699
- padding-right: var(--xapp-search-card-link-padding-right, 0);
700
- padding-bottom: var(--xapp-search-card-link-padding-bottom, 0);
701
- padding-left: var(--xapp-search-card-link-padding-left, 0);
702
- }
703
- .xapp-search-card__btn {
704
- flex: 1 1 auto;
705
- margin-top: 12px;
706
- }
707
- .xapp-search-card__title {
708
- overflow: hidden;
709
- text-decoration: none;
710
- text-overflow: ellipsis;
711
- white-space: nowrap;
712
- line-height: var(--xapp-search-card-title-line-height, 1.25em);
713
- font-family: var(--xapp-search-card-title-font-family, RobotoRegular, serif);
714
- font-weight: var(--xapp-search-card-title-font-weight, normal);
715
- font-size: var(--xapp-search-card-title-font-size, 20px);
716
- font-style: var(--xapp-search-card-title-font-style, normal);
717
- color: var(--xapp-search-card-title-text-color, #1a0dab);
718
- margin-top: var(--xapp-search-card-title-margin-top, 0);
719
- margin-right: var(--xapp-search-card-title-margin-right, 0);
720
- margin-bottom: var(--xapp-search-card-title-margin-bottom, 0);
721
- margin-left: var(--xapp-search-card-title-margin-left, 0);
722
- padding-top: var(--xapp-search-card-title-padding-top, 0);
723
- padding-right: var(--xapp-search-card-title-padding-right, 0);
724
- padding-bottom: var(--xapp-search-card-title-padding-bottom, 0);
725
- padding-left: var(--xapp-search-card-title-padding-left, 0);
726
- }
727
- .xapp-search-card__title:hover {
728
- text-decoration: underline;
729
- }
730
- .xapp-search-card__description {
731
- line-height: var(--xapp-search-card-description-line-height, 1.25em);
732
- font-family: var(--xapp-search-card-description-font-family, RobotoRegular, serif);
733
- font-weight: var(--xapp-search-card-description-font-weight, normal);
734
- font-size: var(--xapp-search-card-description-font-size, 16px);
735
- font-style: var(--xapp-search-card-description-font-style, normal);
736
- color: var(--xapp-search-card-description-text-color, #666);
737
- margin-top: var(--xapp-search-card-description-margin-top, 6px);
738
- margin-right: var(--xapp-search-card-description-margin-right, 0);
739
- margin-bottom: var(--xapp-search-card-description-margin-bottom, 0);
740
- margin-left: var(--xapp-search-card-description-margin-left, 0);
741
- padding-top: var(--xapp-search-card-description-padding-top, 0);
742
- padding-right: var(--xapp-search-card-description-padding-right, 0);
743
- padding-bottom: var(--xapp-search-card-description-padding-bottom, 0);
744
- padding-left: var(--xapp-search-card-description-padding-left, 0);
745
- overflow: hidden;
746
- max-height: calc(5 * var(--xapp-search-card-description-line-height, 1.25em));
747
- position: relative;
748
- }
749
- .xapp-search-card__description:after {
750
- background: linear-gradient(to bottom, rgba(var(--xapp-search-card-background, #fff), 0) 0%, rgba(var(--xapp-search-card-background, #fff), 0) 12.5%, rgba(var(--xapp-search-card-background, #fff), 1) 100%);
751
- content: "";
752
- height: var(--xapp-search-card-description-line-height, 1.25em);
753
- position: absolute;
754
- top: calc(4 * var(--xapp-search-card-description-line-height, 1.25em));
755
- left: 0;
756
- right: 0;
757
- pointer-events: none;
758
- }
759
-
760
- .xapp-checkbox-chip {
761
- margin: 6px !important;
762
- font-size: 14px !important;
763
- padding: 8px 16px !important;
764
- height: 32px !important;
765
- border-radius: 16px !important;
766
- min-width: 150px !important;
767
- background-color: var(--bg-color, #99c1dc) !important;
768
- transition: background-color 0.3s ease;
769
- }
770
-
771
- .xapp-chip-clicked {
772
- background-color: rgb(14, 50, 62) !important;
773
- }
774
-
775
- .xapp-chips-container {
776
- display: flex;
777
- flex-wrap: wrap; /* Allows items to wrap onto a new row */
778
- justify-content: center; /* Centers items horizontally */
779
- }
780
-
781
- .chip-wrapper {
782
- flex: 0 0 calc(33.33% - 10px);
783
- max-width: calc(33.33% - 10px);
784
- margin: 5px;
785
- text-align: center;
786
- }
787
-
788
- .xapp-checkbox-chip:hover {
789
- --bg-color: calc(var(--bg-color) + 20);
790
- }
791
-
792
- .xapp-chips-title-container-empty p {
793
- margin: 0;
794
- }
795
-
796
- .xapp-text-input-container-title p {
797
- margin: 0;
798
- }
799
-
800
- .xapp-form-card img {
801
- width: 50% !important;
802
- }
803
-
804
- .MuiDayCalendar-slideTransition {
805
- min-height: 230px !important;
806
- }
807
-
808
- .xapp-date-picker .MuiPickersDay-today {
809
- font-weight: bold;
810
- color: rgba(255, 0, 0, 0.618);
811
- }
1
+ .xapp-form-widget{display:flex;flex-direction:column;padding:15px;height:60vh;overflow-y:auto;border:2px solid var(--xapp-search-widget-border-color, var(--xapp-form-accent-color, #d3d3df));background:#f4f8fd}