UX: staged posts show up with opacity 0.4 till on server

This commit is contained in:
Sam Saffron 2016-07-12 17:03:42 +10:00
parent dbc25a9d64
commit 86b3de510b
2 changed files with 5 additions and 0 deletions

View file

@ -401,6 +401,7 @@ export default createWidget('post', {
if (attrs.cloaked) { return 'cloaked-post'; }
const classNames = ['topic-post', 'clearfix'];
if (attrs.id === -1) { classNames.push('staged'); }
if (attrs.selected) { classNames.push('selected'); }
if (attrs.topicOwner) { classNames.push('topic-owner'); }
if (attrs.hidden) { classNames.push('post-hidden'); }

View file

@ -107,6 +107,10 @@ aside.quote {
opacity: 0.5;
}
.topic-post.staged {
opacity: 0.4;
}
.quote-controls {
float: right;