dark mode improvements

This commit is contained in:
codecalm
2020-02-03 23:33:25 +01:00
parent d560945dff
commit b0f182f0fe
12 changed files with 50 additions and 73 deletions
+19 -2
View File
@@ -1,5 +1,5 @@
.flatpickr-input {
background: $input-bg !important;
.flatpickr-input.flatpickr-input {
background: $input-bg;
&.active {
border-color: $input-focus-border-color;
@@ -8,6 +8,7 @@
}
.flatpickr-calendar {
background: transparent;
border: $input-border-width solid $input-border-color;
border-radius: $input-border-radius;
padding: .5rem;
@@ -48,6 +49,17 @@
align-items: center;
line-height: 1;
&.flatpickr-disabled,
&.flatpickr-disabled:hover,
&.prevMonthDay,
&.nextMonthDay,
&.notAllowed,
&.notAllowed.prevMonthDay,
&.notAllowed.nextMonthDay {
color: inherit;
opacity: .2;
}
&.today {
border-color: $border-color;
}
@@ -64,6 +76,11 @@ span.flatpickr-weekday {
.flatpickr-months {
margin-bottom: .5rem;
.flatpickr-month {
color: currentColor;
fill: currentColor;
}
.flatpickr-current-month {
font-weight: 400;
}