From 65ee61fa6a6052650a0296678d88579488a3063b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de> Date: Fri, 30 Aug 2019 10:26:26 +0200 Subject: [PATCH] Change 'read'-filter-icon to beamer-icon --- .../shared/comment-list/comment-list.component.html | 7 +------ .../shared/comment-list/comment-list.component.scss | 4 ---- src/app/components/shared/comment/comment.component.scss | 4 ---- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/src/app/components/shared/comment-list/comment-list.component.html b/src/app/components/shared/comment-list/comment-list.component.html index 327747c30..30014e013 100644 --- a/src/app/components/shared/comment-list/comment-list.component.html +++ b/src/app/components/shared/comment-list/comment-list.component.html @@ -76,12 +76,7 @@ <button mat-icon-button (focus)="hideCommentsList=true" matTooltip="{{ 'comment-list.read' | translate }}" (click)="filterComments(read)"> - <mat-icon [ngClass]="{read: 'read-icon'}[currentFilter]">speaker_notes</mat-icon> - </button> - - <button mat-icon-button (focus)="hideCommentsList=true" matTooltip="{{ 'comment-list.unread' | translate }}" - (click)="filterComments(unread)"> - <mat-icon [ngClass]="{unread: 'unread-icon'}[currentFilter]">speaker_notes_off</mat-icon> + <mat-icon svgIcon="beamer" [ngClass]="{read: 'read-icon'}[currentFilter]"></mat-icon> </button> <button mat-icon-button (focus)="hideCommentsList=false" (click)="sortComments(currentSort); filterComments('')"> diff --git a/src/app/components/shared/comment-list/comment-list.component.scss b/src/app/components/shared/comment-list/comment-list.component.scss index 0ff43b130..1ce91857d 100644 --- a/src/app/components/shared/comment-list/comment-list.component.scss +++ b/src/app/components/shared/comment-list/comment-list.component.scss @@ -116,10 +116,6 @@ h4 { color: var(--yellow); } -.unread-icon { - color: var(--purple); -} - .counter { color: var(--on-background); } diff --git a/src/app/components/shared/comment/comment.component.scss b/src/app/components/shared/comment/comment.component.scss index e2b6d1cdc..0fb3ac61c 100644 --- a/src/app/components/shared/comment/comment.component.scss +++ b/src/app/components/shared/comment/comment.component.scss @@ -33,10 +33,6 @@ mat-card-content > :first-child { color: var(--green); } -.read-icon { - color: var(--blue); -} - .favorite-icon { color: var(--yellow); } -- GitLab