mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-8630] - Replacing mat-icon elements
This commit is contained in:
@@ -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. */
|
/* 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-focused: '.mat-focused';
|
||||||
$mat-line: '.mat-line';
|
$mat-line: '.mat-line';
|
||||||
$mat-tab-label: '.mat-mdc-tab';
|
$mat-tab-label: '.mat-mdc-tab';
|
||||||
|
|||||||
@@ -120,7 +120,7 @@
|
|||||||
[matTooltip]="'FORM.FORM_RENDERER.DELETE_ROW' | translate"
|
[matTooltip]="'FORM.FORM_RENDERER.DELETE_ROW' | translate"
|
||||||
(click)="displayDialogToRemoveRow(currentRootElement.field, rowIndex)"
|
(click)="displayDialogToRemoveRow(currentRootElement.field, rowIndex)"
|
||||||
>
|
>
|
||||||
<mat-icon adf-icon="close" />
|
<mat-icon class="adf-grid-list-row-remove-button-icon" adf-icon="close" />
|
||||||
</button>
|
</button>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
#{ms.$mat-icon} {
|
.adf-grid-list-row-remove-button-icon {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
class="adf-info-drawer-tab">
|
class="adf-info-drawer-tab">
|
||||||
|
|
||||||
<ng-template mat-tab-label>
|
<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>
|
<span *ngIf="contentBlock.label">{{ contentBlock.label | translate }}</span>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
#{ms.$mat-tab-label-text} {
|
#{ms.$mat-tab-label-text} {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|
||||||
#{ms.$mat-icon} + span {
|
.adf-info-drawer-tab-icon + span {
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.adf-layout-container-sidenav {
|
.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} {
|
#{ms.$mat-icon} {
|
||||||
vertical-align: sub;
|
vertical-align: sub;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@
|
|||||||
class="adf-attach-folder-menu-trigger"
|
class="adf-attach-folder-menu-trigger"
|
||||||
>
|
>
|
||||||
{{ 'FORM.FIELD.UPLOAD' | translate }}
|
{{ 'FORM.FIELD.UPLOAD' | translate }}
|
||||||
<mat-icon>cloud_upload</mat-icon>
|
<mat-icon class="adf-attach-folder-menu-trigger-icon">cloud_upload</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
|
|
||||||
#{ms.$mat-icon} {
|
.adf-attach-folder-menu-trigger-icon {
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ $mat-button-label: '.mdc-button__label';
|
|||||||
$mat-input-element: '.mat-mdc-input-element';
|
$mat-input-element: '.mat-mdc-input-element';
|
||||||
$mat-dialog-actions: '.mat-mdc-dialog-actions';
|
$mat-dialog-actions: '.mat-mdc-dialog-actions';
|
||||||
$mat-line: '.mat-line';
|
$mat-line: '.mat-line';
|
||||||
$mat-icon: '.mat-icon';
|
|
||||||
$mat-select-value-text: '.mat-mdc-select-value-text';
|
$mat-select-value-text: '.mat-mdc-select-value-text';
|
||||||
$mat-form-field-label: '.mat-mdc-floating-label';
|
$mat-form-field-label: '.mat-mdc-floating-label';
|
||||||
$mat-form-field: '.mat-mdc-form-field';
|
$mat-form-field: '.mat-mdc-form-field';
|
||||||
|
|||||||
Reference in New Issue
Block a user