|
| 1 | +/* flatpickr overrides */ |
| 2 | +/* purgecss start ignore */ |
| 3 | +.flatpickr-calendar { |
| 4 | + width: 345px !important; |
| 5 | +} |
| 6 | + |
| 7 | +.flatpickr-calendar.open { |
| 8 | + max-height: 650px; |
| 9 | +} |
| 10 | + |
| 11 | +.flatpickr-months { |
| 12 | + @apply relative bg-blue-600 text-white py-3 px-2 items-center; |
| 13 | +} |
| 14 | + |
| 15 | +.flatpickr-months .flatpickr-prev-month, |
| 16 | +.flatpickr-months .flatpickr-next-month { |
| 17 | + @apply absolute transition rounded-full top-1/2 transform -translate-y-1/2 !important; |
| 18 | +} |
| 19 | + |
| 20 | +.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month { |
| 21 | + @apply left-1 !important; |
| 22 | +} |
| 23 | + |
| 24 | +.flatpickr-months .flatpickr-next-month.flatpickr-next-month { |
| 25 | + @apply right-1 !important; |
| 26 | +} |
| 27 | + |
| 28 | +.flatpickr-months .flatpickr-prev-month:hover svg, |
| 29 | +.flatpickr-months .flatpickr-next-month:hover svg { |
| 30 | + fill: theme('colors.blue-gray.800') !important; |
| 31 | +} |
| 32 | + |
| 33 | +.flatpickr-months .flatpickr-prev-month svg, |
| 34 | +.flatpickr-months .flatpickr-next-month svg { |
| 35 | + fill: #fff; |
| 36 | + opacity: .8; |
| 37 | +} |
| 38 | + |
| 39 | +.flatpickr-months .flatpickr-prev-month:hover, |
| 40 | +.flatpickr-months .flatpickr-next-month:hover { |
| 41 | + @apply bg-blue-gray-300; |
| 42 | +} |
| 43 | + |
| 44 | +.flatpickr-months .flatpickr-month { |
| 45 | + @apply flex w-full; |
| 46 | +} |
| 47 | + |
| 48 | +.flatpickr-months .flatpickr-month .flatpickr-current-month { |
| 49 | + @apply text-white w-full relative; |
| 50 | + left: unset; |
| 51 | + transform: unset; |
| 52 | +} |
| 53 | + |
| 54 | +.flatpickr-months .flatpickr-month .flatpickr-current-month .flatpickr-monthDropdown-months { |
| 55 | + @apply pl-0 pr-1 mr-1; |
| 56 | +} |
| 57 | + |
| 58 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { |
| 59 | + border-bottom-color: rgba(255, 255, 255, .9); |
| 60 | +} |
| 61 | + |
| 62 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { |
| 63 | + border-top-color: rgba(255, 255, 255, .9); |
| 64 | +} |
| 65 | + |
| 66 | +.flatpickr-innerContainer { |
| 67 | + @apply p-4; |
| 68 | +} |
| 69 | + |
| 70 | +.flatpickr-day.today:not(.selected) { |
| 71 | + @apply border-none bg-blue-gray-300 rounded-full text-blue-gray-500; |
| 72 | +} |
| 73 | +/* purgecss end ignore */ |
0 commit comments