From 85930fca702d2c08efcb3740d312f90b2c7008f3 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 15 Feb 2019 03:31:55 -0800 Subject: [PATCH] Bring back the lowered opacity for offline/unavailable avatars. At some point during the riot redesign, the bit of css that lowered the opacity for offline/unavailable contacts was removed. This makes it impossible to discern presence for a contact unless you hover your cursor over their avatar. It's very handy to be able to see presence at a glance without any hovering, so this PR reintroduces the lowered opacity. I've also slightly decreased the opacity level from 0.66 to 0.5 to make it slightly more noticable. --- res/css/views/rooms/_EntityTile.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/res/css/views/rooms/_EntityTile.scss b/res/css/views/rooms/_EntityTile.scss index 80b8126b54..7fb61989f9 100644 --- a/res/css/views/rooms/_EntityTile.scss +++ b/res/css/views/rooms/_EntityTile.scss @@ -81,7 +81,6 @@ limitations under the License. color: $primary-fg-color; } -/* .mx_EntityTile_unavailable .mx_EntityTile_avatar, .mx_EntityTile_unavailable .mx_EntityTile_name, .mx_EntityTile_unavailable .mx_EntityTile_name_hover, @@ -89,7 +88,7 @@ limitations under the License. .mx_EntityTile_offline_beenactive .mx_EntityTile_name, .mx_EntityTile_offline_beenactive .mx_EntityTile_name_hover { - opacity: 0.66; + opacity: 0.5; } .mx_EntityTile_offline_neveractive .mx_EntityTile_avatar, @@ -105,7 +104,6 @@ limitations under the License. { opacity: 0.25; } -*/ .mx_EntityTile_subtext { font-size: 11px;