From e55bacd087a16abedfb0d465a34fe0d9f680df99 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 20 Oct 2024 19:22:41 +0300 Subject: [PATCH] add task solution --- src/styles/blocks/contact-form.scss | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/styles/blocks/contact-form.scss b/src/styles/blocks/contact-form.scss index 9f95255d6..82f752988 100644 --- a/src/styles/blocks/contact-form.scss +++ b/src/styles/blocks/contact-form.scss @@ -63,16 +63,23 @@ opacity: 70%; } + + &__input:-webkit-autofill, - &__input:-internal-autofill-selected { - -webkit-text-fill-color: #fff; - background-color: $header-and-footer-background !important; - } + &__input:-webkit-autofill:hover, + &__input:-webkit-autofill:focus, + &__textarea:-webkit-autofill, + &__textarea:-webkit-autofill:hover, + &__textarea:-webkit-autofill:focus, + &__select:-webkit-autofill, + &__select:-webkit-autofill:hover, + &__select:-webkit-autofill:focus { + border-bottom: 1px solid #144ed4; + -webkit-text-fill-color: $footer-text-color; + background-color: $header-and-footer-background; + transition: background-color 5000s ease-in-out 0s; +} - &__input:autofill { - -webkit-text-fill-color: #fff; - background-color: $header-and-footer-background; - } &__button { display: inline-block;