symmetry between PM notifications and user page
This commit is contained in:
parent
97373535c8
commit
f2d7e4906b
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue