Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Commit 792928c

Browse files
committed
Version 0.0.6
1 parent 4a14755 commit 792928c

5 files changed

+152
-41
lines changed

dist/daterangepicker.css

+111-29
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* knockout-daterangepicker
3-
* version: 0.0.5
3+
* version: 0.0.6
44
* authors: Sensor Tower team
55
* license: MIT
66
* https://sensortower.github.io/daterangepicker
@@ -10,7 +10,9 @@
1010
position: absolute;
1111
background: white;
1212
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
13-
justify-content: flex-start;
13+
-webkit-justify-content: flex-start;
14+
-ms-flex-pack: start;
15+
justify-content: flex-start;
1416
border-radius: 4px;
1517
padding: 4px;
1618
font-size: 13px;
@@ -49,6 +51,8 @@
4951
}
5052

5153
.daterangepicker .periods {
54+
display: -webkit-inline-flex;
55+
display: -ms-inline-flexbox;
5256
display: inline-flex;
5357
margin: 0 auto 8px;
5458
}
@@ -62,9 +66,15 @@
6266
}
6367

6468
.daterangepicker .ranges {
69+
display: -webkit-flex;
70+
display: -ms-flexbox;
6571
display: flex;
66-
flex-direction: column;
67-
align-items: stretch;
72+
-webkit-flex-direction: column;
73+
-ms-flex-direction: column;
74+
flex-direction: column;
75+
-webkit-align-items: stretch;
76+
-ms-flex-align: stretch;
77+
align-items: stretch;
6878
}
6979

7080
.daterangepicker .ranges li {
@@ -74,6 +84,8 @@
7484
}
7585

7686
.daterangepicker .custom-range-inputs {
87+
display: -webkit-flex;
88+
display: -ms-flexbox;
7789
display: flex;
7890
margin: -3px;
7991
margin-bottom: 5px;
@@ -82,7 +94,9 @@
8294
.daterangepicker .custom-range-inputs input {
8395
min-width: 50px;
8496
width: 50px;
85-
flex: 1;
97+
-webkit-flex: 1;
98+
-ms-flex: 1;
99+
flex: 1;
86100
margin: 3px;
87101
border-radius: 4px;
88102
border: 1px solid #ccc;
@@ -93,6 +107,8 @@
93107
}
94108

95109
.daterangepicker .custom-range-buttons {
110+
display: -webkit-flex;
111+
display: -ms-flexbox;
96112
display: flex;
97113
margin: -3px;
98114
}
@@ -145,7 +161,8 @@
145161
.daterangepicker .arrow-left:before {
146162
border-right-width: 6px;
147163
border-right-color: #333;
148-
transform: translate(-10px, -3.5px);
164+
-webkit-transform: translate(-10px, -3.5px);
165+
transform: translate(-10px, -3.5px);
149166
}
150167

151168
.daterangepicker .arrow-right {
@@ -155,7 +172,8 @@
155172
.daterangepicker .arrow-right:before {
156173
border-left-width: 6px;
157174
border-left-color: #333;
158-
transform: translate(6px, -3.5px);
175+
-webkit-transform: translate(6px, -3.5px);
176+
transform: translate(6px, -3.5px);
159177
}
160178

161179
.daterangepicker.orientation-right:not(.standalone):before {
@@ -218,17 +236,23 @@
218236
}
219237

220238
.daterangepicker select.month-select {
221-
flex: 10;
239+
-webkit-flex: 10;
240+
-ms-flex: 10;
241+
flex: 10;
222242
max-width: 75%;
223243
}
224244

225245
.daterangepicker select.year-select {
226-
flex: 11;
246+
-webkit-flex: 11;
247+
-ms-flex: 11;
248+
flex: 11;
227249
max-width: 75%;
228250
}
229251

230252
.daterangepicker select.decade-select {
231-
flex: 11;
253+
-webkit-flex: 11;
254+
-ms-flex: 11;
255+
flex: 11;
232256
max-width: 75%;
233257
}
234258

@@ -268,21 +292,33 @@
268292
}
269293

270294
.calendar .calendar-header {
295+
display: -webkit-flex;
296+
display: -ms-flexbox;
271297
display: flex;
272298
margin: 0 6px 4px;
273299
}
274300

275301
.calendar .calendar-header .calendar-selects {
276-
flex: 5;
302+
-webkit-flex: 5;
303+
-ms-flex: 5;
304+
flex: 5;
277305
text-align: center;
306+
display: -webkit-flex;
307+
display: -ms-flexbox;
278308
display: flex;
279-
justify-content: center;
280-
align-items: center;
309+
-webkit-justify-content: center;
310+
-ms-flex-pack: center;
311+
justify-content: center;
312+
-webkit-align-items: center;
313+
-ms-flex-align: center;
314+
align-items: center;
281315
padding: 2px;
282316
}
283317

284318
.calendar .calendar-header .arrow {
285-
flex: 1;
319+
-webkit-flex: 1;
320+
-ms-flex: 1;
321+
flex: 1;
286322
text-align: center;
287323
}
288324

@@ -296,22 +332,42 @@
296332
border-radius: 4px;
297333
overflow: hidden;
298334
padding: 5px;
335+
display: -webkit-flex;
336+
display: -ms-flexbox;
299337
display: flex;
300-
align-content: stretch;
301-
justify-content: space-around;
302-
flex-direction: column;
338+
-webkit-align-content: stretch;
339+
-ms-flex-line-pack: stretch;
340+
align-content: stretch;
341+
-webkit-justify-content: space-around;
342+
-ms-flex-pack: distribute;
343+
justify-content: space-around;
344+
-webkit-flex-direction: column;
345+
-ms-flex-direction: column;
346+
flex-direction: column;
303347
}
304348

305349
.calendar .calendar-table .table-row {
350+
display: -webkit-flex;
351+
display: -ms-flexbox;
306352
display: flex;
307-
align-content: stretch;
308-
justify-content: space-around;
309-
flex: 1;
353+
-webkit-align-content: stretch;
354+
-ms-flex-line-pack: stretch;
355+
align-content: stretch;
356+
-webkit-justify-content: space-around;
357+
-ms-flex-pack: distribute;
358+
justify-content: space-around;
359+
-webkit-flex: 1;
360+
-ms-flex: 1;
361+
flex: 1;
310362
}
311363

312364
.calendar .calendar-table .table-row .table-col {
365+
display: -webkit-flex;
366+
display: -ms-flexbox;
313367
display: flex;
314-
flex: 1;
368+
-webkit-flex: 1;
369+
-ms-flex: 1;
370+
flex: 1;
315371
text-align: center;
316372
line-height: 1;
317373
cursor: default;
@@ -322,13 +378,21 @@
322378
}
323379

324380
.calendar .calendar-table .table-row .table-col .table-value-wrapper {
381+
display: -webkit-flex;
382+
display: -ms-flexbox;
325383
display: flex;
326-
flex: 1;
327-
align-items: center;
384+
-webkit-flex: 1;
385+
-ms-flex: 1;
386+
flex: 1;
387+
-webkit-align-items: center;
388+
-ms-flex-align: center;
389+
align-items: center;
328390
}
329391

330392
.calendar .calendar-table .table-row .table-col .table-value-wrapper .table-value {
331-
flex: 1;
393+
-webkit-flex: 1;
394+
-ms-flex: 1;
395+
flex: 1;
332396
}
333397

334398
.calendar .calendar-table .table-row .table-col.out-of-boundaries, .calendar .calendar-table .table-row .table-col.unavailable,
@@ -371,7 +435,9 @@
371435
}
372436

373437
.calendar .calendar-table .table-row .table-col .week-day {
374-
flex: 1;
438+
-webkit-flex: 1;
439+
-ms-flex: 1;
440+
flex: 1;
375441
text-align: center;
376442
}
377443

@@ -380,6 +446,8 @@
380446
}
381447

382448
.daterangepicker.opened {
449+
display: -webkit-inline-flex;
450+
display: -ms-inline-flexbox;
383451
display: inline-flex;
384452
}
385453

@@ -403,8 +471,14 @@
403471
display: none;
404472
}
405473

474+
.daterangepicker.hide-weekdays .weekdays {
475+
display: none;
476+
}
477+
406478
.daterangepicker.single {
407-
flex-direction: column;
479+
-webkit-flex-direction: column;
480+
-ms-flex-direction: column;
481+
flex-direction: column;
408482
}
409483

410484
.daterangepicker.single .ranges,
@@ -415,8 +489,12 @@
415489
}
416490

417491
.daterangepicker.single .controls {
492+
display: -webkit-flex;
493+
display: -ms-flexbox;
418494
display: flex;
419-
justify-content: center;
495+
-webkit-justify-content: center;
496+
-ms-flex-pack: center;
497+
justify-content: center;
420498
}
421499

422500
.daterangepicker.single .calendar .calendar-header {
@@ -442,7 +520,9 @@
442520
}
443521

444522
.daterangepicker.quarter-period .table-col {
445-
flex-direction: column;
523+
-webkit-flex-direction: column;
524+
-ms-flex-direction: column;
525+
flex-direction: column;
446526
font-size: 2em;
447527
}
448528

@@ -452,5 +532,7 @@
452532
}
453533

454534
.daterangepicker.orientation-left:not(.single) .controls {
455-
order: 2;
535+
-webkit-order: 2;
536+
-ms-flex-order: 2;
537+
order: 2;
456538
}

0 commit comments

Comments
 (0)