Skip to content

Commit 5a11d19

Browse files
committed
improvement(reskin): calendar picker - part 2 f2f
1 parent 5f32b58 commit 5a11d19

File tree

1 file changed

+46
-4
lines changed

1 file changed

+46
-4
lines changed

src/shared/components/DateRangePicker/style.scss

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,36 @@
110110
}
111111
}
112112

113+
#input-end-date-range-calendar-icon,
114+
#input-start-date-range-calendar-icon {
115+
outline: none !important;
116+
}
117+
118+
.rdrYearPicker,
119+
.rdrMonthPicker {
120+
position: relative;
121+
122+
&::after {
123+
content: "\f078";
124+
display: inline-flex;
125+
align-items: center;
126+
justify-content: center;
127+
position: absolute;
128+
right: 6px;
129+
top: 46%;
130+
height: 34px;
131+
font-family: "FontAwesome", serif;
132+
font-size: 12px;
133+
color: $listing-checkbox-green;
134+
transform: translateY(-50%);
135+
pointer-events: none;
136+
}
137+
138+
select {
139+
font-weight: 700;
140+
}
141+
}
142+
113143
.rdrDateRangePickerWrapper {
114144
z-index: 15;
115145
position: relative;
@@ -128,13 +158,13 @@
128158
width: 22px;
129159
height: 23px;
130160
background: none;
131-
border: 1px solid $listing-checkbox-green;
161+
border: 2px solid $listing-checkbox-green;
132162
border-radius: 50%;
133163

134164
i {
135165
position: absolute;
136-
top: 7px;
137-
left: 7px;
166+
top: 5px;
167+
left: 5px;
138168
display: block;
139169
width: 8px;
140170
height: 8px;
@@ -143,6 +173,18 @@
143173
border-top: 2px solid $listing-checkbox-green;
144174
border-left: 2px solid $listing-checkbox-green;
145175
transform: none;
176+
177+
&::after {
178+
content: "";
179+
position: absolute;
180+
top: 2px;
181+
left: -3px;
182+
width: 11px;
183+
height: 2px;
184+
background: #137d60;
185+
transform: rotateZ(45deg);
186+
border-radius: 999rem;
187+
}
146188
}
147189

148190
&.rdrPprevButton {
@@ -262,7 +304,7 @@
262304
width: 36px;
263305
height: 36px;
264306
left: 4px;
265-
border: 1px solid lighten($listing-checkbox-green, 70%);
307+
border-color: transparent;
266308
}
267309

268310
.rdrSelected,

0 commit comments

Comments
 (0)