From b6f68c5c2648edca1f4d7975211df5299139444c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com> Date: Fri, 3 Mar 2023 15:03:37 +0800 Subject: [PATCH] =?UTF-8?q?input=E3=80=81select=E7=BB=84=E4=BB=B6=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E8=89=B2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.less | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/src/index.less b/src/index.less index 1aa3ba7..e098117 100644 --- a/src/index.less +++ b/src/index.less @@ -124,3 +124,40 @@ code { background-color: #ff4d4f !important; color: white !important; } + +.ant-input:focus, +.ant-input-focused { + border-color: #ff4d4f !important; + box-shadow: none; +} +.ant-input:active { + border-color: #ff4d4f !important; + box-shadow: none; +} + +.ant-input:hover { + border-color: #ff4d4f !important; +} + +.ant-input-password:hover { + border-color: #ff4d4f !important; +} + +.ant-input-affix-wrapper-focused { + border-color: #ff4d4f !important; + box-shadow: none; +} + +textarea.ant-input { + vertical-align: middle; +} + +.ant-select:not(.ant-select-disabled):hover .ant-select-selector { + border-color: #ff4d4f !important; +} +.ant-select-focused .ant-select-selector, +.ant-select-selector:focus, +.ant-select-selector:active { + border-color: #ff4d4f !important; + box-shadow: 0 0 2px #ff4d4f !important; +}