From 5c992dc8ee50dad0e86c9d4d74bba077a9817f63 Mon Sep 17 00:00:00 2001 From: sergeyteleshev Date: Wed, 16 Oct 2024 06:46:55 +0200 Subject: [PATCH] CB-5811 applies new design styles for selects, textareas with disabled or readonly prop (#2999) Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com> Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com> --- webapp/packages/core-theming/src/styles/_form-controls.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/packages/core-theming/src/styles/_form-controls.scss b/webapp/packages/core-theming/src/styles/_form-controls.scss index 96994afe84..7da154c1f5 100644 --- a/webapp/packages/core-theming/src/styles/_form-controls.scss +++ b/webapp/packages/core-theming/src/styles/_form-controls.scss @@ -83,11 +83,13 @@ box-shadow: 0 0 0 50px $input-background-readonly inset; } } - &:not([data-select='true'])[disabled] { + + &[disabled] { @include mdc-theme-prop(color, input-color-readonly, false); @include mdc-theme-prop(border-color, input-border-readonly, false); @include mdc-theme-prop(background-color, input-background-readonly, false); pointer-events: all; + opacity: 1; &:-internal-autofill-selected, &:-internal-autofill-previewed { box-shadow: 0 0 0 50px $input-background-readonly inset;