mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-15149] Added reference variables to edit task filter component (#8636)
* AAE-15149: Added reference variables to edit task filter component * AAE-15149: Added component variables * AAE-15149: updated variable names * AAE-15149: updated class names targeting directly the elements * AAE-15149: updated class names targeting directly the elements * AAE-15149: Fixed lint errors
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<mat-accordion [hideToggle]="isLoading">
|
||||
<mat-accordion [hideToggle]="isLoading" class="adf-edit-task-filter">
|
||||
<mat-expansion-panel (afterExpand)="onExpand()" (closed)="onClose()">
|
||||
<mat-expansion-panel-header *ngIf="taskFilter" id="adf-edit-task-filter-expansion-header">
|
||||
<mat-expansion-panel-header *ngIf="taskFilter" id="adf-edit-task-filter-expansion-header" class="adf-edit-task-filter-header">
|
||||
<ng-container *ngIf="!isLoading; else loadingTemplate">
|
||||
<mat-panel-title *ngIf="showTaskFilterName" id="adf-edit-task-filter-title-id"
|
||||
<mat-panel-title *ngIf="showTaskFilterName" id="adf-edit-task-filter-title-id" class="adf-edit-task-filter-header__title"
|
||||
>{{taskFilter.name | translate}}</mat-panel-title>
|
||||
<mat-panel-description class="adf-edit-task-filter-description" id="adf-edit-task-filter-sub-title-id">
|
||||
<mat-panel-description class="adf-edit-task-filter-header__description" id="adf-edit-task-filter-sub-title-id">
|
||||
<span *ngIf="showTitle">{{ 'ADF_CLOUD_EDIT_TASK_FILTER.TITLE' | translate}}</span>
|
||||
<div *ngIf="showFilterActions" class="adf-cloud-edit-task-filter-actions">
|
||||
<ng-container *ngIf="toggleFilterActions">
|
||||
|
@@ -42,10 +42,6 @@
|
||||
margin-right: calc((100% - 100px) / 2);
|
||||
}
|
||||
|
||||
&-edit-task-filter-description {
|
||||
place-content: center space-between;
|
||||
}
|
||||
|
||||
&-edit-task-filter-form {
|
||||
flex-flow: row wrap;
|
||||
display: flex;
|
||||
@@ -72,4 +68,19 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-edit-task-filter {
|
||||
&-header {
|
||||
height: var(--adf-edit-task-and-service-filter-header-height);
|
||||
|
||||
&__title {
|
||||
color: var(--adf-edit-task-and-service-filter-header-title-color);
|
||||
}
|
||||
|
||||
&__description {
|
||||
color: var(--adf-edit-task-and-service-filter-header-description-color);
|
||||
place-content: center space-between;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user