Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Make the EntityTile chevron a masked SVG for theming #2795

Merged
merged 1 commit into from
Mar 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions res/css/views/rooms/_EntityTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,20 @@ limitations under the License.
}

.mx_EntityTile:hover {
background-image: url('$(res)/img/member_chevron.png');
background-position: center right 10px;
background-repeat: no-repeat;
padding-right: 30px;
position: relative; // to keep the chevron aligned
}

.mx_EntityTile:hover::before {
content: "";
position: absolute;
top: calc(50% - 8px); // center
right: 10px;
mask: url('$(res)/img/member_chevron.png');
mask-repeat: no-repeat;
width: 16px;
height: 16px;
background-color: $rightpanel-button-color;
}

.mx_EntityTile .mx_PresenceLabel {
Expand Down