flatpickr_rails 1.0.0 → 1.1.0

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