From 949e217fd2cce6df750303f9ccaab2b6bc38a420 Mon Sep 17 00:00:00 2001 From: karolinaszczur Date: Wed, 25 Sep 2013 10:29:23 +0200 Subject: [PATCH] [ux] display unread count when it's not empty --- public/css/app/roster.styl | 2 +- public/css/otalk.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/css/app/roster.styl b/public/css/app/roster.styl index 8773cb8..d18838d 100644 --- a/public/css/app/roster.styl +++ b/public/css/app/roster.styl @@ -66,7 +66,7 @@ &:hover background: $sidebarActive - &.hasUnread .unread + .unread:not(:empty) display: block &.online, &.chat, &.dnd, &.away, &.xa diff --git a/public/css/otalk.css b/public/css/otalk.css index e629fd5..1d74c68 100644 --- a/public/css/otalk.css +++ b/public/css/otalk.css @@ -384,8 +384,8 @@ h3 { #bookmarks li:hover { background: #1f2d49; } -#roster li:hover.hasUnread .unread, -#bookmarks li:hover.hasUnread .unread { +#roster li:hover .unread:not(:empty), +#bookmarks li:hover .unread:not(:empty) { display: block; } #roster li.online:after,