Improved forum

This commit is contained in:
2016-11-20 04:07:10 +09:00
parent 0a099bca72
commit 37a9b2d020
8 changed files with 35 additions and 27 deletions

View File

@ -14,7 +14,6 @@ component ThreadLink(thread *arn.Thread)
if thread.Sticky
i.fa.fa-thumb-tack.fa-fw.thread-icon
a.thread-title.ajax(href="/threads/" + thread.ID)= thread.Title
//- .thread-icons
//- each icon in thread.Icons
//- i(class='fa fa-' + icon + ' fa-fw thread-icon')
//- .thread-reply-count= 25
.thread-reply-count= thread.Replies
.thread-icons
Icon(arn.GetForumIcon(thread.Tags[0]))

View File

@ -10,15 +10,19 @@
flex-flow row
width 100%
.thread-icons
.thread-reply-count
flex 1
text-align right
.thread-icons
opacity 0.5
text-align right
position relative
.thread-reply-count
&:after
content " replies"
font-size 0.8rem
flex 1
margin 0 1rem
.thread-icons
flex 0
.thread-content-container
display flex
@ -36,5 +40,5 @@
&:hover
color linkHoverColor !important
.thread-icon
font-size 0.9em
// .thread-icon
// font-size 0.9em