Preliminary fix for showing muted state when collapsed - keep faded avatar, but don't show the mute icon

This commit is contained in:
wmwragg 2016-07-29 10:50:50 +01:00
parent 18701a2dae
commit 87bddcd8ce

View File

@ -91,15 +91,16 @@ limitations under the License.
z-index: 200; z-index: 200;
} }
/* Position mute icon when collapsed */ /* Position mute icon when collapsed - invisiible at the moment */
.collapsed .mx_RoomTile .mx_RoomTile_badge.mx_RoomTile_badgeMute { .collapsed .mx_RoomTile .mx_RoomTile_badge.mx_RoomTile_badgeMute {
background-color: rgba(0,0,0,0); background-color: rgba(0,0,0,0);
opacity: 1; opacity: 0;
top: -40px; top: -40px;
} }
/* Position menu icon when room muted and collapsed */ /* Position menu icon when room muted and collapsed */
.collapsed .mx_RoomTile .mx_RoomTile_badge.mx_RoomTile_badgeButton.mx_RoomTile_badgeMute, .collapsed .mx_RoomTile .mx_RoomTile_badge.mx_RoomTile_badgeButton.mx_RoomTile_badgeMute { .collapsed .mx_RoomTile .mx_RoomTile_badge.mx_RoomTile_badgeButton.mx_RoomTile_badgeMute, .collapsed .mx_RoomTile .mx_RoomTile_badge.mx_RoomTile_badgeButton.mx_RoomTile_badgeMute {
display: inline-block;
background-color: rgb(214, 214, 214); background-color: rgb(214, 214, 214);
letter-spacing: 0.1em; letter-spacing: 0.1em;
opacity: 1; opacity: 1;