Skip to content

A platform for community discussion. Free, open, simple.

UX: reduce opacity on hidden topic contents, but not the controls

Kris37c9579a014d
diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss
index b9609a1beed..581a6abff55 100644
--- a/app/assets/stylesheets/common/base/topic-post.scss
+++ b/app/assets/stylesheets/common/base/topic-post.scss
@@ -259,9 +259,12 @@ blockquote {
}
.post-hidden {
- opacity: 0.5; // opacity sets a new z-index context,
- position: relative; // so the positioning is required,
- z-index: z("base"); // otherwise post controls are stacked too low
+ .topic-avatar,
+ .cooked,
+ .topic-meta-data,
+ .post-actions {
+ opacity: 0.5;
+ }
}
.topic-post.staged {