diff --git a/public/sass/base/_forms.scss b/public/sass/base/_forms.scss index 7cf9f7eb1a0..06edf724c5b 100644 --- a/public/sass/base/_forms.scss +++ b/public/sass/base/_forms.scss @@ -230,3 +230,18 @@ input[type='checkbox'].cr1:checked + label { background-image: $form-icon-danger; } } + +input:-webkit-autofill, +input:-webkit-autofill:hover, +input:-webkit-autofill:focus, +input:-webkit-autofill, +textarea:-webkit-autofill, +textarea:-webkit-autofill:hover, +textarea:-webkit-autofill:focus, +select:-webkit-autofill, +select:-webkit-autofill:hover, +select:-webkit-autofill:focus { + -webkit-box-shadow: 0 0 0px 1000px $input-bg inset !important; + -webkit-text-fill-color: $input-color !important; + box-shadow: 0 0 0px 1000px $input-bg inset; +}