// scss-lint:disable SelectorDepth NestingDepth .dp--menu-wrapper { font-weight: normal; .dp__menu { border: 0; box-shadow: 0px 32px 64px -12px rgba(16, 24, 40, 0.14); } .dp__action_buttons { flex: 1; gap: .5rem; } .dp__active_date { background-color: var(--sn-science-blue); } .dp__calendar_header_separator { display: none; } .dp__month_year_wrap { font-weight: bold; } .dp__month_year_row { margin-bottom: 1rem; } .dp__menu_inner { border-bottom: 1px solid var(--sn-light-grey); margin: 0 1rem 1rem; padding: 1rem 0; } .dp--tp-wrap { border-bottom: 1px solid var(--sn-light-grey); margin: 0 1rem 1rem; padding-bottom: 1rem; } .dp__action_cancel { color: var(--sn-blue); } .dp__action_button { margin-inline-start: 0; white-space: nowrap; } .dp__inner_nav { border-radius: .25rem; } .dp--arrow-btn-nav { display: flex; height: 40px; padding: 0; width: 40px; .dp__inner_nav { height: 40px; padding: 0; width: 40px; } } } .dp__input_wrap { .dp__input_icon { height: 1.5rem; left: .5rem; } .dp__input { height: 2.25rem; line-height: unset; } } .dp__theme_light { --dp-background-color: var(--sn-white); --dp-text-color: var(--sn-black); --dp-hover-color: var(--sn-super-light-grey); --dp-hover-text-color: #212121; --dp-hover-icon-color: #959595; --dp-primary-color: var(--sn-blue); --dp-primary-disabled-color: var(--sn-super-light-blue); --dp-primary-text-color: var(--sn-white); --dp-secondary-color: var(--sn-grey); --dp-border-color: var(--sn-light-grey); --dp-menu-border-color: var(--sn-light-grey); --dp-border-color-hover: var(--sn-light-grey); --dp-disabled-color: var(--sn-super-light-grey); --dp-scroll-bar-background: var(--sn-white); --dp-scroll-bar-color: var(--sn-grey); --dp-success-color: var(--sn-blue); --dp-success-color-disabled: var(--sn-super-light-blue); --dp-icon-color: var(--sn-black); --dp-danger-color: var(--sn-delete-red); --dp-marker-color: var(--sn-delete-red-disabled); --dp-tooltip-color: var(--sn-super-light-grey); --dp-disabled-color-text: var(--sn-grey); --dp-highlight-color: var(--sn-super-light-grey); --dp-range-between-dates-background-color: var(--dp-hover-color, var(--sn-super-light-grey)); --dp-range-between-dates-text-color: var(--dp-hover-text-color, var(--sn-black)); --dp-range-between-border-color: var(--dp-hover-color, var(--sn-super-light-grey)); } :root { /*General*/ --dp-font-family: inherit; /*Font family*/ --dp-border-radius: .25rem; /*Configurable border-radius*/ --dp-cell-border-radius: .25rem; /*Specific border radius for the calendar cell*/ --dp-common-transition: all 0.1s ease-in; /*Generic transition applied on buttons and calendar cells*/ /*Sizing*/ --dp-button-height: 2.5rem; /*Size for buttons in overlays*/ --dp-month-year-row-height: 2.5rem; /*Height of the month-year select row*/ --dp-month-year-row-button-size: 2.5rem; /*Specific height for the next/previous buttons*/ --dp-button-icon-height: 1.5rem; /*Icon sizing in buttons*/ --dp-cell-size: 2.5rem; /*Width and height of calendar cell*/ --dp-cell-padding: .25rem; /*Padding in the cell*/ --dp-common-padding: 1rem; /*Common padding used*/ --dp-input-padding: .3em 2rem .3rem 1rem; /*Padding in the input*/ --dp-menu-min-width: 320px; /*Adjust the min width of the menu*/ --dp-action-row-padding: 0 1rem 1rem; /*Adjust padding for the action row*/ --dp-action-buttons-padding: 0 .625rem; /*Adjust padding for the action buttons in action row*/ --dp-action-button-height: 1.875rem; /*Adjust height for the action buttons in action row*/ --dp-row-margin: .25rem 0; /*Adjust the spacing between rows in the calendar*/ --dp-calendar-header-cell-padding: .5rem; /*Adjust padding in calendar header cells*/ --dp-two-calendars-spacing: .75rem; /*Space between multiple calendars*/ --dp-overlay-col-padding: .25rem; /*Padding in the overlay column*/ --dp-time-inc-dec-button-size: 1.5rem; /*Sizing for arrow buttons in the time picker*/ --dp-menu-padding: 1rem; /*Menu padding*/ --dp-input-icon-padding: 2rem; /*Padding on the left side of the input if icon is present*/ /*Font sizes*/ --dp-font-size: .875rem; /*Default font-size*/ --dp-preview-font-size: .75rem; /*Font size of the date preview in the action row*/ --dp-time-font-size: 3rem; /*Font size in the time picker*/ /*Transitions*/ --dp-animation-duration: 0.1s; /*Transition duration*/ --dp-menu-appear-transition-timing: cubic-bezier(.4, 0, 1, 1); /*Timing on menu appear animation*/ --dp-transition-timing: ease-out; /*Timing on slide animations*/ } // Legacy .bootstrap-datetimepicker-widget { .glyphicon-calendar { margin: 0; } .datepicker tbody .day { font-size: 13px; } .datepicker thead th { padding: 5px 5px !important; } .timepicker-picker { padding: 0 60px; td { height: initial; line-height: initial; a { padding: 0; } .timepicker-hour, .timepicker-minute { height: initial; line-height: initial; padding: 6px 0; } } .glyphicon-chevron-up, .glyphicon-chevron-down { align-items: center; display: flex; height: 100%; justify-content: center; line-height: 1; } .separator { width: 10px; } } }