From 9b6be0f5a95f08009236757654da162b51adb8c6 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 24 Jan 2025 14:52:24 +0000 Subject: [PATCH] Tidy up unused classes & icons in UserMenu styles (#29087) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- res/css/structures/_UserMenu.pcss | 29 -------------------- res/img/element-icons/roomlist/dnd-cross.svg | 3 -- res/img/element-icons/roomlist/dnd.svg | 3 -- 3 files changed, 35 deletions(-) delete mode 100644 res/img/element-icons/roomlist/dnd-cross.svg delete mode 100644 res/img/element-icons/roomlist/dnd.svg diff --git a/res/css/structures/_UserMenu.pcss b/res/css/structures/_UserMenu.pcss index 50e93d23693..2f4099c893a 100644 --- a/res/css/structures/_UserMenu.pcss +++ b/res/css/structures/_UserMenu.pcss @@ -37,27 +37,6 @@ Please see LICENSE files in the repository root for full details. line-height: $font-24px; margin-left: 10px; } - - .mx_UserMenu_dndBadge { - position: absolute; - bottom: -2px; - right: -7px; - width: 16px; - height: 16px; - border-radius: 50%; - - &::before { - content: ""; - width: 16px; - height: 16px; - position: absolute; - mask-position: center; - mask-size: contain; - mask-repeat: no-repeat; - background-color: $alert; - mask-image: url("$(res)/img/element-icons/roomlist/dnd.svg"); - } - } } .mx_IconizedContextMenu { @@ -158,14 +137,6 @@ Please see LICENSE files in the repository root for full details. mask-image: url("@vector-im/compound-design-tokens/icons/home-solid.svg"); } - .mx_UserMenu_iconDnd::before { - mask-image: url("$(res)/img/element-icons/roomlist/dnd.svg"); - } - - .mx_UserMenu_iconDndOff::before { - mask-image: url("$(res)/img/element-icons/roomlist/dnd-cross.svg"); - } - .mx_UserMenu_iconBell::before { mask-image: url("$(res)/img/element-icons/notifications.svg"); } diff --git a/res/img/element-icons/roomlist/dnd-cross.svg b/res/img/element-icons/roomlist/dnd-cross.svg deleted file mode 100644 index 2091d598021..00000000000 --- a/res/img/element-icons/roomlist/dnd-cross.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/res/img/element-icons/roomlist/dnd.svg b/res/img/element-icons/roomlist/dnd.svg deleted file mode 100644 index 8c4a86e5196..00000000000 --- a/res/img/element-icons/roomlist/dnd.svg +++ /dev/null @@ -1,3 +0,0 @@ - - -