vendor/assets/stylesheets/flatpickr/themes/material_orange.css in flatpickr-3.0.7.0 vs vendor/assets/stylesheets/flatpickr/themes/material_orange.css in flatpickr-4.5.2.0
- old
+ new
@@ -1,12 +1,11 @@
.flatpickr-calendar {
background: transparent;
- overflow: hidden;
- max-height: 0;
opacity: 0;
- visibility: hidden;
+ display: none;
text-align: center;
+ visibility: hidden;
padding: 0;
-webkit-animation: none;
animation: none;
direction: ltr;
border: 0;
@@ -23,13 +22,12 @@
box-shadow: 0 3px 13px rgba(0,0,0,0.08);
}
.flatpickr-calendar.open,
.flatpickr-calendar.inline {
opacity: 1;
- visibility: visible;
- overflow: visible;
max-height: 640px;
+ visibility: visible;
}
.flatpickr-calendar.open {
display: inline-block;
z-index: 99999;
}
@@ -48,13 +46,18 @@
}
.flatpickr-calendar.static.open {
z-index: 999;
display: block;
}
-.flatpickr-calendar.hasWeeks {
- width: auto;
+.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
+ -webkit-box-shadow: none !important;
+ box-shadow: none !important;
}
+.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
+ -webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
+ box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
+}
.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
@@ -124,11 +127,17 @@
}
.flatpickr-wrapper {
position: relative;
display: inline-block;
}
-.flatpickr-month {
+.flatpickr-months {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+}
+.flatpickr-months .flatpickr-month {
border-radius: 5px 5px 0 0;
background: #ff8a65;
color: #fff;
fill: #fff;
height: 28px;
@@ -138,72 +147,83 @@
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
+ -webkit-box-flex: 1;
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
}
-.flatpickr-prev-month,
-.flatpickr-next-month {
+.flatpickr-months .flatpickr-prev-month,
+.flatpickr-months .flatpickr-next-month {
text-decoration: none;
cursor: pointer;
position: absolute;
top: 0px;
line-height: 16px;
height: 28px;
- padding: 10px calc(3.57% - 1.5px);
+ padding: 10px;
z-index: 3;
+ color: #fff;
+ fill: #fff;
}
-.flatpickr-prev-month i,
-.flatpickr-next-month i {
+.flatpickr-months .flatpickr-prev-month.disabled,
+.flatpickr-months .flatpickr-next-month.disabled {
+ display: none;
+}
+.flatpickr-months .flatpickr-prev-month i,
+.flatpickr-months .flatpickr-next-month i {
position: relative;
}
-.flatpickr-prev-month.flatpickr-prev-month,
-.flatpickr-next-month.flatpickr-prev-month {
+.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
+.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
/*
- /*rtl:begin:ignore*/
+ /*rtl:begin:ignore*/
/*
- */
+ */
left: 0;
/*
- /*rtl:end:ignore*/
+ /*rtl:end:ignore*/
/*
- */
+ */
}
/*
- /*rtl:begin:ignore*/
+ /*rtl:begin:ignore*/
/*
- /*rtl:end:ignore*/
-.flatpickr-prev-month.flatpickr-next-month,
-.flatpickr-next-month.flatpickr-next-month {
+ /*rtl:end:ignore*/
+.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
+.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
/*
- /*rtl:begin:ignore*/
+ /*rtl:begin:ignore*/
/*
- */
+ */
right: 0;
/*
- /*rtl:end:ignore*/
+ /*rtl:end:ignore*/
/*
- */
+ */
}
/*
- /*rtl:begin:ignore*/
+ /*rtl:begin:ignore*/
/*
- /*rtl:end:ignore*/
-.flatpickr-prev-month:hover,
-.flatpickr-next-month:hover {
+ /*rtl:end:ignore*/
+.flatpickr-months .flatpickr-prev-month:hover,
+.flatpickr-months .flatpickr-next-month:hover {
color: #bbb;
}
-.flatpickr-prev-month:hover svg,
-.flatpickr-next-month:hover svg {
+.flatpickr-months .flatpickr-prev-month:hover svg,
+.flatpickr-months .flatpickr-next-month:hover svg {
fill: #f64747;
}
-.flatpickr-prev-month svg,
-.flatpickr-next-month svg {
+.flatpickr-months .flatpickr-prev-month svg,
+.flatpickr-months .flatpickr-next-month svg {
width: 14px;
+ height: 14px;
}
-.flatpickr-prev-month svg path,
-.flatpickr-next-month svg path {
+.flatpickr-months .flatpickr-prev-month svg path,
+.flatpickr-months .flatpickr-next-month svg path {
-webkit-transition: fill 0.1s;
transition: fill 0.1s;
fill: inherit;
}
.numInputWrapper {
@@ -215,20 +235,23 @@
display: inline-block;
}
.numInputWrapper input {
width: 100%;
}
+.numInputWrapper input::-ms-clear {
+ display: none;
+}
.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(72,72,72,0.05);
+ border: 1px solid rgba(72,72,72,0.15);
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.numInputWrapper span:hover {
background: rgba(0,0,0,0.1);
@@ -238,28 +261,29 @@
}
.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(72,72,72,0.6);
+ top: 26%;
}
.numInputWrapper span.arrowDown {
top: 50%;
}
.numInputWrapper span.arrowDown:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid rgba(72,72,72,0.6);
+ top: 40%;
}
.numInputWrapper span svg {
width: inherit;
height: auto;
}
@@ -286,34 +310,10 @@
display: inline-block;
text-align: center;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
}
-.flatpickr-current-month.slideLeft {
- -webkit-transform: translate3d(-100%, 0px, 0px);
- transform: translate3d(-100%, 0px, 0px);
- -webkit-animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1);
- animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1);
-}
-.flatpickr-current-month.slideLeftNew {
- -webkit-transform: translate3d(100%, 0px, 0px);
- transform: translate3d(100%, 0px, 0px);
- -webkit-animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1);
- animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1);
-}
-.flatpickr-current-month.slideRight {
- -webkit-transform: translate3d(100%, 0px, 0px);
- transform: translate3d(100%, 0px, 0px);
- -webkit-animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1);
- animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1);
-}
-.flatpickr-current-month.slideRightNew {
- -webkit-transform: translate3d(0, 0, 0px);
- transform: translate3d(0, 0, 0px);
- -webkit-animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1);
- animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1);
-}
.flatpickr-current-month span.cur-month {
font-family: inherit;
font-weight: 700;
color: inherit;
display: inline-block;
@@ -337,19 +337,19 @@
.flatpickr-current-month input.cur-year {
background: transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: inherit;
- cursor: default;
+ cursor: text;
padding: 0 0 0 0.5ch;
margin: 0;
display: inline-block;
font-size: inherit;
font-family: inherit;
font-weight: 300;
line-height: inherit;
- height: initial;
+ height: auto;
border: 0;
border-radius: 0;
vertical-align: initial;
}
.flatpickr-current-month input.cur-year:focus {
@@ -375,10 +375,20 @@
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 28px;
}
+.flatpickr-weekdays .flatpickr-weekdaycontainer {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-flex: 1;
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+}
span.flatpickr-weekday {
cursor: default;
font-size: 90%;
background: #ff8a65;
color: rgba(0,0,0,0.54);
@@ -401,10 +411,14 @@
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
+ -webkit-box-align: start;
+ -webkit-align-items: flex-start;
+ -ms-flex-align: start;
+ align-items: flex-start;
width: 307.875px;
border-left: 1px solid rgba(72,72,72,0.2);
border-right: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-days:focus {
@@ -432,33 +446,14 @@
justify-content: space-around;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
opacity: 1;
}
-.flatpickr-calendar.animate .dayContainer.slideLeft {
- -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1);
- animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1);
+.dayContainer + .dayContainer {
+ -webkit-box-shadow: -1px 0 0 rgba(72,72,72,0.2);
+ box-shadow: -1px 0 0 rgba(72,72,72,0.2);
}
-.flatpickr-calendar.animate .dayContainer.slideLeft,
-.flatpickr-calendar.animate .dayContainer.slideLeftNew {
- -webkit-transform: translate3d(-100%, 0px, 0px);
- transform: translate3d(-100%, 0px, 0px);
-}
-.flatpickr-calendar.animate .dayContainer.slideLeftNew {
- -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1);
- animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1);
-}
-.flatpickr-calendar.animate .dayContainer.slideRight {
- -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1);
- animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1);
- -webkit-transform: translate3d(100%, 0px, 0px);
- transform: translate3d(100%, 0px, 0px);
-}
-.flatpickr-calendar.animate .dayContainer.slideRightNew {
- -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1);
- animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1);
-}
.flatpickr-day {
background: none;
border: 1px solid transparent;
border-radius: 150px;
-webkit-box-sizing: border-box;
@@ -540,13 +535,13 @@
.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 {
+.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
+.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
+.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
-webkit-box-shadow: -10px 0 0 #ff8a65;
box-shadow: -10px 0 0 #ff8a65;
}
.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
@@ -557,14 +552,10 @@
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
}
.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,
@@ -572,15 +563,23 @@
color: rgba(72,72,72,0.3);
background: transparent;
border-color: transparent;
cursor: default;
}
+.flatpickr-day.disabled,
+.flatpickr-day.disabled:hover {
+ cursor: not-allowed;
+ color: rgba(72,72,72,0.1);
+}
.flatpickr-day.week.selected {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #ff8a65, 5px 0 0 #ff8a65;
box-shadow: -5px 0 0 #ff8a65, 5px 0 0 #ff8a65;
}
+.flatpickr-day.hidden {
+ visibility: hidden;
+}
.rangeMode .flatpickr-day {
margin-top: 1px;
}
.flatpickr-weekwrapper {
display: inline-block;
@@ -593,14 +592,19 @@
.flatpickr-weekwrapper .flatpickr-weekday {
float: none;
width: 100%;
line-height: 28px;
}
-.flatpickr-weekwrapper span.flatpickr-day {
+.flatpickr-weekwrapper span.flatpickr-day,
+.flatpickr-weekwrapper span.flatpickr-day:hover {
display: block;
width: 100%;
max-width: none;
+ color: rgba(72,72,72,0.3);
+ background: transparent;
+ cursor: default;
+ border: none;
}
.flatpickr-innerContainer {
display: block;
display: -webkit-box;
display: -webkit-flex;
@@ -670,11 +674,10 @@
text-align: center;
margin: 0;
padding: 0;
height: inherit;
line-height: inherit;
- cursor: pointer;
color: #484848;
font-size: 14px;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
@@ -712,13 +715,15 @@
width: 18%;
cursor: pointer;
text-align: center;
font-weight: 400;
}
+.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
+.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
- background: #ececec;
+ background: #efefef;
}
.flatpickr-input[readonly] {
cursor: pointer;
}
@-webkit-keyframes fpFadeInDown {
@@ -741,119 +746,7 @@
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
- }
-}
-@-webkit-keyframes fpSlideLeft {
- from {
- -webkit-transform: translate3d(0px, 0px, 0px);
- transform: translate3d(0px, 0px, 0px);
- }
- to {
- -webkit-transform: translate3d(-100%, 0px, 0px);
- transform: translate3d(-100%, 0px, 0px);
- }
-}
-@keyframes fpSlideLeft {
- from {
- -webkit-transform: translate3d(0px, 0px, 0px);
- transform: translate3d(0px, 0px, 0px);
- }
- to {
- -webkit-transform: translate3d(-100%, 0px, 0px);
- transform: translate3d(-100%, 0px, 0px);
- }
-}
-@-webkit-keyframes fpSlideLeftNew {
- from {
- -webkit-transform: translate3d(100%, 0px, 0px);
- transform: translate3d(100%, 0px, 0px);
- }
- to {
- -webkit-transform: translate3d(0px, 0px, 0px);
- transform: translate3d(0px, 0px, 0px);
- }
-}
-@keyframes fpSlideLeftNew {
- from {
- -webkit-transform: translate3d(100%, 0px, 0px);
- transform: translate3d(100%, 0px, 0px);
- }
- to {
- -webkit-transform: translate3d(0px, 0px, 0px);
- transform: translate3d(0px, 0px, 0px);
- }
-}
-@-webkit-keyframes fpSlideRight {
- from {
- -webkit-transform: translate3d(0, 0, 0px);
- transform: translate3d(0, 0, 0px);
- }
- to {
- -webkit-transform: translate3d(100%, 0px, 0px);
- transform: translate3d(100%, 0px, 0px);
- }
-}
-@keyframes fpSlideRight {
- from {
- -webkit-transform: translate3d(0, 0, 0px);
- transform: translate3d(0, 0, 0px);
- }
- to {
- -webkit-transform: translate3d(100%, 0px, 0px);
- transform: translate3d(100%, 0px, 0px);
- }
-}
-@-webkit-keyframes fpSlideRightNew {
- from {
- -webkit-transform: translate3d(-100%, 0, 0px);
- transform: translate3d(-100%, 0, 0px);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0px);
- transform: translate3d(0, 0, 0px);
- }
-}
-@keyframes fpSlideRightNew {
- from {
- -webkit-transform: translate3d(-100%, 0, 0px);
- transform: translate3d(-100%, 0, 0px);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0px);
- transform: translate3d(0, 0, 0px);
- }
-}
-@-webkit-keyframes fpFadeOut {
- from {
- opacity: 1;
- }
- to {
- opacity: 0;
- }
-}
-@keyframes fpFadeOut {
- from {
- opacity: 1;
- }
- to {
- opacity: 0;
- }
-}
-@-webkit-keyframes fpFadeIn {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-@keyframes fpFadeIn {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
}
}