flatpickr_rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -21
  3. data/lib/flatpickr_rails/version.rb +1 -1
  4. data/vendor/assets/javascripts/flatpickr.js +1506 -0
  5. data/vendor/assets/javascripts/flatpickr/l10n/ar.js +16 -0
  6. data/vendor/assets/javascripts/flatpickr/l10n/bg.js +16 -0
  7. data/vendor/assets/javascripts/flatpickr/l10n/bn.js +16 -0
  8. data/vendor/assets/javascripts/flatpickr/l10n/cat.js +36 -0
  9. data/vendor/assets/javascripts/flatpickr/l10n/cs.js +22 -0
  10. data/vendor/assets/javascripts/flatpickr/l10n/da.js +20 -0
  11. data/vendor/assets/javascripts/flatpickr/l10n/de.js +16 -0
  12. data/vendor/assets/javascripts/flatpickr/l10n/es.js +22 -0
  13. data/vendor/assets/javascripts/flatpickr/l10n/et.js +27 -0
  14. data/vendor/assets/javascripts/flatpickr/l10n/fa.js +20 -0
  15. data/vendor/assets/javascripts/flatpickr/l10n/fi.js +22 -0
  16. data/vendor/assets/javascripts/flatpickr/l10n/fr.js +26 -0
  17. data/vendor/assets/javascripts/flatpickr/l10n/he.js +16 -0
  18. data/vendor/assets/javascripts/flatpickr/l10n/hi.js +16 -0
  19. data/vendor/assets/javascripts/flatpickr/l10n/hr.js +19 -0
  20. data/vendor/assets/javascripts/flatpickr/l10n/hu.js +27 -0
  21. data/vendor/assets/javascripts/flatpickr/l10n/id.js +22 -0
  22. data/vendor/assets/javascripts/flatpickr/l10n/it.js +27 -0
  23. data/vendor/assets/javascripts/flatpickr/l10n/ja.js +16 -0
  24. data/vendor/assets/javascripts/flatpickr/l10n/ko.js +20 -0
  25. data/vendor/assets/javascripts/flatpickr/l10n/ms.js +22 -0
  26. data/vendor/assets/javascripts/flatpickr/l10n/my.js +22 -0
  27. data/vendor/assets/javascripts/flatpickr/l10n/nl.js +26 -0
  28. data/vendor/assets/javascripts/flatpickr/l10n/no.js +20 -0
  29. data/vendor/assets/javascripts/flatpickr/l10n/pa.js +16 -0
  30. data/vendor/assets/javascripts/flatpickr/l10n/pl.js +20 -0
  31. data/vendor/assets/javascripts/flatpickr/l10n/pt.js +16 -0
  32. data/vendor/assets/javascripts/flatpickr/l10n/ro.js +23 -0
  33. data/vendor/assets/javascripts/flatpickr/l10n/ru.js +16 -0
  34. data/vendor/assets/javascripts/flatpickr/l10n/si.js +17 -0
  35. data/vendor/assets/javascripts/flatpickr/l10n/sq.js +16 -0
  36. data/vendor/assets/javascripts/flatpickr/l10n/sv.js +22 -0
  37. data/vendor/assets/javascripts/flatpickr/l10n/tr.js +18 -0
  38. data/vendor/assets/javascripts/flatpickr/l10n/uk.js +16 -0
  39. data/vendor/assets/javascripts/flatpickr/l10n/vn.js +19 -0
  40. data/vendor/assets/javascripts/flatpickr/l10n/zh.js +17 -0
  41. data/vendor/assets/stylesheets/flatpickr.airbnb.css +1 -0
  42. data/vendor/assets/stylesheets/flatpickr.base16_flat.css +1 -0
  43. data/vendor/assets/stylesheets/flatpickr.confetti.css +1 -246
  44. data/vendor/assets/stylesheets/flatpickr.css +1 -242
  45. data/vendor/assets/stylesheets/flatpickr.dark.css +1 -243
  46. data/vendor/assets/stylesheets/flatpickr.material_blue.css +1 -246
  47. data/vendor/assets/stylesheets/flatpickr.material_green.css +1 -246
  48. data/vendor/assets/stylesheets/flatpickr.material_orange.css +1 -246
  49. data/vendor/assets/stylesheets/flatpickr.material_red.css +1 -246
  50. metadata +42 -6
  51. data/vendor/assets/javascripts/flatpickr/core.js +0 -1034
  52. data/vendor/assets/javascripts/flatpickr/index.js +0 -1
@@ -1,242 +1 @@
1
- .flatpickr-input {
2
- cursor: pointer;
3
- z-index: 1;
4
- }
5
- .flatpickr-wrapper {
6
- position: absolute;
7
- display: block;
8
- }
9
- .flatpickr-wrapper.inline,
10
- .flatpickr-wrapper.static {
11
- display: block;
12
- position: relative;
13
- }
14
- .flatpickr-wrapper.inline .flatpickr-calendar {
15
- position: relative;
16
- }
17
- .flatpickr-wrapper.static .flatpickr-calendar {
18
- position: absolute;
19
- }
20
- .flatpickr-wrapper input {
21
- cursor: pointer;
22
- z-index: 1;
23
- }
24
- .flatpickr-wrapper.open .flatpickr-calendar,
25
- .flatpickr-wrapper.inline .flatpickr-calendar {
26
- z-index: 99999;
27
- display: block;
28
- }
29
- .flatpickr-calendar {
30
- background: #fff;
31
- border: 1px solid #ddd;
32
- font-size: 90%;
33
- border-radius: 3px;
34
- position: absolute;
35
- top: 100%;
36
- left: 0;
37
- margin-top: 3px;
38
- display: none;
39
- width: 256px;
40
- }
41
- .flatpickr-calendar.hasWeeks {
42
- width: 288px;
43
- }
44
- .flatpickr-calendar.hasWeeks .flatpickr-weekdays span {
45
- width: 12.5%;
46
- }
47
- .flatpickr-calendar:before,
48
- .flatpickr-calendar:after {
49
- position: absolute;
50
- display: block;
51
- pointer-events: none;
52
- border: solid transparent;
53
- content: '';
54
- height: 0;
55
- width: 0;
56
- bottom: 100%;
57
- left: 22px;
58
- }
59
- .flatpickr-calendar:before {
60
- border-width: 5px;
61
- margin: 0 -5px;
62
- border-bottom-color: #ddd;
63
- }
64
- .flatpickr-calendar:after {
65
- border-width: 4px;
66
- margin: 0 -4px;
67
- border-bottom-color: #fff;
68
- }
69
- .flatpickr-month {
70
- background: transparent;
71
- color: #000;
72
- padding: 4px 5px 2px 5px;
73
- text-align: center;
74
- position: relative;
75
- }
76
- .flatpickr-prev-month,
77
- .flatpickr-next-month {
78
- text-decoration: none;
79
- cursor: pointer;
80
- position: absolute;
81
- top: 0.5rem;
82
- }
83
- .flatpickr-prev-month i,
84
- .flatpickr-next-month i {
85
- position: relative;
86
- }
87
- .flatpickr-prev-month:hover,
88
- .flatpickr-next-month:hover {
89
- color: #f99595;
90
- }
91
- .flatpickr-prev-month {
92
- float: left;
93
- left: 0.5rem;
94
- }
95
- .flatpickr-next-month {
96
- float: right;
97
- right: 0.5rem;
98
- }
99
- .flatpickr-current-month {
100
- font-size: 135%;
101
- font-weight: 300;
102
- color: rgba(0,0,0,0.7);
103
- display: inline-block;
104
- }
105
- .flatpickr-current-month .cur_month {
106
- font-weight: 700;
107
- color: #000;
108
- }
109
- .flatpickr-current-month .cur_year {
110
- background: transparent;
111
- box-sizing: content-box;
112
- color: inherit;
113
- cursor: default;
114
- padding: 0 0 0 2px;
115
- margin: 0;
116
- width: 3.1em;
117
- display: inline;
118
- font-size: inherit;
119
- line-height: inherit;
120
- height: initial;
121
- border: 0;
122
- }
123
- .flatpickr-current-month .cur_year:hover {
124
- background: rgba(0,0,0,0.05);
125
- }
126
- .flatpickr-weekdays {
127
- font-size: 90%;
128
- background: transparent;
129
- padding: 2px 0 4px 0;
130
- text-align: center;
131
- }
132
- .flatpickr-weekdays span {
133
- opacity: 0.54;
134
- text-align: center;
135
- display: inline-block;
136
- width: 14.28%;
137
- font-weight: bold;
138
- }
139
- .flatpickr-weeks {
140
- width: 32px;
141
- float: left;
142
- }
143
- .flatpickr-days {
144
- padding-top: 1px;
145
- }
146
- .flatpickr-day {
147
- background: none;
148
- border: 1px solid transparent;
149
- border-radius: 150px;
150
- box-sizing: border-box;
151
- color: #393939;
152
- cursor: pointer;
153
- display: inline-block;
154
- width: 34px;
155
- height: 34px;
156
- line-height: 33px;
157
- margin: 0 1px 1px 1px;
158
- text-align: center;
159
- }
160
- .flatpickr-day:hover {
161
- background: #e6e6e6;
162
- border-color: #e6e6e6;
163
- }
164
- .flatpickr-day.today {
165
- border-color: #f99595;
166
- }
167
- .flatpickr-day.today:hover {
168
- border-color: #f99595;
169
- background: #f99595;
170
- color: #fff;
171
- }
172
- .flatpickr-day.selected,
173
- .flatpickr-day.selected:hover {
174
- background: #446cb3;
175
- color: #fff;
176
- border-color: #446cb3;
177
- }
178
- .flatpickr-day.disabled,
179
- .flatpickr-day.disabled:hover {
180
- color: rgba(57,57,57,0.3);
181
- background: transparent;
182
- border-color: transparent;
183
- cursor: default;
184
- }
185
- .flatpickr-time {
186
- overflow: auto;
187
- text-align: center;
188
- border-top: 1px solid #ddd;
189
- }
190
- .flatpickr-time input[type='number'] {
191
- background: transparent;
192
- -webkit-appearance: none;
193
- -moz-appearance: textfield;
194
- box-shadow: none;
195
- border: 0;
196
- border-radius: 0;
197
- display: inline-block;
198
- width: 33%;
199
- min-width: 33%;
200
- text-align: center;
201
- margin: 0;
202
- padding: 0;
203
- height: 38px;
204
- line-height: 38px;
205
- cursor: pointer;
206
- font-weight: bold;
207
- color: #393939;
208
- }
209
- .flatpickr-time input[type='number'].flatpickr-minute {
210
- width: 26%;
211
- font-weight: 300;
212
- }
213
- .flatpickr-time input[type='number'].flatpickr-second {
214
- font-weight: 300;
215
- }
216
- .flatpickr-time input[type='number']:focus {
217
- outline: 0;
218
- border: 0;
219
- }
220
- .flatpickr-time input[type='number']:hover {
221
- background: #f0f0f0;
222
- }
223
- .flatpickr-time.has-seconds input[type='number'] {
224
- width: 25%;
225
- min-width: 25%;
226
- }
227
- .flatpickr-time-separator,
228
- .flatpickr-am-pm {
229
- height: 38px;
230
- display: inline-block;
231
- line-height: 38px;
232
- color: #393939;
233
- }
234
- .flatpickr-am-pm {
235
- width: 21%;
236
- padding: 0 2%;
237
- cursor: pointer;
238
- text-align: left;
239
- }
240
- .flatpickr-am-pm:hover {
241
- background: #f0f0f0;
242
- }
1
+ .flatpickr-input{cursor:pointer;z-index:1}.flatpickr-mobileInput{opacity:0;visibility:hidden;position:absolute;width:0;height:0;box-sizing:border-box;padding:0}.flatpickr-calendar{background:#fff;display:none;text-align:center;padding:0;border:1px solid #e6e6e6;font-size:14px;border-radius:3px;position:absolute;min-width:200px;max-width:247px\9;}.flatpickr-calendar.open{opacity:1;z-index:99999;display:inline-block}.flatpickr-calendar.inline{display:inline-block;margin-top:2px;position:relative}.flatpickr-calendar.static{position:relative;}.flatpickr-calendar.static.open{display:block}.flatpickr-calendar.hasWeeks{max-width:320px}.flatpickr-calendar:before,.flatpickr-calendar:after{position:absolute;display:block;pointer-events:none;border:solid transparent;content:'';height:0;width:0;left:22px}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:before,.flatpickr-calendar.arrowBottom:after{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-month{background:transparent;color:rgba(0,0,0,0.8);fill:rgba(0,0,0,0.8);padding:4px 0 0;padding:0px\9;text-align:center;position:relative}.flatpickr-prev-month,.flatpickr-next-month{text-decoration:none;cursor:pointer;}.flatpickr-prev-month i,.flatpickr-next-month i{position:relative}.flatpickr-prev-month svg,.flatpickr-next-month svg{width:14px;position:absolute;top:8px;top:0px\9;}.flatpickr-prev-month svg path,.flatpickr-next-month svg path{fill:inherit}.flatpickr-prev-month svg:hover,.flatpickr-next-month svg:hover{fill:#f99595}.flatpickr-prev-month:hover,.flatpickr-next-month:hover{color:#f99595}.flatpickr-prev-month svg{left:5px}.flatpickr-next-month svg{right:5px}.flatpickr-current-month{font-size:135%;font-weight:300;color:inherit;position:relative;display:inline-block;line-height:1;}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit}.flatpickr-current-month input.cur-year{background:transparent;box-sizing:border-box;color:inherit;cursor:default;padding:0;margin:0;width:3.2em;display:inline;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:initial;border:0;border-radius:0;vertical-align:initial;}.flatpickr-current-month input.cur-year:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,0.5);background:transparent;pointer-events:none}.flatpickr-weekdays{background:transparent;text-align:center;overflow:hidden}.flatpickr-days{padding-top:1px;outline:0;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%;}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;box-sizing:border-box;color:#393939;cursor:pointer;display:inline-block;display:-webkit-flex;display:-ms-flexbox;display:flex;display:inline-block\9;position:relative;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-weight:300;width:14.28571%;height:35px;line-height:35px;margin:0;text-align:center;transition:50ms all ease-out;}.flatpickr-day.inRange,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.today.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day:hover,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#f99595;}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#f99595;background:#f99595;color:#fff}.flatpickr-day.selected,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected.nextMonthDay{background:#3da3f3;color:#fff;border-color:#3da3f3}.flatpickr-day.disabled,.flatpickr-day.disabled:hover,.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.notAllowed.nextMonthDay{color:rgba(57,57,57,0.3);background:transparent;border-color:transparent;cursor:default}span.flatpickr-weekday{cursor:default;font-size:90%;color:rgba(0,0,0,0.54);height:24px;line-height:24px;margin:0;background:transparent;text-align:center;display:block;float:left;width:14.28%;font-weight:bold}.flatpickr-weekwrapper{display:inline-block;float:left;}.flatpickr-weekwrapper .flatpickr-weeks{border-right:1px solid #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%}.flatpickr-weekwrapper span.flatpickr-day{display:block;width:100%;margin-right:1rem}.flatpickr-innerContainer{display:block;display:flex;}.flatpickr-innerContainer:after{display:inline-block;content:"";clear:both}.flatpickr-rContainer{display:inline-block;max-width:247px}.flatpickr-time{overflow:auto;text-align:center;border-top:0;outline:0;display:block;display:flex;}.flatpickr-time input{-moz-appearance:textfield;background:transparent;box-shadow:none;border:0;border-radius:0;display:inline-block;flex:1;text-align:center;margin:0;padding:0;height:38px;line-height:38px;cursor:pointer;font-weight:bold;color:#393939;font-size:14px;width:40%\9;}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:300}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time input:hover,.flatpickr-time input:focus{-moz-appearance:number-input;background:#e6e6e6}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:38px;display:inline-block;line-height:38px;color:#393939}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:300;}.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time .flatpickr-am-pm:focus{background:#f0f0f0}.hasWeeks .flatpickr-days,.hasTime .flatpickr-days{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.hasWeeks .flatpickr-days{border-left:0}.flatpickr-innerContainer + .flatpickr-time{border-top:1px solid #e6e6e6}@media all and (-ms-high-contrast:none){.flatpickr-days{width:247px}.flatpickr-month{padding:0;}.flatpickr-month svg{top:0 !important}}
@@ -1,243 +1 @@
1
- .flatpickr-input {
2
- cursor: pointer;
3
- z-index: 1;
4
- }
5
- .flatpickr-wrapper {
6
- position: absolute;
7
- display: block;
8
- }
9
- .flatpickr-wrapper.inline,
10
- .flatpickr-wrapper.static {
11
- display: block;
12
- position: relative;
13
- }
14
- .flatpickr-wrapper.inline .flatpickr-calendar {
15
- position: relative;
16
- }
17
- .flatpickr-wrapper.static .flatpickr-calendar {
18
- position: absolute;
19
- }
20
- .flatpickr-wrapper input {
21
- cursor: pointer;
22
- z-index: 1;
23
- }
24
- .flatpickr-wrapper.open .flatpickr-calendar,
25
- .flatpickr-wrapper.inline .flatpickr-calendar {
26
- z-index: 99999;
27
- display: block;
28
- }
29
- .flatpickr-calendar {
30
- background: #323a45;
31
- border: 1px solid #2d343e;
32
- font-size: 90%;
33
- border-radius: 3px;
34
- position: absolute;
35
- top: 100%;
36
- left: 0;
37
- margin-top: 3px;
38
- display: none;
39
- width: 256px;
40
- }
41
- .flatpickr-calendar.hasWeeks {
42
- width: 288px;
43
- }
44
- .flatpickr-calendar.hasWeeks .flatpickr-weekdays span {
45
- width: 12.5%;
46
- }
47
- .flatpickr-calendar:before,
48
- .flatpickr-calendar:after {
49
- position: absolute;
50
- display: block;
51
- pointer-events: none;
52
- border: solid transparent;
53
- content: '';
54
- height: 0;
55
- width: 0;
56
- bottom: 100%;
57
- left: 22px;
58
- }
59
- .flatpickr-calendar:before {
60
- border-width: 5px;
61
- margin: 0 -5px;
62
- border-bottom-color: #2d343e;
63
- }
64
- .flatpickr-calendar:after {
65
- border-width: 4px;
66
- margin: 0 -4px;
67
- border-bottom-color: #323a45;
68
- }
69
- .flatpickr-month {
70
- background: transparent;
71
- color: #fff;
72
- padding: 4px 5px 2px 5px;
73
- text-align: center;
74
- position: relative;
75
- }
76
- .flatpickr-prev-month,
77
- .flatpickr-next-month {
78
- text-decoration: none;
79
- cursor: pointer;
80
- position: absolute;
81
- top: 0.5rem;
82
- }
83
- .flatpickr-prev-month i,
84
- .flatpickr-next-month i {
85
- position: relative;
86
- }
87
- .flatpickr-prev-month:hover,
88
- .flatpickr-next-month:hover {
89
- color: #ff6b66;
90
- }
91
- .flatpickr-prev-month {
92
- float: left;
93
- left: 0.5rem;
94
- }
95
- .flatpickr-next-month {
96
- float: right;
97
- right: 0.5rem;
98
- }
99
- .flatpickr-current-month {
100
- font-size: 135%;
101
- font-weight: 300;
102
- color: rgba(255,255,255,0.7);
103
- display: inline-block;
104
- }
105
- .flatpickr-current-month .cur_month {
106
- font-weight: 700;
107
- color: #fff;
108
- }
109
- .flatpickr-current-month .cur_year {
110
- background: transparent;
111
- box-sizing: content-box;
112
- color: inherit;
113
- cursor: default;
114
- padding: 0 0 0 2px;
115
- margin: 0;
116
- width: 3.1em;
117
- display: inline;
118
- font-size: inherit;
119
- line-height: inherit;
120
- height: initial;
121
- border: 0;
122
- }
123
- .flatpickr-current-month .cur_year:hover {
124
- background: rgba(0,0,0,0.05);
125
- }
126
- .flatpickr-weekdays {
127
- font-size: 90%;
128
- background: transparent;
129
- padding: 2px 0 4px 0;
130
- text-align: center;
131
- }
132
- .flatpickr-weekdays span {
133
- color: #fff;
134
- opacity: 0.54;
135
- text-align: center;
136
- display: inline-block;
137
- width: 14.28%;
138
- font-weight: bold;
139
- }
140
- .flatpickr-weeks {
141
- width: 32px;
142
- float: left;
143
- }
144
- .flatpickr-days {
145
- padding-top: 1px;
146
- }
147
- .flatpickr-day {
148
- background: none;
149
- border: 1px solid transparent;
150
- border-radius: 150px;
151
- box-sizing: border-box;
152
- color: rgba(255,255,255,0.9);
153
- cursor: pointer;
154
- display: inline-block;
155
- width: 34px;
156
- height: 34px;
157
- line-height: 33px;
158
- margin: 0 1px 1px 1px;
159
- text-align: center;
160
- }
161
- .flatpickr-day:hover {
162
- background: #4f5b6d;
163
- border-color: #4f5b6d;
164
- }
165
- .flatpickr-day.today {
166
- border-color: #ff6b66;
167
- }
168
- .flatpickr-day.today:hover {
169
- border-color: #ff6b66;
170
- background: #ff6b66;
171
- color: #fff;
172
- }
173
- .flatpickr-day.selected,
174
- .flatpickr-day.selected:hover {
175
- background: #ff6b66;
176
- color: #fff;
177
- border-color: #ff6b66;
178
- }
179
- .flatpickr-day.disabled,
180
- .flatpickr-day.disabled:hover {
181
- color: rgba(255,255,255,0.3);
182
- background: transparent;
183
- border-color: transparent;
184
- cursor: default;
185
- }
186
- .flatpickr-time {
187
- overflow: auto;
188
- text-align: center;
189
- border-top: 1px solid #2d343e;
190
- }
191
- .flatpickr-time input[type='number'] {
192
- background: transparent;
193
- -webkit-appearance: none;
194
- -moz-appearance: textfield;
195
- box-shadow: none;
196
- border: 0;
197
- border-radius: 0;
198
- display: inline-block;
199
- width: 33%;
200
- min-width: 33%;
201
- text-align: center;
202
- margin: 0;
203
- padding: 0;
204
- height: 38px;
205
- line-height: 38px;
206
- cursor: pointer;
207
- font-weight: bold;
208
- color: rgba(255,255,255,0.9);
209
- }
210
- .flatpickr-time input[type='number'].flatpickr-minute {
211
- width: 26%;
212
- font-weight: 300;
213
- }
214
- .flatpickr-time input[type='number'].flatpickr-second {
215
- font-weight: 300;
216
- }
217
- .flatpickr-time input[type='number']:focus {
218
- outline: 0;
219
- border: 0;
220
- }
221
- .flatpickr-time input[type='number']:hover {
222
- background: #586579;
223
- }
224
- .flatpickr-time.has-seconds input[type='number'] {
225
- width: 25%;
226
- min-width: 25%;
227
- }
228
- .flatpickr-time-separator,
229
- .flatpickr-am-pm {
230
- height: 38px;
231
- display: inline-block;
232
- line-height: 38px;
233
- color: rgba(255,255,255,0.9);
234
- }
235
- .flatpickr-am-pm {
236
- width: 21%;
237
- padding: 0 2%;
238
- cursor: pointer;
239
- text-align: left;
240
- }
241
- .flatpickr-am-pm:hover {
242
- background: #586579;
243
- }
1
+ .flatpickr-input{cursor:pointer;z-index:1}.flatpickr-mobileInput{opacity:0;visibility:hidden;position:absolute;width:0;height:0;box-sizing:border-box;padding:0}.flatpickr-calendar{background:rgba(35,40,60,0.95);display:none;text-align:center;padding:0;border:1px solid #23283c;font-size:14px;border-radius:3px;position:absolute;min-width:200px;max-width:247px\9;}.flatpickr-calendar.open{opacity:1;z-index:99999;display:inline-block}.flatpickr-calendar.inline{display:inline-block;margin-top:2px;position:relative}.flatpickr-calendar.static{position:relative;}.flatpickr-calendar.static.open{display:block}.flatpickr-calendar.hasWeeks{max-width:320px}.flatpickr-calendar:before,.flatpickr-calendar:after{position:absolute;display:block;pointer-events:none;border:solid transparent;content:'';height:0;width:0;left:22px}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#23283c}.flatpickr-calendar.arrowTop:after{border-bottom-color:rgba(35,40,60,0.95)}.flatpickr-calendar.arrowBottom:before,.flatpickr-calendar.arrowBottom:after{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#23283c}.flatpickr-calendar.arrowBottom:after{border-top-color:rgba(35,40,60,0.95)}.flatpickr-month{background:transparent;color:#fff;fill:#fff;padding:4px 0 0;padding:0px\9;text-align:center;position:relative}.flatpickr-prev-month,.flatpickr-next-month{text-decoration:none;cursor:pointer;}.flatpickr-prev-month i,.flatpickr-next-month i{position:relative}.flatpickr-prev-month svg,.flatpickr-next-month svg{width:14px;position:absolute;top:8px;top:0px\9;}.flatpickr-prev-month svg path,.flatpickr-next-month svg path{fill:inherit}.flatpickr-prev-month svg:hover,.flatpickr-next-month svg:hover{fill:#eee}.flatpickr-prev-month:hover,.flatpickr-next-month:hover{color:#eee}.flatpickr-prev-month svg{left:5px}.flatpickr-next-month svg{right:5px}.flatpickr-current-month{font-size:135%;font-weight:300;color:inherit;position:relative;display:inline-block;line-height:1;}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit}.flatpickr-current-month input.cur-year{background:transparent;box-sizing:border-box;color:inherit;cursor:default;padding:0;margin:0;width:3.2em;display:inline;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:initial;border:0;border-radius:0;vertical-align:initial;}.flatpickr-current-month input.cur-year:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(255,255,255,0.5);background:transparent;pointer-events:none}.flatpickr-weekdays{background:transparent;text-align:center;overflow:hidden}.flatpickr-days{padding-top:1px;outline:0;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%;}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;box-sizing:border-box;color:rgba(255,255,255,0.95);cursor:pointer;display:inline-block;display:-webkit-flex;display:-ms-flexbox;display:flex;display:inline-block\9;position:relative;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-weight:300;width:14.28571%;height:35px;line-height:35px;margin:0;text-align:center;transition:50ms all ease-out;}.flatpickr-day.inRange,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.today.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day:hover,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{cursor:pointer;outline:0;background:#4e545a;border-color:#4e545a}.flatpickr-day.today{border-color:#eee;}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#eee;background:#eee;color:#23283c}.flatpickr-day.selected,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected.nextMonthDay{background:#446cb3;color:#fff;border-color:#446cb3}.flatpickr-day.disabled,.flatpickr-day.disabled:hover,.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.notAllowed.nextMonthDay{color:rgba(255,255,255,0.3);background:transparent;border-color:transparent;cursor:default}span.flatpickr-weekday{cursor:default;font-size:90%;color:rgba(255,255,255,0.54);height:24px;line-height:24px;margin:0;background:transparent;text-align:center;display:block;float:left;width:14.28%;font-weight:bold}.flatpickr-weekwrapper{display:inline-block;float:left;}.flatpickr-weekwrapper .flatpickr-weeks{border-right:1px solid #23283c}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%}.flatpickr-weekwrapper span.flatpickr-day{display:block;width:100%;margin-right:1rem}.flatpickr-innerContainer{display:block;display:flex;}.flatpickr-innerContainer:after{display:inline-block;content:"";clear:both}.flatpickr-rContainer{display:inline-block;max-width:247px}.flatpickr-time{overflow:auto;text-align:center;border-top:0;outline:0;display:block;display:flex;}.flatpickr-time input{-moz-appearance:textfield;background:transparent;box-shadow:none;border:0;border-radius:0;display:inline-block;flex:1;text-align:center;margin:0;padding:0;height:38px;line-height:38px;cursor:pointer;font-weight:bold;color:rgba(255,255,255,0.95);font-size:14px;width:40%\9;}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:300}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time input:hover,.flatpickr-time input:focus{-moz-appearance:number-input;background:#4e545a}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:38px;display:inline-block;line-height:38px;color:rgba(255,255,255,0.95)}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:300;}.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time .flatpickr-am-pm:focus{background:#575e65}.hasWeeks .flatpickr-days,.hasTime .flatpickr-days{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.hasWeeks .flatpickr-days{border-left:0}.flatpickr-innerContainer + .flatpickr-time{border-top:1px solid #23283c}@media all and (-ms-high-contrast:none){.flatpickr-days{width:247px}.flatpickr-month{padding:0;}.flatpickr-month svg{top:0 !important}}