|
200 | 200 | } |
201 | 201 |
|
202 | 202 | .calendars:not(.select-week) &.range:not(.range ~ *) .calendar-cell-inner::after { |
203 | | - @include border-start-radius($border-radius); |
| 203 | + @include border-start-radius-flex($border-radius); |
204 | 204 | } |
205 | 205 |
|
206 | 206 | .calendars:not(.select-week) &.range:not(:has(~ .range)) .calendar-cell-inner::after { |
207 | | - @include border-end-radius($border-radius); |
| 207 | + @include border-end-radius-flex($border-radius); |
208 | 208 | } |
209 | 209 |
|
210 | 210 | &.range-hover:first-of-type, |
211 | 211 | &:not(.range-hover) + &.range-hover { |
212 | 212 | .calendar-cell-inner::before { |
213 | | - border-left: 1px dashed var(--#{$prefix}calendar-cell-selected-bg); |
214 | | - @include border-start-radius($border-radius); |
| 213 | + border-inline-start: 1px dashed var(--#{$prefix}calendar-cell-selected-bg); |
| 214 | + @include border-start-radius-flex($border-radius); |
215 | 215 | } |
216 | 216 | } |
217 | 217 |
|
218 | 218 | &.range-hover:not(:has(~ .range-hover)) .calendar-cell-inner::before { |
219 | | - border-right: 1px dashed var(--#{$prefix}calendar-cell-selected-bg); |
220 | | - @include border-end-radius($border-radius); |
| 219 | + border-inline-end: 1px dashed var(--#{$prefix}calendar-cell-selected-bg); |
| 220 | + @include border-end-radius-flex($border-radius); |
221 | 221 | } |
222 | 222 |
|
223 | 223 | // stylelint-disable-next-line at-rule-no-vendor-prefix |
224 | 224 | @-moz-document url-prefix() { |
225 | 225 | .calendars:not(.select-week) &:nth-last-child(1 of .range), |
226 | 226 | .calendars:not(.select-week) &:nth-last-child(1 of .available) { |
227 | 227 | .calendar-cell-inner::after { |
228 | | - @include border-end-radius($border-radius); |
| 228 | + @include border-end-radius-flex($border-radius); |
229 | 229 | } |
230 | 230 | } |
231 | 231 |
|
232 | 232 | &:nth-last-child(1 of .range-hover) .calendar-cell-inner::before { |
233 | | - border-right: 1px dashed var(--#{$prefix}calendar-cell-selected-bg); |
234 | | - @include border-end-radius($border-radius); |
| 233 | + border-inline-end: 1px dashed var(--#{$prefix}calendar-cell-selected-bg); |
| 234 | + @include border-end-radius-flex($border-radius); |
235 | 235 | } |
236 | 236 | } |
237 | 237 |
|
|
264 | 264 | } |
265 | 265 |
|
266 | 266 | .calendar-cell:first-of-type .calendar-cell-inner { |
267 | | - @include border-start-radius($border-radius); |
| 267 | + @include border-start-radius-flex($border-radius); |
268 | 268 | &::before, |
269 | 269 | &::after { |
270 | | - @include border-start-radius($border-radius); |
| 270 | + @include border-start-radius-flex($border-radius); |
271 | 271 | } |
272 | 272 | } |
273 | 273 |
|
274 | 274 | .calendar-cell:last-of-type .calendar-cell-inner { |
275 | | - @include border-end-radius($border-radius); |
| 275 | + @include border-end-radius-flex($border-radius); |
276 | 276 | &::before, |
277 | 277 | &::after { |
278 | | - @include border-end-radius($border-radius); |
| 278 | + @include border-end-radius-flex($border-radius); |
279 | 279 | } |
280 | 280 | } |
281 | 281 |
|
282 | 282 | &.range-hover .calendar-cell:first-of-type .calendar-cell-inner::before { |
283 | | - border-left: 1px dashed var(--#{$prefix}calendar-cell-selected-bg); |
| 283 | + border-inline-start: 1px dashed var(--#{$prefix}calendar-cell-selected-bg); |
284 | 284 | } |
285 | 285 |
|
286 | 286 | &.range-hover .calendar-cell:last-of-type .calendar-cell-inner::before { |
287 | | - border-right: 1px dashed var(--#{$prefix}calendar-cell-selected-bg); |
| 287 | + border-inline-end: 1px dashed var(--#{$prefix}calendar-cell-selected-bg); |
288 | 288 | } |
289 | 289 |
|
290 | 290 | &:focus-visible { |
|
0 commit comments