# HG changeset patch # User Marcin Kuzminski # Date 1327040856 -7200 # Node ID b6c849e64b37081d91dc5a1c8c7108b8ff1a76a9 # Parent a69573cfcb00f45996e8e1247e6847f25ca19378 display unread notifications only if present, make icon bigger on menu diff -r a69573cfcb00 -r b6c849e64b37 rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css Fri Jan 20 08:14:32 2012 +0200 +++ b/rhodecode/public/css/style.css Fri Jan 20 08:27:36 2012 +0200 @@ -1897,7 +1897,12 @@ margin: 0px 0px 0px 0px; cursor: pointer; } - +.user-menu .gravatar.enabled{ + background-color: #FDF784 !important; +} +.user-menu .gravatar:hover{ + background-color: #FDF784 !important; +} #quick_login{ min-height: 80px; margin: 31px 0 0 -251px; @@ -4044,10 +4049,10 @@ -webkit-border-radius: 4px; -moz-border-radius: 4px; float: right; - margin: 24px 0px 0px; + margin: 20px 0px 0px 0px; position: absolute; text-align: center; - width: 22px; + width: 26px; z-index: 1000; } .notifications a{ @@ -4061,6 +4066,7 @@ } .notifications a:hover{ text-decoration: none !important; + background-color: #EEEFFF !important; } .notification-header{ padding-top:6px; diff -r a69573cfcb00 -r b6c849e64b37 rhodecode/templates/base/base.html --- a/rhodecode/templates/base/base.html Fri Jan 20 08:14:32 2012 +0200 +++ b/rhodecode/templates/base/base.html Fri Jan 20 08:27:36 2012 +0200 @@ -64,9 +64,9 @@
- %if c.rhodecode_user.username != 'default': + %if c.rhodecode_user.username != 'default' and c.unread_notifications != 0: