From ec5960d0f91ac15e3b7b33b6d539dbcfac3631a7 Mon Sep 17 00:00:00 2001 From: Dong Xia Date: Thu, 16 Feb 2023 06:29:18 +0000 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=97=B6=E9=97=B4=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=99=A8=E7=BB=84=E4=BB=B6=E9=BB=98=E8=AE=A4=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E7=9A=84=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dong Xia --- src/assets/theme/defult.scss | 58 +++++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/src/assets/theme/defult.scss b/src/assets/theme/defult.scss index 6f1d2db..b78321d 100644 --- a/src/assets/theme/defult.scss +++ b/src/assets/theme/defult.scss @@ -172,4 +172,60 @@ $dark-color: #1A3142; color: $defult-color; } } -} \ No newline at end of file +} + +.ant-switch{ + &.ant-switch-checked{ + background-color: $defult-color; + } +} +.header-text{ + &:hover{ + color: $defult-color; + } +} + +.ant-calendar{ + .ant-calendar-date-panel{ + .ant-calendar-selected-day{ + .ant-calendar-date{ + background-color: $defult-color; + } + } + .ant-calendar-today{ + .ant-calendar-date{ + color: $defult-color; + border-color: $defult-color; + } + &.ant-calendar-selected-day{ + .ant-calendar-date{ + color: #fff; + border-color: $defult-color; + } + } + } + } + .ant-calendar-footer-btn{ + .ant-calendar-time-picker-btn{ + color: $defult-color; + &.ant-calendar-time-picker-btn-disabled{ + color: rgba(0, 0, 0, 0.25); + &:hover{ + cursor: not-allowed; + } + } + } + .ant-calendar-ok-btn{ + background-color: $defult-color; + border-color: $defult-color; + &.ant-calendar-ok-btn-disabled{ + color: rgba(0, 0, 0, 0.25); + background-color: #f5f5f5; + border-color: #d9d9d9; + &:hover{ + cursor: not-allowed; + } + } + } + } +} -- Gitee