style.module.scss
89 lines
| 1 | /* stylelint-disable */ |
| 2 | .periodSelector { |
| 3 | display: inline-flex; |
| 4 | align-items: center; |
| 5 | min-width: 330px; |
| 6 | } |
| 7 | |
| 8 | .datepicker { |
| 9 | border: 1px solid #ddd; |
| 10 | border-bottom-width: 3px; |
| 11 | background: #fff; |
| 12 | height: 32px; |
| 13 | border-radius: 3px; |
| 14 | padding-left: 22px; |
| 15 | |
| 16 | :global .CalendarDay__selected_span { |
| 17 | background: rgb(145, 200, 150); //background |
| 18 | color: #fff; //text |
| 19 | border: 1px solid #66bb6a; |
| 20 | } |
| 21 | |
| 22 | :global .CalendarDay__selected { |
| 23 | background: #66bb6a; |
| 24 | color: #fff; |
| 25 | border: 1px double #47814a; |
| 26 | } |
| 27 | |
| 28 | :global .CalendarDay__hovered_span, /* stylelint-disable-line selector-class-pattern */ |
| 29 | :global .CalendarDay__hovered_span:hover { |
| 30 | background: rgb(145, 200, 150); //background |
| 31 | color: #fff; //text |
| 32 | border: 1px solid #66bb6a; |
| 33 | } |
| 34 | |
| 35 | :global .DayPickerNavigation_button__horizontalDefault { |
| 36 | top: 12px; |
| 37 | } |
| 38 | |
| 39 | :global .DateRangePickerInput { |
| 40 | border: none; |
| 41 | background: none; |
| 42 | height: 26px; |
| 43 | } |
| 44 | |
| 45 | :global .DateRangePicker_picker { |
| 46 | border-radius: 3px; |
| 47 | top: 48px !important; |
| 48 | } |
| 49 | |
| 50 | :global .DateInput_fang { |
| 51 | top: 38px !important; |
| 52 | } |
| 53 | |
| 54 | :global .DateInput { |
| 55 | background: none; |
| 56 | } |
| 57 | |
| 58 | :global .DayPicker_weekHeader { |
| 59 | top: 52px; |
| 60 | } |
| 61 | |
| 62 | /* stylelint-enable */ |
| 63 | |
| 64 | input[type='text']='text'] { |
| 65 | height: 34px; |
| 66 | min-height: 34px; |
| 67 | border: none; |
| 68 | background: none; |
| 69 | border-radius: 3px; |
| 70 | overflow: hidden; |
| 71 | font-size: 14px; |
| 72 | |
| 73 | &:focus { |
| 74 | box-shadow: none; |
| 75 | border: none; |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | .icon { |
| 81 | height: 32px; |
| 82 | width: 32px; |
| 83 | position: absolute; |
| 84 | pointer-events: none; |
| 85 | display: flex; |
| 86 | align-items: center; |
| 87 | justify-content: center; |
| 88 | } |
| 89 |