small improvements
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
<div class="color-preview" [ngStyle]="previewStyle"></div>
|
<div class="color-preview" [ngStyle]="previewStyle"></div>
|
||||||
<span *ngIf="isDefaultColor">(default color)</span>
|
<span *ngIf="isDefaultColor">(default color)</span>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<!-- [(colorPicker)]="selectedColor"-->
|
|
||||||
<i class="material-icons"
|
<i class="material-icons"
|
||||||
colorPicker
|
colorPicker
|
||||||
cpAlphaChannel="disabled"
|
cpAlphaChannel="disabled"
|
||||||
@@ -12,6 +11,6 @@
|
|||||||
[cpCancelButton]="true"
|
[cpCancelButton]="true"
|
||||||
(colorPickerSelect)="selectedColor = $event"
|
(colorPickerSelect)="selectedColor = $event"
|
||||||
>edit</i>
|
>edit</i>
|
||||||
<i class="material-icons" (click)="resetColor()">delete</i>
|
<i *ngIf="!isDefaultColor" class="material-icons" (click)="resetColor()">delete</i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -25,4 +25,8 @@
|
|||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
<lm-custom-color-entry [colors]="curCustomDefaultColor"
|
<lm-custom-color-entry [colors]="curCustomDefaultColor"
|
||||||
(colorChanged)="defaultColorChanged($event)"></lm-custom-color-entry>
|
(colorChanged)="defaultColorChanged($event)"></lm-custom-color-entry>
|
||||||
|
<div class="button-container">
|
||||||
|
<button>Abbrechen</button>
|
||||||
|
<button>Speichern</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -15,3 +15,7 @@
|
|||||||
.header{
|
.header{
|
||||||
background-color: whitesmoke;
|
background-color: whitesmoke;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.button-container{
|
||||||
|
margin-top: 3rem;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user