flatpickr 2.5.5.0 → 2.5.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4eccdc8455ed0a36cfe52216afeb464cbe17b63
4
- data.tar.gz: 2ea024b0703820c80403417a484291312d8aca94
3
+ metadata.gz: 3d226f8a7f932aa124660029750b1334bcbe12b0
4
+ data.tar.gz: 6272b12726e3bf1e7ac43df0af7fb51b41054191
5
5
  SHA512:
6
- metadata.gz: c3d201bd18b256c645277c47963b38a9b4694bfc282e979e71f4a6c46ce46e182bdde13b4b38c894a79136c84432fdf8955dd47115ac06791bd96266508886fd
7
- data.tar.gz: 797692a8bca11dd71ada27368290608e3b17d4651b2d935f787905ea4922b0c072be5e38e28f479a76d76bf591623ef3a1c3922e443e05633121030dfcb17c57
6
+ metadata.gz: ac3511c89712e3b2c84bba37143f884d9866e213062739d168dcfc53b16a05f55ea34b431bfbb2df6ba19a33ff9d8b101d2228d79ba02e1921d6e924c97fc771
7
+ data.tar.gz: 05a673563119ee6d7bafae192d113f77d41ef7ebade5f943ba6d67c2aa15908c921e612013dc81df49732f3745bd7fefcd362a87afff49a676532a421ffdce66
@@ -1,3 +1,3 @@
1
1
  module Flatpickr
2
- VERSION = '2.5.5.0'
2
+ VERSION = '2.5.6.0'
3
3
  end
@@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
2
2
 
3
3
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
4
4
 
5
- /*! flatpickr v2.5.5, @license MIT */
5
+ /*! flatpickr v2.5.7, @license MIT */
6
6
  function Flatpickr(element, config) {
7
7
  var self = this;
8
8
 
@@ -65,6 +65,11 @@ function Flatpickr(element, config) {
65
65
  triggerEvent("Ready");
66
66
  }
67
67
 
68
+ /**
69
+ * Binds a function to the current flatpickr instance
70
+ * @param {Function} fn the function
71
+ * @return {Function} the function bound to the instance
72
+ */
68
73
  function bindToInstance(fn) {
69
74
  return fn.bind(self);
70
75
  }
@@ -93,6 +98,9 @@ function Flatpickr(element, config) {
93
98
  }
94
99
  }
95
100
 
101
+ /**
102
+ * Syncs the selected date object time with user's time input
103
+ */
96
104
  function setHoursFromInputs() {
97
105
  if (!self.config.enableTime) return;
98
106
 
@@ -116,12 +124,25 @@ function Flatpickr(element, config) {
116
124
  setHours(hours, minutes, seconds);
117
125
  }
118
126
 
127
+ /**
128
+ * Syncs time input values with a date
129
+ * @param {Date} dateObj the date to sync with
130
+ */
119
131
  function setHoursFromDate(dateObj) {
120
132
  var date = dateObj || self.latestSelectedDateObj;
121
133
 
122
134
  if (date) setHours(date.getHours(), date.getMinutes(), date.getSeconds());
123
135
  }
124
136
 
137
+ /**
138
+ * Sets the hours, minutes, and optionally seconds
139
+ * of the latest selected date object and the
140
+ * corresponding time inputs
141
+ * @param {Number} hours the hour. whether its military
142
+ * or am-pm gets inferred from config
143
+ * @param {Number} minutes the minutes
144
+ * @param {Number} seconds the seconds (optional)
145
+ */
125
146
  function setHours(hours, minutes, seconds) {
126
147
  if (self.selectedDates.length) {
127
148
  self.latestSelectedDateObj.setHours(hours % 24, minutes, seconds || 0, 0);
@@ -135,14 +156,18 @@ function Flatpickr(element, config) {
135
156
 
136
157
  if (!self.config.time_24hr) self.amPM.textContent = hours >= 12 ? "PM" : "AM";
137
158
 
138
- if (self.config.enableSeconds) self.secondElement.value = self.pad(seconds);
159
+ if (self.config.enableSeconds === true) self.secondElement.value = self.pad(seconds);
139
160
  }
140
161
 
162
+ /**
163
+ * Handles the year input and incrementing events
164
+ * @param {Event} event the keyup or increment event
165
+ */
141
166
  function onYearInput(event) {
142
167
  var year = event.target.value;
143
168
  if (event.delta) year = (parseInt(year) + event.delta).toString();
144
169
 
145
- if (year.length === 4) {
170
+ if (year.length === 4 || event.key === "Enter") {
146
171
  self.currentYearElement.blur();
147
172
  if (!/[^\d]/.test(year)) changeYear(year);
148
173
  }
@@ -215,10 +240,10 @@ function Flatpickr(element, config) {
215
240
  if (self.config.clickOpens) bind(self._input, "focus", open);
216
241
 
217
242
  if (!self.config.noCalendar) {
218
- bind(self.prevMonthNav, "mousedown", onClick(self.prevMonthFn = function () {
243
+ bind(self.prevMonthNav, "mousedown", onClick(function () {
219
244
  return changeMonth(-1);
220
245
  }));
221
- bind(self.nextMonthNav, "mousedown", onClick(self.nextMonthFn = function () {
246
+ bind(self.nextMonthNav, "mousedown", onClick(function () {
222
247
  return changeMonth(1);
223
248
  }));
224
249
 
@@ -229,11 +254,12 @@ function Flatpickr(element, config) {
229
254
  bind(self.monthNav, "wheel", debounce(onMonthNavScroll, 10));
230
255
  bind(self.monthNav, "mousedown", onClick(onMonthNavClick));
231
256
 
232
- bind(self.currentYearElement, "focus", function () {
233
- self.currentYearElement.select();
234
- });
257
+ bind(self.monthNav, "mousedown", onClick(function (e) {
258
+ e.preventDefault();
259
+ if (e.target === self.currentYearElement) self.currentYearElement.select();
260
+ }));
235
261
 
236
- bind(self.currentYearElement, ["input", "increment"], onYearInput);
262
+ bind(self.monthNav, ["keyup", "increment"], onYearInput);
237
263
 
238
264
  bind(self.daysContainer, "mousedown", onClick(selectDate));
239
265
 
@@ -797,7 +823,7 @@ function Flatpickr(element, config) {
797
823
  if (self.mobileInput) self.mobileInput.value = "";
798
824
 
799
825
  self.selectedDates = [];
800
- self.latestSelectedDateObj = null;
826
+ self.latestSelectedDateObj = undefined;
801
827
  self.showTimeInput = false;
802
828
 
803
829
  self.redraw();
@@ -821,11 +847,13 @@ function Flatpickr(element, config) {
821
847
  function destroy(instance) {
822
848
  instance = instance || self;
823
849
 
824
- for (var i = self._handlers.length; i--;) {
825
- var h = self._handlers[i];
850
+ for (var i = instance._handlers.length; i--;) {
851
+ var h = instance._handlers[i];
826
852
  h.element.removeEventListener(h.event, h.handler);
827
853
  }
828
854
 
855
+ instance._handlers = [];
856
+
829
857
  if (instance.mobileInput) {
830
858
  if (instance.mobileInput.parentNode) instance.mobileInput.parentNode.removeChild(instance.mobileInput);
831
859
  instance.mobileInput = undefined;
@@ -1189,12 +1217,11 @@ function Flatpickr(element, config) {
1189
1217
  var calendarHeight = self.calendarContainer.offsetHeight,
1190
1218
  calendarWidth = self.calendarContainer.offsetWidth,
1191
1219
  configPos = self.config.position,
1192
- input = self._input,
1193
- inputBounds = input.getBoundingClientRect(),
1194
- distanceFromBottom = window.innerHeight - inputBounds.bottom + input.offsetHeight,
1220
+ inputBounds = self._input.getBoundingClientRect(),
1221
+ distanceFromBottom = window.innerHeight - inputBounds.bottom,
1195
1222
  showOnTop = configPos === "above" || configPos !== "below" && distanceFromBottom < calendarHeight && inputBounds.top > calendarHeight;
1196
1223
 
1197
- var top = window.pageYOffset + inputBounds.top + (!showOnTop ? input.offsetHeight + 2 : -calendarHeight - 2);
1224
+ var top = window.pageYOffset + inputBounds.top + (!showOnTop ? self._input.offsetHeight + 2 : -calendarHeight - 2);
1198
1225
 
1199
1226
  toggleClass(self.calendarContainer, "arrowTop", !showOnTop);
1200
1227
  toggleClass(self.calendarContainer, "arrowBottom", showOnTop);
@@ -1399,7 +1426,7 @@ function Flatpickr(element, config) {
1399
1426
 
1400
1427
  Object.defineProperty(self, "latestSelectedDateObj", {
1401
1428
  get: function get() {
1402
- return self._selectedDateObj || self.selectedDates[self.selectedDates.length - 1] || null;
1429
+ return self._selectedDateObj || self.selectedDates[self.selectedDates.length - 1];
1403
1430
  },
1404
1431
  set: function set(date) {
1405
1432
  self._selectedDateObj = date;
@@ -1536,6 +1563,11 @@ function Flatpickr(element, config) {
1536
1563
  }
1537
1564
  }
1538
1565
 
1566
+ /**
1567
+ * Creates an Event, normalized across browsers
1568
+ * @param {String} name the event name, e.g. "click"
1569
+ * @return {Event} the created event
1570
+ */
1539
1571
  function createEvent(name) {
1540
1572
  var existing = self._[name + "Event"];
1541
1573
  if (existing !== undefined) return existing;
@@ -1571,6 +1603,10 @@ function Flatpickr(element, config) {
1571
1603
  self._hideNextMonthArrow = self.config.maxDate && (self.currentYear === self.config.maxDate.getFullYear() ? self.currentMonth + 1 > self.config.maxDate.getMonth() : self.currentYear > self.config.maxDate.getFullYear());
1572
1604
  }
1573
1605
 
1606
+ /**
1607
+ * Updates the values of inputs associated with the calendar
1608
+ * @return {void}
1609
+ */
1574
1610
  function updateValue() {
1575
1611
  if (!self.selectedDates.length) return self.clear();
1576
1612
 
@@ -1616,6 +1652,13 @@ function Flatpickr(element, config) {
1616
1652
  if (e.target.className === "arrowUp") self.changeYear(self.currentYear + 1);else if (e.target.className === "arrowDown") self.changeYear(self.currentYear - 1);
1617
1653
  }
1618
1654
 
1655
+ /**
1656
+ * Creates an HTMLElement with given tag, class, and textual content
1657
+ * @param {String} tag the HTML tag
1658
+ * @param {String} className the new element's class name
1659
+ * @param {String} content The new element's text content
1660
+ * @return {HTMLElement} the created HTML element
1661
+ */
1619
1662
  function createElement(tag, className, content) {
1620
1663
  var e = window.document.createElement(tag);
1621
1664
  className = className || "";
@@ -1623,7 +1666,7 @@ function Flatpickr(element, config) {
1623
1666
 
1624
1667
  e.className = className;
1625
1668
 
1626
- if (content) e.textContent = content;
1669
+ if (content !== undefined) e.textContent = content;
1627
1670
 
1628
1671
  return e;
1629
1672
  }
@@ -1653,6 +1696,13 @@ function Flatpickr(element, config) {
1653
1696
  };
1654
1697
  }
1655
1698
 
1699
+ /**
1700
+ * Compute the difference in dates, measured in ms
1701
+ * @param {Date} date1
1702
+ * @param {Date} date2
1703
+ * @param {Boolean} timeless whether to reset times of both dates to 00:00
1704
+ * @return {Number} the difference in ms
1705
+ */
1656
1706
  function compareDates(date1, date2, timeless) {
1657
1707
  if (!(date1 instanceof Date) || !(date2 instanceof Date)) return false;
1658
1708
 
@@ -1717,7 +1767,7 @@ Flatpickr.defaultConfig = {
1717
1767
  preloading date strings w/ timezones is recommended but not necessary */
1718
1768
  utc: false,
1719
1769
 
1720
- // wrap: see https://chmln.github.io/flatpickr/#strap
1770
+ // wrap: see https://chmln.github.io/flatpickr/examples/#flatpickr-external-elements
1721
1771
  wrap: false,
1722
1772
 
1723
1773
  // enables week numbers
@@ -1770,16 +1820,11 @@ Flatpickr.defaultConfig = {
1770
1820
 
1771
1821
  getWeek: function getWeek(givenDate) {
1772
1822
  var date = new Date(givenDate.getTime());
1773
- date.setHours(0, 0, 0, 0);
1774
-
1775
- // Thursday in current week decides the year.
1776
- date.setDate(date.getDate() + 3 - (date.getDay() + 6) % 7);
1777
- // January 4 is always in week 1.
1778
- var week1 = new Date(date.getFullYear(), 0, 4);
1779
- // Adjust to Thursday in week 1 and count number of weeks from date to week1.
1780
- return 1 + Math.round(((date.getTime() - week1.getTime()) / 86400000 - 3 + (week1.getDay() + 6) % 7) / 7);
1823
+ var onejan = new Date(date.getFullYear(), 0, 1);
1824
+ return Math.ceil(((date - onejan) / 86400000 + onejan.getDay() + 1) / 7);
1781
1825
  },
1782
1826
 
1827
+
1783
1828
  // see https://chmln.github.io/flatpickr/#disable
1784
1829
  enable: [],
1785
1830
 
@@ -1794,7 +1839,7 @@ Flatpickr.defaultConfig = {
1794
1839
 
1795
1840
  // position calendar inside wrapper and next to the input element
1796
1841
  // leave at false unless you know what you"re doing
1797
- static: false,
1842
+ "static": false,
1798
1843
 
1799
1844
  // DOM node to append the calendar to in *static* mode
1800
1845
  appendTo: null,
@@ -2005,10 +2050,16 @@ Flatpickr.prototype = {
2005
2050
  }
2006
2051
  },
2007
2052
 
2053
+ /**
2054
+ * Formats a given Date object into a string based on supplied format
2055
+ * @param {Date} dateObj the date object
2056
+ * @param {String} frmt a string composed of formatting tokens e.g. "Y-m-d"
2057
+ * @return {String} The textual representation of the date e.g. 2017-02-03
2058
+ */
2008
2059
  formatDate: function formatDate(dateObj, frmt) {
2009
2060
  var _this = this;
2010
2061
 
2011
- if (this.config.formatDate) return this.config.formatDate(dateObj, frmt);
2062
+ if (this.config !== undefined && this.config.formatDate !== undefined) return this.config.formatDate(dateObj, frmt);
2012
2063
 
2013
2064
  return frmt.split("").map(function (c, i, arr) {
2014
2065
  return _this.formats[c] && arr[i - 1] !== "\\" ? _this.formats[c](dateObj) : c !== "\\" ? c : "";
@@ -2109,6 +2160,13 @@ Flatpickr.prototype = {
2109
2160
  return ("0" + number).slice(-2);
2110
2161
  },
2111
2162
 
2163
+ /**
2164
+ * Parses a date(+time) string into a Date object
2165
+ * @param {String} date the date string, e.g. 2017-02-03 14:45
2166
+ * @param {String} givenFormat the date format, e.g. Y-m-d H:i
2167
+ * @param {Boolean} timeless whether to reset the time of Date object
2168
+ * @return {Date} the parsed Date object
2169
+ */
2112
2170
  parseDate: function parseDate(date, givenFormat, timeless) {
2113
2171
  if (!date) return null;
2114
2172
 
@@ -2119,7 +2177,7 @@ Flatpickr.prototype = {
2119
2177
  else if (date.toFixed !== undefined) // timestamp
2120
2178
  date = new Date(date);else {
2121
2179
  // date string
2122
- var format = givenFormat || this.config.dateFormat;
2180
+ var format = givenFormat || (this.config || Flatpickr.defaultConfig).dateFormat;
2123
2181
  date = String(date).trim();
2124
2182
 
2125
2183
  if (date === "today") {
@@ -1,4 +1,4 @@
1
- .flatpickr-calendar{background:transparent;overflow:hidden;max-height:0;opacity:0;visibility:hidden;text-align:center;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:315px;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;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);}.flatpickr-calendar.open,.flatpickr-calendar.inline{opacity:1;visibility:visible;overflow:visible;max-height:640px}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:flatpickrFadeInDown 300ms cubic-bezier(.23,1,.32,1);animation:flatpickrFadeInDown 300ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px);}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.hasWeeks{width:auto}.flatpickr-calendar .hasWeeks .dayContainer,.flatpickr-calendar .hasTime .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.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.rightMost:before,.flatpickr-calendar.rightMost:after{left:auto;right: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-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-month{background:transparent;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9);height:28px;line-height:24px;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden}.flatpickr-prev-month,.flatpickr-next-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:28px;line-height:16px;padding:10px calc(3.57% - 1.5px);z-index:3;}.flatpickr-prev-month i,.flatpickr-next-month i{position:relative}.flatpickr-prev-month.flatpickr-prev-month,.flatpickr-next-month.flatpickr-prev-month{/*
1
+ .flatpickr-calendar{background:transparent;overflow:hidden;max-height:0;opacity:0;visibility:hidden;text-align:center;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:315px;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;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);}.flatpickr-calendar.open,.flatpickr-calendar.inline{opacity:1;visibility:visible;overflow:visible;max-height:640px}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:flatpickrFadeInDown 300ms cubic-bezier(.23,1,.32,1);animation:flatpickrFadeInDown 300ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px);}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.hasWeeks{width:auto}.flatpickr-calendar .hasWeeks .dayContainer,.flatpickr-calendar .hasTime .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.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.rightMost:before,.flatpickr-calendar.rightMost:after{left:auto;right: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-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-month{background:transparent;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9);height:28px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden}.flatpickr-prev-month,.flatpickr-next-month{text-decoration:none;cursor:pointer;position:absolute;top:0;line-height:16px;height:28px;padding:10px calc(3.57% - 1.5px);z-index:3;}.flatpickr-prev-month i,.flatpickr-next-month i{position:relative}.flatpickr-prev-month.flatpickr-prev-month,.flatpickr-next-month.flatpickr-prev-month{/*
2
2
  /*rtl:begin:ignore*/left:0;/*
3
3
  /*rtl:end:ignore*/}/*
4
4
  /*rtl:begin:ignore*/
@@ -10,4 +10,4 @@
10
10
  /*rtl:begin:ignore*/
11
11
  /*
12
12
  /*rtl:end:ignore*/
13
- .flatpickr-prev-month:hover,.flatpickr-next-month:hover{color:#959ea9;}.flatpickr-prev-month:hover svg,.flatpickr-next-month:hover svg{fill:#f64747}.flatpickr-prev-month svg,.flatpickr-next-month svg{width:14px;}.flatpickr-prev-month svg path,.flatpickr-next-month svg path{transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto;}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,0.05);box-sizing:border-box;}.numInputWrapper span:hover{background:rgba(0,0,0,0.1)}.numInputWrapper span:active{background:rgba(0,0,0,0.2)}.numInputWrapper span:after{display:block;content:"";position:absolute;top:33%}.numInputWrapper span.arrowUp{top:0;border-bottom:0;}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,0.6)}.numInputWrapper span.arrowDown{top:50%;}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,0.6)}.numInputWrapper span svg{width:inherit;height:auto;}.numInputWrapper span svg path{fill:rgba(0,0,0,0.5)}.numInputWrapper:hover{background:rgba(0,0,0,0.05);}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;top:5px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}.flatpickr-current-month.slideLeft{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);-webkit-animation:fadeOut 400ms ease,slideLeft 400ms cubic-bezier(.23,1,.32,1);animation:fadeOut 400ms ease,slideLeft 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month.slideLeftNew{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);-webkit-animation:fadeIn 400ms ease,slideLeftNew 400ms cubic-bezier(.23,1,.32,1);animation:fadeIn 400ms ease,slideLeftNew 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month.slideRight{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);-webkit-animation:fadeOut 400ms ease,slideRight 400ms cubic-bezier(.23,1,.32,1);animation:fadeOut 400ms ease,slideRight 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month.slideRightNew{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-animation:fadeIn 400ms ease,slideRightNew 400ms cubic-bezier(.23,1,.32,1);animation:fadeIn 400ms ease,slideRightNew 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:7px;padding:0;}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\0;display:inline-block;}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,0.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,0.9)}.flatpickr-current-month input.cur-year{background:transparent;box-sizing:border-box;color:inherit;cursor:default;padding:0 0 0 .5ch;margin:0;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:focus{outline:0}.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;width:315px;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}span.flatpickr-weekday{cursor:default;font-size:90%;color:rgba(0,0,0,0.54);line-height:1;margin:0;background:transparent;text-align:center;display:block;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder;margin:0}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-flex;display:-ms-flexbox;display:flex;width:315px;}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:315px;min-width:315px;max-width:315px;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.flatpickr-calendar.animate .dayContainer.slideLeft{-webkit-animation:fadeOut 400ms cubic-bezier(.23,1,.32,1),slideLeft 400ms cubic-bezier(.23,1,.32,1);animation:fadeOut 400ms cubic-bezier(.23,1,.32,1),slideLeft 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.animate .dayContainer.slideLeft,.flatpickr-calendar.animate .dayContainer.slideLeftNew{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.flatpickr-calendar.animate .dayContainer.slideLeftNew{-webkit-animation:fadeIn 400ms cubic-bezier(.23,1,.32,1),slideLeft 400ms cubic-bezier(.23,1,.32,1);animation:fadeIn 400ms cubic-bezier(.23,1,.32,1),slideLeft 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.animate .dayContainer.slideRight{-webkit-animation:fadeOut 400ms cubic-bezier(.23,1,.32,1),slideRight 400ms cubic-bezier(.23,1,.32,1);animation:fadeOut 400ms cubic-bezier(.23,1,.32,1),slideRight 400ms cubic-bezier(.23,1,.32,1);-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.flatpickr-calendar.animate .dayContainer.slideRightNew{-webkit-animation:fadeIn 400ms cubic-bezier(.23,1,.32,1),slideRightNew 400ms cubic-bezier(.23,1,.32,1);animation:fadeIn 400ms cubic-bezier(.23,1,.32,1),slideRightNew 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:40px;height:40px;line-height:40px;margin:0;display:inline-block;position:relative;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;}.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:#959ea9;}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#569ff7;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.selected.startRange + .endRange,.flatpickr-day.startRange.startRange + .endRange,.flatpickr-day.endRange.startRange + .endRange{box-shadow:-10px 0 0 #569ff7}.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange,.flatpickr-day.endRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.disabled,.flatpickr-day.disabled:hover{pointer-events:none}.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}.flatpickr-day.week.selected{border-radius:0;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{display:inline-block;float:left;}.flatpickr-weekwrapper .flatpickr-weeks{padding:1px 12px 0 12px;box-shadow:1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%}.flatpickr-weekwrapper span.flatpickr-day{display:block;width:100%;max-width:none}.flatpickr-innerContainer{display:block;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;overflow:hidden;}.flatpickr-rContainer{display:inline-block;padding:0;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;box-sizing:border-box;overflow:hidden;display:-webkit-flex;display:-ms-flexbox;display:flex;}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left;}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:transparent;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;cursor:pointer;color:#393939;font-size:14px;position:relative;box-sizing:border-box;}.flatpickr-time input.flatpickr-hour{font-weight:bold}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:inherit;display:inline-block;float:left;line-height:inherit;color:#393939;font-weight:bold;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400;}.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time .flatpickr-am-pm:focus{background:#f0f0f0}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes flatpickrFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes flatpickrFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes slideLeft{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideLeft{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes slideLeftNew{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes slideLeftNew{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes slideRight{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideRight{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes slideRightNew{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes slideRightNew{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes fadeOut{from{opacity:1}to{opacity:0}}@keyframes fadeOut{from{opacity:1}to{opacity:0}}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}
13
+ .flatpickr-prev-month:hover,.flatpickr-next-month:hover{color:#959ea9;}.flatpickr-prev-month:hover svg,.flatpickr-next-month:hover svg{fill:#f64747}.flatpickr-prev-month svg,.flatpickr-next-month svg{width:14px;}.flatpickr-prev-month svg path,.flatpickr-next-month svg path{transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto;}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,0.05);box-sizing:border-box;}.numInputWrapper span:hover{background:rgba(0,0,0,0.1)}.numInputWrapper span:active{background:rgba(0,0,0,0.2)}.numInputWrapper span:after{display:block;content:"";position:absolute;top:33%}.numInputWrapper span.arrowUp{top:0;border-bottom:0;}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,0.6)}.numInputWrapper span.arrowDown{top:50%;}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,0.6)}.numInputWrapper span svg{width:inherit;height:auto;}.numInputWrapper span svg path{fill:rgba(0,0,0,0.5)}.numInputWrapper:hover{background:rgba(0,0,0,0.05);}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7px 0 0 0;line-height:1;height:28px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}.flatpickr-current-month.slideLeft{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);-webkit-animation:fadeOut 400ms ease,slideLeft 400ms cubic-bezier(.23,1,.32,1);animation:fadeOut 400ms ease,slideLeft 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month.slideLeftNew{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);-webkit-animation:fadeIn 400ms ease,slideLeftNew 400ms cubic-bezier(.23,1,.32,1);animation:fadeIn 400ms ease,slideLeftNew 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month.slideRight{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);-webkit-animation:fadeOut 400ms ease,slideRight 400ms cubic-bezier(.23,1,.32,1);animation:fadeOut 400ms ease,slideRight 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month.slideRightNew{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-animation:fadeIn 400ms ease,slideRightNew 400ms cubic-bezier(.23,1,.32,1);animation:fadeIn 400ms ease,slideRightNew 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0;}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\0;display:inline-block;}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,0.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,0.9)}.flatpickr-current-month input.cur-year{background:transparent;box-sizing:border-box;color:inherit;cursor:default;padding:0 0 0 .5ch;margin:0;display:inline-block;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:focus{outline:0}.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;width:315px;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}span.flatpickr-weekday{cursor:default;font-size:90%;color:rgba(0,0,0,0.54);line-height:1;margin:0;background:transparent;text-align:center;display:block;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder;margin:0}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-flex;display:-ms-flexbox;display:flex;width:315px;}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:315px;min-width:315px;max-width:315px;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.flatpickr-calendar.animate .dayContainer.slideLeft{-webkit-animation:fadeOut 400ms cubic-bezier(.23,1,.32,1),slideLeft 400ms cubic-bezier(.23,1,.32,1);animation:fadeOut 400ms cubic-bezier(.23,1,.32,1),slideLeft 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.animate .dayContainer.slideLeft,.flatpickr-calendar.animate .dayContainer.slideLeftNew{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.flatpickr-calendar.animate .dayContainer.slideLeftNew{-webkit-animation:fadeIn 400ms cubic-bezier(.23,1,.32,1),slideLeft 400ms cubic-bezier(.23,1,.32,1);animation:fadeIn 400ms cubic-bezier(.23,1,.32,1),slideLeft 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.animate .dayContainer.slideRight{-webkit-animation:fadeOut 400ms cubic-bezier(.23,1,.32,1),slideRight 400ms cubic-bezier(.23,1,.32,1);animation:fadeOut 400ms cubic-bezier(.23,1,.32,1),slideRight 400ms cubic-bezier(.23,1,.32,1);-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.flatpickr-calendar.animate .dayContainer.slideRightNew{-webkit-animation:fadeIn 400ms cubic-bezier(.23,1,.32,1),slideRightNew 400ms cubic-bezier(.23,1,.32,1);animation:fadeIn 400ms cubic-bezier(.23,1,.32,1),slideRightNew 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:40px;height:40px;line-height:40px;margin:0;display:inline-block;position:relative;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;}.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:#959ea9;}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#569ff7;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.selected.startRange + .endRange,.flatpickr-day.startRange.startRange + .endRange,.flatpickr-day.endRange.startRange + .endRange{box-shadow:-10px 0 0 #569ff7}.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange,.flatpickr-day.endRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.disabled,.flatpickr-day.disabled:hover{pointer-events:none}.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}.flatpickr-day.week.selected{border-radius:0;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{display:inline-block;float:left;}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;box-shadow:1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day{display:block;width:100%;max-width:none}.flatpickr-innerContainer{display:block;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;overflow:hidden;}.flatpickr-rContainer{display:inline-block;padding:0;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;box-sizing:border-box;overflow:hidden;display:-webkit-flex;display:-ms-flexbox;display:flex;}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left;}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:transparent;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;cursor:pointer;color:#393939;font-size:14px;position:relative;box-sizing:border-box;}.flatpickr-time input.flatpickr-hour{font-weight:bold}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:inherit;display:inline-block;float:left;line-height:inherit;color:#393939;font-weight:bold;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400;}.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time .flatpickr-am-pm:focus{background:#f0f0f0}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes flatpickrFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes flatpickrFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes slideLeft{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideLeft{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes slideLeftNew{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes slideLeftNew{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes slideRight{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideRight{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes slideRightNew{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes slideRightNew{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes fadeOut{from{opacity:1}to{opacity:0}}@keyframes fadeOut{from{opacity:1}to{opacity:0}}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@@ -124,7 +124,7 @@
124
124
  color: #3c3f40;
125
125
  fill: #3c3f40;
126
126
  height: 28px;
127
- line-height: 24px;
127
+ line-height: 1;
128
128
  text-align: center;
129
129
  position: relative;
130
130
  -webkit-user-select: none;
@@ -139,8 +139,8 @@
139
139
  cursor: pointer;
140
140
  position: absolute;
141
141
  top: 0px;
142
- height: 28px;
143
142
  line-height: 16px;
143
+ height: 28px;
144
144
  padding: 10px calc(3.57% - 1.5px);
145
145
  z-index: 3;
146
146
  }
@@ -270,7 +270,9 @@
270
270
  position: absolute;
271
271
  width: 75%;
272
272
  left: 12.5%;
273
- top: 5px;
273
+ padding: 7px 0 0 0;
274
+ line-height: 1;
275
+ height: 28px;
274
276
  display: inline-block;
275
277
  text-align: center;
276
278
  -webkit-transform: translate3d(0px, 0px, 0px);
@@ -305,7 +307,7 @@
305
307
  font-weight: 700;
306
308
  color: inherit;
307
309
  display: inline-block;
308
- margin-left: 7px;
310
+ margin-left: 0.5ch;
309
311
  padding: 0;
310
312
  }
311
313
  .flatpickr-current-month span.cur-month:hover {
@@ -329,7 +331,7 @@
329
331
  cursor: default;
330
332
  padding: 0 0 0 0.5ch;
331
333
  margin: 0;
332
- display: inline;
334
+ display: inline-block;
333
335
  font-size: inherit;
334
336
  font-family: inherit;
335
337
  font-weight: 300;
@@ -561,12 +563,13 @@ span.flatpickr-weekday {
561
563
  float: left;
562
564
  }
563
565
  .flatpickr-weekwrapper .flatpickr-weeks {
564
- padding: 1px 12px 0 12px;
566
+ padding: 0 12px;
565
567
  box-shadow: 1px 0 0 #eee;
566
568
  }
567
569
  .flatpickr-weekwrapper .flatpickr-weekday {
568
570
  float: none;
569
571
  width: 100%;
572
+ line-height: 28px;
570
573
  }
571
574
  .flatpickr-weekwrapper span.flatpickr-day {
572
575
  display: block;
@@ -124,7 +124,7 @@
124
124
  color: #2c3e50;
125
125
  fill: #2c3e50;
126
126
  height: 28px;
127
- line-height: 24px;
127
+ line-height: 1;
128
128
  text-align: center;
129
129
  position: relative;
130
130
  -webkit-user-select: none;
@@ -139,8 +139,8 @@
139
139
  cursor: pointer;
140
140
  position: absolute;
141
141
  top: 0px;
142
- height: 28px;
143
142
  line-height: 16px;
143
+ height: 28px;
144
144
  padding: 10px calc(3.57% - 1.5px);
145
145
  z-index: 3;
146
146
  }
@@ -270,7 +270,9 @@
270
270
  position: absolute;
271
271
  width: 75%;
272
272
  left: 12.5%;
273
- top: 5px;
273
+ padding: 7px 0 0 0;
274
+ line-height: 1;
275
+ height: 28px;
274
276
  display: inline-block;
275
277
  text-align: center;
276
278
  -webkit-transform: translate3d(0px, 0px, 0px);
@@ -305,7 +307,7 @@
305
307
  font-weight: 700;
306
308
  color: inherit;
307
309
  display: inline-block;
308
- margin-left: 7px;
310
+ margin-left: 0.5ch;
309
311
  padding: 0;
310
312
  }
311
313
  .flatpickr-current-month span.cur-month:hover {
@@ -329,7 +331,7 @@
329
331
  cursor: default;
330
332
  padding: 0 0 0 0.5ch;
331
333
  margin: 0;
332
- display: inline;
334
+ display: inline-block;
333
335
  font-size: inherit;
334
336
  font-family: inherit;
335
337
  font-weight: 300;
@@ -561,12 +563,13 @@ span.flatpickr-weekday {
561
563
  float: left;
562
564
  }
563
565
  .flatpickr-weekwrapper .flatpickr-weeks {
564
- padding: 1px 12px 0 12px;
566
+ padding: 0 12px;
565
567
  box-shadow: 1px 0 0 #e3e3e3;
566
568
  }
567
569
  .flatpickr-weekwrapper .flatpickr-weekday {
568
570
  float: none;
569
571
  width: 100%;
572
+ line-height: 28px;
570
573
  }
571
574
  .flatpickr-weekwrapper span.flatpickr-day {
572
575
  display: block;
@@ -130,7 +130,7 @@
130
130
  color: #fff;
131
131
  fill: #fff;
132
132
  height: 28px;
133
- line-height: 24px;
133
+ line-height: 1;
134
134
  text-align: center;
135
135
  position: relative;
136
136
  -webkit-user-select: none;
@@ -145,8 +145,8 @@
145
145
  cursor: pointer;
146
146
  position: absolute;
147
147
  top: 0px;
148
- height: 28px;
149
148
  line-height: 16px;
149
+ height: 28px;
150
150
  padding: 10px calc(3.57% - 1.5px);
151
151
  z-index: 3;
152
152
  }
@@ -276,7 +276,9 @@
276
276
  position: absolute;
277
277
  width: 75%;
278
278
  left: 12.5%;
279
- top: 5px;
279
+ padding: 7px 0 0 0;
280
+ line-height: 1;
281
+ height: 28px;
280
282
  display: inline-block;
281
283
  text-align: center;
282
284
  -webkit-transform: translate3d(0px, 0px, 0px);
@@ -311,7 +313,7 @@
311
313
  font-weight: 700;
312
314
  color: inherit;
313
315
  display: inline-block;
314
- margin-left: 7px;
316
+ margin-left: 0.5ch;
315
317
  padding: 0;
316
318
  }
317
319
  .flatpickr-current-month span.cur-month:hover {
@@ -335,7 +337,7 @@
335
337
  cursor: default;
336
338
  padding: 0 0 0 0.5ch;
337
339
  margin: 0;
338
- display: inline;
340
+ display: inline-block;
339
341
  font-size: inherit;
340
342
  font-family: inherit;
341
343
  font-weight: 300;
@@ -570,13 +572,14 @@ span.flatpickr-weekday {
570
572
  float: left;
571
573
  }
572
574
  .flatpickr-weekwrapper .flatpickr-weeks {
573
- padding: 1px 12px 0 12px;
575
+ padding: 0 12px;
574
576
  border-left: 1px solid rgba(72,72,72,0.1);
575
577
  box-shadow: 1px 0 0 rgba(72,72,72,0.1);
576
578
  }
577
579
  .flatpickr-weekwrapper .flatpickr-weekday {
578
580
  float: none;
579
581
  width: 100%;
582
+ line-height: 28px;
580
583
  }
581
584
  .flatpickr-weekwrapper span.flatpickr-day {
582
585
  display: block;
@@ -124,7 +124,7 @@
124
124
  color: #fff;
125
125
  fill: #fff;
126
126
  height: 28px;
127
- line-height: 24px;
127
+ line-height: 1;
128
128
  text-align: center;
129
129
  position: relative;
130
130
  -webkit-user-select: none;
@@ -139,8 +139,8 @@
139
139
  cursor: pointer;
140
140
  position: absolute;
141
141
  top: 0px;
142
- height: 28px;
143
142
  line-height: 16px;
143
+ height: 28px;
144
144
  padding: 10px calc(3.57% - 1.5px);
145
145
  z-index: 3;
146
146
  }
@@ -270,7 +270,9 @@
270
270
  position: absolute;
271
271
  width: 75%;
272
272
  left: 12.5%;
273
- top: 5px;
273
+ padding: 7px 0 0 0;
274
+ line-height: 1;
275
+ height: 28px;
274
276
  display: inline-block;
275
277
  text-align: center;
276
278
  -webkit-transform: translate3d(0px, 0px, 0px);
@@ -305,7 +307,7 @@
305
307
  font-weight: 700;
306
308
  color: inherit;
307
309
  display: inline-block;
308
- margin-left: 7px;
310
+ margin-left: 0.5ch;
309
311
  padding: 0;
310
312
  }
311
313
  .flatpickr-current-month span.cur-month:hover {
@@ -329,7 +331,7 @@
329
331
  cursor: default;
330
332
  padding: 0 0 0 0.5ch;
331
333
  margin: 0;
332
- display: inline;
334
+ display: inline-block;
333
335
  font-size: inherit;
334
336
  font-family: inherit;
335
337
  font-weight: 300;
@@ -561,12 +563,13 @@ span.flatpickr-weekday {
561
563
  float: left;
562
564
  }
563
565
  .flatpickr-weekwrapper .flatpickr-weeks {
564
- padding: 1px 12px 0 12px;
566
+ padding: 0 12px;
565
567
  box-shadow: 1px 0 0 #3f4458;
566
568
  }
567
569
  .flatpickr-weekwrapper .flatpickr-weekday {
568
570
  float: none;
569
571
  width: 100%;
572
+ line-height: 28px;
570
573
  }
571
574
  .flatpickr-weekwrapper span.flatpickr-day {
572
575
  display: block;
@@ -130,7 +130,7 @@
130
130
  color: #fff;
131
131
  fill: #fff;
132
132
  height: 28px;
133
- line-height: 24px;
133
+ line-height: 1;
134
134
  text-align: center;
135
135
  position: relative;
136
136
  -webkit-user-select: none;
@@ -145,8 +145,8 @@
145
145
  cursor: pointer;
146
146
  position: absolute;
147
147
  top: 0px;
148
- height: 28px;
149
148
  line-height: 16px;
149
+ height: 28px;
150
150
  padding: 10px calc(3.57% - 1.5px);
151
151
  z-index: 3;
152
152
  }
@@ -276,7 +276,9 @@
276
276
  position: absolute;
277
277
  width: 75%;
278
278
  left: 12.5%;
279
- top: 5px;
279
+ padding: 7px 0 0 0;
280
+ line-height: 1;
281
+ height: 28px;
280
282
  display: inline-block;
281
283
  text-align: center;
282
284
  -webkit-transform: translate3d(0px, 0px, 0px);
@@ -311,7 +313,7 @@
311
313
  font-weight: 700;
312
314
  color: inherit;
313
315
  display: inline-block;
314
- margin-left: 7px;
316
+ margin-left: 0.5ch;
315
317
  padding: 0;
316
318
  }
317
319
  .flatpickr-current-month span.cur-month:hover {
@@ -335,7 +337,7 @@
335
337
  cursor: default;
336
338
  padding: 0 0 0 0.5ch;
337
339
  margin: 0;
338
- display: inline;
340
+ display: inline-block;
339
341
  font-size: inherit;
340
342
  font-family: inherit;
341
343
  font-weight: 300;
@@ -570,13 +572,14 @@ span.flatpickr-weekday {
570
572
  float: left;
571
573
  }
572
574
  .flatpickr-weekwrapper .flatpickr-weeks {
573
- padding: 1px 12px 0 12px;
575
+ padding: 0 12px;
574
576
  border-left: 1px solid rgba(72,72,72,0.2);
575
577
  box-shadow: 1px 0 0 rgba(72,72,72,0.2);
576
578
  }
577
579
  .flatpickr-weekwrapper .flatpickr-weekday {
578
580
  float: none;
579
581
  width: 100%;
582
+ line-height: 28px;
580
583
  }
581
584
  .flatpickr-weekwrapper span.flatpickr-day {
582
585
  display: block;
@@ -130,7 +130,7 @@
130
130
  color: #fff;
131
131
  fill: #fff;
132
132
  height: 28px;
133
- line-height: 24px;
133
+ line-height: 1;
134
134
  text-align: center;
135
135
  position: relative;
136
136
  -webkit-user-select: none;
@@ -145,8 +145,8 @@
145
145
  cursor: pointer;
146
146
  position: absolute;
147
147
  top: 0px;
148
- height: 28px;
149
148
  line-height: 16px;
149
+ height: 28px;
150
150
  padding: 10px calc(3.57% - 1.5px);
151
151
  z-index: 3;
152
152
  }
@@ -276,7 +276,9 @@
276
276
  position: absolute;
277
277
  width: 75%;
278
278
  left: 12.5%;
279
- top: 5px;
279
+ padding: 7px 0 0 0;
280
+ line-height: 1;
281
+ height: 28px;
280
282
  display: inline-block;
281
283
  text-align: center;
282
284
  -webkit-transform: translate3d(0px, 0px, 0px);
@@ -311,7 +313,7 @@
311
313
  font-weight: 700;
312
314
  color: inherit;
313
315
  display: inline-block;
314
- margin-left: 7px;
316
+ margin-left: 0.5ch;
315
317
  padding: 0;
316
318
  }
317
319
  .flatpickr-current-month span.cur-month:hover {
@@ -335,7 +337,7 @@
335
337
  cursor: default;
336
338
  padding: 0 0 0 0.5ch;
337
339
  margin: 0;
338
- display: inline;
340
+ display: inline-block;
339
341
  font-size: inherit;
340
342
  font-family: inherit;
341
343
  font-weight: 300;
@@ -570,13 +572,14 @@ span.flatpickr-weekday {
570
572
  float: left;
571
573
  }
572
574
  .flatpickr-weekwrapper .flatpickr-weeks {
573
- padding: 1px 12px 0 12px;
575
+ padding: 0 12px;
574
576
  border-left: 1px solid rgba(72,72,72,0.2);
575
577
  box-shadow: 1px 0 0 rgba(72,72,72,0.2);
576
578
  }
577
579
  .flatpickr-weekwrapper .flatpickr-weekday {
578
580
  float: none;
579
581
  width: 100%;
582
+ line-height: 28px;
580
583
  }
581
584
  .flatpickr-weekwrapper span.flatpickr-day {
582
585
  display: block;
@@ -130,7 +130,7 @@
130
130
  color: #fff;
131
131
  fill: #fff;
132
132
  height: 28px;
133
- line-height: 24px;
133
+ line-height: 1;
134
134
  text-align: center;
135
135
  position: relative;
136
136
  -webkit-user-select: none;
@@ -145,8 +145,8 @@
145
145
  cursor: pointer;
146
146
  position: absolute;
147
147
  top: 0px;
148
- height: 28px;
149
148
  line-height: 16px;
149
+ height: 28px;
150
150
  padding: 10px calc(3.57% - 1.5px);
151
151
  z-index: 3;
152
152
  }
@@ -276,7 +276,9 @@
276
276
  position: absolute;
277
277
  width: 75%;
278
278
  left: 12.5%;
279
- top: 5px;
279
+ padding: 7px 0 0 0;
280
+ line-height: 1;
281
+ height: 28px;
280
282
  display: inline-block;
281
283
  text-align: center;
282
284
  -webkit-transform: translate3d(0px, 0px, 0px);
@@ -311,7 +313,7 @@
311
313
  font-weight: 700;
312
314
  color: inherit;
313
315
  display: inline-block;
314
- margin-left: 7px;
316
+ margin-left: 0.5ch;
315
317
  padding: 0;
316
318
  }
317
319
  .flatpickr-current-month span.cur-month:hover {
@@ -335,7 +337,7 @@
335
337
  cursor: default;
336
338
  padding: 0 0 0 0.5ch;
337
339
  margin: 0;
338
- display: inline;
340
+ display: inline-block;
339
341
  font-size: inherit;
340
342
  font-family: inherit;
341
343
  font-weight: 300;
@@ -570,13 +572,14 @@ span.flatpickr-weekday {
570
572
  float: left;
571
573
  }
572
574
  .flatpickr-weekwrapper .flatpickr-weeks {
573
- padding: 1px 12px 0 12px;
575
+ padding: 0 12px;
574
576
  border-left: 1px solid rgba(72,72,72,0.2);
575
577
  box-shadow: 1px 0 0 rgba(72,72,72,0.2);
576
578
  }
577
579
  .flatpickr-weekwrapper .flatpickr-weekday {
578
580
  float: none;
579
581
  width: 100%;
582
+ line-height: 28px;
580
583
  }
581
584
  .flatpickr-weekwrapper span.flatpickr-day {
582
585
  display: block;
@@ -130,7 +130,7 @@
130
130
  color: #fff;
131
131
  fill: #fff;
132
132
  height: 28px;
133
- line-height: 24px;
133
+ line-height: 1;
134
134
  text-align: center;
135
135
  position: relative;
136
136
  -webkit-user-select: none;
@@ -145,8 +145,8 @@
145
145
  cursor: pointer;
146
146
  position: absolute;
147
147
  top: 0px;
148
- height: 28px;
149
148
  line-height: 16px;
149
+ height: 28px;
150
150
  padding: 10px calc(3.57% - 1.5px);
151
151
  z-index: 3;
152
152
  }
@@ -276,7 +276,9 @@
276
276
  position: absolute;
277
277
  width: 75%;
278
278
  left: 12.5%;
279
- top: 5px;
279
+ padding: 7px 0 0 0;
280
+ line-height: 1;
281
+ height: 28px;
280
282
  display: inline-block;
281
283
  text-align: center;
282
284
  -webkit-transform: translate3d(0px, 0px, 0px);
@@ -311,7 +313,7 @@
311
313
  font-weight: 700;
312
314
  color: inherit;
313
315
  display: inline-block;
314
- margin-left: 7px;
316
+ margin-left: 0.5ch;
315
317
  padding: 0;
316
318
  }
317
319
  .flatpickr-current-month span.cur-month:hover {
@@ -335,7 +337,7 @@
335
337
  cursor: default;
336
338
  padding: 0 0 0 0.5ch;
337
339
  margin: 0;
338
- display: inline;
340
+ display: inline-block;
339
341
  font-size: inherit;
340
342
  font-family: inherit;
341
343
  font-weight: 300;
@@ -570,13 +572,14 @@ span.flatpickr-weekday {
570
572
  float: left;
571
573
  }
572
574
  .flatpickr-weekwrapper .flatpickr-weeks {
573
- padding: 1px 12px 0 12px;
575
+ padding: 0 12px;
574
576
  border-left: 1px solid rgba(72,72,72,0.2);
575
577
  box-shadow: 1px 0 0 rgba(72,72,72,0.2);
576
578
  }
577
579
  .flatpickr-weekwrapper .flatpickr-weekday {
578
580
  float: none;
579
581
  width: 100%;
582
+ line-height: 28px;
580
583
  }
581
584
  .flatpickr-weekwrapper span.flatpickr-day {
582
585
  display: block;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flatpickr
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.5.0
4
+ version: 2.5.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zoran