date-picker: highlight current month and year (#14211)

pull/14217/head
Debiancc 2019-01-25 18:39:39 +08:00 committed by Jiewei Qian
parent 15b57cbb22
commit 0ddc10d652
2 changed files with 14 additions and 0 deletions

View File

@ -10,6 +10,13 @@
padding: 20px 3px;
cursor: pointer;
&.today {
.cell {
color: $--color-primary;
font-weight: bold;
}
}
&.disabled .cell {
background-color: $--background-color-base;
cursor: not-allowed;

View File

@ -14,6 +14,13 @@
padding: 20px 3px;
cursor: pointer;
&.today {
.cell {
color: $--color-primary;
font-weight: bold;
}
}
&.disabled .cell {
background-color: $--background-color-base;
cursor: not-allowed;