fix: form styles

This commit is contained in:
Wroud
2021-11-22 12:08:50 +03:00
parent c94f44dcfd
commit bfc7fc5b01
2 changed files with 5 additions and 3 deletions
@@ -74,7 +74,7 @@ const styles = composes(
display: flex;
flex-direction: row;
align-items: center;
padding: 4px 12px;
padding: 8px 12px;
text-align: left;
outline: none;
color: inherit;
@@ -93,7 +93,8 @@
&:not([|select]):global([readonly]) {
@include mdc-theme-prop(border-color, input-border-readonly, false);
@include mdc-theme-prop(background-color, input-background-readonly, false);
opacity: 0.8;
/*opacity: 0.8;*/
opacity: 1;
&:-internal-autofill-selected,
&:-internal-autofill-previewed {
box-shadow: 0 0 0 50px $input-background-readonly inset;
@@ -102,7 +103,8 @@
&: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;
/*opacity: 0.7;*/
opacity: 1;
&:-internal-autofill-selected,
&:-internal-autofill-previewed {
box-shadow: 0 0 0 50px $input-background-disabled inset;