🐛 Fix disabled and selected date cell style of DatePicker (#15608)

close #15580
This commit is contained in:
偏右 2019-03-24 19:50:58 +08:00 committed by GitHub
parent baa5a7971f
commit f3a07ac7ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,6 +230,7 @@
}
&-disabled-cell &-date {
position: relative;
width: auto;
color: @disabled-color;
background: @disabled-bg;
@ -241,6 +242,18 @@
background: @disabled-bg;
}
}
&-disabled-cell&-selected-day &-date::before {
position: absolute;
top: -1px;
left: 5px;
width: 24px;
height: 24px;
background: rgba(0, 0, 0, 0.1);
border-radius: @border-radius-sm;
content: '';
}
&-disabled-cell&-today &-date {
position: relative;
padding-right: 5px;