From 5f521a08487ed5c18b94cd0483d46544fdcbbe23 Mon Sep 17 00:00:00 2001 From: Dong Xia Date: Tue, 14 Feb 2023 02:56:17 +0000 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E4=B8=8B=E6=8B=89=E6=A1=86?= =?UTF-8?q?=E5=92=8C=E5=BC=80=E5=85=B3=E7=BB=84=E4=BB=B6=E7=9A=84=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=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/blue.scss | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/src/assets/theme/blue.scss b/src/assets/theme/blue.scss index 2ef490a..84e435a 100644 --- a/src/assets/theme/blue.scss +++ b/src/assets/theme/blue.scss @@ -238,5 +238,42 @@ body[data-theme='blue'] { } } + .ant-select-selection{ + border-radius: 20px; + } + .ant-select-focused .ant-select-selection, .ant-select-selection:focus, .ant-select-selection:active{ + border-color: $blue-theme !important; + box-shadow: none; + } + .ant-form-item-control{ + .ant-select-selection { + border-radius: 20px !important; + &:hover { + border-color: $blue-theme; + box-shadow: 0 0 0 2px $blue-theme-rgb; + } + } + &.has-error{ + .ant-input{ + border-color: $blue-danger-color; + &:hover{ + border-color: $blue-danger-color; + } + &:focus{ + border-color: $blue-danger-color; + } + } + } + } + .ant-switch{ + &.ant-switch-checked{ + background-color: $blue-theme; + } + } + .header-text{ + &:hover{ + color: $blue-theme; + } + } } \ No newline at end of file -- Gitee