From 7293d6b95c70b093b058f05655099ab521d45882 Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Mon, 1 May 2023 21:50:56 +0200 Subject: [PATCH] :sparkles: Disabled input --- .../Form/Elements/InputField/classes.module.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/front/Components/DesignSystem/Form/Elements/InputField/classes.module.scss b/src/front/Components/DesignSystem/Form/Elements/InputField/classes.module.scss index b3731010..3bf27c20 100644 --- a/src/front/Components/DesignSystem/Form/Elements/InputField/classes.module.scss +++ b/src/front/Components/DesignSystem/Form/Elements/InputField/classes.module.scss @@ -27,12 +27,15 @@ &:disabled { cursor: not-allowed; + background: white; + opacity: 0.6; ~ .fake-placeholder { + color: rgba($grey, 0.6); /** TODO * 1. Add styles so the placeholder has the same color as the background when disabled */ - background: transparent; + // background: transparent; } } &:focus {