Improve mobile style for topic lists
This has been driving me nuts for a while now
This commit is contained in:
parent
2debf7d97d
commit
3ff1d63a8d
|
@ -33,22 +33,20 @@
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<div class='num posts'><a href="{{lastUnreadUrl}}">{{number posts_count numberKey="posts_long"}}</a></div>
|
<div class='num posts'><a href="{{lastUnreadUrl}}">{{number posts_count numberKey="posts_long"}} <i class="fa fa-comment"></i></a></div>
|
||||||
|
|
||||||
{{#if like_count}}
|
{{#if like_count}}
|
||||||
<div class='num likes'><a href='{{url}}{{#if has_summary}}?filter=summary{{/if}}' title='{{i18n topic.likes count="like_count"}}'><i class='fa fa-heart'></i> {{number like_count numberKey="likes_long"}}</a></div>
|
<div class='num likes'><a href='{{url}}{{#if has_summary}}?filter=summary{{/if}}' title='{{i18n topic.likes count="like_count"}}'>{{number like_count numberKey="likes_long"}} <i class='fa fa-heart'></i></a></div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<div class='last-poster'>
|
|
||||||
<i class="fa fa-user"></i> {{last_poster_username}}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{#if bumped}}
|
{{#if bumped}}
|
||||||
<div class='num activity last'>
|
<div class='num activity last'>
|
||||||
|
<a href="{{lastPostUrl}}" title='{{i18n last_post}}: {{{rawDate bumped_at}}}'>{{last_poster_username}}</a>
|
||||||
<a href="{{lastPostUrl}}" class='age' title='{{i18n last_post}}: {{{rawDate bumped_at}}}'>{{unboundAge bumped_at}}</a>
|
<a href="{{lastPostUrl}}" class='age' title='{{i18n last_post}}: {{{rawDate bumped_at}}}'>{{unboundAge bumped_at}}</a>
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class='num activity last'>
|
<div class='num activity last'>
|
||||||
|
<a href="{{url}}" title='{{i18n last_post}}: {{{rawDate bumped_at}}}'>{{last_poster_username}}</a>
|
||||||
<a href="{{url}}" class='age' title='{{i18n first_post}}: {{{rawDate created_at}}}'>{{unboundAge created_at}}</a>
|
<a href="{{url}}" class='age' title='{{i18n first_post}}: {{{rawDate created_at}}}'>{{unboundAge created_at}}</a>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -130,10 +130,19 @@
|
||||||
.topic-item-stats {
|
.topic-item-stats {
|
||||||
.category, .num, .last-poster {
|
.category, .num, .last-poster {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 8px;
|
margin-right: 14px;
|
||||||
}
|
}
|
||||||
.posts {
|
.fa {
|
||||||
font-weight: bold;
|
color: lighten($black, 50%);
|
||||||
|
}
|
||||||
|
.fa-heart{
|
||||||
|
position: relative;
|
||||||
|
left: -1px;
|
||||||
|
}
|
||||||
|
.fa-comment{
|
||||||
|
position: relative;
|
||||||
|
top: -1px;
|
||||||
|
left: 1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue