diff --git a/src/frontend/app/notes/note-editor.component.html b/src/frontend/app/notes/note-editor.component.html index f5ac2107555b688a68424e2c6675c85c2ca6bd84..f28330824bc5994954f698da3a06a1531d9863d5 100644 --- a/src/frontend/app/notes/note-editor.component.html +++ b/src/frontend/app/notes/note-editor.component.html @@ -53,8 +53,8 @@ <mat-icon fontSet="far" fontIcon="fa-paper-plane fa-2x"></mat-icon> </button> </mat-form-field> -<div style="overflow: auto;max-height: 75px;background:white;"> - <div style="font-size: 11px;position: sticky;top: 0px;">{{lang.noteVisibleBy}}</div> +<div style="overflow: auto;max-height: 75px;"> + <div style="font-size: 11px;position: sticky;top: 0px;" [style.background]="upMode ? '#FFEDCC' : 'white'">{{lang.noteVisibleBy}}</div> <span *ngIf="entitiesRestriction.length === 0" class="label label-default noNoteRestriction">{{lang.all}}</span> <ng-container *ngFor="let entity of entities | sortBy: 'entity_label';let i=index;"> <span *ngIf="entitiesRestriction.indexOf(entity.id) > -1" class="label label-default noteRestriction" diff --git a/src/frontend/app/notes/notes-list.component.html b/src/frontend/app/notes/notes-list.component.html index a9d39a6a3cd4c5c940ecd21b731ae6f3788dc3ae..cdd9a828884783c34fae16206666b57303679ac4 100644 --- a/src/frontend/app/notes/notes-list.component.html +++ b/src/frontend/app/notes/notes-list.component.html @@ -8,7 +8,7 @@ {{lang.noNote}} </div> <mat-card *ngFor="let note of notes" style="margin-top: 10px;" - [ngStyle]="{'background-color': note.entities_restriction ? 'rgba(255, 165, 0, 0.2)' : 'white'}"> + [ngStyle]="{'background-color': note.entities_restriction ? '#FFEDCC' : 'white'}"> <mat-card-header> <div mat-card-avatar><i color="primary" class="fa fa-user"></i></div> <mat-card-title>{{note.firstname}} {{note.lastname}}</mat-card-title>