feat(#32): custom icons updates

pull/27073/head
Badi ifaoui 2024-01-19 13:54:55 +01:00 committed by Badi Ifaoui
parent 96223fbd5c
commit 314e7f365f
2 changed files with 21 additions and 0 deletions

View File

@ -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;
}

View File

@ -0,0 +1,6 @@
<svg width="12" height="16" viewBox="0 0 12 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.30827 15.8305C4.21231 15.7558 4.13468 15.6602 4.0813 15.5509C4.02792 15.4417 4.0002 15.3217 4.00025 15.2001V0.799165C4.00075 0.677793 4.02877 0.558115 4.08221 0.449139C4.13565 0.340164 4.21312 0.244731 4.30877 0.170023C4.40443 0.0953152 4.51579 0.0432798 4.63446 0.0178337C4.75314 -0.00761246 4.87604 -0.00580641 4.99392 0.023116L11.3943 1.62322C11.5675 1.66641 11.7212 1.76625 11.8311 1.90687C11.941 2.04748 12.0007 2.22081 12.0008 2.39927V13.6C12.0007 13.7784 11.941 13.9518 11.8311 14.0924C11.7212 14.233 11.5675 14.3328 11.3943 14.376L4.99392 15.9761C4.87608 16.0056 4.75308 16.0078 4.63426 15.9826C4.51545 15.9574 4.40395 15.9053 4.30827 15.8305ZM7.18018 9C7.73246 9 8.18018 8.55229 8.18018 8C8.18018 7.44772 7.73246 7 7.18018 7C6.62789 7 6.18018 7.44772 6.18018 8C6.18018 8.55229 6.62789 9 7.18018 9Z" fill="#FD3E3C"/>
<path d="M3.2002 3.19932H1.6001V12.7999H3.2002V14.4H1.6001C1.17573 14.4 0.768736 14.2314 0.468659 13.9314C0.168581 13.6313 0 13.2243 0 12.7999V3.19932C0 2.77494 0.168581 2.36795 0.468659 2.06787C0.768736 1.7678 1.17573 1.59922 1.6001 1.59922H3.2002V3.19932Z" fill="currentColor"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB