forum posts: refactor to use ViewComponent.

This commit is contained in:
evazion
2021-01-15 16:30:14 -06:00
parent 724d87f68a
commit 37792bd5dd
6 changed files with 114 additions and 95 deletions

View File

@@ -3,40 +3,6 @@ div.list-of-forum-posts {
font-weight: bold;
color: var(--moderation-report-text-color);
}
article.forum-post {
&[data-is-reported="true"] {
border: var(--moderation-report-border);
}
a.voted {
font-weight: bold;
}
.vote-score-up {
color: var(--forum-vote-up-color);
}
.vote-score-meh {
color: var(--forum-vote-meh-color);
}
.vote-score-down {
color: var(--forum-vote-down-color);
}
div.content {
.edit_forum_post, .edit_forum_topic {
display: none;
}
menu {
ul.votes {
margin: 0.5em 0;
}
}
}
}
}
div#c-forum-topics {