<img width="1440" alt="Screenshot 2024-11-26 at 8 38 57 PM" src="https://github.com/user-attachments/assets/f752157c-6134-42cb-8211-ce636ea9e4d6"> <img width="1439" alt="Screenshot 2024-11-26 at 8 40 47 PM" src="https://github.com/user-attachments/assets/580b1f61-68bc-489b-9081-b0aeb402f31d"> --------- Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
98 lines
1.5 KiB
SCSS
98 lines
1.5 KiB
SCSS
@import 'vue-datepicker-next/scss/index';
|
|
|
|
.date-picker {
|
|
// To be removed one SLA reports date picker is created
|
|
&.small {
|
|
.mx-input {
|
|
@apply h-8 text-sm;
|
|
}
|
|
}
|
|
|
|
&.no-margin {
|
|
.mx-input {
|
|
@apply mb-0;
|
|
}
|
|
}
|
|
|
|
&:not(.auto-width) {
|
|
.mx-datepicker-range {
|
|
@apply w-[320px];
|
|
}
|
|
}
|
|
|
|
.mx-datepicker {
|
|
@apply w-full;
|
|
}
|
|
|
|
.mx-input {
|
|
@apply h-[2.5rem] flex border border-solid border-n-weak rounded-md shadow-none;
|
|
}
|
|
|
|
.mx-input:disabled,
|
|
.mx-input[readonly] {
|
|
@apply bg-white dark:bg-slate-900 cursor-pointer;
|
|
}
|
|
|
|
.mx-icon-calendar {
|
|
@apply dark:text-slate-500;
|
|
}
|
|
}
|
|
|
|
.mx-datepicker-main {
|
|
@apply border-0 bg-n-solid-2 rounded-xl;
|
|
|
|
.cell {
|
|
&.disabled {
|
|
@apply bg-slate-25 dark:bg-slate-900 text-slate-200 dark:text-slate-300;
|
|
}
|
|
|
|
&:hover,
|
|
&.hover-in-range,
|
|
&.in-range {
|
|
@apply bg-slate-75 dark:bg-slate-700 text-slate-900 dark:text-slate-100;
|
|
}
|
|
}
|
|
|
|
.mx-calendar+.mx-calendar {
|
|
@apply border-l border-n-weak;
|
|
}
|
|
|
|
.mx-datepicker-footer {
|
|
@apply border border-n-weak;
|
|
}
|
|
|
|
.mx-time {
|
|
@apply border-0 bg-white dark:bg-slate-800;
|
|
|
|
.mx-time-header {
|
|
@apply border-0;
|
|
}
|
|
|
|
.mx-time-item {
|
|
&.disabled {
|
|
@apply bg-slate-25 dark:bg-slate-900;
|
|
}
|
|
|
|
&:hover {
|
|
@apply bg-slate-75 dark:bg-slate-700;
|
|
}
|
|
}
|
|
}
|
|
|
|
.today {
|
|
@apply font-semibold;
|
|
}
|
|
}
|
|
|
|
.mx-datepicker-popup {
|
|
@apply z-[99999];
|
|
}
|
|
|
|
.mx-datepicker-inline {
|
|
@apply w-full;
|
|
|
|
.mx-calendar {
|
|
@apply w-full;
|
|
}
|
|
}
|