Merge pull request #2804 from evazion/feat-comment-as-mod

Add option to comment as moderator (fix #2799)
This commit is contained in:
Albert Yi
2016-12-27 11:49:36 -08:00
committed by GitHub
13 changed files with 147 additions and 42 deletions

View File

@@ -1,4 +1,4 @@
$menu_color: #F7F7FF;
$menu_color: #F5F5FF;
$link_color: hsl(213, 100%, 50%);
$link_hover_color: lighten($link_color, 25%);
$link_dark_color: darken($link_color, 25%);

View File

@@ -15,6 +15,11 @@ div.comments-for-post {
article.comment {
margin-bottom: 2em;
word-wrap: break-word;
padding: 5px;
&[data-is-sticky="true"] {
background: $menu_color;
}
div.author {
width: 12em;
@@ -40,7 +45,7 @@ div.comments-for-post {
}
}
article.comment.below-threshold {
article.comment.below-threshold:not([data-is-sticky="true"]) {
opacity: 0.3;
}
@@ -48,10 +53,6 @@ div.comments-for-post {
opacity: 1.0;
}
}
div.comment-preview {
margin-bottom: 2em;
}
}
div#c-posts {
@@ -146,3 +147,12 @@ div#c-comments {
}
}
}
form.edit_comment div.input.boolean {
display: inline-block;
label {
font-weight: normal;
vertical-align: initial;
}
}