2018-11-01 11:05:20 +03:00
|
|
|
@import './mixins/vertical-align';
|
|
|
|
@import './base';
|
2018-07-31 22:24:34 +03:00
|
|
|
|
|
|
|
.date-input-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date-input-container__input {
|
|
|
|
padding-right: 35px !important;
|
2020-04-10 13:25:06 +03:00
|
|
|
}
|
2020-04-10 13:53:54 +03:00
|
|
|
|
2020-04-10 13:25:06 +03:00
|
|
|
.date-input-container__input:not(:disabled) {
|
2021-02-17 13:03:42 +03:00
|
|
|
background-color: var(--primary-color) !important;
|
|
|
|
}
|
|
|
|
|
2021-02-19 21:30:29 +03:00
|
|
|
.card .date-input-container__input:not(:disabled),
|
|
|
|
.dropdown .date-input-container__input:not(:disabled) {
|
2021-02-17 13:03:42 +03:00
|
|
|
background-color: var(--input-color) !important;
|
2018-07-31 22:24:34 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.date-input-container__icon {
|
|
|
|
@include vertical-align();
|
2018-08-25 16:59:51 +03:00
|
|
|
|
2018-08-09 21:13:46 +03:00
|
|
|
right: .75rem;
|
2018-07-31 22:24:34 +03:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2018-08-09 21:13:46 +03:00
|
|
|
|
|
|
|
.react-datepicker__close-icon.react-datepicker__close-icon {
|
|
|
|
@include vertical-align();
|
2018-08-25 16:59:51 +03:00
|
|
|
|
2018-08-09 21:13:46 +03:00
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2018-08-25 16:59:51 +03:00
|
|
|
.react-datepicker__close-icon.react-datepicker__close-icon:after {
|
2018-08-09 21:13:46 +03:00
|
|
|
right: .75rem;
|
|
|
|
line-height: 11px;
|
2020-09-06 11:17:46 +03:00
|
|
|
background-color: #333333;
|
2018-08-09 21:13:46 +03:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
2021-02-16 01:45:13 +03:00
|
|
|
|
|
|
|
.react-datepicker__input-container,
|
|
|
|
.react-datepicker-wrapper {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-datepicker__day--keyboard-selected {
|
|
|
|
background-color: $mainColor;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($mainColor, 12%);
|
|
|
|
}
|
|
|
|
}
|
2021-02-20 11:02:07 +03:00
|
|
|
|
|
|
|
.react-datepicker.react-datepicker {
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
color: var(--text-color);
|
|
|
|
border-color: var(--border-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-datepicker__header.react-datepicker__header {
|
|
|
|
background-color: var(--secondary-color);
|
|
|
|
border-color: var(--border-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-datepicker__current-month.react-datepicker__current-month,
|
|
|
|
.react-datepicker-time__header.react-datepicker-time__header,
|
|
|
|
.react-datepicker-year-header.react-datepicker-year-header,
|
|
|
|
.react-datepicker__day-name.react-datepicker__day-name,
|
|
|
|
.react-datepicker__day:not(:hover).react-datepicker__day:not(:hover),
|
|
|
|
.react-datepicker__time-name.react-datepicker__time-name {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2021-03-29 22:21:53 +03:00
|
|
|
.react-datepicker__day--disabled.react-datepicker__day--disabled {
|
|
|
|
cursor: default;
|
|
|
|
color: var(--border-color) !important;
|
|
|
|
}
|
|
|
|
|
2021-02-20 11:02:07 +03:00
|
|
|
.react-datepicker__day--keyboard-selected.react-datepicker__day--keyboard-selected,
|
|
|
|
.react-datepicker__month-text--keyboard-selected.react-datepicker__month-text--keyboard-selected,
|
|
|
|
.react-datepicker__quarter-text--keyboard-selected.react-datepicker__quarter-text--keyboard-selected,
|
|
|
|
.react-datepicker__year-text--keyboard-selected.react-datepicker__year-text--keyboard-selected {
|
|
|
|
background-color: var(--brand-color) !important;
|
|
|
|
color: white !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-datepicker-popper.react-datepicker-popper {
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
&[data-placement^='top'] .react-datepicker__triangle.react-datepicker__triangle {
|
2022-03-11 19:16:24 +03:00
|
|
|
&::after {
|
|
|
|
border-top-color: var(--primary-color);
|
|
|
|
}
|
2021-02-20 11:02:07 +03:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
border-top-color: var(--border-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-placement^='bottom'] .react-datepicker__triangle.react-datepicker__triangle {
|
2022-03-11 19:16:24 +03:00
|
|
|
&::after {
|
|
|
|
border-bottom-color: var(--secondary-color);
|
|
|
|
}
|
2021-02-20 11:02:07 +03:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
border-bottom-color: var(--border-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|