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

Commit

Permalink
Version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Gabriel committed Apr 25, 2017
1 parent 881fa6a commit b3e4915
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 128 deletions.
150 changes: 55 additions & 95 deletions dist/daterangepicker.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* knockout-daterangepicker
* version: 0.0.9
* version: 0.1.0
* authors: Sensor Tower team
* license: MIT
* https://sensortower.github.io/daterangepicker
Expand All @@ -10,9 +10,8 @@
position: absolute;
background: white;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
border-radius: 4px;
padding: 4px;
font-size: 13px;
Expand Down Expand Up @@ -51,7 +50,6 @@
}

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

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

.daterangepicker .ranges li {
Expand All @@ -84,7 +79,6 @@
}

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

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

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

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

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

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

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

Expand Down Expand Up @@ -292,33 +279,27 @@
}

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

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

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

Expand All @@ -332,42 +313,32 @@
border-radius: 4px;
overflow: hidden;
padding: 5px;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-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;
-ms-flex-line-pack: stretch;
align-content: stretch;
-ms-flex-pack: distribute;
justify-content: space-around;
-ms-flex-direction: column;
flex-direction: column;
}

.calendar .calendar-table .table-row {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-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;
-ms-flex-line-pack: stretch;
align-content: stretch;
-ms-flex-pack: distribute;
justify-content: space-around;
-ms-flex: 1;
flex: 1;
}

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

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

.calendar .calendar-table .table-row .table-col .table-value-wrapper .table-value {
-webkit-flex: 1;
-ms-flex: 1;
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 @@ -435,9 +402,8 @@
}

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

Expand All @@ -446,7 +412,6 @@
}

.daterangepicker.opened {
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
}
Expand Down Expand Up @@ -476,9 +441,8 @@
}

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

.daterangepicker.single .ranges,
Expand All @@ -489,12 +453,10 @@
}

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

.daterangepicker.single .controls .periods {
Expand Down Expand Up @@ -524,9 +486,8 @@
}

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

Expand All @@ -536,7 +497,6 @@
}

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

0 comments on commit b3e4915

Please sign in to comment.