Skip to content

Commit

Permalink
Merge branch 'devel' into fix/cb-5205/connection-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-anton-t authored Oct 14, 2024
2 parents 58768f9 + fd711b0 commit 79f275e
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 79f275e

Please sign in to comment.