🐛 Fix broken style detail of DatePicker by #17983

This commit is contained in:
afc163 2019-07-31 11:44:46 +08:00
parent ef8a6c6df8
commit 677974c863
2 changed files with 13 additions and 7 deletions

View File

@ -12,8 +12,8 @@
border: 0 solid #aaa;
border-width: 1.5px 0 0 1.5px;
border-radius: 1px;
transform: rotate(-45deg) scale(.8);
transition: all .3s;
transform: rotate(-45deg) scale(0.8);
transition: all 0.3s;
content: '';
}
@ -42,7 +42,7 @@
&::before,
&::after {
transform: rotate(135deg) scale(.8);
transform: rotate(135deg) scale(0.8);
}
}
@ -277,9 +277,12 @@
&-last-month-cell &-date,
&-next-month-btn-day &-date {
color: @disabled-color !important;
background: transparent !important;;
border-color: transparent !important;;
&,
&:hover {
color: @disabled-color;
background: transparent;
border-color: transparent;
}
}
&-disabled-cell &-date {

View File

@ -84,7 +84,10 @@
transform: translateX(-50%);
}
.@{calendar-prefix-cls}-today {
.@{calendar-prefix-cls}-today
:not(.@{calendar-prefix-cls}-disabled-cell)
:not(.@{calendar-prefix-cls}-last-month-cell)
:not(.@{calendar-prefix-cls}-next-month-btn-day) {
.@{calendar-prefix-cls}-date {
color: @primary-color;
background: @primary-2;