Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(time-picker): [time-picker] Optimize and modify component style issues #2450

Closed
wants to merge 8 commits into from
Prev Previous commit
Next Next commit
feat(date-picker): [date-picker] Fix style issues
  • Loading branch information
Youyou-smiles committed Oct 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b8b608e9b95130d64739ef10d20884f5ec27c775
3 changes: 2 additions & 1 deletion packages/theme/src/month-table/index.less
Original file line number Diff line number Diff line change
@@ -64,10 +64,11 @@
.cell {
background-color: var(--tv-MonthTable-bg-color-disabled);
cursor: not-allowed;
color: var(--tv-MonthTable-bg-color-disabled);
color: var(--tv-MonthTable-cell-color-disabled);

&:hover {
cursor: not-allowed;
background-color: var(--tv-MonthTable-bg-color-disabled);
}
}
}
2 changes: 2 additions & 0 deletions packages/theme/src/month-table/vars.less
Original file line number Diff line number Diff line change
@@ -42,6 +42,8 @@

// 背景色(禁用)
--tv-MonthTable-bg-color-disabled: var(--tv-color-bg-disabled, #f0f0f0);
// 文字色(禁用)
--tv-MonthTable-cell-color-disabled: var(--tv-color-text-disabled, #c2c2c2);
// 背景色(悬浮)
--tv-MonthTable-bg-color-hover: var(--tv-color-bg-hover-1, #deecff);
// 背景色(高亮) 开始/结束如期高亮
Loading