@lanrenbang/basecoat-ultra 0.1.7 → 0.2.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.
@@ -1,817 +1,25 @@
1
1
  /* Flatpickr Overrides (Basecoat Style) */
2
2
  /* No @apply used here to avoid Tailwind dependency in this specific file */
3
3
 
4
+ @import "flatpickr/dist/flatpickr.css";
5
+
6
+ /* Base Overrides - Using CSS variables instead of @apply */
4
7
  .flatpickr-calendar {
5
- background: transparent;
6
- opacity: 0;
7
- display: none;
8
- text-align: center;
9
- visibility: hidden;
10
- padding: 0;
11
- -webkit-animation: none;
12
- animation: none;
13
- direction: ltr;
14
- border: 0;
15
- font-size: 14px;
16
- line-height: 24px;
17
- border-radius: 5px;
18
- position: absolute;
19
- width: 307.875px;
20
- -webkit-box-sizing: border-box;
21
- box-sizing: border-box;
22
- -ms-touch-action: manipulation;
23
- touch-action: manipulation;
24
- background: #fff;
25
- -webkit-box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0,0,0,0.08);
26
- box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0,0,0,0.08);
27
- }
28
- .flatpickr-calendar.open,
29
- .flatpickr-calendar.inline {
30
- opacity: 1;
31
- max-height: 640px;
32
- visibility: visible;
33
- }
34
- .flatpickr-calendar.open {
35
- display: inline-block;
36
- z-index: 99999;
37
- }
38
- .flatpickr-calendar.animate.open {
39
- -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
40
- animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
41
- }
42
- .flatpickr-calendar.inline {
43
- display: block;
44
- position: relative;
45
- top: 2px;
46
- }
47
- .flatpickr-calendar.static {
48
- position: absolute;
49
- top: calc(100% + 2px);
50
- }
51
- .flatpickr-calendar.static.open {
52
- z-index: 999;
53
- display: block;
54
- }
55
- .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
56
- -webkit-box-shadow: none !important;
57
- box-shadow: none !important;
58
- }
59
- .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
60
- -webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
61
- box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
62
- }
63
- .flatpickr-calendar .hasWeeks .dayContainer,
64
- .flatpickr-calendar .hasTime .dayContainer {
65
- border-bottom: 0;
66
- border-bottom-right-radius: 0;
67
- border-bottom-left-radius: 0;
68
- }
69
- .flatpickr-calendar .hasWeeks .dayContainer {
70
- border-left: 0;
71
- }
72
- .flatpickr-calendar.hasTime .flatpickr-time {
73
- height: 40px;
74
- border-top: 1px solid #e6e6e6;
75
- }
76
- .flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
77
- height: auto;
78
- }
79
- .flatpickr-calendar:before,
80
- .flatpickr-calendar:after {
81
- position: absolute;
82
- display: block;
83
- pointer-events: none;
84
- border: solid transparent;
85
- content: '';
86
- height: 0;
87
- width: 0;
88
- left: 22px;
89
- }
90
- .flatpickr-calendar.rightMost:before,
91
- .flatpickr-calendar.arrowRight:before,
92
- .flatpickr-calendar.rightMost:after,
93
- .flatpickr-calendar.arrowRight:after {
94
- left: auto;
95
- right: 22px;
96
- }
97
- .flatpickr-calendar.arrowCenter:before,
98
- .flatpickr-calendar.arrowCenter:after {
99
- left: 50%;
100
- right: 50%;
101
- }
102
- .flatpickr-calendar:before {
103
- border-width: 5px;
104
- margin: 0 -5px;
105
- }
106
- .flatpickr-calendar:after {
107
- border-width: 4px;
108
- margin: 0 -4px;
109
- }
110
- .flatpickr-calendar.arrowTop:before,
111
- .flatpickr-calendar.arrowTop:after {
112
- bottom: 100%;
113
- }
114
- .flatpickr-calendar.arrowTop:before {
115
- border-bottom-color: #e6e6e6;
116
- }
117
- .flatpickr-calendar.arrowTop:after {
118
- border-bottom-color: #fff;
119
- }
120
- .flatpickr-calendar.arrowBottom:before,
121
- .flatpickr-calendar.arrowBottom:after {
122
- top: 100%;
123
- }
124
- .flatpickr-calendar.arrowBottom:before {
125
- border-top-color: #e6e6e6;
126
- }
127
- .flatpickr-calendar.arrowBottom:after {
128
- border-top-color: #fff;
129
- }
130
- .flatpickr-calendar:focus {
131
- outline: 0;
132
- }
133
- .flatpickr-wrapper {
134
- position: relative;
135
- display: inline-block;
136
- }
137
- .flatpickr-months {
138
- display: -webkit-box;
139
- display: -webkit-flex;
140
- display: -ms-flexbox;
141
- display: flex;
142
- }
143
- .flatpickr-months .flatpickr-month {
144
- background: transparent;
145
- color: rgba(0,0,0,0.9);
146
- fill: rgba(0,0,0,0.9);
147
- height: 34px;
148
- line-height: 1;
149
- text-align: center;
150
- position: relative;
151
- -webkit-user-select: none;
152
- -moz-user-select: none;
153
- -ms-user-select: none;
154
- user-select: none;
155
- overflow: hidden;
156
- -webkit-box-flex: 1;
157
- -webkit-flex: 1;
158
- -ms-flex: 1;
159
- flex: 1;
160
- }
161
- .flatpickr-months .flatpickr-prev-month,
162
- .flatpickr-months .flatpickr-next-month {
163
- -webkit-user-select: none;
164
- -moz-user-select: none;
165
- -ms-user-select: none;
166
- user-select: none;
167
- text-decoration: none;
168
- cursor: pointer;
169
- position: absolute;
170
- top: 0;
171
- height: 34px;
172
- padding: 10px;
173
- z-index: 3;
174
- color: rgba(0,0,0,0.9);
175
- fill: rgba(0,0,0,0.9);
176
- }
177
- .flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
178
- .flatpickr-months .flatpickr-next-month.flatpickr-disabled {
179
- display: none;
180
- }
181
- .flatpickr-months .flatpickr-prev-month i,
182
- .flatpickr-months .flatpickr-next-month i {
183
- position: relative;
184
- }
185
- .flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
186
- .flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
187
- /*
188
- /*rtl:begin:ignore*/
189
- /*
190
- */
191
- left: 0;
192
- /*
193
- /*rtl:end:ignore*/
194
- /*
195
- */
196
- }
197
- /*
198
- /*rtl:begin:ignore*/
199
- /*
200
- /*rtl:end:ignore*/
201
- .flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
202
- .flatpickr-months .flatpickr-next-month.flatpickr-next-month {
203
- /*
204
- /*rtl:begin:ignore*/
205
- /*
206
- */
207
- right: 0;
208
- /*
209
- /*rtl:end:ignore*/
210
- /*
211
- */
212
- }
213
- /*
214
- /*rtl:begin:ignore*/
215
- /*
216
- /*rtl:end:ignore*/
217
- .flatpickr-months .flatpickr-prev-month:hover,
218
- .flatpickr-months .flatpickr-next-month:hover {
219
- color: #959ea9;
220
- }
221
- .flatpickr-months .flatpickr-prev-month:hover svg,
222
- .flatpickr-months .flatpickr-next-month:hover svg {
223
- fill: #f64747;
224
- }
225
- .flatpickr-months .flatpickr-prev-month svg,
226
- .flatpickr-months .flatpickr-next-month svg {
227
- width: 14px;
228
- height: 14px;
229
- }
230
- .flatpickr-months .flatpickr-prev-month svg path,
231
- .flatpickr-months .flatpickr-next-month svg path {
232
- -webkit-transition: fill 0.1s;
233
- transition: fill 0.1s;
234
- fill: inherit;
235
- }
236
- .numInputWrapper {
237
- position: relative;
238
- height: auto;
239
- }
240
- .numInputWrapper input,
241
- .numInputWrapper span {
242
- display: inline-block;
243
- }
244
- .numInputWrapper input {
245
- width: 100%;
246
- }
247
- .numInputWrapper input::-ms-clear {
248
- display: none;
249
- }
250
- .numInputWrapper input::-webkit-outer-spin-button,
251
- .numInputWrapper input::-webkit-inner-spin-button {
252
- margin: 0;
253
- -webkit-appearance: none;
254
- }
255
- .numInputWrapper span {
256
- position: absolute;
257
- right: 0;
258
- width: 14px;
259
- padding: 0 4px 0 2px;
260
- height: 50%;
261
- line-height: 50%;
262
- opacity: 0;
263
- cursor: pointer;
264
- border: 1px solid rgba(57,57,57,0.15);
265
- -webkit-box-sizing: border-box;
266
- box-sizing: border-box;
267
- }
268
- .numInputWrapper span:hover {
269
- background: rgba(0,0,0,0.1);
270
- }
271
- .numInputWrapper span:active {
272
- background: rgba(0,0,0,0.2);
273
- }
274
- .numInputWrapper span:after {
275
- display: block;
276
- content: "";
277
- position: absolute;
278
- }
279
- .numInputWrapper span.arrowUp {
280
- top: 0;
281
- border-bottom: 0;
282
- }
283
- .numInputWrapper span.arrowUp:after {
284
- border-left: 4px solid transparent;
285
- border-right: 4px solid transparent;
286
- border-bottom: 4px solid rgba(57,57,57,0.6);
287
- top: 26%;
288
- }
289
- .numInputWrapper span.arrowDown {
290
- top: 50%;
291
- }
292
- .numInputWrapper span.arrowDown:after {
293
- border-left: 4px solid transparent;
294
- border-right: 4px solid transparent;
295
- border-top: 4px solid rgba(57,57,57,0.6);
296
- top: 40%;
297
- }
298
- .numInputWrapper span svg {
299
- width: inherit;
300
- height: auto;
301
- }
302
- .numInputWrapper span svg path {
303
- fill: rgba(0,0,0,0.5);
304
- }
305
- .numInputWrapper:hover {
306
- background: rgba(0,0,0,0.05);
307
- }
308
- .numInputWrapper:hover span {
309
- opacity: 1;
310
- }
311
- .flatpickr-current-month {
312
- font-size: 135%;
313
- line-height: inherit;
314
- font-weight: 300;
315
- color: inherit;
316
- position: absolute;
317
- width: 75%;
318
- left: 12.5%;
319
- padding: 7.48px 0 0 0;
320
- line-height: 1;
321
- height: 34px;
322
- display: inline-block;
323
- text-align: center;
324
- -webkit-transform: translate3d(0px, 0px, 0px);
325
- transform: translate3d(0px, 0px, 0px);
326
- }
327
- .flatpickr-current-month span.cur-month {
328
- font-family: inherit;
329
- font-weight: 700;
330
- color: inherit;
331
- display: inline-block;
332
- margin-left: 0.5ch;
333
- padding: 0;
334
- }
335
- .flatpickr-current-month span.cur-month:hover {
336
- background: rgba(0,0,0,0.05);
337
- }
338
- .flatpickr-current-month .numInputWrapper {
339
- width: 6ch;
340
- width: 7ch\0;
341
- display: inline-block;
342
- }
343
- .flatpickr-current-month .numInputWrapper span.arrowUp:after {
344
- border-bottom-color: rgba(0,0,0,0.9);
345
- }
346
- .flatpickr-current-month .numInputWrapper span.arrowDown:after {
347
- border-top-color: rgba(0,0,0,0.9);
348
- }
349
- .flatpickr-current-month input.cur-year {
350
- background: transparent;
351
- -webkit-box-sizing: border-box;
352
- box-sizing: border-box;
353
- color: inherit;
354
- cursor: text;
355
- padding: 0 0 0 0.5ch;
356
- margin: 0;
357
- display: inline-block;
358
- font-size: inherit;
8
+ background-color: var(--color-popover);
9
+ color: var(--color-popover-foreground);
10
+ border-radius: var(--radius-lg);
11
+ box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); /* shadow-lg */
12
+ border: 1px solid var(--color-border);
13
+
14
+ /* Animation: Slide-in from top */
15
+ transform-origin: top;
16
+ will-change: transform, opacity;
17
+ animation: slide-in-down 0.2s ease-out;
18
+
359
19
  font-family: inherit;
360
- font-weight: 300;
361
- line-height: inherit;
362
- height: auto;
363
- border: 0;
364
- border-radius: 0;
365
- vertical-align: initial;
366
- -webkit-appearance: textfield;
367
- -moz-appearance: textfield;
368
- appearance: textfield;
369
- }
370
- .flatpickr-current-month input.cur-year:focus {
371
- outline: 0;
372
- }
373
- .flatpickr-current-month input.cur-year[disabled],
374
- .flatpickr-current-month input.cur-year[disabled]:hover {
375
- font-size: 100%;
376
- color: rgba(0,0,0,0.5);
377
- background: transparent;
378
- pointer-events: none;
379
- }
380
- .flatpickr-current-month .flatpickr-monthDropdown-months {
381
- appearance: menulist;
382
- background: transparent;
383
- border: none;
384
- border-radius: 0;
20
+ padding: 0.75rem !important;
21
+ width: fit-content !important;
385
22
  box-sizing: border-box;
386
- color: inherit;
387
- cursor: pointer;
388
- font-size: inherit;
389
- font-family: inherit;
390
- font-weight: 300;
391
- height: auto;
392
- line-height: inherit;
393
- margin: -1px 0 0 0;
394
- outline: none;
395
- padding: 0 0 0 0.5ch;
396
- position: relative;
397
- vertical-align: initial;
398
- -webkit-box-sizing: border-box;
399
- -webkit-appearance: menulist;
400
- -moz-appearance: menulist;
401
- width: auto;
402
- }
403
- .flatpickr-current-month .flatpickr-monthDropdown-months:focus,
404
- .flatpickr-current-month .flatpickr-monthDropdown-months:active {
405
- outline: none;
406
- }
407
- .flatpickr-current-month .flatpickr-monthDropdown-months:hover {
408
- background: rgba(0,0,0,0.05);
409
- }
410
- .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
411
- background-color: transparent;
412
- outline: none;
413
- padding: 0;
414
- }
415
- .flatpickr-weekdays {
416
- background: transparent;
417
- text-align: center;
418
- overflow: hidden;
419
- width: 100%;
420
- display: -webkit-box;
421
- display: -webkit-flex;
422
- display: -ms-flexbox;
423
- display: flex;
424
- -webkit-box-align: center;
425
- -webkit-align-items: center;
426
- -ms-flex-align: center;
427
- align-items: center;
428
- height: 28px;
429
- }
430
- .flatpickr-weekdays .flatpickr-weekdaycontainer {
431
- display: -webkit-box;
432
- display: -webkit-flex;
433
- display: -ms-flexbox;
434
- display: flex;
435
- -webkit-box-flex: 1;
436
- -webkit-flex: 1;
437
- -ms-flex: 1;
438
- flex: 1;
439
- }
440
- span.flatpickr-weekday {
441
- cursor: default;
442
- font-size: 90%;
443
- background: transparent;
444
- color: rgba(0,0,0,0.54);
445
- line-height: 1;
446
- margin: 0;
447
- text-align: center;
448
- display: block;
449
- -webkit-box-flex: 1;
450
- -webkit-flex: 1;
451
- -ms-flex: 1;
452
- flex: 1;
453
- font-weight: bolder;
454
- }
455
- .dayContainer,
456
- .flatpickr-weeks {
457
- padding: 1px 0 0 0;
458
- }
459
- .flatpickr-days {
460
- position: relative;
461
- overflow: hidden;
462
- display: -webkit-box;
463
- display: -webkit-flex;
464
- display: -ms-flexbox;
465
- display: flex;
466
- -webkit-box-align: start;
467
- -webkit-align-items: flex-start;
468
- -ms-flex-align: start;
469
- align-items: flex-start;
470
- width: 307.875px;
471
- }
472
- .flatpickr-days:focus {
473
- outline: 0;
474
- }
475
- .dayContainer {
476
- padding: 0;
477
- outline: 0;
478
- text-align: left;
479
- width: 307.875px;
480
- min-width: 307.875px;
481
- max-width: 307.875px;
482
- -webkit-box-sizing: border-box;
483
- box-sizing: border-box;
484
- display: inline-block;
485
- display: -ms-flexbox;
486
- display: -webkit-box;
487
- display: -webkit-flex;
488
- display: flex;
489
- -webkit-flex-wrap: wrap;
490
- flex-wrap: wrap;
491
- -ms-flex-wrap: wrap;
492
- -ms-flex-pack: justify;
493
- -webkit-justify-content: space-around;
494
- justify-content: space-around;
495
- -webkit-transform: translate3d(0px, 0px, 0px);
496
- transform: translate3d(0px, 0px, 0px);
497
- opacity: 1;
498
- }
499
- .dayContainer + .dayContainer {
500
- -webkit-box-shadow: -1px 0 0 #e6e6e6;
501
- box-shadow: -1px 0 0 #e6e6e6;
502
- }
503
- .flatpickr-day {
504
- background: none;
505
- border: 1px solid transparent;
506
- border-radius: 150px;
507
- -webkit-box-sizing: border-box;
508
- box-sizing: border-box;
509
- color: #393939;
510
- cursor: pointer;
511
- font-weight: 400;
512
- width: 14.2857143%;
513
- -webkit-flex-basis: 14.2857143%;
514
- -ms-flex-preferred-size: 14.2857143%;
515
- flex-basis: 14.2857143%;
516
- max-width: 39px;
517
- height: 39px;
518
- line-height: 39px;
519
- margin: 0;
520
- display: inline-block;
521
- position: relative;
522
- -webkit-box-pack: center;
523
- -webkit-justify-content: center;
524
- -ms-flex-pack: center;
525
- justify-content: center;
526
- text-align: center;
527
- }
528
- .flatpickr-day.inRange,
529
- .flatpickr-day.prevMonthDay.inRange,
530
- .flatpickr-day.nextMonthDay.inRange,
531
- .flatpickr-day.today.inRange,
532
- .flatpickr-day.prevMonthDay.today.inRange,
533
- .flatpickr-day.nextMonthDay.today.inRange,
534
- .flatpickr-day:hover,
535
- .flatpickr-day.prevMonthDay:hover,
536
- .flatpickr-day.nextMonthDay:hover,
537
- .flatpickr-day:focus,
538
- .flatpickr-day.prevMonthDay:focus,
539
- .flatpickr-day.nextMonthDay:focus {
540
- cursor: pointer;
541
- outline: 0;
542
- background: #e6e6e6;
543
- border-color: #e6e6e6;
544
- }
545
- .flatpickr-day.today {
546
- border-color: #959ea9;
547
- }
548
- .flatpickr-day.today:hover,
549
- .flatpickr-day.today:focus {
550
- border-color: #959ea9;
551
- background: #959ea9;
552
- color: #fff;
553
- }
554
- .flatpickr-day.selected,
555
- .flatpickr-day.startRange,
556
- .flatpickr-day.endRange,
557
- .flatpickr-day.selected.inRange,
558
- .flatpickr-day.startRange.inRange,
559
- .flatpickr-day.endRange.inRange,
560
- .flatpickr-day.selected:focus,
561
- .flatpickr-day.startRange:focus,
562
- .flatpickr-day.endRange:focus,
563
- .flatpickr-day.selected:hover,
564
- .flatpickr-day.startRange:hover,
565
- .flatpickr-day.endRange:hover,
566
- .flatpickr-day.selected.prevMonthDay,
567
- .flatpickr-day.startRange.prevMonthDay,
568
- .flatpickr-day.endRange.prevMonthDay,
569
- .flatpickr-day.selected.nextMonthDay,
570
- .flatpickr-day.startRange.nextMonthDay,
571
- .flatpickr-day.endRange.nextMonthDay {
572
- background: #569ff7;
573
- -webkit-box-shadow: none;
574
- box-shadow: none;
575
- color: #fff;
576
- border-color: #569ff7;
577
- }
578
- .flatpickr-day.selected.startRange,
579
- .flatpickr-day.startRange.startRange,
580
- .flatpickr-day.endRange.startRange {
581
- border-radius: 50px 0 0 50px;
582
- }
583
- .flatpickr-day.selected.endRange,
584
- .flatpickr-day.startRange.endRange,
585
- .flatpickr-day.endRange.endRange {
586
- border-radius: 0 50px 50px 0;
587
- }
588
- .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
589
- .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
590
- .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
591
- -webkit-box-shadow: -10px 0 0 #569ff7;
592
- box-shadow: -10px 0 0 #569ff7;
593
- }
594
- .flatpickr-day.selected.startRange.endRange,
595
- .flatpickr-day.startRange.startRange.endRange,
596
- .flatpickr-day.endRange.startRange.endRange {
597
- border-radius: 50px;
598
- }
599
- .flatpickr-day.inRange {
600
- border-radius: 0;
601
- -webkit-box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
602
- box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
603
- }
604
- .flatpickr-day.flatpickr-disabled,
605
- .flatpickr-day.flatpickr-disabled:hover,
606
- .flatpickr-day.prevMonthDay,
607
- .flatpickr-day.nextMonthDay,
608
- .flatpickr-day.notAllowed,
609
- .flatpickr-day.notAllowed.prevMonthDay,
610
- .flatpickr-day.notAllowed.nextMonthDay {
611
- color: rgba(57,57,57,0.3);
612
- background: transparent;
613
- border-color: transparent;
614
- cursor: default;
615
- }
616
- .flatpickr-day.flatpickr-disabled,
617
- .flatpickr-day.flatpickr-disabled:hover {
618
- cursor: not-allowed;
619
- color: rgba(57,57,57,0.1);
620
- }
621
- .flatpickr-day.week.selected {
622
- border-radius: 0;
623
- -webkit-box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
624
- box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
625
- }
626
- .flatpickr-day.hidden {
627
- visibility: hidden;
628
- }
629
- .rangeMode .flatpickr-day {
630
- margin-top: 1px;
631
- }
632
- .flatpickr-weekwrapper {
633
- float: left;
634
- }
635
- .flatpickr-weekwrapper .flatpickr-weeks {
636
- padding: 0 12px;
637
- -webkit-box-shadow: 1px 0 0 #e6e6e6;
638
- box-shadow: 1px 0 0 #e6e6e6;
639
- }
640
- .flatpickr-weekwrapper .flatpickr-weekday {
641
- float: none;
642
- width: 100%;
643
- line-height: 28px;
644
- }
645
- .flatpickr-weekwrapper span.flatpickr-day,
646
- .flatpickr-weekwrapper span.flatpickr-day:hover {
647
- display: block;
648
- width: 100%;
649
- max-width: none;
650
- color: rgba(57,57,57,0.3);
651
- background: transparent;
652
- cursor: default;
653
- border: none;
654
- }
655
- .flatpickr-innerContainer {
656
- display: block;
657
- display: -webkit-box;
658
- display: -webkit-flex;
659
- display: -ms-flexbox;
660
- display: flex;
661
- -webkit-box-sizing: border-box;
662
- box-sizing: border-box;
663
- overflow: hidden;
664
- }
665
- .flatpickr-rContainer {
666
- display: inline-block;
667
- padding: 0;
668
- -webkit-box-sizing: border-box;
669
- box-sizing: border-box;
670
- }
671
- .flatpickr-time {
672
- text-align: center;
673
- outline: 0;
674
- display: block;
675
- height: 0;
676
- line-height: 40px;
677
- max-height: 40px;
678
- -webkit-box-sizing: border-box;
679
- box-sizing: border-box;
680
- overflow: hidden;
681
- display: -webkit-box;
682
- display: -webkit-flex;
683
- display: -ms-flexbox;
684
- display: flex;
685
- }
686
- .flatpickr-time:after {
687
- content: "";
688
- display: table;
689
- clear: both;
690
- }
691
- .flatpickr-time .numInputWrapper {
692
- -webkit-box-flex: 1;
693
- -webkit-flex: 1;
694
- -ms-flex: 1;
695
- flex: 1;
696
- width: 40%;
697
- height: 40px;
698
- float: left;
699
- }
700
- .flatpickr-time .numInputWrapper span.arrowUp:after {
701
- border-bottom-color: #393939;
702
- }
703
- .flatpickr-time .numInputWrapper span.arrowDown:after {
704
- border-top-color: #393939;
705
- }
706
- .flatpickr-time.hasSeconds .numInputWrapper {
707
- width: 26%;
708
- }
709
- .flatpickr-time.time24hr .numInputWrapper {
710
- width: 49%;
711
- }
712
- .flatpickr-time input {
713
- background: transparent;
714
- -webkit-box-shadow: none;
715
- box-shadow: none;
716
- border: 0;
717
- border-radius: 0;
718
- text-align: center;
719
- margin: 0;
720
- padding: 0;
721
- height: inherit;
722
- line-height: inherit;
723
- color: #393939;
724
- font-size: 14px;
725
- position: relative;
726
- -webkit-box-sizing: border-box;
727
- box-sizing: border-box;
728
- -webkit-appearance: textfield;
729
- -moz-appearance: textfield;
730
- appearance: textfield;
731
- }
732
- .flatpickr-time input.flatpickr-hour {
733
- font-weight: bold;
734
- }
735
- .flatpickr-time input.flatpickr-minute,
736
- .flatpickr-time input.flatpickr-second {
737
- font-weight: 400;
738
- }
739
- .flatpickr-time input:focus {
740
- outline: 0;
741
- border: 0;
742
- }
743
- .flatpickr-time .flatpickr-time-separator,
744
- .flatpickr-time .flatpickr-am-pm {
745
- height: inherit;
746
- float: left;
747
- line-height: inherit;
748
- color: #393939;
749
- font-weight: bold;
750
- width: 2%;
751
- -webkit-user-select: none;
752
- -moz-user-select: none;
753
- -ms-user-select: none;
754
- user-select: none;
755
- -webkit-align-self: center;
756
- -ms-flex-item-align: center;
757
- align-self: center;
758
- }
759
- .flatpickr-time .flatpickr-am-pm {
760
- outline: 0;
761
- width: 18%;
762
- cursor: pointer;
763
- text-align: center;
764
- font-weight: 400;
765
- }
766
- .flatpickr-time input:hover,
767
- .flatpickr-time .flatpickr-am-pm:hover,
768
- .flatpickr-time input:focus,
769
- .flatpickr-time .flatpickr-am-pm:focus {
770
- background: #eee;
771
- }
772
- .flatpickr-input[readonly] {
773
- cursor: pointer;
774
- }
775
- @-webkit-keyframes fpFadeInDown {
776
- from {
777
- opacity: 0;
778
- -webkit-transform: translate3d(0, -20px, 0);
779
- transform: translate3d(0, -20px, 0);
780
- }
781
- to {
782
- opacity: 1;
783
- -webkit-transform: translate3d(0, 0, 0);
784
- transform: translate3d(0, 0, 0);
785
- }
786
- }
787
- @keyframes fpFadeInDown {
788
- from {
789
- opacity: 0;
790
- -webkit-transform: translate3d(0, -20px, 0);
791
- transform: translate3d(0, -20px, 0);
792
- }
793
- to {
794
- opacity: 1;
795
- -webkit-transform: translate3d(0, 0, 0);
796
- transform: translate3d(0, 0, 0);
797
- }
798
- }
799
-
800
-
801
- @layer components {
802
- .flatpickr-calendar {
803
- /* Base Overrides - Using CSS variables instead of @apply */
804
- background-color: var(--color-popover);
805
- color: var(--color-popover-foreground);
806
- border-radius: var(--radius-lg);
807
- box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); /* shadow-lg */
808
- border: 1px solid var(--color-border);
809
-
810
- /* Animation: Slide-in from top */
811
- transform-origin: top;
812
- will-change: transform, opacity;
813
- animation: slide-in-down 0.2s ease-out;
814
- }
815
23
  }
816
24
 
817
25
  @keyframes slide-in-down {
@@ -825,34 +33,23 @@ span.flatpickr-weekday {
825
33
  }
826
34
  }
827
35
 
36
+ .flatpickr-calendar.hasTime {
37
+ padding-bottom: 1rem !important;
38
+ }
828
39
 
829
- .flatpickr-calendar {
830
- border-radius: var(--radius) !important;
831
- border: 1px solid var(--border) !important;
832
- padding: 0.75rem !important;
833
- width: fit-content !important;
834
- animation: fade-in 0.2s ease-out !important;
835
- font-family: inherit;
836
- background-color: var(--popover) !important;
837
- color: var(--popover-foreground) !important;
838
- box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1) !important; /* shadow-md */
839
-
840
- /* Fix bottom padding when time picker is present */
841
- &.hasTime {
842
- padding-bottom: 1rem !important;
843
- .flatpickr-time {
844
- margin-bottom: 0.25rem;
845
- }
846
- }
40
+ .flatpickr-calendar.hasTime .flatpickr-time {
41
+ margin-bottom: 0.25rem;
42
+ }
847
43
 
848
- /* Inline Mode Fixes */
849
- &.inline {
850
- top: 0 !important;
851
- box-shadow: none !important; /* Remove shadow for inline */
852
- margin-top: 0 !important;
853
- width: auto !important; /* Allow it to fill or fit container */
854
- max-width: 100% !important;
855
- }
44
+ /* Inline Mode Fixes */
45
+ .flatpickr-calendar.inline {
46
+ display: block !important; /* Force block to fix layout truncation */
47
+ top: 0 !important;
48
+ box-shadow: none !important; /* Remove shadow for inline */
49
+ margin-top: 0 !important;
50
+ width: 278px !important; /* Match real dropdown width */
51
+ max-width: 100% !important;
52
+ position: relative;
856
53
  }
857
54
 
858
55
  /* Hiding the arrow triangle */
@@ -873,169 +70,162 @@ span.flatpickr-weekday {
873
70
  height: 1.75rem !important; /* h-7 */
874
71
  width: 100% !important;
875
72
  background-color: transparent !important;
876
-
877
- /* The Wrapper: Absolute fill the container */
878
- .flatpickr-month {
73
+ }
74
+
75
+ .flatpickr-months .flatpickr-month {
76
+ position: absolute !important;
77
+ inset: 0 !important;
78
+ display: flex !important;
79
+ align-items: center !important;
80
+ justify-content: center !important;
81
+ background: transparent !important;
82
+ color: var(--foreground) !important;
83
+ fill: var(--foreground) !important;
84
+ overflow: visible !important;
85
+ height: 100% !important;
86
+ width: 100% !important;
87
+ z-index: 0;
88
+ }
89
+
90
+ /* Navigation Arrows */
91
+ .flatpickr-months .flatpickr-prev-month,
92
+ .flatpickr-months .flatpickr-next-month {
879
93
  position: absolute !important;
880
- inset: 0 !important;
94
+ top: 0 !important;
95
+ z-index: 10 !important;
881
96
  display: flex !important;
882
97
  align-items: center !important;
883
98
  justify-content: center !important;
884
- background: transparent !important;
885
- color: var(--foreground) !important;
886
- fill: var(--foreground) !important;
887
- overflow: visible !important;
99
+ width: 1.75rem !important; /* size-7 */
100
+ height: 1.75rem !important;
101
+ padding: 0 !important;
102
+ border-radius: calc(var(--radius) - 2px) !important; /* rounded-md */
103
+ background-color: transparent !important;
104
+ border: 1px solid transparent !important;
105
+ transition: opacity 0.2s, background-color 0.2s;
106
+ opacity: 0.5;
107
+ color: var(--muted-foreground) !important;
108
+ }
109
+
110
+ .flatpickr-months .flatpickr-prev-month svg,
111
+ .flatpickr-months .flatpickr-next-month svg {
112
+ width: 1rem !important; /* size-4 */
113
+ height: 1rem !important;
114
+ stroke-width: 2 !important;
115
+ fill: none !important;
116
+ stroke: currentColor !important;
117
+ }
118
+
119
+ .flatpickr-months .flatpickr-prev-month:hover,
120
+ .flatpickr-months .flatpickr-next-month:hover {
121
+ opacity: 1;
122
+ background-color: var(--accent) !important;
123
+ color: var(--accent-foreground) !important;
124
+ }
125
+
126
+ .flatpickr-months .flatpickr-prev-month { left: 0.25rem !important; }
127
+ .flatpickr-months .flatpickr-next-month { right: 0.25rem !important; }
128
+
129
+ /* Month/Year Text */
130
+ .flatpickr-current-month {
131
+ display: flex !important;
132
+ align-items: center !important;
133
+ justify-content: center !important;
134
+ gap: 0.5rem !important;
135
+ font-size: 0.875rem !important; /* text-sm */
136
+ font-weight: 500 !important; /* font-medium */
137
+ position: absolute !important;
138
+ width: 75% !important;
139
+ left: 12.5% !important;
140
+ padding: 0 !important;
888
141
  height: 100% !important;
889
- width: 100% !important;
890
- z-index: 0;
891
- }
142
+ top: 0 !important;
143
+ transform: none !important;
144
+ color: inherit !important;
145
+ }
892
146
 
893
- /* Navigation Arrows */
894
- .flatpickr-prev-month,
895
- .flatpickr-next-month {
896
- position: absolute !important;
897
- top: 0 !important;
898
- z-index: 10 !important;
899
- display: flex !important;
900
- align-items: center !important;
901
- justify-content: center !important;
902
- width: 1.75rem !important; /* size-7 */
903
- height: 1.75rem !important;
904
- padding: 0 !important;
905
- border-radius: calc(var(--radius) - 2px) !important; /* rounded-md */
906
- background-color: transparent !important;
907
- border: 1px solid transparent !important;
908
- transition: opacity 0.2s, background-color 0.2s;
909
- opacity: 0.5;
910
- color: var(--muted-foreground) !important;
911
-
912
- svg {
913
- width: 1rem !important; /* size-4 */
914
- height: 1rem !important;
915
- stroke-width: 2 !important;
916
- fill: none !important;
917
- stroke: currentColor !important;
918
- }
919
- &:hover {
920
- opacity: 1;
921
- background-color: var(--accent) !important;
922
- color: var(--accent-foreground) !important;
923
- svg { stroke: currentColor !important; }
924
- }
925
- }
926
- .flatpickr-prev-month { left: 0.25rem !important; }
927
- .flatpickr-next-month { right: 0.25rem !important; }
147
+ .flatpickr-current-month .numInputWrapper {
148
+ width: auto !important;
149
+ border-radius: calc(var(--radius) - 2px) !important;
150
+ padding: 0.25rem 0.5rem !important;
151
+ transition: background-color 0.2s;
152
+ }
153
+
154
+ .flatpickr-current-month .numInputWrapper:hover {
155
+ background-color: var(--accent) !important;
156
+ }
928
157
 
929
- /* Month/Year Text - The Content inside Flex Wrapper */
930
- .flatpickr-current-month {
931
- display: flex !important;
932
- align-items: center !important;
933
- justify-content: center !important;
934
- gap: 0.5rem !important;
935
- font-size: 0.875rem !important; /* text-sm */
936
- font-weight: 500 !important; /* font-medium */
937
- position: absolute !important; /* Revert to absolute for perfect centering ignoring siblings */
938
- width: 75% !important;
939
- left: 12.5% !important;
940
- padding: 0 1rem !important; /* Add padding to prevent edge touching */
941
- height: 100% !important;
942
- top: 0 !important;
943
- transform: none !important;
944
- padding: 0 !important;
945
- color: inherit !important;
946
-
947
- .numInputWrapper {
948
- width: auto !important;
949
- border-radius: calc(var(--radius) - 2px) !important;
950
- padding: 0.25rem 0.5rem !important;
951
- transition: background-color 0.2s;
952
-
953
- &:hover {
954
- background-color: var(--accent) !important;
955
- }
158
+ .flatpickr-current-month .numInputWrapper span { display: none; }
956
159
 
957
- span { display: none; }
958
- input.cur-year {
959
- font-weight: 500 !important;
960
- font-size: 0.875rem !important;
961
- height: auto !important;
962
- padding: 0 !important;
963
- margin: 0 !important;
964
- background-color: transparent !important;
965
- border: 0 !important;
966
- cursor: pointer !important;
967
- color: inherit !important;
968
- box-shadow: none !important;
969
- /* Fix width and alignment */
970
- width: 4ch !important;
971
- text-align: center !important;
972
- appearance: textfield !important; /* Hide spinners */
973
- -moz-appearance: textfield !important;
974
-
975
- &::-webkit-inner-spin-button,
976
- &::-webkit-outer-spin-button {
977
- -webkit-appearance: none;
978
- margin: 0;
979
- }
980
- }
981
- }
982
-
983
- .flatpickr-monthDropdown-months {
984
- font-weight: 500 !important;
985
- background-color: transparent !important;
986
- border: 0 !important;
987
- padding: 0.25rem 0.5rem !important;
988
- border-radius: calc(var(--radius) - 2px) !important;
989
- font-size: 0.875rem !important;
990
- appearance: none;
991
- outline: none;
992
- cursor: pointer;
993
- transition: background-color 0.2s;
994
- color: inherit !important;
995
- -moz-appearance: none;
996
- text-indent: 0.01px;
997
- text-overflow: '';
998
- width: auto !important;
999
- text-align: right !important; /* Align text near the gap */
1000
-
1001
- &:hover { background-color: var(--accent) !important; }
1002
- }
1003
- }
160
+ .flatpickr-current-month input.cur-year {
161
+ font-weight: 500 !important;
162
+ font-size: 0.875rem !important;
163
+ height: auto !important;
164
+ padding: 0 !important;
165
+ margin: 0 !important;
166
+ background-color: transparent !important;
167
+ border: 0 !important;
168
+ cursor: pointer !important;
169
+ color: inherit !important;
170
+ box-shadow: none !important;
171
+ width: 4ch !important;
172
+ text-align: center !important;
173
+ appearance: textfield !important;
174
+ }
175
+
176
+ .flatpickr-monthDropdown-months {
177
+ font-weight: 500 !important;
178
+ background-color: transparent !important;
179
+ border: 0 !important;
180
+ padding: 0.25rem 0.5rem !important;
181
+ border-radius: calc(var(--radius) - 2px) !important;
182
+ font-size: 0.875rem !important;
183
+ appearance: none;
184
+ outline: none;
185
+ cursor: pointer;
186
+ transition: background-color 0.2s;
187
+ color: inherit !important;
188
+ width: auto !important;
189
+ text-align: right !important;
1004
190
  }
1005
191
 
192
+ .flatpickr-monthDropdown-months:hover { background-color: var(--accent) !important; }
193
+
1006
194
  /* Weekdays Header */
1007
195
  .flatpickr-weekdays {
1008
196
  width: 100% !important;
1009
- .flatpickr-weekdaycontainer {
1010
- display: flex !important;
1011
- width: 100% !important;
1012
- justify-content: space-between !important;
1013
- }
1014
- span.flatpickr-weekday {
1015
- flex: 1 !important;
1016
- font-size: 0.8rem !important;
1017
- font-weight: 400 !important;
1018
- cursor: default !important;
1019
- text-align: center !important;
1020
- color: var(--muted-foreground) !important;
1021
- }
197
+ }
198
+
199
+ .flatpickr-weekdays .flatpickr-weekdaycontainer {
200
+ display: flex !important;
201
+ width: 100% !important;
202
+ justify-content: space-between !important;
203
+ }
204
+
205
+ .flatpickr-weekdays span.flatpickr-weekday {
206
+ flex: 1 !important;
207
+ font-size: 0.8rem !important;
208
+ font-weight: 400 !important;
209
+ cursor: default !important;
210
+ text-align: center !important;
211
+ color: var(--muted-foreground) !important;
1022
212
  }
1023
213
 
1024
214
  /* Days Grid */
1025
215
  .flatpickr-days {
1026
216
  width: 100% !important;
1027
217
  border: 0 !important;
1028
-
1029
- .dayContainer {
1030
- width: 100% !important;
1031
- min-width: 0 !important;
1032
- max-width: none !important;
1033
- justify-content: space-between !important;
1034
- row-gap: 0.25rem !important; /* gap-y-1 */
1035
- padding: 0 !important;
1036
- display: grid !important;
1037
- grid-template-columns: repeat(7, 1fr) !important;
1038
- }
218
+ }
219
+
220
+ .flatpickr-days .dayContainer {
221
+ width: 100% !important;
222
+ min-width: 0 !important;
223
+ max-width: none !important;
224
+ justify-content: space-between !important;
225
+ row-gap: 0.25rem !important;
226
+ padding: 0 !important;
227
+ display: grid !important;
228
+ grid-template-columns: repeat(7, 1fr) !important;
1039
229
  }
1040
230
 
1041
231
  /* Individual Day Cell */
@@ -1056,53 +246,57 @@ span.flatpickr-weekday {
1056
246
  margin: 0 !important;
1057
247
  max-width: 100% !important;
1058
248
  color: var(--foreground) !important;
1059
- flex-basis: auto !important; /* Override layout */
1060
-
1061
- &:hover, &:focus {
1062
- background-color: var(--accent) !important;
1063
- color: var(--accent-foreground) !important;
1064
- }
249
+ flex-basis: auto !important;
250
+ }
1065
251
 
1066
- &.today {
1067
- background-color: var(--accent) !important;
1068
- color: var(--accent-foreground) !important;
1069
- &:after { display: none !important; }
1070
- }
252
+ .flatpickr-day:hover, .flatpickr-day:focus {
253
+ background-color: var(--accent) !important;
254
+ color: var(--accent-foreground) !important;
255
+ }
1071
256
 
1072
- &.selected, &.startRange, &.endRange {
1073
- background-color: var(--primary) !important;
1074
- color: var(--primary-foreground) !important;
1075
- border-color: transparent !important;
1076
- }
1077
-
1078
- &.inRange {
1079
- background-color: var(--accent) !important;
1080
- color: var(--accent-foreground) !important;
1081
- border-radius: 0 !important;
1082
- }
1083
- &.startRange {
1084
- border-top-left-radius: calc(var(--radius) - 2px) !important;
1085
- border-bottom-left-radius: calc(var(--radius) - 2px) !important;
1086
- border-top-right-radius: 0 !important;
1087
- border-bottom-right-radius: 0 !important;
1088
- }
1089
- &.endRange {
1090
- border-top-right-radius: calc(var(--radius) - 2px) !important;
1091
- border-bottom-right-radius: calc(var(--radius) - 2px) !important;
1092
- border-top-left-radius: 0 !important;
1093
- border-bottom-left-radius: 0 !important;
1094
- }
257
+ .flatpickr-day.today {
258
+ background-color: var(--accent) !important;
259
+ color: var(--accent-foreground) !important;
260
+ }
1095
261
 
1096
- &.flatpickr-disabled, &.flatpickr-disabled:hover {
1097
- opacity: 0.5 !important;
1098
- background-color: transparent !important;
1099
- cursor: not-allowed !important;
1100
- color: var(--muted-foreground) !important;
1101
- }
1102
- &.prevMonthDay, &.nextMonthDay {
1103
- opacity: 0.5 !important;
1104
- color: var(--muted-foreground) !important;
1105
- }
262
+ .flatpickr-day.today:after { display: none !important; }
263
+
264
+ .flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
265
+ background-color: var(--primary) !important;
266
+ color: var(--primary-foreground) !important;
267
+ border-color: transparent !important;
268
+ }
269
+
270
+ .flatpickr-day.inRange {
271
+ background-color: var(--accent) !important;
272
+ color: var(--accent-foreground) !important;
273
+ border-radius: 0 !important;
274
+ }
275
+
276
+ .flatpickr-day.startRange {
277
+ border-top-left-radius: calc(var(--radius) - 2px) !important;
278
+ border-bottom-left-radius: calc(var(--radius) - 2px) !important;
279
+ border-top-right-radius: 0 !important;
280
+ border-bottom-right-radius: 0 !important;
281
+ }
282
+
283
+ .flatpickr-day.endRange {
284
+ border-top-right-radius: calc(var(--radius) - 2px) !important;
285
+ border-bottom-right-radius: calc(var(--radius) - 2px) !important;
286
+ border-top-left-radius: 0 !important;
287
+ border-bottom-left-radius: 0 !important;
288
+ }
289
+
290
+ .flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover {
291
+ opacity: 0.5 !important;
292
+ background-color: transparent !important;
293
+ cursor: not-allowed !important;
294
+ color: var(--muted-foreground) !important;
295
+ }
296
+
297
+ .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
298
+ opacity: 0.5 !important;
299
+ color: var(--muted-foreground) !important;
1106
300
  }
1107
301
 
1108
302
  /* Time Picker */
@@ -1115,63 +309,66 @@ span.flatpickr-weekday {
1115
309
  align-items: center !important;
1116
310
  justify-content: center !important;
1117
311
  gap: 0.25rem !important;
1118
- height: auto !important; /* Force auto height to fit inputs */
312
+ height: auto !important;
1119
313
  max-height: none !important;
1120
- overflow: visible !important; /* Ensure borders aren't clipped */
1121
-
1122
- .numInputWrapper {
1123
- flex: 1 1 0% !important;
1124
- width: auto !important;
1125
- height: 2.25rem !important; /* h-9 */
1126
-
1127
- &:hover { background-color: transparent !important; }
1128
-
1129
- span { display: none; }
1130
- input {
1131
- background-color: transparent !important;
1132
- border: 1px solid var(--input) !important;
1133
- border-radius: calc(var(--radius) - 2px) !important;
1134
- font-size: 0.875rem !important; /* text-sm */
1135
- height: 100% !important;
1136
- font-weight: 400 !important;
1137
- text-align: center !important;
1138
- color: var(--foreground) !important;
1139
- box-shadow: none !important;
1140
-
1141
- &:focus {
1142
- border-color: var(--ring) !important;
1143
- /* Ring simulation via box-shadow if needed, or simple border color */
1144
- outline: 2px solid color-mix(in srgb, var(--ring), transparent 50%);
1145
- outline-offset: 2px;
1146
- }
1147
- }
1148
- }
1149
- .flatpickr-time-separator {
1150
- font-weight: 700 !important;
1151
- padding: 0 !important;
1152
- display: flex !important;
1153
- align-items: center !important;
1154
- justify-content: center !important;
1155
- color: var(--muted-foreground) !important;
1156
- }
1157
- .flatpickr-am-pm {
1158
- background-color: transparent !important;
1159
- border: 1px solid var(--input) !important;
1160
- border-radius: calc(var(--radius) - 2px) !important;
1161
- height: 2.25rem !important;
1162
- display: flex !important;
1163
- align-items: center !important;
1164
- justify-content: center !important;
1165
- margin-left: 0.25rem !important;
1166
- cursor: pointer !important;
1167
- width: 3rem !important;
1168
- color: var(--foreground) !important;
1169
-
1170
- &:hover { background-color: var(--accent) !important; }
1171
- &:focus {
1172
- border-color: var(--ring) !important;
1173
- outline: 2px solid color-mix(in srgb, var(--ring), transparent 50%);
1174
- outline-offset: 2px;
1175
- }
1176
- }
314
+ overflow: visible !important;
315
+ }
316
+
317
+ .flatpickr-time .numInputWrapper {
318
+ flex: 1 1 0% !important;
319
+ width: auto !important;
320
+ height: 2.25rem !important;
321
+ }
322
+
323
+ .flatpickr-time .numInputWrapper:hover { background-color: transparent !important; }
324
+
325
+ .flatpickr-time .numInputWrapper span { display: none; }
326
+
327
+ .flatpickr-time .numInputWrapper input {
328
+ background-color: transparent !important;
329
+ border: 1px solid var(--input) !important;
330
+ border-radius: calc(var(--radius) - 2px) !important;
331
+ font-size: 0.875rem !important;
332
+ height: 100% !important;
333
+ font-weight: 400 !important;
334
+ text-align: center !important;
335
+ color: var(--foreground) !important;
336
+ box-shadow: none !important;
1177
337
  }
338
+
339
+ .flatpickr-time .numInputWrapper input:focus {
340
+ border-color: var(--ring) !important;
341
+ outline: 2px solid color-mix(in srgb, var(--ring), transparent 50%);
342
+ outline-offset: 2px;
343
+ }
344
+
345
+ .flatpickr-time .flatpickr-time-separator {
346
+ font-weight: 700 !important;
347
+ padding: 0 !important;
348
+ display: flex !important;
349
+ align-items: center !important;
350
+ justify-content: center !important;
351
+ color: var(--muted-foreground) !important;
352
+ }
353
+
354
+ .flatpickr-time .flatpickr-am-pm {
355
+ background-color: transparent !important;
356
+ border: 1px solid var(--input) !important;
357
+ border-radius: calc(var(--radius) - 2px) !important;
358
+ height: 2.25rem !important;
359
+ display: flex !important;
360
+ align-items: center !important;
361
+ justify-content: center !important;
362
+ margin-left: 0.25rem !important;
363
+ cursor: pointer !important;
364
+ width: 3rem !important;
365
+ color: var(--foreground) !important;
366
+ }
367
+
368
+ .flatpickr-time .flatpickr-am-pm:hover { background-color: var(--accent) !important; }
369
+
370
+ .flatpickr-time .flatpickr-am-pm:focus {
371
+ border-color: var(--ring) !important;
372
+ outline: 2px solid color-mix(in srgb, var(--ring), transparent 50%);
373
+ outline-offset: 2px;
374
+ }