修改输入框自动填充样式

This commit is contained in:
whyour 2022-09-24 14:40:13 +08:00
parent cb870fad85
commit f236119bd6

View File

@ -243,7 +243,6 @@
font-size: 13px; font-size: 13px;
} }
[data-dark='true'] {
/* Change autocomplete styles in WebKit */ /* Change autocomplete styles in WebKit */
input:-webkit-autofill, input:-webkit-autofill,
input:-webkit-autofill:hover, input:-webkit-autofill:hover,
@ -254,11 +253,10 @@
select:-webkit-autofill, select:-webkit-autofill,
select:-webkit-autofill:hover, select:-webkit-autofill:hover,
select:-webkit-autofill:focus { select:-webkit-autofill:focus {
border: 1px solid @border-color-base; border: none;
box-shadow: none; box-shadow: none;
transition: background-color 5000s ease-in-out 0s; transition: background-color 5000s ease-in-out 0s;
-webkit-text-fill-color: @text-color; -webkit-text-fill-color: @text-color;
caret-color: #e8e6f3 !important;
} }
::placeholder { ::placeholder {
@ -268,7 +266,6 @@
.ant-select-selection-placeholder { .ant-select-selection-placeholder {
opacity: 0.5 !important; opacity: 0.5 !important;
} }
}
.ant-pro-basicLayout-content { .ant-pro-basicLayout-content {
margin: 12px; margin: 12px;