symmetry between PM notifications and user page

This commit is contained in:
Jeff Atwood 2014-05-13 21:55:38 -07:00
parent 97373535c8
commit f2d7e4906b
2 changed files with 5 additions and 2 deletions

View File

@ -45,7 +45,7 @@
<li {{bind-attr class=":noGlyph privateMessagesUnreadActive:active"}}> <li {{bind-attr class=":noGlyph privateMessagesUnreadActive:active"}}>
{{#link-to 'userPrivateMessages.unread' model}} {{#link-to 'userPrivateMessages.unread' model}}
{{i18n user.messages.unread}} {{i18n user.messages.unread}}
{{#if hasUnreadPMs}}<span class='count'>({{private_messages_stats.unread}})</span>{{/if}} {{#if hasUnreadPMs}}<span class='badge-notification unread-private-messages'>({{private_messages_stats.unread}})</span>{{/if}}
<span class='fa fa-chevron-right'></span> <span class='fa fa-chevron-right'></span>
{{/link-to}} {{/link-to}}
</li> </li>

View File

@ -126,13 +126,16 @@
} }
.unread-private-messages { .unread-private-messages {
left: -4px; left: -4px;
background-color: $success;
} }
} }
.flagged-posts { .flagged-posts {
background-color: $danger; background-color: $danger;
} }
} }
/* this needs to be global since it is used on the user page, left hand column, messages */
.unread-private-messages {
background-color: $success;
}
#main { #main {
position: relative; position: relative;