|
|
|
@ -22,13 +22,43 @@ |
|
|
|
@mixin _mat-form-field-overwrites($primary, $config-or-theme) { |
|
|
|
.mat-mdc-form-field.mat-form-field-appearance-fill { |
|
|
|
.mdc-text-field--filled { |
|
|
|
background-color: rgba(mat.get-color-from-palette($primary), 0.03); |
|
|
|
&:before { |
|
|
|
content: ""; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
position: absolute; |
|
|
|
left: 0; |
|
|
|
top: 0; |
|
|
|
background-color: mat.get-color-from-palette($primary); |
|
|
|
opacity: 0.03; |
|
|
|
} |
|
|
|
background-color: transparent; |
|
|
|
&:not(.mdc-text-field--disabled) { |
|
|
|
background-color: rgba(mat.get-color-from-palette($primary), 0.06); |
|
|
|
&:before { |
|
|
|
content: ""; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
position: absolute; |
|
|
|
left: 0; |
|
|
|
top: 0; |
|
|
|
background-color: mat.get-color-from-palette($primary); |
|
|
|
opacity: 0.06; |
|
|
|
} |
|
|
|
background-color: transparent; |
|
|
|
} |
|
|
|
} |
|
|
|
.mat-mdc-form-field-focus-overlay { |
|
|
|
background-color: rgba(mat.get-color-from-palette($primary), 0.87); |
|
|
|
&:before { |
|
|
|
content: ""; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
position: absolute; |
|
|
|
left: 0; |
|
|
|
top: 0; |
|
|
|
background-color: mat.get-color-from-palette($primary); |
|
|
|
opacity: 0.87; |
|
|
|
} |
|
|
|
background-color: transparent; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|