bold font for checked boxes (#3381)

This commit is contained in:
Denys Vuika 2018-05-23 19:21:05 +01:00 committed by Eugenio Romano
parent 3a699a38d4
commit 30f13cdecd
3 changed files with 12 additions and 10 deletions

View File

@ -1,9 +1,11 @@
<mat-checkbox <div class="checklist">
*ngFor="let option of options" <mat-checkbox
[checked]="option.checked" *ngFor="let option of options"
(change)="changeHandler($event, option)"> [checked]="option.checked"
{{ option.name | translate }} (change)="changeHandler($event, option)">
</mat-checkbox> {{ option.name | translate }}
</mat-checkbox>
</div>
<div class="facet-buttons" *ngIf="options.fitsPage"> <div class="facet-buttons" *ngIf="options.fitsPage">
<button mat-button color="primary" (click)="reset()"> <button mat-button color="primary" (click)="reset()">

View File

@ -1,8 +1,4 @@
.adf-search-check-list { .adf-search-check-list {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.mat-checkbox {
margin: 5px;
}
} }

View File

@ -6,6 +6,10 @@
.mat-checkbox { .mat-checkbox {
margin: 5px; margin: 5px;
&.mat-checkbox-checked .mat-checkbox-label {
font-weight: bold;
}
} }
} }