input、select组件主题色修改

This commit is contained in:
禺狨 2023-03-03 15:03:37 +08:00
parent a50144cac4
commit b6f68c5c26

View File

@ -124,3 +124,40 @@ code {
background-color: #ff4d4f !important; background-color: #ff4d4f !important;
color: white !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;
}