123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- $flatpickr-tile-height: 45px;
-
- .flatpickr-calendar.inline {
- background: transparent;
- box-shadow: none;
- width: 100%;
-
- .flatpickr-days {
- width: 100%;
- }
-
- .dayContainer {
- width: 100%;
- min-width: 100%;
- max-width: 100%;
- }
-
- .flatpickr-day {
- border-radius: $border-radius;
- max-width: inherit;
- height: $flatpickr-tile-height;
- line-height: $flatpickr-tile-height;
-
- &.today {
- border: 0;
-
- &:before {
- content: "";
- display: inline-block;
- border-color: rgba(0,0,0,.2) transparent $primary;
- border-style: solid;
- border-width: 0 0 7px 7px;
- position: absolute;
- bottom: 4px;
- right: 4px;
- }
-
- &.selected:before {
- border-color: rgba(0,0,0,.2) transparent $white;
- }
-
- &:hover {
- background: #e6e6e6;
- color: $black;
- }
- }
-
- &.selected {
- &,
- &:hover,
- &:focus {
- border-radius: $border-radius;
- background: $primary;
- color: $white;
- }
- }
- }
-
- .flatpickr-weekdays {
- height: $flatpickr-tile-height;
- }
- .flatpickr-weekday {
- height: $flatpickr-tile-height;
- line-height: $flatpickr-tile-height;
- }
-
- .flatpickr-months {
- .flatpickr-month {
- height: $flatpickr-tile-height;
- }
-
- .flatpickr-prev-month,
- .flatpickr-next-month {
- height: $flatpickr-tile-height;
- }
- }
-
- .flatpickr-current-month {
- padding-top: 0;
- line-height: $flatpickr-tile-height;
- height: $flatpickr-tile-height;
-
- .flatpickr-monthDropdown-months {
- appearance: none;
- }
-
- .flatpickr-monthDropdown-months,
- input.cur-year {
- font-weight: $font-weight-normal;
- font-size: $h4-font-size;
- }
- }
-
- .flatpickr-prev-month,
- .flatpickr-next-month {
- width: 45px;
- border-radius: $border-radius;
-
- &:hover {
- background: #e6e6e6;
- color: $black;
- }
- }
- }
|