From 6ea79b297f5d026f4311dec9fe4c8e6cbbbb16e0 Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Tue, 25 May 2021 13:36:26 +0200 Subject: [PATCH] tweak message context icons Signed-off-by: Michael Weimann --- .../context_menus/_MessageContextMenu.scss | 19 +++++-------------- res/img/element-icons/message/fwd.svg | 3 +++ res/img/element-icons/warning-badge.svg | 7 +++---- 3 files changed, 11 insertions(+), 18 deletions(-) create mode 100644 res/img/element-icons/message/fwd.svg diff --git a/res/css/views/context_menus/_MessageContextMenu.scss b/res/css/views/context_menus/_MessageContextMenu.scss index c22518387a..4900488bb8 100644 --- a/res/css/views/context_menus/_MessageContextMenu.scss +++ b/res/css/views/context_menus/_MessageContextMenu.scss @@ -38,7 +38,7 @@ limitations under the License. } .mx_MessageContextMenu_iconReport::before { - mask-image: url('$(res)/img/feather-customised/warning-triangle.svg'); + mask-image: url('$(res)/img/element-icons/warning-badge.svg'); } .mx_MessageContextMenu_iconLink::before { @@ -46,7 +46,7 @@ limitations under the License. } .mx_MessageContextMenu_iconPermalink::before { - mask-image: url('$(res)/img/element-icons/message/share.svg'); + mask-image: url('$(res)/img/element-icons/room/share.svg'); } .mx_MessageContextMenu_iconUnhidePreview::before { @@ -54,20 +54,11 @@ limitations under the License. } .mx_MessageContextMenu_iconForward::before { - mask-image: url('$(res)/img/element-icons/message/corner-up-right.svg'); - } - - .mx_MessageContextMenu_iconCancel::before { - height: 12px; - left: 2px; - mask-image: url('$(res)/img/cancel.svg'); - position: relative; - top: 2px; - width: 12px; + mask-image: url('$(res)/img/element-icons/message/fwd.svg'); } .mx_MessageContextMenu_iconRedact::before { - mask-image: url('$(res)/img/feather-customised/trash.custom.svg'); + mask-image: url('$(res)/img/element-icons/trashcan.svg'); } .mx_MessageContextMenu_iconResend::before { @@ -79,7 +70,7 @@ limitations under the License. } .mx_MessageContextMenu_iconQuote::before { - mask-image: url('$(res)/img/format/quote.svg'); + mask-image: url('$(res)/img/element-icons/room/format-bar/quote.svg'); } .mx_MessageContextMenu_iconPin::before { diff --git a/res/img/element-icons/message/fwd.svg b/res/img/element-icons/message/fwd.svg new file mode 100644 index 0000000000..8bcc70d092 --- /dev/null +++ b/res/img/element-icons/message/fwd.svg @@ -0,0 +1,3 @@ + + + diff --git a/res/img/element-icons/warning-badge.svg b/res/img/element-icons/warning-badge.svg index 1ae4e40ffe..4e2ff75679 100644 --- a/res/img/element-icons/warning-badge.svg +++ b/res/img/element-icons/warning-badge.svg @@ -1,5 +1,4 @@ - - - - + +