_litepicker.scss 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. .litepicker {
  2. --litepicker-month-weekday-color: #{var(--#{$prefix}secondary)};
  3. --litepicker-button-prev-month-color: #{var(--#{$prefix}secondary)};
  4. --litepicker-button-next-month-color: #{var(--#{$prefix}secondary)};
  5. --litepicker-button-prev-month-color-hover: #{ var(--#{$prefix}primary) };
  6. --litepicker-button-next-month-color-hover: #{ var(--#{$prefix}primary) };
  7. --litepicker-day-color: var(--#{$prefix}body-color);
  8. --litepicker-day-color-hover: #{ var(--#{$prefix}primary) };
  9. --litepicker-is-end-color-bg: #{ var(--#{$prefix}primary) };
  10. --litepicker-is-today-color: #{ var(--#{$prefix}primary) };
  11. --litepicker-month-header-color: var(--#{$prefix}body-color);
  12. --litepicker-container-months-color-bg: var(--#{$prefix}bg-surface);
  13. font: inherit;
  14. user-select: none;
  15. svg {
  16. fill: none !important;
  17. }
  18. .container__main {
  19. border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
  20. border-radius: var(--#{$prefix}border-radius);
  21. box-shadow: none;
  22. }
  23. .container__months {
  24. .month-item-name,
  25. .month-item-year {
  26. font-weight: var(--#{$prefix}font-weight-medium) !important;
  27. }
  28. .button-next-month,
  29. .button-previous-month {
  30. cursor: pointer !important;
  31. }
  32. .month-item-weekdays-row {
  33. > div {
  34. padding: .5rem 0 !important;
  35. font-size: $h5-font-size;
  36. }
  37. }
  38. }
  39. .container__days {
  40. .day-item {
  41. cursor: pointer !important;
  42. padding: .5rem 0 !important;
  43. @include transition(color $transition-time, background-color $transition-time, border-color $transition-time);
  44. }
  45. }
  46. .datepicker-inline & {
  47. box-shadow: $input-box-shadow;
  48. .container__months {
  49. box-shadow: none;
  50. background-color: var(--#{$prefix}bg-forms);
  51. }
  52. }
  53. }