posts: change flag borders from red to blue for non-approvers.

This commit is contained in:
evazion
2017-05-01 13:55:35 -05:00
parent b6e1958917
commit c1fa656bd2
2 changed files with 13 additions and 6 deletions

View File

@@ -102,23 +102,30 @@ a.blacklisted-active {
}
&.post-status-pending:not(.mod-queue-preview) img {
/* Pending and flagged posts have blue borders (except in the modqueue). */
&.post-status-pending:not(.mod-queue-preview) img,
&.post-status-flagged:not(.mod-queue-preview) img {
border-color: $preview_pending_color;
}
&.post-status-has-children.post-status-pending:not(.mod-queue-preview) img {
&.post-status-has-children.post-status-pending:not(.mod-queue-preview) img,
&.post-status-has-children.post-status-flagged:not(.mod-queue-preview) img {
border-color: $preview_has_children_color $preview_pending_color $preview_pending_color $preview_has_children_color;
}
&.post-status-has-parent.post-status-pending:not(.mod-queue-preview) img {
&.post-status-has-parent.post-status-pending:not(.mod-queue-preview) img,
&.post-status-has-parent.post-status-flagged:not(.mod-queue-preview) img {
border-color: $preview_has_parent_color $preview_pending_color $preview_pending_color $preview_has_parent_color;
}
&.post-status-has-children.post-status-has-parent.post-status-pending:not(.mod-queue-preview) img {
&.post-status-has-children.post-status-has-parent.post-status-pending:not(.mod-queue-preview) img,
&.post-status-has-children.post-status-has-parent.post-status-flagged:not(.mod-queue-preview) img {
border-color: $preview_has_children_color $preview_pending_color $preview_pending_color $preview_has_parent_color;
}
}
/* Flagged posts have red borders for approvers. */
body[data-can-approve-posts="true"] .post-preview {
&.post-status-flagged img {
border-color: $preview_flagged_color;
}