Skip to content
Snippets Groups Projects
Commit a2ffc05d authored by Alex ORLUC's avatar Alex ORLUC
Browse files

fix custom label contact

parent a1c81d09
No related branches found
No related tags found
No related merge requests found
...@@ -122,6 +122,7 @@ ...@@ -122,6 +122,7 @@
</mat-form-field> </mat-form-field>
</ng-container> </ng-container>
<ng-container *ngIf="field.type === 'radio'"> <ng-container *ngIf="field.type === 'radio'">
<label class="labelCustom">{{field.label}}</label>
<mat-radio-group class="radio-form" color="primary" [formControl]="field.control"> <mat-radio-group class="radio-form" color="primary" [formControl]="field.control">
<mat-radio-button *ngFor="let value of field.values" [value]="value.id"> <mat-radio-button *ngFor="let value of field.values" [value]="value.id">
{{value.label}} {{value.label}}
...@@ -129,6 +130,7 @@ ...@@ -129,6 +130,7 @@
</mat-radio-group> </mat-radio-group>
</ng-container> </ng-container>
<ng-container *ngIf="field.type === 'checkbox'"> <ng-container *ngIf="field.type === 'checkbox'">
<label class="labelCustom">{{field.label}}</label>
<mat-selection-list #shoes class="checkbox-form" [formControl]="field.control"> <mat-selection-list #shoes class="checkbox-form" [formControl]="field.control">
<mat-list-option *ngFor="let value of field.values" [value]="value.id" <mat-list-option *ngFor="let value of field.values" [value]="value.id"
color="primary" checkboxPosition="before"> color="primary" checkboxPosition="before">
......
@import '../../../../../css/vars.scss'; @import "../../../../../css/vars.scss";
.contact-item { .contact-item {
height: auto !important; height: auto !important;
} }
.multipleUnits div:nth-child(1) { .multipleUnits div:nth-child(1) {
display: inline-grid !important; display: inline-grid !important;
width: 50%; width: 50%;
} }
.multipleUnits div:nth-child(2) { .multipleUnits div:nth-child(2) {
display: inline-grid !important; display: inline-grid !important;
width: 50%; width: 50%;
} }
.unitTitle { .unitTitle {
display: flex; display: flex;
color: $primary; color: $primary;
} }
.contact-address { .contact-address {
cursor: pointer; cursor: pointer;
color: #337ab7; color: #337ab7;
&:hover { &:hover {
.contact-content { .contact-content {
text-decoration: underline; text-decoration: underline;
}
} }
}
} }
.smallInput { .smallInput {
font-size: 11px; font-size: 11px;
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
.mat-button { .mat-button {
width: 30px; width: 30px;
height: 25px; height: 25px;
color: $primary; color: $primary;
::ng-deep.mat-button-wrapper { ::ng-deep.mat-button-wrapper {
display: flex; display: flex;
line-height: initial; line-height: initial;
align-items: center; align-items: center;
}
}
::ng-deep.mat-form-field-infix {
padding : 0px;
padding-bottom: 5px;
} }
}
::ng-deep.mat-form-field-infix {
padding: 0px;
padding-bottom: 5px;
}
} }
.radio-form { .radio-form {
display: flex; display: flex;
.mat-radio-button { .mat-radio-button {
flex: 1; flex: 1;
} }
} }
.checkbox-form { .checkbox-form {
overflow: auto; overflow: auto;
max-height: 200px; max-height: 200px;
} }
.loading { .loading {
display: flex; display: flex;
height: 100%; height: 100%;
} }
.fillingBar { .fillingBar {
::ng-deep .mat-progress-bar-buffer { ::ng-deep .mat-progress-bar-buffer {
background: #E4E8EB; background: #e4e8eb;
} }
} }
.rate { .rate {
font-size: 10px; font-size: 10px;
text-align: right; text-align: right;
} }
.fillingBar.mat-warn { .fillingBar.mat-warn {
::ng-deep.mat-progress-bar-fill::after { ::ng-deep.mat-progress-bar-fill::after {
background-color: #E81C2B; background-color: #e81c2b;
} }
} }
.fillingBar.mat-primary { .fillingBar.mat-primary {
::ng-deep.mat-progress-bar-fill::after { ::ng-deep.mat-progress-bar-fill::after {
background-color: #F4891E; background-color: #f4891e;
} }
} }
.fillingBar.mat-accent { .fillingBar.mat-accent {
::ng-deep.mat-progress-bar-fill::after { ::ng-deep.mat-progress-bar-fill::after {
background-color: #0AA34F; background-color: #0aa34f;
} }
} }
.mat-error { .mat-error {
font-size: 10px; font-size: 10px;
text-align: right; text-align: right;
font-weight: bold; font-weight: bold;
} }
\ No newline at end of file
.labelCustom {
color: rgba(0, 0, 0, 0.54);
transform: scale(0.75);
font-weight: 400;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment