Skip to content

Commit 9b6be0f

Browse files
authored
Tidy up unused classes & icons in UserMenu styles (#29087)
Signed-off-by: Michael Telatynski <[email protected]>
1 parent cae0da8 commit 9b6be0f

File tree

3 files changed

+0
-35
lines changed

3 files changed

+0
-35
lines changed

res/css/structures/_UserMenu.pcss

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,6 @@ Please see LICENSE files in the repository root for full details.
3737
line-height: $font-24px;
3838
margin-left: 10px;
3939
}
40-
41-
.mx_UserMenu_dndBadge {
42-
position: absolute;
43-
bottom: -2px;
44-
right: -7px;
45-
width: 16px;
46-
height: 16px;
47-
border-radius: 50%;
48-
49-
&::before {
50-
content: "";
51-
width: 16px;
52-
height: 16px;
53-
position: absolute;
54-
mask-position: center;
55-
mask-size: contain;
56-
mask-repeat: no-repeat;
57-
background-color: $alert;
58-
mask-image: url("$(res)/img/element-icons/roomlist/dnd.svg");
59-
}
60-
}
6140
}
6241

6342
.mx_IconizedContextMenu {
@@ -158,14 +137,6 @@ Please see LICENSE files in the repository root for full details.
158137
mask-image: url("@vector-im/compound-design-tokens/icons/home-solid.svg");
159138
}
160139

161-
.mx_UserMenu_iconDnd::before {
162-
mask-image: url("$(res)/img/element-icons/roomlist/dnd.svg");
163-
}
164-
165-
.mx_UserMenu_iconDndOff::before {
166-
mask-image: url("$(res)/img/element-icons/roomlist/dnd-cross.svg");
167-
}
168-
169140
.mx_UserMenu_iconBell::before {
170141
mask-image: url("$(res)/img/element-icons/notifications.svg");
171142
}

res/img/element-icons/roomlist/dnd-cross.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

res/img/element-icons/roomlist/dnd.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)