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

Commit

Permalink
Version 0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
petethepig committed Jan 5, 2016
1 parent 4a14755 commit 792928c
Show file tree
Hide file tree
Showing 5 changed files with 152 additions and 41 deletions.
140 changes: 111 additions & 29 deletions dist/daterangepicker.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* knockout-daterangepicker
* version: 0.0.5
* version: 0.0.6
* authors: Sensor Tower team
* license: MIT
* https://sensortower.github.io/daterangepicker
Expand All @@ -10,7 +10,9 @@
position: absolute;
background: white;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
justify-content: flex-start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
border-radius: 4px;
padding: 4px;
font-size: 13px;
Expand Down Expand Up @@ -49,6 +51,8 @@
}

.daterangepicker .periods {
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
margin: 0 auto 8px;
}
Expand All @@ -62,9 +66,15 @@
}

.daterangepicker .ranges {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
flex-direction: column;
align-items: stretch;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-align-items: stretch;
-ms-flex-align: stretch;
align-items: stretch;
}

.daterangepicker .ranges li {
Expand All @@ -74,6 +84,8 @@
}

.daterangepicker .custom-range-inputs {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
margin: -3px;
margin-bottom: 5px;
Expand All @@ -82,7 +94,9 @@
.daterangepicker .custom-range-inputs input {
min-width: 50px;
width: 50px;
flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
margin: 3px;
border-radius: 4px;
border: 1px solid #ccc;
Expand All @@ -93,6 +107,8 @@
}

.daterangepicker .custom-range-buttons {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
margin: -3px;
}
Expand Down Expand Up @@ -145,7 +161,8 @@
.daterangepicker .arrow-left:before {
border-right-width: 6px;
border-right-color: #333;
transform: translate(-10px, -3.5px);
-webkit-transform: translate(-10px, -3.5px);
transform: translate(-10px, -3.5px);
}

.daterangepicker .arrow-right {
Expand All @@ -155,7 +172,8 @@
.daterangepicker .arrow-right:before {
border-left-width: 6px;
border-left-color: #333;
transform: translate(6px, -3.5px);
-webkit-transform: translate(6px, -3.5px);
transform: translate(6px, -3.5px);
}

.daterangepicker.orientation-right:not(.standalone):before {
Expand Down Expand Up @@ -218,17 +236,23 @@
}

.daterangepicker select.month-select {
flex: 10;
-webkit-flex: 10;
-ms-flex: 10;
flex: 10;
max-width: 75%;
}

.daterangepicker select.year-select {
flex: 11;
-webkit-flex: 11;
-ms-flex: 11;
flex: 11;
max-width: 75%;
}

.daterangepicker select.decade-select {
flex: 11;
-webkit-flex: 11;
-ms-flex: 11;
flex: 11;
max-width: 75%;
}

Expand Down Expand Up @@ -268,21 +292,33 @@
}

.calendar .calendar-header {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
margin: 0 6px 4px;
}

.calendar .calendar-header .calendar-selects {
flex: 5;
-webkit-flex: 5;
-ms-flex: 5;
flex: 5;
text-align: center;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
justify-content: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
padding: 2px;
}

.calendar .calendar-header .arrow {
flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
text-align: center;
}

Expand All @@ -296,22 +332,42 @@
border-radius: 4px;
overflow: hidden;
padding: 5px;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
align-content: stretch;
justify-content: space-around;
flex-direction: column;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-justify-content: space-around;
-ms-flex-pack: distribute;
justify-content: space-around;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}

.calendar .calendar-table .table-row {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
align-content: stretch;
justify-content: space-around;
flex: 1;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-justify-content: space-around;
-ms-flex-pack: distribute;
justify-content: space-around;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}

.calendar .calendar-table .table-row .table-col {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
text-align: center;
line-height: 1;
cursor: default;
Expand All @@ -322,13 +378,21 @@
}

.calendar .calendar-table .table-row .table-col .table-value-wrapper {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
flex: 1;
align-items: center;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}

.calendar .calendar-table .table-row .table-col .table-value-wrapper .table-value {
flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}

.calendar .calendar-table .table-row .table-col.out-of-boundaries, .calendar .calendar-table .table-row .table-col.unavailable,
Expand Down Expand Up @@ -371,7 +435,9 @@
}

.calendar .calendar-table .table-row .table-col .week-day {
flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
text-align: center;
}

Expand All @@ -380,6 +446,8 @@
}

.daterangepicker.opened {
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
}

Expand All @@ -403,8 +471,14 @@
display: none;
}

.daterangepicker.hide-weekdays .weekdays {
display: none;
}

.daterangepicker.single {
flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}

.daterangepicker.single .ranges,
Expand All @@ -415,8 +489,12 @@
}

.daterangepicker.single .controls {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
justify-content: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}

.daterangepicker.single .calendar .calendar-header {
Expand All @@ -442,7 +520,9 @@
}

.daterangepicker.quarter-period .table-col {
flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
font-size: 2em;
}

Expand All @@ -452,5 +532,7 @@
}

.daterangepicker.orientation-left:not(.single) .controls {
order: 2;
-webkit-order: 2;
-ms-flex-order: 2;
order: 2;
}
Loading

0 comments on commit 792928c

Please sign in to comment.