修改输入框自动填充样式

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

View File

@ -243,31 +243,28 @@
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, input:-webkit-autofill:focus,
input:-webkit-autofill:focus, textarea:-webkit-autofill,
textarea:-webkit-autofill, textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:focus, select:-webkit-autofill,
select:-webkit-autofill, select:-webkit-autofill:hover,
select:-webkit-autofill:hover, select:-webkit-autofill:focus {
select:-webkit-autofill:focus { border: none;
border: 1px solid @border-color-base; 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 {
opacity: 0.5 !important; opacity: 0.5 !important;
} }
.ant-select-selection-placeholder { .ant-select-selection-placeholder {
opacity: 0.5 !important; opacity: 0.5 !important;
}
} }
.ant-pro-basicLayout-content { .ant-pro-basicLayout-content {