flatpickr 4.5.2.1 → 4.5.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/lib/flatpickr/version.rb +1 -1
  3. data/vendor/assets/javascripts/flatpickr.js +2400 -2075
  4. data/vendor/assets/javascripts/flatpickr/l10n/ar.js +42 -20
  5. data/vendor/assets/javascripts/flatpickr/l10n/at.js +55 -20
  6. data/vendor/assets/javascripts/flatpickr/l10n/az.js +73 -0
  7. data/vendor/assets/javascripts/flatpickr/l10n/be.js +57 -22
  8. data/vendor/assets/javascripts/flatpickr/l10n/bg.js +55 -20
  9. data/vendor/assets/javascripts/flatpickr/l10n/bn.js +55 -20
  10. data/vendor/assets/javascripts/flatpickr/l10n/cat.js +71 -40
  11. data/vendor/assets/javascripts/flatpickr/l10n/cs.js +57 -22
  12. data/vendor/assets/javascripts/flatpickr/l10n/cy.js +81 -29
  13. data/vendor/assets/javascripts/flatpickr/l10n/da.js +57 -22
  14. data/vendor/assets/javascripts/flatpickr/l10n/de.js +55 -20
  15. data/vendor/assets/javascripts/flatpickr/l10n/default.js +62 -32
  16. data/vendor/assets/javascripts/flatpickr/l10n/eo.js +57 -22
  17. data/vendor/assets/javascripts/flatpickr/l10n/es.js +57 -22
  18. data/vendor/assets/javascripts/flatpickr/l10n/et.js +57 -22
  19. data/vendor/assets/javascripts/flatpickr/l10n/fa.js +57 -22
  20. data/vendor/assets/javascripts/flatpickr/l10n/fi.js +57 -22
  21. data/vendor/assets/javascripts/flatpickr/l10n/fo.js +73 -0
  22. data/vendor/assets/javascripts/flatpickr/l10n/fr.js +59 -23
  23. data/vendor/assets/javascripts/flatpickr/l10n/gr.js +57 -22
  24. data/vendor/assets/javascripts/flatpickr/l10n/he.js +49 -21
  25. data/vendor/assets/javascripts/flatpickr/l10n/hi.js +55 -20
  26. data/vendor/assets/javascripts/flatpickr/l10n/hr.js +55 -20
  27. data/vendor/assets/javascripts/flatpickr/l10n/hu.js +59 -23
  28. data/vendor/assets/javascripts/flatpickr/l10n/id.js +49 -22
  29. data/vendor/assets/javascripts/flatpickr/l10n/index.js +3147 -1036
  30. data/vendor/assets/javascripts/flatpickr/l10n/is.js +71 -0
  31. data/vendor/assets/javascripts/flatpickr/l10n/it.js +56 -23
  32. data/vendor/assets/javascripts/flatpickr/l10n/ja.js +55 -20
  33. data/vendor/assets/javascripts/flatpickr/l10n/km.js +57 -22
  34. data/vendor/assets/javascripts/flatpickr/l10n/ko.js +57 -22
  35. data/vendor/assets/javascripts/flatpickr/l10n/kz.js +57 -22
  36. data/vendor/assets/javascripts/flatpickr/l10n/lt.js +57 -22
  37. data/vendor/assets/javascripts/flatpickr/l10n/lv.js +55 -20
  38. data/vendor/assets/javascripts/flatpickr/l10n/mk.js +55 -20
  39. data/vendor/assets/javascripts/flatpickr/l10n/mn.js +47 -20
  40. data/vendor/assets/javascripts/flatpickr/l10n/ms.js +56 -21
  41. data/vendor/assets/javascripts/flatpickr/l10n/my.js +57 -22
  42. data/vendor/assets/javascripts/flatpickr/l10n/nl.js +59 -23
  43. data/vendor/assets/javascripts/flatpickr/l10n/no.js +57 -22
  44. data/vendor/assets/javascripts/flatpickr/l10n/pa.js +55 -20
  45. data/vendor/assets/javascripts/flatpickr/l10n/pl.js +57 -22
  46. data/vendor/assets/javascripts/flatpickr/l10n/pt.js +55 -20
  47. data/vendor/assets/javascripts/flatpickr/l10n/ro.js +57 -22
  48. data/vendor/assets/javascripts/flatpickr/l10n/ru.js +57 -22
  49. data/vendor/assets/javascripts/flatpickr/l10n/si.js +55 -20
  50. data/vendor/assets/javascripts/flatpickr/l10n/sk.js +57 -22
  51. data/vendor/assets/javascripts/flatpickr/l10n/sl.js +57 -22
  52. data/vendor/assets/javascripts/flatpickr/l10n/sq.js +55 -20
  53. data/vendor/assets/javascripts/flatpickr/l10n/sr-cyr.js +67 -0
  54. data/vendor/assets/javascripts/flatpickr/l10n/sr.js +55 -20
  55. data/vendor/assets/javascripts/flatpickr/l10n/sv.js +57 -22
  56. data/vendor/assets/javascripts/flatpickr/l10n/th.js +57 -22
  57. data/vendor/assets/javascripts/flatpickr/l10n/tr.js +57 -22
  58. data/vendor/assets/javascripts/flatpickr/l10n/uk.js +55 -20
  59. data/vendor/assets/javascripts/flatpickr/l10n/vn.js +55 -20
  60. data/vendor/assets/javascripts/flatpickr/l10n/zh-tw.js +68 -0
  61. data/vendor/assets/javascripts/flatpickr/l10n/zh.js +55 -20
  62. data/vendor/assets/javascripts/flatpickr/plugins/confirmDate/confirmDate.js +63 -35
  63. data/vendor/assets/javascripts/flatpickr/plugins/labelPlugin/labelPlugin.js +24 -26
  64. data/vendor/assets/javascripts/flatpickr/plugins/minMaxTimePlugin.js +229 -200
  65. data/vendor/assets/javascripts/flatpickr/plugins/monthSelect/monthSelect.js +68 -51
  66. data/vendor/assets/javascripts/flatpickr/plugins/rangePlugin.js +136 -141
  67. data/vendor/assets/javascripts/flatpickr/plugins/scrollPlugin.js +43 -49
  68. data/vendor/assets/javascripts/flatpickr/plugins/weekSelect/weekSelect.js +70 -67
  69. data/vendor/assets/stylesheets/flatpickr.css +12 -1
  70. data/vendor/assets/stylesheets/flatpickr/themes/airbnb.css +12 -1
  71. data/vendor/assets/stylesheets/flatpickr/themes/confetti.css +12 -1
  72. data/vendor/assets/stylesheets/flatpickr/themes/dark.css +12 -1
  73. data/vendor/assets/stylesheets/flatpickr/themes/light.css +12 -1
  74. data/vendor/assets/stylesheets/flatpickr/themes/material_blue.css +12 -1
  75. data/vendor/assets/stylesheets/flatpickr/themes/material_green.css +12 -1
  76. data/vendor/assets/stylesheets/flatpickr/themes/material_orange.css +12 -1
  77. data/vendor/assets/stylesheets/flatpickr/themes/material_red.css +12 -1
  78. metadata +7 -2
@@ -1,77 +1,80 @@
1
- /* flatpickr v4.5.2, @license MIT */
2
1
  (function (global, factory) {
3
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
- typeof define === 'function' && define.amd ? define(factory) :
5
- (global.weekSelect = factory());
6
- }(this, (function () { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
+ typeof define === 'function' && define.amd ? define(factory) :
4
+ (global = global || self, global.weekSelect = factory());
5
+ }(this, function () { 'use strict';
7
6
 
8
- function weekSelectPlugin() {
7
+ function weekSelectPlugin() {
9
8
  return function (fp) {
10
- function onDayHover(event) {
11
- var day = event.target;
12
- if (!day.classList.contains("flatpickr-day")) return;
13
- var days = fp.days.childNodes;
14
- var dayIndex = day.$i;
15
- var dayIndSeven = dayIndex / 7;
16
- var weekStartDay = days[7 * Math.floor(dayIndSeven)].dateObj;
17
- var weekEndDay = days[7 * Math.ceil(dayIndSeven + 0.01) - 1].dateObj;
18
-
19
- for (var i = days.length; i--;) {
20
- var _day = days[i];
21
- var date = _day.dateObj;
22
- if (date > weekEndDay || date < weekStartDay) _day.classList.remove("inRange");else _day.classList.add("inRange");
9
+ function onDayHover(event) {
10
+ var day = event.target;
11
+ if (!day.classList.contains("flatpickr-day"))
12
+ return;
13
+ var days = fp.days.childNodes;
14
+ var dayIndex = day.$i;
15
+ var dayIndSeven = dayIndex / 7;
16
+ var weekStartDay = days[7 * Math.floor(dayIndSeven)]
17
+ .dateObj;
18
+ var weekEndDay = days[7 * Math.ceil(dayIndSeven + 0.01) - 1].dateObj;
19
+ for (var i = days.length; i--;) {
20
+ var day_1 = days[i];
21
+ var date = day_1.dateObj;
22
+ if (date > weekEndDay || date < weekStartDay)
23
+ day_1.classList.remove("inRange");
24
+ else
25
+ day_1.classList.add("inRange");
26
+ }
23
27
  }
24
- }
25
-
26
- function highlightWeek() {
27
- var selDate = fp.latestSelectedDateObj;
28
-
29
- if (selDate !== undefined && selDate.getMonth() === fp.currentMonth && selDate.getFullYear() === fp.currentYear) {
30
- fp.weekStartDay = fp.days.childNodes[7 * Math.floor(fp.selectedDateElem.$i / 7)].dateObj;
31
- fp.weekEndDay = fp.days.childNodes[7 * Math.ceil(fp.selectedDateElem.$i / 7 + 0.01) - 1].dateObj;
28
+ function highlightWeek() {
29
+ var selDate = fp.latestSelectedDateObj;
30
+ if (selDate !== undefined &&
31
+ selDate.getMonth() === fp.currentMonth &&
32
+ selDate.getFullYear() === fp.currentYear) {
33
+ fp.weekStartDay = (fp.days.childNodes[7 * Math.floor(fp.selectedDateElem.$i / 7)]).dateObj;
34
+ fp.weekEndDay = (fp.days.childNodes[7 * Math.ceil(fp.selectedDateElem.$i / 7 + 0.01) - 1]).dateObj;
35
+ }
36
+ var days = fp.days.childNodes;
37
+ for (var i = days.length; i--;) {
38
+ var date = days[i].dateObj;
39
+ if (date >= fp.weekStartDay && date <= fp.weekEndDay)
40
+ days[i].classList.add("week", "selected");
41
+ }
32
42
  }
33
-
34
- var days = fp.days.childNodes;
35
-
36
- for (var i = days.length; i--;) {
37
- var date = days[i].dateObj;
38
- if (date >= fp.weekStartDay && date <= fp.weekEndDay) days[i].classList.add("week", "selected");
43
+ function clearHover() {
44
+ var days = fp.days.childNodes;
45
+ for (var i = days.length; i--;)
46
+ days[i].classList.remove("inRange");
39
47
  }
40
- }
41
-
42
- function clearHover() {
43
- var days = fp.days.childNodes;
44
-
45
- for (var i = days.length; i--;) {
46
- days[i].classList.remove("inRange");
48
+ function onReady() {
49
+ if (fp.daysContainer !== undefined)
50
+ fp.daysContainer.addEventListener("mouseover", onDayHover);
47
51
  }
48
- }
49
-
50
- function onReady() {
51
- if (fp.daysContainer !== undefined) fp.daysContainer.addEventListener("mouseover", onDayHover);
52
- }
53
-
54
- function onDestroy() {
55
- if (fp.daysContainer !== undefined) fp.daysContainer.removeEventListener("mouseover", onDayHover);
56
- }
57
-
58
- return {
59
- onValueUpdate: highlightWeek,
60
- onMonthChange: highlightWeek,
61
- onYearChange: highlightWeek,
62
- onClose: clearHover,
63
- onParseConfig: function onParseConfig() {
64
- fp.config.mode = "single";
65
- fp.config.enableTime = false;
66
- fp.config.dateFormat = fp.config.dateFormat ? fp.config.dateFormat : "\\W\\e\\e\\k #W, Y";
67
- fp.config.altFormat = fp.config.altFormat ? fp.config.altFormat : "\\W\\e\\e\\k #W, Y";
68
- },
69
- onReady: [onReady, highlightWeek],
70
- onDestroy: onDestroy
71
- };
52
+ function onDestroy() {
53
+ if (fp.daysContainer !== undefined)
54
+ fp.daysContainer.removeEventListener("mouseover", onDayHover);
55
+ }
56
+ return {
57
+ onValueUpdate: highlightWeek,
58
+ onMonthChange: highlightWeek,
59
+ onYearChange: highlightWeek,
60
+ onOpen: highlightWeek,
61
+ onClose: clearHover,
62
+ onParseConfig: function () {
63
+ fp.config.mode = "single";
64
+ fp.config.enableTime = false;
65
+ fp.config.dateFormat = fp.config.dateFormat
66
+ ? fp.config.dateFormat
67
+ : "\\W\\e\\e\\k #W, Y";
68
+ fp.config.altFormat = fp.config.altFormat
69
+ ? fp.config.altFormat
70
+ : "\\W\\e\\e\\k #W, Y";
71
+ },
72
+ onReady: [onReady, highlightWeek],
73
+ onDestroy: onDestroy
74
+ };
72
75
  };
73
- }
76
+ }
74
77
 
75
- return weekSelectPlugin;
78
+ return weekSelectPlugin;
76
79
 
77
- })));
80
+ }));
@@ -234,6 +234,11 @@
234
234
  .numInputWrapper input::-ms-clear {
235
235
  display: none;
236
236
  }
237
+ .numInputWrapper input::-webkit-outer-spin-button,
238
+ .numInputWrapper input::-webkit-inner-spin-button {
239
+ margin: 0;
240
+ -webkit-appearance: none;
241
+ }
237
242
  .numInputWrapper span {
238
243
  position: absolute;
239
244
  right: 0;
@@ -345,6 +350,9 @@
345
350
  border: 0;
346
351
  border-radius: 0;
347
352
  vertical-align: initial;
353
+ -webkit-appearance: textfield;
354
+ -moz-appearance: textfield;
355
+ appearance: textfield;
348
356
  }
349
357
  .flatpickr-current-month input.cur-year:focus {
350
358
  outline: 0;
@@ -670,6 +678,9 @@ span.flatpickr-weekday {
670
678
  position: relative;
671
679
  -webkit-box-sizing: border-box;
672
680
  box-sizing: border-box;
681
+ -webkit-appearance: textfield;
682
+ -moz-appearance: textfield;
683
+ appearance: textfield;
673
684
  }
674
685
  .flatpickr-time input.flatpickr-hour {
675
686
  font-weight: bold;
@@ -710,7 +721,7 @@ span.flatpickr-weekday {
710
721
  .flatpickr-time .flatpickr-am-pm:hover,
711
722
  .flatpickr-time input:focus,
712
723
  .flatpickr-time .flatpickr-am-pm:focus {
713
- background: #f3f3f3;
724
+ background: #eee;
714
725
  }
715
726
  .flatpickr-input[readonly] {
716
727
  cursor: pointer;
@@ -234,6 +234,11 @@
234
234
  .numInputWrapper input::-ms-clear {
235
235
  display: none;
236
236
  }
237
+ .numInputWrapper input::-webkit-outer-spin-button,
238
+ .numInputWrapper input::-webkit-inner-spin-button {
239
+ margin: 0;
240
+ -webkit-appearance: none;
241
+ }
237
242
  .numInputWrapper span {
238
243
  position: absolute;
239
244
  right: 0;
@@ -345,6 +350,9 @@
345
350
  border: 0;
346
351
  border-radius: 0;
347
352
  vertical-align: initial;
353
+ -webkit-appearance: textfield;
354
+ -moz-appearance: textfield;
355
+ appearance: textfield;
348
356
  }
349
357
  .flatpickr-current-month input.cur-year:focus {
350
358
  outline: 0;
@@ -670,6 +678,9 @@ span.flatpickr-weekday {
670
678
  position: relative;
671
679
  -webkit-box-sizing: border-box;
672
680
  box-sizing: border-box;
681
+ -webkit-appearance: textfield;
682
+ -moz-appearance: textfield;
683
+ appearance: textfield;
673
684
  }
674
685
  .flatpickr-time input.flatpickr-hour {
675
686
  font-weight: bold;
@@ -710,7 +721,7 @@ span.flatpickr-weekday {
710
721
  .flatpickr-time .flatpickr-am-pm:hover,
711
722
  .flatpickr-time input:focus,
712
723
  .flatpickr-time .flatpickr-am-pm:focus {
713
- background: #f6f6f6;
724
+ background: #f1f1f1;
714
725
  }
715
726
  .flatpickr-input[readonly] {
716
727
  cursor: pointer;
@@ -240,6 +240,11 @@
240
240
  .numInputWrapper input::-ms-clear {
241
241
  display: none;
242
242
  }
243
+ .numInputWrapper input::-webkit-outer-spin-button,
244
+ .numInputWrapper input::-webkit-inner-spin-button {
245
+ margin: 0;
246
+ -webkit-appearance: none;
247
+ }
243
248
  .numInputWrapper span {
244
249
  position: absolute;
245
250
  right: 0;
@@ -351,6 +356,9 @@
351
356
  border: 0;
352
357
  border-radius: 0;
353
358
  vertical-align: initial;
359
+ -webkit-appearance: textfield;
360
+ -moz-appearance: textfield;
361
+ appearance: textfield;
354
362
  }
355
363
  .flatpickr-current-month input.cur-year:focus {
356
364
  outline: 0;
@@ -681,6 +689,9 @@ span.flatpickr-weekday {
681
689
  position: relative;
682
690
  -webkit-box-sizing: border-box;
683
691
  box-sizing: border-box;
692
+ -webkit-appearance: textfield;
693
+ -moz-appearance: textfield;
694
+ appearance: textfield;
684
695
  }
685
696
  .flatpickr-time input.flatpickr-hour {
686
697
  font-weight: bold;
@@ -721,7 +732,7 @@ span.flatpickr-weekday {
721
732
  .flatpickr-time .flatpickr-am-pm:hover,
722
733
  .flatpickr-time input:focus,
723
734
  .flatpickr-time .flatpickr-am-pm:focus {
724
- background: #efefef;
735
+ background: #eaeaea;
725
736
  }
726
737
  .flatpickr-input[readonly] {
727
738
  cursor: pointer;
@@ -234,6 +234,11 @@
234
234
  .numInputWrapper input::-ms-clear {
235
235
  display: none;
236
236
  }
237
+ .numInputWrapper input::-webkit-outer-spin-button,
238
+ .numInputWrapper input::-webkit-inner-spin-button {
239
+ margin: 0;
240
+ -webkit-appearance: none;
241
+ }
237
242
  .numInputWrapper span {
238
243
  position: absolute;
239
244
  right: 0;
@@ -345,6 +350,9 @@
345
350
  border: 0;
346
351
  border-radius: 0;
347
352
  vertical-align: initial;
353
+ -webkit-appearance: textfield;
354
+ -moz-appearance: textfield;
355
+ appearance: textfield;
348
356
  }
349
357
  .flatpickr-current-month input.cur-year:focus {
350
358
  outline: 0;
@@ -670,6 +678,9 @@ span.flatpickr-weekday {
670
678
  position: relative;
671
679
  -webkit-box-sizing: border-box;
672
680
  box-sizing: border-box;
681
+ -webkit-appearance: textfield;
682
+ -moz-appearance: textfield;
683
+ appearance: textfield;
673
684
  }
674
685
  .flatpickr-time input.flatpickr-hour {
675
686
  font-weight: bold;
@@ -710,7 +721,7 @@ span.flatpickr-weekday {
710
721
  .flatpickr-time .flatpickr-am-pm:hover,
711
722
  .flatpickr-time input:focus,
712
723
  .flatpickr-time .flatpickr-am-pm:focus {
713
- background: #707999;
724
+ background: #6a7395;
714
725
  }
715
726
  .flatpickr-input[readonly] {
716
727
  cursor: pointer;
@@ -240,6 +240,11 @@
240
240
  .numInputWrapper input::-ms-clear {
241
241
  display: none;
242
242
  }
243
+ .numInputWrapper input::-webkit-outer-spin-button,
244
+ .numInputWrapper input::-webkit-inner-spin-button {
245
+ margin: 0;
246
+ -webkit-appearance: none;
247
+ }
243
248
  .numInputWrapper span {
244
249
  position: absolute;
245
250
  right: 0;
@@ -351,6 +356,9 @@
351
356
  border: 0;
352
357
  border-radius: 0;
353
358
  vertical-align: initial;
359
+ -webkit-appearance: textfield;
360
+ -moz-appearance: textfield;
361
+ appearance: textfield;
354
362
  }
355
363
  .flatpickr-current-month input.cur-year:focus {
356
364
  outline: 0;
@@ -681,6 +689,9 @@ span.flatpickr-weekday {
681
689
  position: relative;
682
690
  -webkit-box-sizing: border-box;
683
691
  box-sizing: border-box;
692
+ -webkit-appearance: textfield;
693
+ -moz-appearance: textfield;
694
+ appearance: textfield;
684
695
  }
685
696
  .flatpickr-time input.flatpickr-hour {
686
697
  font-weight: bold;
@@ -721,7 +732,7 @@ span.flatpickr-weekday {
721
732
  .flatpickr-time .flatpickr-am-pm:hover,
722
733
  .flatpickr-time input:focus,
723
734
  .flatpickr-time .flatpickr-am-pm:focus {
724
- background: #efefef;
735
+ background: #eaeaea;
725
736
  }
726
737
  .flatpickr-input[readonly] {
727
738
  cursor: pointer;
@@ -240,6 +240,11 @@
240
240
  .numInputWrapper input::-ms-clear {
241
241
  display: none;
242
242
  }
243
+ .numInputWrapper input::-webkit-outer-spin-button,
244
+ .numInputWrapper input::-webkit-inner-spin-button {
245
+ margin: 0;
246
+ -webkit-appearance: none;
247
+ }
243
248
  .numInputWrapper span {
244
249
  position: absolute;
245
250
  right: 0;
@@ -351,6 +356,9 @@
351
356
  border: 0;
352
357
  border-radius: 0;
353
358
  vertical-align: initial;
359
+ -webkit-appearance: textfield;
360
+ -moz-appearance: textfield;
361
+ appearance: textfield;
354
362
  }
355
363
  .flatpickr-current-month input.cur-year:focus {
356
364
  outline: 0;
@@ -681,6 +689,9 @@ span.flatpickr-weekday {
681
689
  position: relative;
682
690
  -webkit-box-sizing: border-box;
683
691
  box-sizing: border-box;
692
+ -webkit-appearance: textfield;
693
+ -moz-appearance: textfield;
694
+ appearance: textfield;
684
695
  }
685
696
  .flatpickr-time input.flatpickr-hour {
686
697
  font-weight: bold;
@@ -721,7 +732,7 @@ span.flatpickr-weekday {
721
732
  .flatpickr-time .flatpickr-am-pm:hover,
722
733
  .flatpickr-time input:focus,
723
734
  .flatpickr-time .flatpickr-am-pm:focus {
724
- background: #efefef;
735
+ background: #eaeaea;
725
736
  }
726
737
  .flatpickr-input[readonly] {
727
738
  cursor: pointer;
@@ -240,6 +240,11 @@
240
240
  .numInputWrapper input::-ms-clear {
241
241
  display: none;
242
242
  }
243
+ .numInputWrapper input::-webkit-outer-spin-button,
244
+ .numInputWrapper input::-webkit-inner-spin-button {
245
+ margin: 0;
246
+ -webkit-appearance: none;
247
+ }
243
248
  .numInputWrapper span {
244
249
  position: absolute;
245
250
  right: 0;
@@ -351,6 +356,9 @@
351
356
  border: 0;
352
357
  border-radius: 0;
353
358
  vertical-align: initial;
359
+ -webkit-appearance: textfield;
360
+ -moz-appearance: textfield;
361
+ appearance: textfield;
354
362
  }
355
363
  .flatpickr-current-month input.cur-year:focus {
356
364
  outline: 0;
@@ -681,6 +689,9 @@ span.flatpickr-weekday {
681
689
  position: relative;
682
690
  -webkit-box-sizing: border-box;
683
691
  box-sizing: border-box;
692
+ -webkit-appearance: textfield;
693
+ -moz-appearance: textfield;
694
+ appearance: textfield;
684
695
  }
685
696
  .flatpickr-time input.flatpickr-hour {
686
697
  font-weight: bold;
@@ -721,7 +732,7 @@ span.flatpickr-weekday {
721
732
  .flatpickr-time .flatpickr-am-pm:hover,
722
733
  .flatpickr-time input:focus,
723
734
  .flatpickr-time .flatpickr-am-pm:focus {
724
- background: #efefef;
735
+ background: #eaeaea;
725
736
  }
726
737
  .flatpickr-input[readonly] {
727
738
  cursor: pointer;
@@ -240,6 +240,11 @@
240
240
  .numInputWrapper input::-ms-clear {
241
241
  display: none;
242
242
  }
243
+ .numInputWrapper input::-webkit-outer-spin-button,
244
+ .numInputWrapper input::-webkit-inner-spin-button {
245
+ margin: 0;
246
+ -webkit-appearance: none;
247
+ }
243
248
  .numInputWrapper span {
244
249
  position: absolute;
245
250
  right: 0;
@@ -351,6 +356,9 @@
351
356
  border: 0;
352
357
  border-radius: 0;
353
358
  vertical-align: initial;
359
+ -webkit-appearance: textfield;
360
+ -moz-appearance: textfield;
361
+ appearance: textfield;
354
362
  }
355
363
  .flatpickr-current-month input.cur-year:focus {
356
364
  outline: 0;
@@ -681,6 +689,9 @@ span.flatpickr-weekday {
681
689
  position: relative;
682
690
  -webkit-box-sizing: border-box;
683
691
  box-sizing: border-box;
692
+ -webkit-appearance: textfield;
693
+ -moz-appearance: textfield;
694
+ appearance: textfield;
684
695
  }
685
696
  .flatpickr-time input.flatpickr-hour {
686
697
  font-weight: bold;
@@ -721,7 +732,7 @@ span.flatpickr-weekday {
721
732
  .flatpickr-time .flatpickr-am-pm:hover,
722
733
  .flatpickr-time input:focus,
723
734
  .flatpickr-time .flatpickr-am-pm:focus {
724
- background: #efefef;
735
+ background: #eaeaea;
725
736
  }
726
737
  .flatpickr-input[readonly] {
727
738
  cursor: pointer;