use the primary color (blue) for save buttons instead of the Amazon orange
This commit is contained in:
@@ -18,5 +18,5 @@
|
||||
|
||||
<div mat-dialog-actions align="end">
|
||||
<button mat-button mat-dialog-close >Cancel</button>
|
||||
<button class="save-button" mat-button mat-dialog-close (click)="onSaveClick()">Save</button>
|
||||
<button class="save-button" mat-flat-button mat-dialog-close (click)="onSaveClick()">Save</button>
|
||||
</div>
|
||||
|
||||
@@ -34,5 +34,5 @@
|
||||
</div>
|
||||
<div mat-dialog-actions align="end">
|
||||
<button mat-button mat-dialog-close (click)="close()">Cancel</button>
|
||||
<button class="save-button" mat-button mat-dialog-close (click)="onSaveClick()">Save</button>
|
||||
<button class="save-button" mat-flat-button mat-dialog-close (click)="onSaveClick()">Save</button>
|
||||
</div>
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
<div class="toolbar">
|
||||
<button mat-button (click)="addText()">Add Text</button>
|
||||
<button mat-button (click)="addPlot()">Add Plot</button>
|
||||
<button class="save-button" mat-button (click)="save()" [disabled]="!isDirty()">Save</button>
|
||||
<button class="save-button" mat-flat-button (click)="save()" [disabled]="!isDirty()">Save</button>
|
||||
<div id="filter-date-range">
|
||||
Date range: <app-date-picker #datePicker (dateValueSelected)="updateDateRange($event)" ></app-date-picker>
|
||||
</div>
|
||||
|
||||
@@ -65,6 +65,8 @@ grey
|
||||
*/
|
||||
$background-color: #CBD7F4;
|
||||
|
||||
|
||||
|
||||
.mat-mdc-option span.mdc-list-item__primary-text,
|
||||
.mdc-list-item__primary-text {
|
||||
font-size: 1rem;
|
||||
@@ -78,6 +80,12 @@ mat-form-field .mat-mdc-option span.mdc-list-item__primary-text{
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
// set colors for flat buttons (directive mat-flat-button)
|
||||
// make them blue with white text when active and transparent with the default text color of light grey when disabled
|
||||
--mdc-filled-button-label-text-color: white;
|
||||
--mdc-filled-button-container-color: #005cbb;
|
||||
--mdc-filled-button-disabled-container-color: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
@@ -105,13 +113,6 @@ button[disabled] .icon-inline {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
button.save-button {
|
||||
background-color: #ff9900;
|
||||
}
|
||||
button.save-button:disabled {
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
.icon-tiny {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
|
||||
Reference in New Issue
Block a user