123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- /*----- Date Picker ----*/
- .ui-datepicker {
- background-color: $white;
- border: 1px solid #e9ebfa;
- font-family: inherit;
- font-size: inherit;
- padding: 10px;
- margin: 1px 0 0;
- display: none;
- width: auto !important;
- z-index: 5 !important;
- box-shadow: 0px 16px 18px rgba(104, 113, 123, .2);
- border-radius: 7px;
- .ui-datepicker-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- position: relative;
- font-weight: 500;
- font-size: 12px;
- text-transform: uppercase;
- color: #473b52;
- padding: 0 0 5px;
- letter-spacing: 1px;
- border: 0;
- background-color: transparent;
- border-start-start-radius: 7px;
- border-start-end-radius: 7px;
- .ui-datepicker-next,
- .ui-datepicker-prev {
- text-indent: -99999px;
- color: #6c757d;
- inset-block-start: 1px;
- }
- .ui-datepicker-next::before,
- .ui-datepicker-prev::before {
- font-size: 16px;
- font-family: 'FontAwesome';
- position: absolute;
- inset-block-start: -4px;
- text-indent: 0;
- }
- .ui-datepicker-next {
- &:hover::before,
- &:focus::before {
- color: $dark;
- }
- }
- .ui-datepicker-prev {
- &:hover::before,
- &:focus::before {
- color: $dark;
- }
- }
- .ui-datepicker-next {
- order: 3;
- &:before {
- inset-inline-end: 5px;
- content: '\f105';
- }
- }
- .ui-datepicker-prev:before {
- inset-inline-start: 5px;
- content: '\f104';
- }
- .ui-datepicker-next-hover,
- .ui-datepicker-prev-hover {
- color: #495057;
- cursor: pointer;
- inset-block-start: 1px;
- border: 0;
- background-color: transparent;
- }
- }
- .ui-datepicker-calendar {
- margin: 0;
- background-color: transparent;
- border-end-end-radius: 3px;
- border-end-start-radius: 3px;
- th {
- text-transform: uppercase;
- font-size: 10px;
- font-weight: 500;
- letter-spacing: 1px;
- padding: 6px 10px;
- color: #a3a7b7;
- }
- td {
- border: 1px solid #eceef9;
- padding: 0;
- background-color: #eceef9;
- text-align: end;
- &:last-child {
- border-inline-end: 0;
- }
- &.ui-datepicker-other-month .ui-state-default {
- color: #ccc;
- }
- span {
- transition: all 0.2s ease-in-out;
- padding: 5px;
- background-color: $white;
- color: #473b52;
- padding: 6px 10px;
- display: block;
- font-weight: 400;
- font-size: 12px;
- border: 0;
- border-radius: 1px;
- }
- a {
- transition: all 0.2s ease-in-out;
- padding: 5px;
- background-color: $white;
- color: #473b52;
- padding: 6px 10px;
- display: block;
- font-weight: 400;
- font-size: 12px;
- border: 0;
- border-radius: 1px;
- &:hover {
- background-color: #f0f2f7;
- color: #473b52;
- }
- }
- }
- .ui-datepicker-today a {
- background-color: #f8f9fa;
- color: #473b52;
- }
- }
- }
- @media (max-width: 320px) {
- .ui-datepicker .ui-datepicker-calendar th {
- padding: 4px 0;
- letter-spacing: normal;
- }
- }
- .ui-datepicker-multi {
- .ui-datepicker-group {
- padding-inline-end: 15px;
- width: auto;
- float: $float-left;
- .ui-datepicker-title {
- margin: auto;
- }
- .ui-datepicker-prev::before {
- inset-inline-start: 10px;
- }
- .ui-datepicker-next::before {
- inset-inline-end: 10px;
- }
- table {
- margin: 0;
- }
- }
- .ui-datepicker-group-last {
- padding-inline-end: 0;
- }
- }
- .ui-datepicker-inline {
- max-width: 270px;
- border-radius: 12px;
- }
- @media (max-width: 576px){
- #ui-datepicker-div .ui-datepicker-group{
- float: none;
- padding-inline-end: 0;
- &.ui-datepicker-group-last{
- .ui-datepicker-header{
- margin-block-start: 10px;
- }
- }
- }
- }
|