[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:
siva kumar
2018-01-03 16:36:01 +05:30
committed by Maurizio Vitale
parent e66cb4035a
commit 771cea1f11
4 changed files with 11 additions and 2 deletions

View File

@@ -31,6 +31,6 @@
</mat-card-content>
<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()" [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>

View File

@@ -16,6 +16,9 @@
}
mat-card-actions {
text-align: right;
.mat-button {
text-transform: uppercase !important;
}
}
}
&-process-input-container {

View File

@@ -74,7 +74,7 @@
<button mat-button (click)="onCancel()" id="button-cancle">
{{'ADF_TASK_LIST.START_TASK.FORM.ACTION.CANCEL'|translate}}
</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}}
</button>
</div>

View File

@@ -46,6 +46,12 @@
adf-start-task {
.adf {
&-new-task-footer {
.mat-button {
text-transform: uppercase !important;
}
}
&-start-task-input-container .mat-input-wrapper {
padding-top: 8px;
}