vendor/assets/stylesheets/flatpickr/themes/airbnb.css in flatpickr-2.5.5.0 vs vendor/assets/stylesheets/flatpickr/themes/airbnb.css in flatpickr-2.5.6.0
- old
+ new
@@ -122,11 +122,11 @@
.flatpickr-month {
background: transparent;
color: #3c3f40;
fill: #3c3f40;
height: 28px;
- line-height: 24px;
+ line-height: 1;
text-align: center;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
@@ -137,12 +137,12 @@
.flatpickr-next-month {
text-decoration: none;
cursor: pointer;
position: absolute;
top: 0px;
- height: 28px;
line-height: 16px;
+ height: 28px;
padding: 10px calc(3.57% - 1.5px);
z-index: 3;
}
.flatpickr-prev-month i,
.flatpickr-next-month i {
@@ -268,11 +268,13 @@
font-weight: 300;
color: inherit;
position: absolute;
width: 75%;
left: 12.5%;
- top: 5px;
+ padding: 7px 0 0 0;
+ line-height: 1;
+ height: 28px;
display: inline-block;
text-align: center;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
}
@@ -303,11 +305,11 @@
.flatpickr-current-month span.cur-month {
font-family: inherit;
font-weight: 700;
color: inherit;
display: inline-block;
- margin-left: 7px;
+ margin-left: 0.5ch;
padding: 0;
}
.flatpickr-current-month span.cur-month:hover {
background: rgba(0,0,0,0.05);
}
@@ -327,11 +329,11 @@
box-sizing: border-box;
color: inherit;
cursor: default;
padding: 0 0 0 0.5ch;
margin: 0;
- display: inline;
+ display: inline-block;
font-size: inherit;
font-family: inherit;
font-weight: 300;
line-height: inherit;
height: initial;
@@ -559,15 +561,16 @@
.flatpickr-weekwrapper {
display: inline-block;
float: left;
}
.flatpickr-weekwrapper .flatpickr-weeks {
- padding: 1px 12px 0 12px;
+ padding: 0 12px;
box-shadow: 1px 0 0 #eee;
}
.flatpickr-weekwrapper .flatpickr-weekday {
float: none;
width: 100%;
+ line-height: 28px;
}
.flatpickr-weekwrapper span.flatpickr-day {
display: block;
width: 100%;
max-width: none;