Skip to content

Commit

Permalink
CB-5811 applies new design styles for selects, textareas with disable…
Browse files Browse the repository at this point in the history
…d or readonly prop (#2999)

Co-authored-by: Daria Marutkina <[email protected]>
Co-authored-by: mr-anton-t <[email protected]>
  • Loading branch information
3 people authored Oct 16, 2024
1 parent 05f85db commit 5c992dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webapp/packages/core-theming/src/styles/_form-controls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5c992dc

Please sign in to comment.