fix unread/new badge in /categories page

This commit is contained in:
Régis Hanol 2016-08-24 22:04:30 +02:00
parent 4fb47dd749
commit 467564eb82
2 changed files with 14 additions and 3 deletions

View file

@ -54,7 +54,7 @@
&.bullet { //bullet category style &.bullet { //bullet category style
display: inline-flex; display: inline-flex;
align-items: baseline; align-items: baseline;
margin-right: 10px; margin-right: 5px;
font-size: 12px; font-size: 12px;
line-height: 15px; line-height: 15px;

View file

@ -25,6 +25,12 @@
width: 45%; width: 45%;
} }
.topics .badge-notification,
.category .badge-notification {
background-color: transparent;
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 40%));
}
.topics { .topics {
width: 80px; width: 80px;
text-align: right; text-align: right;
@ -37,8 +43,6 @@
} }
.badge-notification { .badge-notification {
display: block; display: block;
background-color: transparent;
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 40%));
text-align: right; text-align: right;
padding-right: 0; padding-right: 0;
margin-top: 5px; margin-top: 5px;
@ -50,6 +54,13 @@
margin-top: 10px; margin-top: 10px;
} }
.subcategories {
.badge-notification.new-posts {
padding: 0;
margin: 0 5px 0 0;
}
}
.featured-topic { .featured-topic {
margin: 10px 0 0; margin: 10px 0 0;