@vialiq/flux-ui 0.15.0 → 0.17.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.
@@ -0,0 +1,796 @@
1
+ @use 'variables' as tokens;
2
+ .flatpickr-calendar {
3
+ background: transparent;
4
+ opacity: 0;
5
+ display: none;
6
+ text-align: center;
7
+ visibility: hidden;
8
+ padding: 0;
9
+ -webkit-animation: none;
10
+ animation: none;
11
+ direction: ltr;
12
+ border: 0;
13
+ font-size: 14px;
14
+ line-height: 24px;
15
+ border-radius: 5px;
16
+ position: absolute;
17
+ width: 307.875px;
18
+ -webkit-box-sizing: border-box;
19
+ box-sizing: border-box;
20
+ -ms-touch-action: manipulation;
21
+ touch-action: manipulation;
22
+ background: #{tokens.$color-background};
23
+ -webkit-box-shadow: var(--vi-date-picker-calendar-shadow, #{tokens.$shadow-lg});
24
+ box-shadow: var(--vi-date-picker-calendar-shadow, #{tokens.$shadow-lg});
25
+ }
26
+ .flatpickr-calendar.open,
27
+ .flatpickr-calendar.inline {
28
+ opacity: 1;
29
+ max-height: 640px;
30
+ visibility: visible;
31
+ }
32
+ .flatpickr-calendar.open {
33
+ display: inline-block;
34
+ z-index: 99999;
35
+ }
36
+ .flatpickr-calendar.animate.open {
37
+ -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
38
+ animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
39
+ }
40
+ .flatpickr-calendar.inline {
41
+ display: block;
42
+ position: relative;
43
+ top: 2px;
44
+ }
45
+ .flatpickr-calendar.static {
46
+ position: absolute;
47
+ top: calc(100% + 2px);
48
+ }
49
+ .flatpickr-calendar.static.open {
50
+ z-index: 999;
51
+ display: block;
52
+ }
53
+ .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
54
+ -webkit-box-shadow: none !important;
55
+ box-shadow: none !important;
56
+ }
57
+ .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
58
+ -webkit-box-shadow: none;
59
+ box-shadow: none;
60
+ }
61
+ .flatpickr-calendar .hasWeeks .dayContainer,
62
+ .flatpickr-calendar .hasTime .dayContainer {
63
+ border-bottom: 0;
64
+ border-bottom-right-radius: 0;
65
+ border-bottom-left-radius: 0;
66
+ }
67
+ .flatpickr-calendar .hasWeeks .dayContainer {
68
+ border-left: 0;
69
+ }
70
+ .flatpickr-calendar.hasTime .flatpickr-time {
71
+ height: 40px;
72
+ border-top: 1px solid #{tokens.$color-border};
73
+ }
74
+ .flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
75
+ height: auto;
76
+ }
77
+ .flatpickr-calendar:before,
78
+ .flatpickr-calendar:after {
79
+ position: absolute;
80
+ display: block;
81
+ pointer-events: none;
82
+ border: solid transparent;
83
+ content: '';
84
+ height: 0;
85
+ width: 0;
86
+ left: 22px;
87
+ }
88
+ .flatpickr-calendar.rightMost:before,
89
+ .flatpickr-calendar.arrowRight:before,
90
+ .flatpickr-calendar.rightMost:after,
91
+ .flatpickr-calendar.arrowRight:after {
92
+ left: auto;
93
+ right: 22px;
94
+ }
95
+ .flatpickr-calendar.arrowCenter:before,
96
+ .flatpickr-calendar.arrowCenter:after {
97
+ left: 50%;
98
+ right: 50%;
99
+ }
100
+ .flatpickr-calendar:before {
101
+ border-width: 5px;
102
+ margin: 0 -5px;
103
+ }
104
+ .flatpickr-calendar:after {
105
+ border-width: 4px;
106
+ margin: 0 -4px;
107
+ }
108
+ .flatpickr-calendar.arrowTop:before,
109
+ .flatpickr-calendar.arrowTop:after {
110
+ bottom: 100%;
111
+ }
112
+ .flatpickr-calendar.arrowTop:before {
113
+ border-bottom-color: #{tokens.$color-border};
114
+ }
115
+ .flatpickr-calendar.arrowTop:after {
116
+ border-bottom-color: #{tokens.$color-background};
117
+ }
118
+ .flatpickr-calendar.arrowBottom:before,
119
+ .flatpickr-calendar.arrowBottom:after {
120
+ top: 100%;
121
+ }
122
+ .flatpickr-calendar.arrowBottom:before {
123
+ border-top-color: #{tokens.$color-border};
124
+ }
125
+ .flatpickr-calendar.arrowBottom:after {
126
+ border-top-color: #{tokens.$color-background};
127
+ }
128
+ .flatpickr-calendar:focus {
129
+ outline: 0;
130
+ }
131
+ .flatpickr-wrapper {
132
+ position: relative;
133
+ display: inline-block;
134
+ }
135
+ .flatpickr-months {
136
+ display: -webkit-box;
137
+ display: -webkit-flex;
138
+ display: -ms-flexbox;
139
+ display: flex;
140
+ }
141
+ .flatpickr-months .flatpickr-month {
142
+ background: transparent;
143
+ color: #{tokens.$text-primary};
144
+ fill: #{tokens.$text-primary};
145
+ height: 34px;
146
+ line-height: 1;
147
+ text-align: center;
148
+ position: relative;
149
+ -webkit-user-select: none;
150
+ -moz-user-select: none;
151
+ -ms-user-select: none;
152
+ user-select: none;
153
+ overflow: hidden;
154
+ -webkit-box-flex: 1;
155
+ -webkit-flex: 1;
156
+ -ms-flex: 1;
157
+ flex: 1;
158
+ }
159
+ .flatpickr-months .flatpickr-prev-month,
160
+ .flatpickr-months .flatpickr-next-month {
161
+ -webkit-user-select: none;
162
+ -moz-user-select: none;
163
+ -ms-user-select: none;
164
+ user-select: none;
165
+ text-decoration: none;
166
+ cursor: pointer;
167
+ position: absolute;
168
+ top: 0;
169
+ height: 34px;
170
+ padding: 10px;
171
+ z-index: 3;
172
+ color: #{tokens.$text-primary};
173
+ fill: #{tokens.$text-primary};
174
+ }
175
+ .flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
176
+ .flatpickr-months .flatpickr-next-month.flatpickr-disabled {
177
+ display: none;
178
+ }
179
+ .flatpickr-months .flatpickr-prev-month i,
180
+ .flatpickr-months .flatpickr-next-month i {
181
+ position: relative;
182
+ }
183
+ .flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
184
+ .flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
185
+ /*
186
+ /*rtl:begin:ignore*/
187
+ /*
188
+ */
189
+ left: 0;
190
+ /*
191
+ /*rtl:end:ignore*/
192
+ /*
193
+ */
194
+ }
195
+ /*
196
+ /*rtl:begin:ignore*/
197
+ /*
198
+ /*rtl:end:ignore*/
199
+ .flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
200
+ .flatpickr-months .flatpickr-next-month.flatpickr-next-month {
201
+ /*
202
+ /*rtl:begin:ignore*/
203
+ /*
204
+ */
205
+ right: 0;
206
+ /*
207
+ /*rtl:end:ignore*/
208
+ /*
209
+ */
210
+ }
211
+ /*
212
+ /*rtl:begin:ignore*/
213
+ /*
214
+ /*rtl:end:ignore*/
215
+ .flatpickr-months .flatpickr-prev-month:hover,
216
+ .flatpickr-months .flatpickr-next-month:hover {
217
+ color: #{tokens.$text-secondary};
218
+ }
219
+ .flatpickr-months .flatpickr-prev-month:hover svg,
220
+ .flatpickr-months .flatpickr-next-month:hover svg {
221
+ fill: #{tokens.$color-error};
222
+ }
223
+ .flatpickr-months .flatpickr-prev-month svg,
224
+ .flatpickr-months .flatpickr-next-month svg {
225
+ width: 14px;
226
+ height: 14px;
227
+ }
228
+ .flatpickr-months .flatpickr-prev-month svg path,
229
+ .flatpickr-months .flatpickr-next-month svg path {
230
+ -webkit-transition: fill 0.1s;
231
+ transition: fill 0.1s;
232
+ fill: inherit;
233
+ }
234
+ .numInputWrapper {
235
+ position: relative;
236
+ height: auto;
237
+ }
238
+ .numInputWrapper input,
239
+ .numInputWrapper span {
240
+ display: inline-block;
241
+ }
242
+ .numInputWrapper input {
243
+ width: 100%;
244
+ }
245
+ .numInputWrapper input::-ms-clear {
246
+ display: none;
247
+ }
248
+ .numInputWrapper input::-webkit-outer-spin-button,
249
+ .numInputWrapper input::-webkit-inner-spin-button {
250
+ margin: 0;
251
+ -webkit-appearance: none;
252
+ }
253
+ .numInputWrapper span {
254
+ position: absolute;
255
+ right: 0;
256
+ width: 14px;
257
+ padding: 0 4px 0 2px;
258
+ height: 50%;
259
+ line-height: 50%;
260
+ opacity: 0;
261
+ cursor: pointer;
262
+ border: 1px solid #{tokens.$border-02};
263
+ -webkit-box-sizing: border-box;
264
+ box-sizing: border-box;
265
+ }
266
+ .numInputWrapper span:hover {
267
+ background: #{tokens.$layer-hover-01};
268
+ }
269
+ .numInputWrapper span:active {
270
+ background: #{tokens.$layer-hover-02};
271
+ }
272
+ .numInputWrapper span:after {
273
+ display: block;
274
+ content: "";
275
+ position: absolute;
276
+ }
277
+ .numInputWrapper span.arrowUp {
278
+ top: 0;
279
+ border-bottom: 0;
280
+ }
281
+ .numInputWrapper span.arrowUp:after {
282
+ border-left: 4px solid transparent;
283
+ border-right: 4px solid transparent;
284
+ border-bottom: 4px solid #{tokens.$text-secondary};
285
+ top: 26%;
286
+ }
287
+ .numInputWrapper span.arrowDown {
288
+ top: 50%;
289
+ }
290
+ .numInputWrapper span.arrowDown:after {
291
+ border-left: 4px solid transparent;
292
+ border-right: 4px solid transparent;
293
+ border-top: 4px solid #{tokens.$text-secondary};
294
+ top: 40%;
295
+ }
296
+ .numInputWrapper span svg {
297
+ width: inherit;
298
+ height: auto;
299
+ }
300
+ .numInputWrapper span svg path {
301
+ fill: #{tokens.$text-secondary};
302
+ }
303
+ .numInputWrapper:hover {
304
+ background: #{tokens.$layer-hover-01};
305
+ }
306
+ .numInputWrapper:hover span {
307
+ opacity: 1;
308
+ }
309
+ .flatpickr-current-month {
310
+ font-size: 135%;
311
+ line-height: inherit;
312
+ font-weight: 300;
313
+ color: inherit;
314
+ position: absolute;
315
+ width: 75%;
316
+ left: 12.5%;
317
+ padding: 7.48px 0 0 0;
318
+ line-height: 1;
319
+ height: 34px;
320
+ display: inline-block;
321
+ text-align: center;
322
+ -webkit-transform: translate3d(0px, 0px, 0px);
323
+ transform: translate3d(0px, 0px, 0px);
324
+ }
325
+ .flatpickr-current-month span.cur-month {
326
+ font-family: inherit;
327
+ font-weight: 700;
328
+ color: inherit;
329
+ display: inline-block;
330
+ margin-left: 0.5ch;
331
+ padding: 0;
332
+ }
333
+ .flatpickr-current-month span.cur-month:hover {
334
+ background: #{tokens.$layer-hover-01};
335
+ }
336
+ .flatpickr-current-month .numInputWrapper {
337
+ width: 6ch;
338
+ width: 7ch\0;
339
+ display: inline-block;
340
+ }
341
+ .flatpickr-current-month .numInputWrapper span.arrowUp:after {
342
+ border-bottom-color: #{tokens.$text-primary};
343
+ }
344
+ .flatpickr-current-month .numInputWrapper span.arrowDown:after {
345
+ border-top-color: #{tokens.$text-primary};
346
+ }
347
+ .flatpickr-current-month input.cur-year {
348
+ background: transparent;
349
+ -webkit-box-sizing: border-box;
350
+ box-sizing: border-box;
351
+ color: inherit;
352
+ cursor: text;
353
+ padding: 0 0 0 0.5ch;
354
+ margin: 0;
355
+ display: inline-block;
356
+ font-size: inherit;
357
+ font-family: inherit;
358
+ font-weight: 300;
359
+ line-height: inherit;
360
+ height: auto;
361
+ border: 0;
362
+ border-radius: 0;
363
+ vertical-align: initial;
364
+ -webkit-appearance: textfield;
365
+ -moz-appearance: textfield;
366
+ appearance: textfield;
367
+ }
368
+ .flatpickr-current-month input.cur-year:focus {
369
+ outline: 0;
370
+ }
371
+ .flatpickr-current-month input.cur-year[disabled],
372
+ .flatpickr-current-month input.cur-year[disabled]:hover {
373
+ font-size: 100%;
374
+ color: #{tokens.$text-secondary};
375
+ background: transparent;
376
+ pointer-events: none;
377
+ }
378
+ .flatpickr-current-month .flatpickr-monthDropdown-months {
379
+ appearance: menulist;
380
+ background: transparent;
381
+ border: none;
382
+ border-radius: 0;
383
+ box-sizing: border-box;
384
+ color: inherit;
385
+ cursor: pointer;
386
+ font-size: inherit;
387
+ font-family: inherit;
388
+ font-weight: 300;
389
+ height: auto;
390
+ line-height: inherit;
391
+ margin: -1px 0 0 0;
392
+ outline: none;
393
+ padding: 0 0 0 0.5ch;
394
+ position: relative;
395
+ vertical-align: initial;
396
+ -webkit-box-sizing: border-box;
397
+ -webkit-appearance: menulist;
398
+ -moz-appearance: menulist;
399
+ width: auto;
400
+ }
401
+ .flatpickr-current-month .flatpickr-monthDropdown-months:focus,
402
+ .flatpickr-current-month .flatpickr-monthDropdown-months:active {
403
+ outline: none;
404
+ }
405
+ .flatpickr-current-month .flatpickr-monthDropdown-months:hover {
406
+ background: #{tokens.$layer-hover-01};
407
+ }
408
+ .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
409
+ background-color: transparent;
410
+ outline: none;
411
+ padding: 0;
412
+ }
413
+ .flatpickr-weekdays {
414
+ background: transparent;
415
+ text-align: center;
416
+ overflow: hidden;
417
+ width: 100%;
418
+ display: -webkit-box;
419
+ display: -webkit-flex;
420
+ display: -ms-flexbox;
421
+ display: flex;
422
+ -webkit-box-align: center;
423
+ -webkit-align-items: center;
424
+ -ms-flex-align: center;
425
+ align-items: center;
426
+ height: 28px;
427
+ }
428
+ .flatpickr-weekdays .flatpickr-weekdaycontainer {
429
+ display: -webkit-box;
430
+ display: -webkit-flex;
431
+ display: -ms-flexbox;
432
+ display: flex;
433
+ -webkit-box-flex: 1;
434
+ -webkit-flex: 1;
435
+ -ms-flex: 1;
436
+ flex: 1;
437
+ }
438
+ span.flatpickr-weekday {
439
+ cursor: default;
440
+ font-size: 90%;
441
+ background: transparent;
442
+ color: #{tokens.$text-secondary};
443
+ line-height: 1;
444
+ margin: 0;
445
+ text-align: center;
446
+ display: block;
447
+ -webkit-box-flex: 1;
448
+ -webkit-flex: 1;
449
+ -ms-flex: 1;
450
+ flex: 1;
451
+ font-weight: bolder;
452
+ }
453
+ .dayContainer,
454
+ .flatpickr-weeks {
455
+ padding: 1px 0 0 0;
456
+ }
457
+ .flatpickr-days {
458
+ position: relative;
459
+ overflow: hidden;
460
+ display: -webkit-box;
461
+ display: -webkit-flex;
462
+ display: -ms-flexbox;
463
+ display: flex;
464
+ -webkit-box-align: start;
465
+ -webkit-align-items: flex-start;
466
+ -ms-flex-align: start;
467
+ align-items: flex-start;
468
+ width: 307.875px;
469
+ }
470
+ .flatpickr-days:focus {
471
+ outline: 0;
472
+ }
473
+ .dayContainer {
474
+ padding: 0;
475
+ outline: 0;
476
+ text-align: left;
477
+ width: 307.875px;
478
+ min-width: 307.875px;
479
+ max-width: 307.875px;
480
+ -webkit-box-sizing: border-box;
481
+ box-sizing: border-box;
482
+ display: inline-block;
483
+ display: -ms-flexbox;
484
+ display: -webkit-box;
485
+ display: -webkit-flex;
486
+ display: flex;
487
+ -webkit-flex-wrap: wrap;
488
+ flex-wrap: wrap;
489
+ -ms-flex-wrap: wrap;
490
+ -ms-flex-pack: justify;
491
+ -webkit-justify-content: space-around;
492
+ justify-content: space-around;
493
+ -webkit-transform: translate3d(0px, 0px, 0px);
494
+ transform: translate3d(0px, 0px, 0px);
495
+ opacity: 1;
496
+ }
497
+ .dayContainer + .dayContainer {
498
+ -webkit-box-shadow: -1px 0 0 #{tokens.$color-border};
499
+ box-shadow: -1px 0 0 #{tokens.$color-border};
500
+ }
501
+ .flatpickr-day {
502
+ background: none;
503
+ border: 1px solid transparent;
504
+ border-radius: 150px;
505
+ -webkit-box-sizing: border-box;
506
+ box-sizing: border-box;
507
+ color: #{tokens.$text-primary};
508
+ cursor: pointer;
509
+ font-weight: 400;
510
+ width: 14.2857143%;
511
+ -webkit-flex-basis: 14.2857143%;
512
+ -ms-flex-preferred-size: 14.2857143%;
513
+ flex-basis: 14.2857143%;
514
+ max-width: 39px;
515
+ height: 39px;
516
+ line-height: 39px;
517
+ margin: 0;
518
+ display: inline-block;
519
+ position: relative;
520
+ -webkit-box-pack: center;
521
+ -webkit-justify-content: center;
522
+ -ms-flex-pack: center;
523
+ justify-content: center;
524
+ text-align: center;
525
+ }
526
+ .flatpickr-day.inRange,
527
+ .flatpickr-day.prevMonthDay.inRange,
528
+ .flatpickr-day.nextMonthDay.inRange,
529
+ .flatpickr-day.today.inRange,
530
+ .flatpickr-day.prevMonthDay.today.inRange,
531
+ .flatpickr-day.nextMonthDay.today.inRange,
532
+ .flatpickr-day:hover,
533
+ .flatpickr-day.prevMonthDay:hover,
534
+ .flatpickr-day.nextMonthDay:hover,
535
+ .flatpickr-day:focus,
536
+ .flatpickr-day.prevMonthDay:focus,
537
+ .flatpickr-day.nextMonthDay:focus {
538
+ cursor: pointer;
539
+ outline: 0;
540
+ background: #{tokens.$color-border};
541
+ border-color: #{tokens.$color-border};
542
+ }
543
+ .flatpickr-day.today {
544
+ border-color: #{tokens.$text-secondary};
545
+ }
546
+ .flatpickr-day.today:hover,
547
+ .flatpickr-day.today:focus {
548
+ border-color: #{tokens.$text-secondary};
549
+ background: #{tokens.$text-secondary};
550
+ color: #{tokens.$color-background};
551
+ }
552
+ .flatpickr-day.selected,
553
+ .flatpickr-day.startRange,
554
+ .flatpickr-day.endRange,
555
+ .flatpickr-day.selected.inRange,
556
+ .flatpickr-day.startRange.inRange,
557
+ .flatpickr-day.endRange.inRange,
558
+ .flatpickr-day.selected:focus,
559
+ .flatpickr-day.startRange:focus,
560
+ .flatpickr-day.endRange:focus,
561
+ .flatpickr-day.selected:hover,
562
+ .flatpickr-day.startRange:hover,
563
+ .flatpickr-day.endRange:hover,
564
+ .flatpickr-day.selected.prevMonthDay,
565
+ .flatpickr-day.startRange.prevMonthDay,
566
+ .flatpickr-day.endRange.prevMonthDay,
567
+ .flatpickr-day.selected.nextMonthDay,
568
+ .flatpickr-day.startRange.nextMonthDay,
569
+ .flatpickr-day.endRange.nextMonthDay {
570
+ background: #{tokens.$color-primary};
571
+ -webkit-box-shadow: none;
572
+ box-shadow: none;
573
+ color: #{tokens.$color-background};
574
+ border-color: #{tokens.$color-primary};
575
+ }
576
+ .flatpickr-day.selected.startRange,
577
+ .flatpickr-day.startRange.startRange,
578
+ .flatpickr-day.endRange.startRange {
579
+ border-radius: 50px 0 0 50px;
580
+ }
581
+ .flatpickr-day.selected.endRange,
582
+ .flatpickr-day.startRange.endRange,
583
+ .flatpickr-day.endRange.endRange {
584
+ border-radius: 0 50px 50px 0;
585
+ }
586
+ .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
587
+ .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
588
+ .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
589
+ -webkit-box-shadow: -10px 0 0 #{tokens.$color-primary};
590
+ box-shadow: -10px 0 0 #{tokens.$color-primary};
591
+ }
592
+ .flatpickr-day.selected.startRange.endRange,
593
+ .flatpickr-day.startRange.startRange.endRange,
594
+ .flatpickr-day.endRange.startRange.endRange {
595
+ border-radius: 50px;
596
+ }
597
+ .flatpickr-day.inRange {
598
+ border-radius: 0;
599
+ -webkit-box-shadow: -5px 0 0 #{tokens.$layer-03}, 5px 0 0 #{tokens.$layer-03};
600
+ box-shadow: -5px 0 0 #{tokens.$layer-03}, 5px 0 0 #{tokens.$layer-03};
601
+ }
602
+ .flatpickr-day.flatpickr-disabled,
603
+ .flatpickr-day.flatpickr-disabled:hover,
604
+ .flatpickr-day.prevMonthDay,
605
+ .flatpickr-day.nextMonthDay,
606
+ .flatpickr-day.notAllowed,
607
+ .flatpickr-day.notAllowed.prevMonthDay,
608
+ .flatpickr-day.notAllowed.nextMonthDay {
609
+ color: #{tokens.$text-disabled};
610
+ background: transparent;
611
+ border-color: transparent;
612
+ cursor: default;
613
+ }
614
+ .flatpickr-day.flatpickr-disabled,
615
+ .flatpickr-day.flatpickr-disabled:hover {
616
+ cursor: not-allowed;
617
+ color: #{tokens.$layer-disabled};
618
+ }
619
+ .flatpickr-day.week.selected {
620
+ border-radius: 0;
621
+ -webkit-box-shadow: -5px 0 0 #{tokens.$color-primary}, 5px 0 0 #{tokens.$color-primary};
622
+ box-shadow: -5px 0 0 #{tokens.$color-primary}, 5px 0 0 #{tokens.$color-primary};
623
+ }
624
+ .flatpickr-day.hidden {
625
+ visibility: hidden;
626
+ }
627
+ .rangeMode .flatpickr-day {
628
+ margin-top: 1px;
629
+ }
630
+ .flatpickr-weekwrapper {
631
+ float: left;
632
+ }
633
+ .flatpickr-weekwrapper .flatpickr-weeks {
634
+ padding: 0 12px;
635
+ -webkit-box-shadow: 1px 0 0 #{tokens.$color-border};
636
+ box-shadow: 1px 0 0 #{tokens.$color-border};
637
+ }
638
+ .flatpickr-weekwrapper .flatpickr-weekday {
639
+ float: none;
640
+ width: 100%;
641
+ line-height: 28px;
642
+ }
643
+ .flatpickr-weekwrapper span.flatpickr-day,
644
+ .flatpickr-weekwrapper span.flatpickr-day:hover {
645
+ display: block;
646
+ width: 100%;
647
+ max-width: none;
648
+ color: #{tokens.$text-disabled};
649
+ background: transparent;
650
+ cursor: default;
651
+ border: none;
652
+ }
653
+ .flatpickr-innerContainer {
654
+ display: block;
655
+ display: -webkit-box;
656
+ display: -webkit-flex;
657
+ display: -ms-flexbox;
658
+ display: flex;
659
+ -webkit-box-sizing: border-box;
660
+ box-sizing: border-box;
661
+ overflow: hidden;
662
+ }
663
+ .flatpickr-rContainer {
664
+ display: inline-block;
665
+ padding: 0;
666
+ -webkit-box-sizing: border-box;
667
+ box-sizing: border-box;
668
+ }
669
+ .flatpickr-time {
670
+ text-align: center;
671
+ outline: 0;
672
+ display: block;
673
+ height: 0;
674
+ line-height: 40px;
675
+ max-height: 40px;
676
+ -webkit-box-sizing: border-box;
677
+ box-sizing: border-box;
678
+ overflow: hidden;
679
+ display: -webkit-box;
680
+ display: -webkit-flex;
681
+ display: -ms-flexbox;
682
+ display: flex;
683
+ }
684
+ .flatpickr-time:after {
685
+ content: "";
686
+ display: table;
687
+ clear: both;
688
+ }
689
+ .flatpickr-time .numInputWrapper {
690
+ -webkit-box-flex: 1;
691
+ -webkit-flex: 1;
692
+ -ms-flex: 1;
693
+ flex: 1;
694
+ width: 40%;
695
+ height: 40px;
696
+ float: left;
697
+ }
698
+ .flatpickr-time .numInputWrapper span.arrowUp:after {
699
+ border-bottom-color: #{tokens.$text-primary};
700
+ }
701
+ .flatpickr-time .numInputWrapper span.arrowDown:after {
702
+ border-top-color: #{tokens.$text-primary};
703
+ }
704
+ .flatpickr-time.hasSeconds .numInputWrapper {
705
+ width: 26%;
706
+ }
707
+ .flatpickr-time.time24hr .numInputWrapper {
708
+ width: 49%;
709
+ }
710
+ .flatpickr-time input {
711
+ background: transparent;
712
+ -webkit-box-shadow: none;
713
+ box-shadow: none;
714
+ border: 0;
715
+ border-radius: 0;
716
+ text-align: center;
717
+ margin: 0;
718
+ padding: 0;
719
+ height: inherit;
720
+ line-height: inherit;
721
+ color: #{tokens.$text-primary};
722
+ font-size: 14px;
723
+ position: relative;
724
+ -webkit-box-sizing: border-box;
725
+ box-sizing: border-box;
726
+ -webkit-appearance: textfield;
727
+ -moz-appearance: textfield;
728
+ appearance: textfield;
729
+ }
730
+ .flatpickr-time input.flatpickr-hour {
731
+ font-weight: bold;
732
+ }
733
+ .flatpickr-time input.flatpickr-minute,
734
+ .flatpickr-time input.flatpickr-second {
735
+ font-weight: 400;
736
+ }
737
+ .flatpickr-time input:focus {
738
+ outline: 0;
739
+ border: 0;
740
+ }
741
+ .flatpickr-time .flatpickr-time-separator,
742
+ .flatpickr-time .flatpickr-am-pm {
743
+ height: inherit;
744
+ float: left;
745
+ line-height: inherit;
746
+ color: #{tokens.$text-primary};
747
+ font-weight: bold;
748
+ width: 2%;
749
+ -webkit-user-select: none;
750
+ -moz-user-select: none;
751
+ -ms-user-select: none;
752
+ user-select: none;
753
+ -webkit-align-self: center;
754
+ -ms-flex-item-align: center;
755
+ align-self: center;
756
+ }
757
+ .flatpickr-time .flatpickr-am-pm {
758
+ outline: 0;
759
+ width: 18%;
760
+ cursor: pointer;
761
+ text-align: center;
762
+ font-weight: 400;
763
+ }
764
+ .flatpickr-time input:hover,
765
+ .flatpickr-time .flatpickr-am-pm:hover,
766
+ .flatpickr-time input:focus,
767
+ .flatpickr-time .flatpickr-am-pm:focus {
768
+ background: #{tokens.$layer-hover-01};
769
+ }
770
+ .flatpickr-input[readonly] {
771
+ cursor: pointer;
772
+ }
773
+ @-webkit-keyframes fpFadeInDown {
774
+ from {
775
+ opacity: 0;
776
+ -webkit-transform: translate3d(0, -20px, 0);
777
+ transform: translate3d(0, -20px, 0);
778
+ }
779
+ to {
780
+ opacity: 1;
781
+ -webkit-transform: translate3d(0, 0, 0);
782
+ transform: translate3d(0, 0, 0);
783
+ }
784
+ }
785
+ @keyframes fpFadeInDown {
786
+ from {
787
+ opacity: 0;
788
+ -webkit-transform: translate3d(0, -20px, 0);
789
+ transform: translate3d(0, -20px, 0);
790
+ }
791
+ to {
792
+ opacity: 1;
793
+ -webkit-transform: translate3d(0, 0, 0);
794
+ transform: translate3d(0, 0, 0);
795
+ }
796
+ }