[ACS-8630] - Replacing mat-icon elements

This commit is contained in:
VitoAlbano
2026-08-03 13:13:47 +01:00
parent faf012c675
commit a74979e399
9 changed files with 8 additions and 8 deletions
@@ -1,6 +1,5 @@
/* Variables in this file are used in the Angular Material library. Do not modify them unless you know what you are doing. */
$mat-icon: '.mat-icon';
$mat-focused: '.mat-focused';
$mat-line: '.mat-line';
$mat-tab-label: '.mat-mdc-tab';
@@ -120,7 +120,7 @@
[matTooltip]="'FORM.FORM_RENDERER.DELETE_ROW' | translate"
(click)="displayDialogToRemoveRow(currentRootElement.field, rowIndex)"
>
<mat-icon adf-icon="close" />
<mat-icon class="adf-grid-list-row-remove-button-icon" adf-icon="close" />
</button>
}
</div>
@@ -93,7 +93,7 @@
align-items: center;
justify-content: center;
#{ms.$mat-icon} {
.adf-grid-list-row-remove-button-icon {
display: flex;
justify-content: center;
align-items: center;
@@ -18,7 +18,7 @@
class="adf-info-drawer-tab">
<ng-template mat-tab-label>
<mat-icon *ngIf="contentBlock.icon" [adf-icon]="contentBlock.icon" />
<mat-icon *ngIf="contentBlock.icon" class="adf-info-drawer-tab-icon" [adf-icon]="contentBlock.icon" />
<span *ngIf="contentBlock.label">{{ contentBlock.label | translate }}</span>
</ng-template>
@@ -43,7 +43,7 @@
#{ms.$mat-tab-label-text} {
flex-grow: 1;
#{ms.$mat-icon} + span {
.adf-info-drawer-tab-icon + span {
padding-left: 5px;
}
}
@@ -32,6 +32,8 @@
}
.adf-layout-container-sidenav {
// Icons here are projected by the consuming app via <ng-content>,
// so ADF cannot attach its own class to them.
#{ms.$mat-icon} {
vertical-align: sub;
}
@@ -21,7 +21,7 @@
class="adf-attach-folder-menu-trigger"
>
{{ 'FORM.FIELD.UPLOAD' | translate }}
<mat-icon>cloud_upload</mat-icon>
<mat-icon class="adf-attach-folder-menu-trigger-icon">cloud_upload</mat-icon>
</button>
</div>
</div>
@@ -42,7 +42,7 @@
display: flex;
flex-direction: row-reverse;
#{ms.$mat-icon} {
.adf-attach-folder-menu-trigger-icon {
margin-left: 4px;
margin-right: 0;
}
@@ -15,7 +15,6 @@ $mat-button-label: '.mdc-button__label';
$mat-input-element: '.mat-mdc-input-element';
$mat-dialog-actions: '.mat-mdc-dialog-actions';
$mat-line: '.mat-line';
$mat-icon: '.mat-icon';
$mat-select-value-text: '.mat-mdc-select-value-text';
$mat-form-field-label: '.mat-mdc-floating-label';
$mat-form-field: '.mat-mdc-form-field';