From 0a6961d5ceef4cdbba1f052a0d59c4900337958d Mon Sep 17 00:00:00 2001 From: Dong Xia Date: Mon, 27 Feb 2023 03:23:33 +0000 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E8=89=B2=E4=B8=BB=E9=A2=98=E5=A4=8D?= =?UTF-8?q?=E9=80=89=E6=A1=86=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F=E5=AE=9A?= =?UTF-8?q?=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/red.scss | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/assets/theme/red.scss b/src/assets/theme/red.scss index 02f24b2..1a95be8 100644 --- a/src/assets/theme/red.scss +++ b/src/assets/theme/red.scss @@ -522,4 +522,31 @@ body[data-theme='red'] { } } } + +.ant-checkbox:hover{ + &.ant-checkbox-checked{ + .ant-checkbox-inner{ + border-color: $linx-red-theme; + } + } + .ant-checkbox-inner{ + border-color: $linx-red-theme; + } +} +.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after{ + border-color: #ffffff; +} +.ant-checkbox-indeterminate .ant-checkbox-inner::after{ + background-color: $linx-red-theme; +} +.ant-checkbox-checked:hover .ant-checkbox-inner, +.ant-checkbox-indeterminate:hover .ant-checkbox-inner{ + border-color: $linx-red-theme; +} + .ant-checkbox-checked .ant-checkbox-inner{ + background-color: $linx-red-theme; + border-color: $linx-red-theme; + } + + } -- Gitee