UX: staged posts show up with opacity 0.4 till on server
This commit is contained in:
parent
dbc25a9d64
commit
86b3de510b
|
@ -401,6 +401,7 @@ export default createWidget('post', {
|
||||||
if (attrs.cloaked) { return 'cloaked-post'; }
|
if (attrs.cloaked) { return 'cloaked-post'; }
|
||||||
const classNames = ['topic-post', 'clearfix'];
|
const classNames = ['topic-post', 'clearfix'];
|
||||||
|
|
||||||
|
if (attrs.id === -1) { classNames.push('staged'); }
|
||||||
if (attrs.selected) { classNames.push('selected'); }
|
if (attrs.selected) { classNames.push('selected'); }
|
||||||
if (attrs.topicOwner) { classNames.push('topic-owner'); }
|
if (attrs.topicOwner) { classNames.push('topic-owner'); }
|
||||||
if (attrs.hidden) { classNames.push('post-hidden'); }
|
if (attrs.hidden) { classNames.push('post-hidden'); }
|
||||||
|
|
|
@ -107,6 +107,10 @@ aside.quote {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.topic-post.staged {
|
||||||
|
opacity: 0.4;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.quote-controls {
|
.quote-controls {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
Loading…
Reference in New Issue