2024-08-05 19:22:56 +03:00
|
|
|
/* @format */
|
|
|
|
/* stylelint-disable media-feature-range-notation */
|
|
|
|
/* stylelint-disable selector-class-pattern */
|
|
|
|
.flatpickr-calendar::before,
|
|
|
|
.flatpickr-calendar::after {
|
2020-12-29 12:00:41 +03:00
|
|
|
right: 22px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flatpickr-wrapper {
|
|
|
|
right: 35% !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
.flatpickr-wrapper {
|
|
|
|
right: 50% !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-05 19:22:56 +03:00
|
|
|
@media (max-width: 768px) {
|
|
|
|
.flatpickr-wrapper {
|
|
|
|
position: absolute !important;
|
|
|
|
right: 0 !important;
|
|
|
|
left: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-16 12:57:28 +03:00
|
|
|
/* Because Flatpickr offers zero support for dynamic theming on its own (outside of third-party plugins) */
|
|
|
|
.dark .flatpickr-calendar {
|
|
|
|
background-color: #1f2937;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-weekday {
|
|
|
|
color: #f3f4f6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-prev-month {
|
|
|
|
fill: #f3f4f6 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-next-month {
|
|
|
|
fill: #f3f4f6 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-monthDropdown-months {
|
|
|
|
color: #f3f4f6 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .numInputWrapper {
|
|
|
|
color: #f3f4f6;
|
|
|
|
}
|
|
|
|
|
2020-12-29 12:00:41 +03:00
|
|
|
.dark .numInput[disabled] {
|
|
|
|
color: #9ca3af !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-current-month .numInputWrapper span.arrowUp::after {
|
|
|
|
border-bottom-color: #f3f4f6 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-current-month .numInputWrapper span.arrowDown::after {
|
|
|
|
border-top-color: #f3f4f6 !important;
|
|
|
|
}
|
|
|
|
|
2020-12-16 12:57:28 +03:00
|
|
|
.dark .flatpickr-day.prevMonthDay {
|
2024-08-05 19:22:56 +03:00
|
|
|
color: #9ca3af;
|
2020-12-16 12:57:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-day {
|
2024-08-05 19:22:56 +03:00
|
|
|
color: #e5e7eb;
|
2020-12-16 12:57:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-day.nextMonthDay {
|
2024-08-05 19:22:56 +03:00
|
|
|
color: #9ca3af;
|
2020-12-16 12:57:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-day:hover {
|
|
|
|
background-color: #374151;
|
|
|
|
}
|
|
|
|
|
2024-08-05 19:22:56 +03:00
|
|
|
/* stylelint-disable-next-line selector-not-notation */
|
2020-12-16 12:57:28 +03:00
|
|
|
.dark :not(.startRange):not(.endRange).flatpickr-day.nextMonthDay:hover {
|
|
|
|
background-color: #374151;
|
|
|
|
}
|
|
|
|
|
2024-08-05 19:22:56 +03:00
|
|
|
/* stylelint-disable-next-line selector-not-notation */
|
2020-12-16 12:57:28 +03:00
|
|
|
.dark :not(.startRange):not(.endRange).flatpickr-day.prevMonthDay:hover {
|
|
|
|
background-color: #374151;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-day.flatpickr-disabled {
|
2024-08-05 19:22:56 +03:00
|
|
|
color: #4b5563;
|
2020-12-16 12:57:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-day.flatpickr-disabled:hover {
|
2024-08-05 19:22:56 +03:00
|
|
|
color: #4b5563;
|
2020-12-16 12:57:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-day.today {
|
2024-08-12 11:22:22 +03:00
|
|
|
background-color: rgb(167 243 208 / 50%);
|
2024-08-05 19:22:56 +03:00
|
|
|
border-color: #34d399;
|
2020-12-16 12:57:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-day.inRange {
|
|
|
|
background-color: #374151;
|
2024-08-05 19:22:56 +03:00
|
|
|
box-shadow:
|
|
|
|
-5px 0 0 #374151,
|
|
|
|
5px 0 0 #374151;
|
2020-12-16 12:57:28 +03:00
|
|
|
border-color: #374151;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-day.prevMonthDay.inRange {
|
|
|
|
background-color: #374151;
|
2024-08-05 19:22:56 +03:00
|
|
|
box-shadow:
|
|
|
|
-5px 0 0 #374151,
|
|
|
|
5px 0 0 #374151;
|
2020-12-16 12:57:28 +03:00
|
|
|
border-color: #374151;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .flatpickr-day.nextMonthDay.inRange {
|
|
|
|
background-color: #374151;
|
2024-08-05 19:22:56 +03:00
|
|
|
box-shadow:
|
|
|
|
-5px 0 0 #374151,
|
|
|
|
5px 0 0 #374151;
|
2020-12-16 12:57:28 +03:00
|
|
|
border-color: #374151;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flatpickr-day.startRange {
|
|
|
|
background: #6574cd !important;
|
|
|
|
border-color: #6574cd !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flatpickr-day.endRange {
|
|
|
|
background: #6574cd !important;
|
|
|
|
border-color: #6574cd !important;
|
|
|
|
}
|
|
|
|
|
2024-08-05 19:22:56 +03:00
|
|
|
.dark .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)) {
|
|
|
|
box-shadow: -10px 0 0 #4556c3 !important;
|
2020-12-16 12:57:28 +03:00
|
|
|
}
|
|
|
|
|
2024-08-05 19:22:56 +03:00
|
|
|
.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)) {
|
|
|
|
box-shadow: -10px 0 0 #4556c3 !important;
|
2020-12-16 12:57:28 +03:00
|
|
|
}
|