mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 11:15:53 +03:00
Make the EntityTile chevron a masked SVG for theming
Fixes https://github.com/vector-im/riot-web/issues/7320
This commit is contained in:
parent
5409db418c
commit
e4181c4e3e
1 changed files with 13 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue