UX: unread/new topic counts under topic counts column in /categories

This commit is contained in:
Régis Hanol 2016-08-19 18:10:42 +02:00
parent f27187c9e2
commit 4960365689
2 changed files with 13 additions and 3 deletions

View file

@ -13,7 +13,6 @@
<td class='category' style={{border-color c.color}}>
<div>
{{category-title-link category=c}}
{{category-unread category=c}}
{{#if c.logo_url}}
{{category-logo-link category=c}}
{{/if}}
@ -31,8 +30,11 @@
</div>
{{/if}}
</td>
<td class='stats' title={{c.statTitle}}>
{{{c.stat}}}
<td class='stats'>
<div title={{c.statTitle}}>
{{{c.stat}}}
</div>
{{category-unread category=c tagName="div" class="unread-new"}}
</td>
</tr>
{{/each}}

View file

@ -237,6 +237,14 @@
}
.navigation-categories {
.unread-new {
a {
display: inline-block;
margin-top: 5px;
background-color: transparent;
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 40%));
}
}
.topic-list {
width: 48%;
float: left;