playbook_ui 12.19.0.pre.alpha.movemarkdown639 → 12.20.0.pre.alpha.movemarkdown668

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