style: add transition for RangePicker cell (#31645)

This commit is contained in:
afc163 2021-08-04 12:03:20 +08:00 committed by GitHub
parent 66417d3479
commit f253cdf5aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,6 +161,7 @@
z-index: 1; z-index: 1;
height: @picker-panel-cell-height; height: @picker-panel-cell-height;
transform: translateY(-50%); transform: translateY(-50%);
transition: all @animation-duration-slow;
content: ''; content: '';
} }
@ -247,6 +248,7 @@
border-top: @border-width-base dashed @picker-date-hover-range-border-color; border-top: @border-width-base dashed @picker-date-hover-range-border-color;
border-bottom: @border-width-base dashed @picker-date-hover-range-border-color; border-bottom: @border-width-base dashed @picker-date-hover-range-border-color;
transform: translateY(-50%); transform: translateY(-50%);
transition: all @animation-duration-slow;
content: ''; content: '';
} }
} }
@ -292,6 +294,7 @@
bottom: 0; bottom: 0;
z-index: -1; z-index: -1;
background: @picker-date-hover-range-color; background: @picker-date-hover-range-color;
transition: all @animation-duration-slow;
content: ''; content: '';
} }
} }