mat-form-field

Changing color of mat form ripple conditionally

爱⌒轻易说出口 提交于 2021-02-10 14:57:10
问题 I am working on a angular app. I am using mat-form-field as follows. <mat-form-field appearance="fill"> <mat-label id="title">{{ title }} </mat-label> <input formControlName="title" matInput id="title" (click)='updateValue("title")' readonly> </mat-form-field> I get a rectangle shaped form field with above code. When I hover over the bottom line of mat form field like when I take my mouse on bottom of a particular form field I want to change color. For it I am suing following CSS .mat-form

Changing color of mat form ripple conditionally

蓝咒 提交于 2021-02-10 14:56:22
问题 I am working on a angular app. I am using mat-form-field as follows. <mat-form-field appearance="fill"> <mat-label id="title">{{ title }} </mat-label> <input formControlName="title" matInput id="title" (click)='updateValue("title")' readonly> </mat-form-field> I get a rectangle shaped form field with above code. When I hover over the bottom line of mat form field like when I take my mouse on bottom of a particular form field I want to change color. For it I am suing following CSS .mat-form

Problem mat-form-field outline background-color on hover

蹲街弑〆低调 提交于 2021-02-07 18:38:18
问题 I have a CSS problem when I pass my mouse over a mat-form-field . To be able to use a colored mat-card, I added some CSS class in style.scss to change the background-color of the mat-form-field . .mat-form-field-appearance-outline .mat-form-field-outline-start { background-color: white!important; } .mat-form-field-appearance-outline .mat-form-field-outline-gap { background-color: white!important; } .mat-form-field-appearance-outline .mat-form-field-outline-end { background-color: white

Problem mat-form-field outline background-color on hover

十年热恋 提交于 2021-02-07 18:38:05
问题 I have a CSS problem when I pass my mouse over a mat-form-field . To be able to use a colored mat-card, I added some CSS class in style.scss to change the background-color of the mat-form-field . .mat-form-field-appearance-outline .mat-form-field-outline-start { background-color: white!important; } .mat-form-field-appearance-outline .mat-form-field-outline-gap { background-color: white!important; } .mat-form-field-appearance-outline .mat-form-field-outline-end { background-color: white