@festo-ui/web-essentials 4.0.3-pre-20221124.8 → 5.0.0-dev.102

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