From a055b7f90f6df745c0c5771668bc6cbecb435d27 Mon Sep 17 00:00:00 2001 From: Badi ifaoui Date: Fri, 19 Jan 2024 13:54:55 +0100 Subject: [PATCH] feat(#32): custom icons updates --- res/css/superhero/custom.css | 15 +++++++++++++++ res/themes/superhero/img/icons/leave.svg | 6 ++++++ 2 files changed, 21 insertions(+) create mode 100644 res/themes/superhero/img/icons/leave.svg diff --git a/res/css/superhero/custom.css b/res/css/superhero/custom.css index 02428019489..f38e449669d 100644 --- a/res/css/superhero/custom.css +++ b/res/css/superhero/custom.css @@ -876,3 +876,18 @@ h2 .sh_VerifiedIcon { .mx_HomePage_default .mx_HomePage_default_buttons .mx_AccessibleButton.mx_HomePage_button_custom::before { display: none !important; } + +.mx_RoomGeneralContextMenu_iconSignOut::before { + -webkit-mask-image: url("../../themes/superhero/img/icons/leave.svg") !important; + mask-image: url("../../themes/superhero/img/icons/leave.svg") !important; +} + +.mx_RoomTile_contextMenu .mx_RoomTile_iconSignOut::before { + -webkit-mask-image: url("../../themes/superhero/img/icons/leave.svg") !important; + mask-image: url("../../themes/superhero/img/icons/leave.svg") !important; +} + +.mx_IconizedContextMenu .mx_IconizedContextMenu_option_red .mx_IconizedContextMenu_icon::before { + -webkit-mask-image: url("../../themes/superhero/img/icons/leave.svg") !important; + mask-image: url("../../themes/superhero/img/icons/leave.svg") !important; +} diff --git a/res/themes/superhero/img/icons/leave.svg b/res/themes/superhero/img/icons/leave.svg new file mode 100644 index 00000000000..1434c924df2 --- /dev/null +++ b/res/themes/superhero/img/icons/leave.svg @@ -0,0 +1,6 @@ + + + + + +