# HG changeset patch # User Marcin Kuzminski # Date 2012-01-20 06:27:36 # Node ID b6c849e64b37081d91dc5a1c8c7108b8ff1a76a9 # Parent a69573cfcb00f45996e8e1247e6847f25ca19378 display unread notifications only if present, make icon bigger on menu diff --git a/rhodecode/public/css/style.css b/rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css +++ b/rhodecode/public/css/style.css @@ -1897,7 +1897,12 @@ div.form div.fields div.field div.button 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 @@ form.comment-inline-form { -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 @@ form.comment-inline-form { } .notifications a:hover{ text-decoration: none !important; + background-color: #EEEFFF !important; } .notification-header{ padding-top:6px; diff --git a/rhodecode/templates/base/base.html b/rhodecode/templates/base/base.html --- a/rhodecode/templates/base/base.html +++ b/rhodecode/templates/base/base.html @@ -64,9 +64,9 @@
- %if c.rhodecode_user.username != 'default': + %if c.rhodecode_user.username != 'default' and c.unread_notifications != 0: