Skip to content

Commit

Permalink
Merge branch 'devel' into CB-5710-aws-integration-for-cloud-explorer-…
Browse files Browse the repository at this point in the history
…and-storage
  • Loading branch information
dariamarutkina authored Oct 11, 2024
2 parents d0a8c63 + fd711b0 commit 11b0ccf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion webapp/packages/core-theming/src/styles/_checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $mdc-checkbox-icon-size: 16px;
@extend .mdc-checkbox__native-control;

&:disabled {
opacity: 0 !important;
opacity: 0;
}
}
.theme-checkbox__background {
Expand Down
13 changes: 10 additions & 3 deletions webapp/packages/core-theming/src/styles/_form-controls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,20 @@
@include mdc-theme-prop(border-color, primary, false);
}

&:not([data-select='true'])[readonly],
&:not([data-select='true'])[disabled] {
&:not([data-select='true'])[readonly] {
@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);
opacity: 1;
cursor: text;
&:-internal-autofill-selected,
&:-internal-autofill-previewed {
box-shadow: 0 0 0 50px $input-background-readonly inset;
}
}
&:not([data-select='true'])[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;
&:-internal-autofill-selected,
&:-internal-autofill-previewed {
Expand Down

0 comments on commit 11b0ccf

Please sign in to comment.