From 7d290f7a339cd43e7f9ccfefee141e4cf438868b Mon Sep 17 00:00:00 2001 From: Dong Xia Date: Fri, 24 Feb 2023 06:39:23 +0000 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=A1=86=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=A0=B7=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/red.scss | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/assets/theme/red.scss b/src/assets/theme/red.scss index 952babd..8bf2176 100644 --- a/src/assets/theme/red.scss +++ b/src/assets/theme/red.scss @@ -285,5 +285,33 @@ body[data-theme='red'] { } } + .ant-select-selection{ + border-radius: 20px; + } + .ant-select-focused .ant-select-selection, .ant-select-selection:focus, .ant-select-selection:active{ + border-color: $linx-red-theme !important; + box-shadow: none; + } + .ant-form-item-control{ + .ant-select-selection { + border-radius: 20px !important; + &:hover { + border-color: $linx-red-theme; + box-shadow: 0 0 0 2px $linx-red-theme-rgb; + } + } + &.has-error{ + .ant-input{ + border-color: $linx-red-danger-color; + &:hover{ + border-color: $linx-red-danger-color; + } + &:focus{ + border-color: $linx-red-danger-color; + } + } + } + } + } -- Gitee