willba-component-library 0.4.12 → 0.4.14

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/lib/index.css ADDED
@@ -0,0 +1,1295 @@
1
+ .storybook-button {
2
+ font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
3
+ font-weight: 700;
4
+ border: 0;
5
+ border-radius: 3em;
6
+ cursor: pointer;
7
+ display: inline-block;
8
+ line-height: 1;
9
+ }
10
+ .storybook-button--primary {
11
+ color: white;
12
+ background-color: #1ea7fd;
13
+ }
14
+ .storybook-button--secondary {
15
+ color: #333;
16
+ background-color: transparent;
17
+ box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset;
18
+ }
19
+ .storybook-button--small {
20
+ font-size: 12px;
21
+ padding: 10px 16px;
22
+ }
23
+ .storybook-button--medium {
24
+ font-size: 14px;
25
+ padding: 11px 20px;
26
+ }
27
+ .storybook-button--large {
28
+ font-size: 16px;
29
+ padding: 12px 24px;
30
+ }
31
+ .will-filter-bar-select-button {
32
+ width: 100%;
33
+ height: auto;
34
+ background-color: transparent;
35
+ border: none;
36
+ padding: 0 20px;
37
+ border-radius: 20px;
38
+ cursor: pointer;
39
+ font-size: 14px;
40
+ text-align: initial;
41
+ user-select: none;
42
+ }
43
+
44
+ .will-filter-bar-select-button.disabled {
45
+ cursor: not-allowed;
46
+ }
47
+
48
+ .will-filter-bar-select-button .select-button-wrapper {
49
+ display: flex;
50
+ align-items: center;
51
+ flex-wrap: wrap;
52
+ gap: 10px;
53
+ }
54
+
55
+ .will-filter-bar-select-button .select-button-wrapper > div {
56
+ display: grid;
57
+ }
58
+
59
+ .will-filter-bar-select-button .select-button-label {
60
+ color: var(--will-black);
61
+ font-weight: 600;
62
+ }
63
+
64
+ .will-filter-bar-select-button .select-button-description {
65
+ color: var(--will-black);
66
+ font-weight: 400;
67
+ opacity: 0.5;
68
+ white-space: nowrap;
69
+ min-height: 19px;
70
+ overflow: hidden;
71
+ text-overflow: ellipsis;
72
+ }
73
+
74
+ .will-filter-bar-select-button .select-button-description span {
75
+ font: inherit;
76
+ }
77
+
78
+ .will-filter-bar-select-button .select-button-label.active,
79
+ .will-filter-bar-select-button .select-button-description.active {
80
+ font-weight: 700;
81
+ font-size: 15px;
82
+ opacity: 1;
83
+ }
84
+
85
+ @media (max-width: 960px) {
86
+ .will-filter-bar-select-button {
87
+ padding: 15px 0;
88
+ }
89
+
90
+ .will-filter-bar-select-button:first-child {
91
+ padding: 0 0 15px 0;
92
+ }
93
+
94
+ .will-filter-bar-select-button .select-button-wrapper {
95
+ justify-content: center;
96
+ text-align: center;
97
+ }
98
+
99
+ .will-filter-bar-select-button .select-button-description {
100
+ white-space: wrap;
101
+ }
102
+
103
+ .will-filter-bar-select-button .select-button-divider {
104
+ display: none;
105
+ }
106
+ }
107
+
108
+ .will-filter-bar-tab-button {
109
+ width: auto;
110
+ height: auto;
111
+ padding: 10px 20px;
112
+ cursor: pointer;
113
+ border: none;
114
+ white-space: nowrap;
115
+ font-size: 16px;
116
+ display: flex;
117
+ align-items: center;
118
+ background-color: transparent;
119
+ user-select: none;
120
+ font-weight: 600;
121
+ border-radius: 50px;
122
+ }
123
+
124
+ .will-filter-bar-tab-button.light {
125
+ color: var(--will-white)
126
+ }
127
+
128
+ .will-filter-bar-tab-button.dark {
129
+ color: var(--will-black)
130
+ }
131
+
132
+ .will-filter-bar-tab-button.light.active,
133
+ .will-filter-bar-tab-button:hover {
134
+ background-color: var(--will-transparent-white);
135
+ }
136
+
137
+ .will-filter-bar-tab-button.dark.active,
138
+ .will-filter-bar-tab-button:hover {
139
+ background-color: var(--will-transparent-lavender);
140
+ }
141
+
142
+
143
+
144
+
145
+ .will-filter-bar-divider {
146
+ width: 1px;
147
+ margin: 0 10px;
148
+ background-color: var(--will-charcoal-blue);
149
+ }
150
+
151
+ @media (max-width: 960px) {
152
+ .will-filter-bar-divider {
153
+ width: auto;
154
+ margin: 0 10px;
155
+ height: 1px;
156
+ background-color: var(--will-charcoal-blue);
157
+ }
158
+ }
159
+ .will-filter-bar-submit-button {
160
+ width: auto;
161
+ height: auto;
162
+ padding: 10px 20px;
163
+ border-radius: 20px;
164
+ cursor: pointer;
165
+ border: none;
166
+ white-space: nowrap;
167
+ text-transform: uppercase;
168
+ font-size: 12px;
169
+ display: flex;
170
+ align-items: center;
171
+ user-select: none;
172
+ }
173
+
174
+ /* Submit button variants */
175
+ .will-filter-bar-submit-button.default {
176
+ background-color: var(--will-primary);
177
+ color: var(--will-white);
178
+ }
179
+
180
+ .will-filter-bar-submit-button.text {
181
+ background-color: transparent;
182
+ color: var(--will-black);
183
+ text-decoration: underline;
184
+ font-weight: 500;
185
+ font-size: 15px;
186
+ padding: 0 10px;
187
+ }
188
+
189
+ .will-filter-bar-submit-button span {
190
+ margin-right: 10px;
191
+ display: flex;
192
+ }
193
+
194
+ button.will-filter-bar-submit-button:disabled {
195
+ opacity: 0.5;
196
+ cursor: not-allowed;
197
+ }
198
+
199
+
200
+ @media (max-width: 960px) {
201
+ .will-filter-bar-submit-button {
202
+ justify-content: center;
203
+
204
+ }
205
+ }
206
+
207
+ /* --- */
208
+
209
+ @keyframes spin {
210
+ 0% { transform: rotate(0deg); }
211
+ 100% { transform: rotate(360deg); }
212
+ }
213
+
214
+ .will-filter-bar-close-button {
215
+ width: auto;
216
+ height: auto;
217
+ /* background-color: var(--will-grey); */
218
+ color: var(--will-grey);
219
+ padding: 2px 7px;
220
+ border-radius: 50%;
221
+ cursor: pointer;
222
+ border: none;
223
+ display: flex;
224
+ align-items: center;
225
+ font-size: 23px;
226
+ /* display: none; */
227
+
228
+ position: absolute;
229
+ top: 10px;
230
+ right: 10px;
231
+
232
+ min-height: 35px;
233
+ }
234
+
235
+ @media (max-width: 960px) {
236
+ .will-filter-bar-close-button {
237
+ top: 10px;
238
+ right: 10px;
239
+
240
+ border-radius: 25px;
241
+ margin-left:0;
242
+
243
+ display: flex;
244
+ justify-content: center;
245
+ }
246
+ }
247
+
248
+ .rdp {
249
+ --rdp-cell-size: 40px;
250
+ --rdp-caption-font-size: 18px;
251
+ --rdp-accent-color: #0000ff;
252
+ --rdp-background-color: #e7edff;
253
+ --rdp-accent-color-dark: #3003e1;
254
+ --rdp-background-color-dark: #180270;
255
+ --rdp-outline: 2px solid var(--rdp-accent-color); /* Outline border for focused elements */
256
+ --rdp-outline-selected: 3px solid var(--rdp-accent-color); /* Outline border for focused _and_ selected elements */
257
+
258
+ margin: 1em;
259
+ }
260
+
261
+ /* Hide elements for devices that are not screen readers */
262
+ .rdp-vhidden {
263
+ box-sizing: border-box;
264
+ padding: 0;
265
+ margin: 0;
266
+ background: transparent;
267
+ border: 0;
268
+ -moz-appearance: none;
269
+ -webkit-appearance: none;
270
+ appearance: none;
271
+ position: absolute !important;
272
+ top: 0;
273
+ width: 1px !important;
274
+ height: 1px !important;
275
+ padding: 0 !important;
276
+ overflow: hidden !important;
277
+ clip: rect(1px, 1px, 1px, 1px) !important;
278
+ border: 0 !important;
279
+ }
280
+
281
+ /* Buttons */
282
+ .rdp-button_reset {
283
+ appearance: none;
284
+ position: relative;
285
+ margin: 0;
286
+ padding: 0;
287
+ cursor: default;
288
+ color: inherit;
289
+ background: none;
290
+ font: inherit;
291
+
292
+ -moz-appearance: none;
293
+ -webkit-appearance: none;
294
+ }
295
+
296
+ .rdp-button_reset:focus-visible {
297
+ /* Make sure to reset outline only when :focus-visible is supported */
298
+ outline: none;
299
+ }
300
+
301
+ .rdp-button {
302
+ border: 2px solid transparent;
303
+ }
304
+
305
+ .rdp-button[disabled]:not(.rdp-day_selected) {
306
+ opacity: 0.25;
307
+ }
308
+
309
+ .rdp-button:not([disabled]) {
310
+ cursor: pointer;
311
+ }
312
+
313
+ .rdp-button:focus-visible:not([disabled]) {
314
+ color: inherit;
315
+ background-color: var(--rdp-background-color);
316
+ border: var(--rdp-outline);
317
+ }
318
+
319
+ .rdp-button:hover:not([disabled]):not(.rdp-day_selected) {
320
+ background-color: var(--rdp-background-color);
321
+ }
322
+
323
+ .rdp-months {
324
+ display: flex;
325
+ }
326
+
327
+ .rdp-month {
328
+ margin: 0 1em;
329
+ }
330
+
331
+ .rdp-month:first-child {
332
+ margin-left: 0;
333
+ }
334
+
335
+ .rdp-month:last-child {
336
+ margin-right: 0;
337
+ }
338
+
339
+ .rdp-table {
340
+ margin: 0;
341
+ max-width: calc(var(--rdp-cell-size) * 7);
342
+ border-collapse: collapse;
343
+ }
344
+
345
+ .rdp-with_weeknumber .rdp-table {
346
+ max-width: calc(var(--rdp-cell-size) * 8);
347
+ border-collapse: collapse;
348
+ }
349
+
350
+ .rdp-caption {
351
+ display: flex;
352
+ align-items: center;
353
+ justify-content: space-between;
354
+ padding: 0;
355
+ text-align: left;
356
+ }
357
+
358
+ .rdp-multiple_months .rdp-caption {
359
+ position: relative;
360
+ display: block;
361
+ text-align: center;
362
+ }
363
+
364
+ .rdp-caption_dropdowns {
365
+ position: relative;
366
+ display: inline-flex;
367
+ }
368
+
369
+ .rdp-caption_label {
370
+ position: relative;
371
+ z-index: 1;
372
+ display: inline-flex;
373
+ align-items: center;
374
+ margin: 0;
375
+ padding: 0 0.25em;
376
+ white-space: nowrap;
377
+ color: currentColor;
378
+ border: 0;
379
+ border: 2px solid transparent;
380
+ font-family: inherit;
381
+ font-size: var(--rdp-caption-font-size);
382
+ font-weight: bold;
383
+ }
384
+
385
+ .rdp-nav {
386
+ white-space: nowrap;
387
+ }
388
+
389
+ .rdp-multiple_months .rdp-caption_start .rdp-nav {
390
+ position: absolute;
391
+ top: 50%;
392
+ left: 0;
393
+ transform: translateY(-50%);
394
+ }
395
+
396
+ .rdp-multiple_months .rdp-caption_end .rdp-nav {
397
+ position: absolute;
398
+ top: 50%;
399
+ right: 0;
400
+ transform: translateY(-50%);
401
+ }
402
+
403
+ .rdp-nav_button {
404
+ display: inline-flex;
405
+ align-items: center;
406
+ justify-content: center;
407
+ width: var(--rdp-cell-size);
408
+ height: var(--rdp-cell-size);
409
+ padding: 0.25em;
410
+ border-radius: 100%;
411
+ }
412
+
413
+ /* ---------- */
414
+ /* Dropdowns */
415
+ /* ---------- */
416
+
417
+ .rdp-dropdown_year,
418
+ .rdp-dropdown_month {
419
+ position: relative;
420
+ display: inline-flex;
421
+ align-items: center;
422
+ }
423
+
424
+ .rdp-dropdown {
425
+ appearance: none;
426
+ position: absolute;
427
+ z-index: 2;
428
+ top: 0;
429
+ bottom: 0;
430
+ left: 0;
431
+ width: 100%;
432
+ margin: 0;
433
+ padding: 0;
434
+ cursor: inherit;
435
+ opacity: 0;
436
+ border: none;
437
+ background-color: transparent;
438
+ font-family: inherit;
439
+ font-size: inherit;
440
+ line-height: inherit;
441
+ }
442
+
443
+ .rdp-dropdown[disabled] {
444
+ opacity: unset;
445
+ color: unset;
446
+ }
447
+
448
+ .rdp-dropdown:focus-visible:not([disabled]) + .rdp-caption_label {
449
+ background-color: var(--rdp-background-color);
450
+ border: var(--rdp-outline);
451
+ border-radius: 6px;
452
+ }
453
+
454
+ .rdp-dropdown_icon {
455
+ margin: 0 0 0 5px;
456
+ }
457
+
458
+ .rdp-head {
459
+ border: 0;
460
+ }
461
+
462
+ .rdp-head_row,
463
+ .rdp-row {
464
+ height: 100%;
465
+ }
466
+
467
+ .rdp-head_cell {
468
+ vertical-align: middle;
469
+ font-size: 0.75em;
470
+ font-weight: 700;
471
+ text-align: center;
472
+ height: 100%;
473
+ height: var(--rdp-cell-size);
474
+ padding: 0;
475
+ text-transform: uppercase;
476
+ }
477
+
478
+ .rdp-tbody {
479
+ border: 0;
480
+ }
481
+
482
+ .rdp-tfoot {
483
+ margin: 0.5em;
484
+ }
485
+
486
+ .rdp-cell {
487
+ width: var(--rdp-cell-size);
488
+ height: 100%;
489
+ height: var(--rdp-cell-size);
490
+ padding: 0;
491
+ text-align: center;
492
+ }
493
+
494
+ .rdp-weeknumber {
495
+ font-size: 0.75em;
496
+ }
497
+
498
+ .rdp-weeknumber,
499
+ .rdp-day {
500
+ display: flex;
501
+ overflow: hidden;
502
+ align-items: center;
503
+ justify-content: center;
504
+ box-sizing: border-box;
505
+ width: var(--rdp-cell-size);
506
+ max-width: var(--rdp-cell-size);
507
+ height: var(--rdp-cell-size);
508
+ margin: 0;
509
+ border: 2px solid transparent;
510
+ border-radius: 100%;
511
+ }
512
+
513
+ .rdp-day_today:not(.rdp-day_outside) {
514
+ font-weight: bold;
515
+ }
516
+
517
+ .rdp-day_selected,
518
+ .rdp-day_selected:focus-visible,
519
+ .rdp-day_selected:hover {
520
+ color: white;
521
+ opacity: 1;
522
+ background-color: var(--rdp-accent-color);
523
+ }
524
+
525
+ .rdp-day_outside {
526
+ opacity: 0.5;
527
+ }
528
+
529
+ .rdp-day_selected:focus-visible {
530
+ /* Since the background is the same use again the outline */
531
+ outline: var(--rdp-outline);
532
+ outline-offset: 2px;
533
+ z-index: 1;
534
+ }
535
+
536
+ .rdp:not([dir='rtl']) .rdp-day_range_start:not(.rdp-day_range_end) {
537
+ border-top-right-radius: 0;
538
+ border-bottom-right-radius: 0;
539
+ }
540
+
541
+ .rdp:not([dir='rtl']) .rdp-day_range_end:not(.rdp-day_range_start) {
542
+ border-top-left-radius: 0;
543
+ border-bottom-left-radius: 0;
544
+ }
545
+
546
+ .rdp[dir='rtl'] .rdp-day_range_start:not(.rdp-day_range_end) {
547
+ border-top-left-radius: 0;
548
+ border-bottom-left-radius: 0;
549
+ }
550
+
551
+ .rdp[dir='rtl'] .rdp-day_range_end:not(.rdp-day_range_start) {
552
+ border-top-right-radius: 0;
553
+ border-bottom-right-radius: 0;
554
+ }
555
+
556
+ .rdp-day_range_end.rdp-day_range_start {
557
+ border-radius: 100%;
558
+ }
559
+
560
+ .rdp-day_range_middle {
561
+ border-radius: 0;
562
+ }
563
+ .will-calendar-filter-container {
564
+ display: flex;
565
+ justify-content: center;
566
+ user-select: none;
567
+ }
568
+
569
+ /* Calendar overrides */
570
+ .will-calendar-filter-container .rdp {
571
+ margin: 0;
572
+ }
573
+
574
+ .will-calendar-filter-container .DayPicker {
575
+ font-size: 25px;
576
+ }
577
+
578
+ .will-calendar-filter-container .rdp-month {
579
+ position: relative;
580
+ }
581
+
582
+ .will-calendar-filter-container .rdp-month.rdp-caption_start {
583
+ padding-left: 70px;
584
+ }
585
+
586
+ .will-calendar-filter-container .rdp-month.rdp-caption_end {
587
+ padding-right: 70px;
588
+ }
589
+
590
+ .will-calendar-filter-container .rdp-month .rdp-nav {
591
+ border: 1px solid var(--will-primary);
592
+ border-radius: 50%;
593
+ }
594
+
595
+ .will-calendar-filter-container .rdp-month .rdp-nav svg {
596
+ color: var(--will-primary);
597
+ }
598
+
599
+ .will-calendar-filter-container .rdp-month .rdp-caption {
600
+ position: initial;
601
+ }
602
+
603
+ .will-calendar-filter-container .rdp-month .rdp-caption > .rdp-caption_label,
604
+ .will-calendar-filter-container .rdp-table .rdp-head {
605
+ opacity: 0.6;
606
+ }
607
+
608
+ .will-calendar-filter-container .rdp-table {
609
+ border-collapse: separate;
610
+ border-spacing: 0px 2px;
611
+ }
612
+
613
+ .will-calendar-filter-container
614
+ .rdp-button_reset.rdp-button.rdp-day.rdp-day_selected {
615
+ background-color: var(--will-primary);
616
+ opacity: 1;
617
+ color: var(--will-white);
618
+ }
619
+
620
+ .will-calendar-filter-container .my-today:not(.rdp-day_selected) {
621
+ font-weight: 700;
622
+ opacity: 1;
623
+ color: var(--will-primary);
624
+ }
625
+
626
+ .will-calendar-filter-container .rdp-cell {
627
+ position: relative;
628
+ }
629
+
630
+ .will-calendar-filter-container .rdp-cell button {
631
+ font-weight: 500;
632
+ }
633
+
634
+ .will-calendar-filter-container .rdp-cell button.booked {
635
+ font-weight: 400;
636
+ cursor: not-allowed;
637
+ }
638
+
639
+ .will-calendar-filter-container .rdp-cell .rdp-button[disabled] {
640
+ color: var(--will-transparent-black);
641
+ opacity: 1;
642
+ }
643
+
644
+ @media (max-width: 960px) {
645
+ .will-calendar-filter-container .rdp-month .rdp-nav {
646
+ border: none;
647
+ border-radius: initial;
648
+ }
649
+
650
+ .will-calendar-filter-container .rdp-month.rdp-caption_start {
651
+ padding-left: 10px;
652
+ }
653
+
654
+ .will-calendar-filter-container .rdp-month.rdp-caption_end {
655
+ padding-right: 10px;
656
+ }
657
+ }
658
+
659
+ /* Tooltips */
660
+ .will-root .will-calendar-filter-container .will-calendar-tooltip,
661
+ .will-root .will-calendar-filter-container .will-calendar-tooltip-check-out,
662
+ .will-root
663
+ .will-calendar-filter-container
664
+ .will-calendar-tooltip-overlapping-date,
665
+ .will-root
666
+ .will-calendar-filter-container
667
+ .will-calendar-tooltip-check-out-only,
668
+ .will-root
669
+ .will-calendar-filter-container
670
+ .will-calendar-tooltip-check-in-only {
671
+ position: absolute;
672
+ top: -42px;
673
+ transform: translateX(calc(-50% + 20px));
674
+ display: none;
675
+ white-space: nowrap;
676
+ z-index: 2;
677
+ }
678
+
679
+ .will-root .will-calendar-filter-container .will-calendar-tooltip > div,
680
+ .will-root
681
+ .will-calendar-filter-container
682
+ .will-calendar-tooltip-check-out
683
+ > div,
684
+ .will-root
685
+ .will-calendar-filter-container
686
+ .will-calendar-tooltip-overlapping-date
687
+ > div,
688
+ .will-root
689
+ .will-calendar-filter-container
690
+ .will-calendar-tooltip-check-out-only
691
+ > div,
692
+ .will-root
693
+ .will-calendar-filter-container
694
+ .will-calendar-tooltip-check-in-only
695
+ > div {
696
+ background-color: white;
697
+ position: relative;
698
+ padding: 5px 10px;
699
+ border: 1px solid var(--will-primary);
700
+ border-radius: 5px;
701
+ }
702
+
703
+ .will-root .will-calendar-filter-container .will-calendar-tooltip::before,
704
+ .will-root
705
+ .will-calendar-filter-container
706
+ .will-calendar-tooltip-check-out::before,
707
+ .will-root
708
+ .will-calendar-filter-container
709
+ .will-calendar-tooltip-overlapping-date::before,
710
+ .will-root
711
+ .will-calendar-filter-container
712
+ .will-calendar-tooltip-check-out-only::before,
713
+ .will-root
714
+ .will-calendar-filter-container
715
+ .will-calendar-tooltip-check-in-only::before {
716
+ content: '';
717
+ width: 10px;
718
+ height: 10px;
719
+ border: 1px solid var(--will-primary);
720
+ position: absolute;
721
+ bottom: -4px;
722
+ left: calc(50% - 5.555px);
723
+ rotate: 45deg;
724
+ z-index: 0;
725
+ background-color: var(--will-white);
726
+ }
727
+
728
+ .will-root
729
+ .will-calendar-filter-container
730
+ .rdp-cell:hover
731
+ .will-calendar-tooltip,
732
+ .will-root
733
+ .will-calendar-filter-container
734
+ .rdp-cell:hover
735
+ .will-calendar-tooltip-check-out,
736
+ .will-root
737
+ .will-calendar-filter-container
738
+ .rdp-cell:hover
739
+ .will-calendar-tooltip-overlapping-date,
740
+ .will-root
741
+ .will-calendar-filter-container
742
+ .rdp-cell:hover
743
+ .will-calendar-tooltip-check-out-only,
744
+ .will-root
745
+ .will-calendar-filter-container
746
+ .rdp-cell:hover
747
+ .will-calendar-tooltip-check-in-only {
748
+ display: block;
749
+ }
750
+
751
+ /* Loading spinner */
752
+
753
+ .will-root .will-calendar-filter-container .rdp-months {
754
+ position: relative;
755
+ }
756
+
757
+ .will-root .will-calendar-filter-container .will-calendar-spinner {
758
+ position: absolute;
759
+ top: 0;
760
+ bottom: 0;
761
+ left: 0;
762
+ right: 0;
763
+ background-color: var(--will-white-transparent);
764
+ z-index: 3;
765
+ display: none;
766
+ justify-content: center;
767
+ align-items: center;
768
+ font-weight: 600;
769
+ }
770
+
771
+ /* No active selection */
772
+
773
+ .will-root .will-calendar-filter-container .no-active-selection-start,
774
+ .will-root .will-calendar-filter-container .no-active-selection-mid,
775
+ .will-root .will-calendar-filter-container .no-active-selection-end {
776
+ position: initial;
777
+ }
778
+
779
+ .will-root .will-calendar-filter-container .no-active-selection-start::before,
780
+ .will-root .will-calendar-filter-container .no-active-selection-mid::before,
781
+ .will-root .will-calendar-filter-container .no-active-selection-end::before {
782
+ content: '';
783
+ position: absolute;
784
+ width: 100%;
785
+ height: 100%;
786
+ border: 2px solid var(--will-light-grey);
787
+ box-sizing: border-box;
788
+ }
789
+
790
+ .will-root .will-calendar-filter-container .no-active-selection-start::before {
791
+ border-right: none;
792
+ border-top-left-radius: 50%;
793
+ border-bottom-left-radius: 50%;
794
+ }
795
+
796
+ .will-root .will-calendar-filter-container .no-active-selection-mid::before {
797
+ border-right: none;
798
+ border-left: none;
799
+ }
800
+
801
+ .will-root .will-calendar-filter-container .no-active-selection-end::before {
802
+ border-left: none;
803
+ border-top-right-radius: 50%;
804
+ border-bottom-right-radius: 50%;
805
+ }
806
+
807
+ .will-root
808
+ .will-calendar-filter-container
809
+ .rdp-day_selected.rdp-day_range_middle.checkout-option {
810
+ background-color: var(--will-primary-lightest);
811
+ color: inherit;
812
+ }
813
+
814
+ /* Overlapping date */
815
+
816
+ .will-root .will-calendar-filter-container .overlapping-date {
817
+ user-select: none;
818
+ pointer-events: none;
819
+ }
820
+
821
+ .will-root .will-calendar-filter-container .overlapping-date:hover {
822
+ cursor: not-allowed;
823
+ }
824
+
825
+ @media (max-width: 600px) {
826
+ /* Tooltips */
827
+ .will-root .will-calendar-filter-container .will-calendar-tooltip,
828
+ .will-root .will-calendar-filter-container .will-calendar-tooltip-check-out,
829
+ .will-root
830
+ .will-calendar-filter-container
831
+ .will-calendar-tooltip-overlapping-date,
832
+ .will-root
833
+ .will-calendar-filter-container
834
+ .will-calendar-tooltip-check-out-only,
835
+ .will-root
836
+ .will-calendar-filter-container
837
+ .will-calendar-tooltip-check-in-only {
838
+ top: -70px;
839
+ white-space: wrap;
840
+ max-width: 120px;
841
+ }
842
+ }
843
+
844
+ .will-filter-section-header {
845
+ display: flex;
846
+ justify-content: space-between;
847
+ align-items: center;
848
+ padding: 16px 30px;
849
+ }
850
+
851
+ .will-filter-section-title {
852
+ font-size: 22px;
853
+ margin: 0;
854
+ }
855
+
856
+ .will-filter-section-action {
857
+ display: flex;
858
+ gap: 8px;
859
+ align-items: center;
860
+ }
861
+
862
+ .will-filter-section-action .will-filter-bar-close-button {
863
+ position: relative;
864
+ top: auto;
865
+ right: auto;
866
+ margin: 0;
867
+ }
868
+
869
+ @media (max-width: 960px) {
870
+ .will-filter-section-header {
871
+ padding: 16px 20px;
872
+ }
873
+
874
+ .will-filter-section-title {
875
+ font-size: 18px;
876
+ }
877
+ }
878
+
879
+ .will-dates-filter-container {
880
+ padding: 0 30px 16px 30px;
881
+ }
882
+
883
+ @media (max-width: 960px) {
884
+ .will-dates-filter-container {
885
+ padding: 0 20px 16px 20px;
886
+ }
887
+ }
888
+
889
+ .will-guests-filter-label,
890
+ .will-guests-filter-count {
891
+ font-size: 18px;
892
+ color: var(--will-text);
893
+ }
894
+
895
+ .will-guests-filter-inner {
896
+ display: flex;
897
+ align-items: center;
898
+ justify-content: space-between;
899
+ }
900
+
901
+ .will-guests-filter-label {
902
+ display: block;
903
+ font-weight: 600;
904
+ margin-bottom: 10px;
905
+ }
906
+
907
+ .will-guests-filter-inner .will-guests-filter-counter {
908
+ display: flex;
909
+ align-items: center;
910
+ }
911
+
912
+ .will-guests-filter-count {
913
+ margin: 0 10px;
914
+ min-width: 30px;
915
+ text-align: center;
916
+ }
917
+
918
+ .will-guests-filter-counter-button {
919
+ border-radius: 50%;
920
+ background-color: transparent;
921
+ border: 1px solid var(--will-grey);
922
+ width: 30px;
923
+ height: 30px;
924
+ display: flex;
925
+ justify-content: center;
926
+ align-items: center;
927
+ font-size: 20px;
928
+ cursor: pointer;
929
+ color: var(--will-black);
930
+
931
+ padding: 0;
932
+ margin: 0;
933
+ -webkit-appearance: none;
934
+ appearance: none;
935
+ }
936
+
937
+ .will-guests-filter-counter-button:hover {
938
+ background-color: var(--will-onahau);
939
+ }
940
+
941
+ @media (max-width: 960px) {
942
+ .will-guests-filter-inner {
943
+ width: 100%;
944
+ justify-content: space-between;
945
+ }
946
+ }
947
+
948
+ #will-filter-bar-guests {
949
+ text-align: initial;
950
+ }
951
+
952
+ .will-guests-filter-container {
953
+ display: flex;
954
+ flex-direction: column;
955
+ min-width: 400px;
956
+ gap: 20px;
957
+ padding: 0 30px 16px 30px;
958
+ }
959
+
960
+ @media (max-width: 960px) {
961
+ .will-guests-filter-container {
962
+ min-width: auto;
963
+ padding: 0 20px 16px 20px;
964
+ }
965
+ }
966
+
967
+ /**/
968
+ .will-guest-count {
969
+ display: inline-block;
970
+ min-width: 10px;
971
+ }
972
+
973
+ .will-image-card {
974
+ display: flex;
975
+ gap: 20px;
976
+ justify-content: space-between;
977
+ align-items: center;
978
+ padding: 8px 30px;
979
+ cursor: pointer;
980
+ user-select: none;
981
+ min-height: 40px;
982
+ }
983
+
984
+ .will-image-card.is-selected {
985
+ background-color: var(--will-transparent-lavender);
986
+ }
987
+
988
+ .will-image-card:hover {
989
+ background-color: var(--will-transparent-lavender);
990
+ }
991
+
992
+ .will-image-card-image img {
993
+ width: 120px;
994
+ height: 68px;
995
+ object-fit: cover;
996
+ }
997
+
998
+ @media (max-width: 960px) {
999
+ .will-image-card {
1000
+ padding: 8px 20px;
1001
+ }
1002
+ }
1003
+
1004
+ #will-filter-bar-locations {
1005
+ text-align: initial;
1006
+ }
1007
+
1008
+ .will-locations-filter-container {
1009
+ display: flex;
1010
+ flex-direction: column;
1011
+ min-width: 400px;
1012
+ padding-bottom: 16px;
1013
+ }
1014
+
1015
+ @media (max-width: 960px) {
1016
+ .will-locations-filter-container {
1017
+ min-width: 100%;
1018
+ }
1019
+ }
1020
+
1021
+ .will-filter-bar-panels {
1022
+ background-color: var(--will-white);
1023
+ min-height: 100px;
1024
+ position: absolute;
1025
+ z-index: 111;
1026
+ border-radius: 25px;
1027
+ box-shadow: var(--will-box-shadow);
1028
+
1029
+ top: calc(var(--panel-top-below, 0px) + 10px);
1030
+ left: var(--panel-left, 0px);
1031
+ }
1032
+
1033
+ @media (max-width: 960px) {
1034
+ .will-root {
1035
+ width: 100%;
1036
+ min-width: auto;
1037
+ max-height: 100vh;
1038
+ z-index: 3;
1039
+ }
1040
+
1041
+ .will-filter-bar-panels {
1042
+ top: var(--panel-top-overlay, 0px);
1043
+ left: 0;
1044
+ width: 100%;
1045
+ z-index: 999;
1046
+ }
1047
+ }
1048
+
1049
+ .will-filter-bar-controls {
1050
+ display: flex;
1051
+ justify-content: space-between;
1052
+ padding: 10px;
1053
+ position: relative;
1054
+ z-index: 222;
1055
+ border-radius: 40px;
1056
+ background-color: var(--will-white);
1057
+ }
1058
+
1059
+ @media (max-width: 960px) {
1060
+ .will-filter-bar-controls {
1061
+ flex-direction: column;
1062
+ padding: 20px;
1063
+ border-radius: 25px;
1064
+ overflow: hidden;
1065
+ }
1066
+
1067
+ .will-filter-bar-controls.disabled {
1068
+ opacity: 0.1;
1069
+ }
1070
+ }
1071
+
1072
+ .will-filter-bar-tabs {
1073
+ display: flex;
1074
+ align-items: center;
1075
+ justify-content: center;
1076
+ position: relative;
1077
+ z-index: 222;
1078
+ background: transparent;
1079
+ padding: 10px;
1080
+ gap: 10px;
1081
+ }
1082
+
1083
+ .will-root * {
1084
+ font-family: 'Montserrat', sans-serif;
1085
+ }
1086
+
1087
+ .will-root {
1088
+
1089
+ box-sizing: border-box;
1090
+ font-size: 14px;
1091
+
1092
+ color: #1E1E1E;
1093
+
1094
+ /* Palette */
1095
+ --will-primary: #374269;
1096
+ --will-secondary: #374269;
1097
+ --will-grey: #ABA7AF;
1098
+ --will-light-grey: #C8C8C8;
1099
+ --will-white: #fff;
1100
+ --will-white-transparent: #ffffffcf;
1101
+ --will-black: #000;
1102
+ --will-onahau: #CDEEFF;
1103
+ --will-text: #5A5959;
1104
+ --will-charcoal-blue: #384265;
1105
+ --will-error: #d32f2f;
1106
+
1107
+ /* Transparent */
1108
+ --will-transparent-black: rgba(0, 0, 0, 0.5);
1109
+ --will-transparent-white: rgba(255, 255, 255, 0.30);
1110
+ --will-transparent-lavender: rgba(171, 167, 175, 0.30);
1111
+
1112
+ /* Color mix */
1113
+ --will-primary-lighter: color-mix(in srgb, var(--will-primary), white 50%);
1114
+ --will-primary-lightest: color-mix(in srgb, var(--will-primary), white 80%);
1115
+
1116
+
1117
+ /* Shadows */
1118
+ --will-box-shadow-dark: 0px 2px 12px 2px #a1a1a180;
1119
+ --will-box-shadow-light: 0px 2px 12px 2px #bcb9b980;
1120
+
1121
+ /* Breakpoints */
1122
+ --will-lg: 1140px;
1123
+ --will-md: 960px;
1124
+ --will-sm: 600px;
1125
+ --will-xl: 1280px;
1126
+ --will-xs: 0px;
1127
+ }
1128
+
1129
+ /* Typography */
1130
+
1131
+ .will-root h1, h2, h3, h4, h5, h6 {
1132
+ font-weight: 700;
1133
+ }
1134
+
1135
+ .will-root p, h1, h2, h3, h4, h5, h6, span {
1136
+ margin: 0;
1137
+ padding: 0;
1138
+ }
1139
+
1140
+
1141
+ /* Integration fixes */
1142
+
1143
+ .will-root p {
1144
+ margin: 0 !important;
1145
+ }
1146
+
1147
+ .will-root button {
1148
+ line-height: normal !important;
1149
+ }
1150
+
1151
+ .will-root {
1152
+ z-index: 999;
1153
+ width: fit-content;
1154
+ min-width: 796px;
1155
+ max-height: 100vh;
1156
+ position: relative;
1157
+ }
1158
+
1159
+ .will-root.is-full-width {
1160
+ width: 100%;
1161
+ }
1162
+
1163
+ .will-filter-bar {
1164
+ box-sizing: border-box;
1165
+ position: relative;
1166
+ }
1167
+
1168
+ @media (max-width: 960px) {
1169
+ .will-root {
1170
+ width: 100%;
1171
+ min-width: auto;
1172
+ }
1173
+ }
1174
+
1175
+ /* Common */
1176
+
1177
+ .will-filter-bar-controls.dark,
1178
+ .will-filter-bar-panels.dark {
1179
+ box-shadow: var(--will-box-shadow-dark);
1180
+ }
1181
+
1182
+ .will-filter-bar-controls.light,
1183
+ .will-filter-bar-panels.light {
1184
+ box-shadow: var(--will-box-shadow-light);
1185
+ }
1186
+
1187
+ .will-root .will-calendar-wrapper {
1188
+ box-shadow: var(--will-box-shadow-dark);
1189
+ border-radius: 20px;
1190
+ background-color: var(--will-white);
1191
+ position: absolute;
1192
+ top: 0;
1193
+ left: 0;
1194
+
1195
+ }
1196
+
1197
+ .will-root .will-calendar-wrapper .will-calendar-header,
1198
+ .will-root .will-calendar-wrapper .will-calendar-main,
1199
+ .will-root .will-calendar-wrapper .will-calendar-footer {
1200
+ padding: 20px;
1201
+ }
1202
+
1203
+ /* Header */
1204
+
1205
+ .will-root .will-calendar-wrapper .will-calendar-header {
1206
+ display: flex;
1207
+ justify-content: space-between;
1208
+ border-bottom: 1px solid var(--will-grey);
1209
+ align-items: center;
1210
+ }
1211
+
1212
+ /* Footer */
1213
+
1214
+ .will-root .will-calendar-wrapper .will-calendar-footer {
1215
+ border-top: 1px solid var(--will-grey);
1216
+ }
1217
+
1218
+ /* Footer actions */
1219
+
1220
+ .will-root .will-calendar-wrapper .will-calendar-footer-actions-wrapper {
1221
+ display: flex;
1222
+ justify-content: space-between;
1223
+ }
1224
+
1225
+ .will-root .will-calendar-wrapper .will-calendar-footer-dates > div {
1226
+ margin-bottom: 5px;
1227
+ }
1228
+
1229
+ .will-root .will-calendar-wrapper .will-calendar-footer-dates-separator {
1230
+ margin: 0 15px;
1231
+ }
1232
+
1233
+ .will-root .will-calendar-wrapper .will-calendar-footer-dates .will-calendar-footer-booked {
1234
+ display: flex;
1235
+ min-height: 20.5px;
1236
+ margin-top: 10px;
1237
+ }
1238
+
1239
+ .will-root .will-calendar-wrapper .will-calendar-footer-error {
1240
+ display: flex;
1241
+ max-width: 80%;
1242
+ }
1243
+
1244
+ .will-root .will-calendar-wrapper .will-calendar-footer-error span {
1245
+ display: inline-block;
1246
+ margin-left: 10px;
1247
+ }
1248
+
1249
+ @media (max-width: 960px) {
1250
+ .will-root .will-calendar-wrapper {
1251
+ width: -webkit-fill-available;
1252
+ margin: 0 -6%;
1253
+ }
1254
+
1255
+ .will-root .will-calendar-wrapper .will-calendar-header,
1256
+ .will-root .will-calendar-wrapper .will-calendar-main,
1257
+ .will-root .will-calendar-wrapper .will-calendar-footer {
1258
+ padding: 20px 10px;
1259
+ }
1260
+
1261
+ .will-root .will-calendar-wrapper .will-calendar-footer-actions-wrapper {
1262
+ flex-direction: column;
1263
+ }
1264
+
1265
+ .will-root .will-calendar-wrapper .will-calendar-footer-dates {
1266
+ text-align: center;
1267
+ }
1268
+
1269
+ .will-root .will-calendar-wrapper .will-calendar-footer-dates .will-calendar-footer-booked {
1270
+ justify-content: center;
1271
+ }
1272
+
1273
+ .will-root .will-calendar-wrapper .will-calendar-footer-actions {
1274
+ flex-direction: column;
1275
+ width: 100%;
1276
+ }
1277
+
1278
+ .will-root .will-calendar-wrapper .will-calendar-footer-actions button{
1279
+ width: 100%;
1280
+ margin-top: 10px;
1281
+ }
1282
+
1283
+ .will-root .will-calendar-wrapper .will-calendar-footer-error {
1284
+ max-width: 100%;
1285
+ }
1286
+
1287
+ .will-root .will-calendar-wrapper .will-calendar-footer-error span {
1288
+ text-align: center;
1289
+ margin-left: 5px;
1290
+ }
1291
+ }
1292
+
1293
+ .will-root .will-calendar-wrapper .will-calendar-header .will-filter-bar-close-button {
1294
+ position: initial;
1295
+ }