Skip to content

Commit

Permalink
Merge pull request dbeaver#346 from dbeaver/fix/small-ui-changes
Browse files Browse the repository at this point in the history
fix: autofill support readonly/disabled
  • Loading branch information
Wroud authored Apr 12, 2021
2 parents 3d2d9a5 + 34288f7 commit b1911d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions webapp/packages/core-theming/src/styles/_form-controls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,19 @@
@include mdc-theme-prop(border-color, input-border-readonly, false);
@include mdc-theme-prop(background-color, input-background-readonly, false);
opacity: 0.8;
&:-internal-autofill-selected,
&:-internal-autofill-previewed {
box-shadow: 0 0 0 50px $input-background-readonly inset;
}
}
&:global([disabled]) {
@include mdc-theme-prop(border-color, input-border-disabled, false);
@include mdc-theme-prop(background-color, input-background-disabled, false);
opacity: 0.7;
&:-internal-autofill-selected,
&:-internal-autofill-previewed {
box-shadow: 0 0 0 50px $input-background-disabled inset;
}
}
&:global([data-embedded]) {
&:global([disabled]),
Expand Down

0 comments on commit b1911d6

Please sign in to comment.