Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_flatpickr.scss 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. $flatpickr-tile-height: 45px;
  2. .flatpickr-calendar.inline {
  3. background: transparent;
  4. box-shadow: none;
  5. width: 100%;
  6. .flatpickr-days {
  7. width: 100%;
  8. }
  9. .dayContainer {
  10. width: 100%;
  11. min-width: 100%;
  12. max-width: 100%;
  13. }
  14. .flatpickr-day {
  15. border-radius: $border-radius;
  16. max-width: inherit;
  17. height: $flatpickr-tile-height;
  18. line-height: $flatpickr-tile-height;
  19. &.today {
  20. border: 0;
  21. &:before {
  22. content: "";
  23. display: inline-block;
  24. border-color: rgba(0,0,0,.2) transparent $primary;
  25. border-style: solid;
  26. border-width: 0 0 7px 7px;
  27. position: absolute;
  28. bottom: 4px;
  29. right: 4px;
  30. }
  31. &.selected:before {
  32. border-color: rgba(0,0,0,.2) transparent $white;
  33. }
  34. &:hover {
  35. background: #e6e6e6;
  36. color: $black;
  37. }
  38. }
  39. &.selected {
  40. &,
  41. &:hover,
  42. &:focus {
  43. border-radius: $border-radius;
  44. background: $primary;
  45. color: $white;
  46. }
  47. }
  48. }
  49. .flatpickr-weekdays {
  50. height: $flatpickr-tile-height;
  51. }
  52. .flatpickr-weekday {
  53. height: $flatpickr-tile-height;
  54. line-height: $flatpickr-tile-height;
  55. }
  56. .flatpickr-months {
  57. .flatpickr-month {
  58. height: $flatpickr-tile-height;
  59. }
  60. .flatpickr-prev-month,
  61. .flatpickr-next-month {
  62. height: $flatpickr-tile-height;
  63. }
  64. }
  65. .flatpickr-current-month {
  66. padding-top: 0;
  67. line-height: $flatpickr-tile-height;
  68. height: $flatpickr-tile-height;
  69. .flatpickr-monthDropdown-months {
  70. appearance: none;
  71. }
  72. .flatpickr-monthDropdown-months,
  73. input.cur-year {
  74. font-weight: $font-weight-normal;
  75. font-size: $h4-font-size;
  76. }
  77. }
  78. .flatpickr-prev-month,
  79. .flatpickr-next-month {
  80. width: 45px;
  81. border-radius: $border-radius;
  82. &:hover {
  83. background: #e6e6e6;
  84. color: $black;
  85. }
  86. }
  87. }