mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
🐛 Fix broken style detail of DatePicker by #17983
This commit is contained in:
parent
ef8a6c6df8
commit
677974c863
@ -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 {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user