mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2095] Start Task - The start button should have the primary colour (#2799)
* [ADF-2095] Start Task - The start button should have the primary colour. * fixed start button should have the primary colour. * [ADF-2095] Start Task/Process - The start button should have the primary colour. * fixed start button should have the primary colour and Uppercase. * * Start task button should have the primary colour
This commit is contained in:
committed by
Maurizio Vitale
parent
e66cb4035a
commit
771cea1f11
@@ -31,6 +31,6 @@
|
|||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
<mat-card-actions *ngIf="!hasStartForm()">
|
<mat-card-actions *ngIf="!hasStartForm()">
|
||||||
<button mat-button *ngIf="!hasStartForm()" (click)="cancelStartProcess()" id="cancle_process" class=""> {{'ADF_PROCESS_LIST.START_PROCESS.FORM.ACTION.CANCEL'| translate}} </button>
|
<button mat-button *ngIf="!hasStartForm()" (click)="cancelStartProcess()" id="cancle_process" class=""> {{'ADF_PROCESS_LIST.START_PROCESS.FORM.ACTION.CANCEL'| translate}} </button>
|
||||||
<button mat-button *ngIf="!hasStartForm()" [disabled]="!validateForm()" (click)="startProcess()" data-automation-id="btn-start" id="button-start" class="btn-start"> {{'ADF_PROCESS_LIST.START_PROCESS.FORM.ACTION.START' | translate}} </button>
|
<button color="primary" mat-button *ngIf="!hasStartForm()" [disabled]="!validateForm()" (click)="startProcess()" data-automation-id="btn-start" id="button-start" class="btn-start"> {{'ADF_PROCESS_LIST.START_PROCESS.FORM.ACTION.START' | translate}} </button>
|
||||||
</mat-card-actions>
|
</mat-card-actions>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
@@ -16,6 +16,9 @@
|
|||||||
}
|
}
|
||||||
mat-card-actions {
|
mat-card-actions {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
.mat-button {
|
||||||
|
text-transform: uppercase !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&-process-input-container {
|
&-process-input-container {
|
||||||
|
@@ -74,7 +74,7 @@
|
|||||||
<button mat-button (click)="onCancel()" id="button-cancle">
|
<button mat-button (click)="onCancel()" id="button-cancle">
|
||||||
{{'ADF_TASK_LIST.START_TASK.FORM.ACTION.CANCEL'|translate}}
|
{{'ADF_TASK_LIST.START_TASK.FORM.ACTION.CANCEL'|translate}}
|
||||||
</button>
|
</button>
|
||||||
<button mat-button [disabled]="!startTaskmodel.name || dateError" (click)="start()" id="button-start">
|
<button color="primary" mat-button [disabled]="!startTaskmodel.name || dateError" (click)="start()" id="button-start">
|
||||||
{{'ADF_TASK_LIST.START_TASK.FORM.ACTION.START'|translate}}
|
{{'ADF_TASK_LIST.START_TASK.FORM.ACTION.START'|translate}}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -46,6 +46,12 @@
|
|||||||
adf-start-task {
|
adf-start-task {
|
||||||
.adf {
|
.adf {
|
||||||
|
|
||||||
|
&-new-task-footer {
|
||||||
|
.mat-button {
|
||||||
|
text-transform: uppercase !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&-start-task-input-container .mat-input-wrapper {
|
&-start-task-input-container .mat-input-wrapper {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user