Merge pull request #346 from dbeaver/fix/small-ui-changes

fix: autofill support readonly/disabled
This commit is contained in:
Alexey
2021-04-12 14:26:29 +03:00
committed by GitHub
@@ -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]),