From 059950ef4acec931d7cc31a33879f3c5ac42654b Mon Sep 17 00:00:00 2001
From: Toby Zerner <toby.zerner@gmail.com>
Date: Fri, 27 May 2016 13:56:56 +0930
Subject: [PATCH] Simplify deleted post toggle CSS

(The animation was buggy anyway)
---
 framework/core/less/forum/Post.less | 28 +++++++++-------------------
 1 file changed, 9 insertions(+), 19 deletions(-)

diff --git a/framework/core/less/forum/Post.less b/framework/core/less/forum/Post.less
index d2965e902..93f752f92 100644
--- a/framework/core/less/forum/Post.less
+++ b/framework/core/less/forum/Post.less
@@ -169,29 +169,19 @@
   .Post-header, .Post-header a, .PostUser h3, .PostUser h3 a {
     color: @muted-more-color;
   }
-  &:not(.revealContent) .Post-header {
-    margin-bottom: 0;
+  &:not(.revealContent) {
+    .Post-header {
+      margin-bottom: 0;
+    }
+    .Post-body, .Post-footer, h3 .Avatar, .PostUser-badges {
+      display: none;
+    }
   }
   .Post-body, .Post-footer, h3 .Avatar, .PostUser-badges {
-    position: absolute;
-    visibility: hidden;
-    opacity: 0;
-    margin-top: -5px;
-    .transition(~"margin-top 0.2s, opacity 0.2s");
-  }
-  &.revealContent {
-    .Post-body, .Post-footer, h3 .Avatar, .PostUser-badges {
-      visibility: visible;
-      opacity: 0.5;
-      margin-top: 0;
-    }
-    .Post-body, .Post-footer, .PostUser-badges {
-      position: static;
-    }
+    opacity: 0.5;
   }
   .Post-header .Button--more {
-    background: fade(@muted-more-color, 30%);
-    color: @muted-more-color;
+    .Button--color(@muted-more-color, fade(@muted-more-color, 30%));
   }
 }
 .Post--loading {