From eeafa679844b86b1b4fa0935e8e37d13317dc0fa Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 9 Feb 2016 14:23:12 -0500 Subject: [PATCH] FIX: Reply as New Topic was not fading in properly --- .../stylesheets/desktop/topic-post.scss | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 0d4aa675d4f..3c3db86001e 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -34,16 +34,6 @@ h1 .topic-statuses .topic-status i { color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); } - .gutter { - .reply-new { - .discourse-no-touch & { - opacity:0; - transition: opacity 0.7s ease-in-out; - } - .discourse-touch & {opacity: 1;} - } - } - .actions .fade-out { .discourse-no-touch & { opacity: 0.7; @@ -55,14 +45,25 @@ h1 .topic-statuses .topic-status i { &:hover .actions .fade-out, .selected .actions .fade-out { opacity: 1; } +} - &:hover .gutter, .selected .gutter { - .reply-new, - .track-link { - opacity:1; +.topic-post { + .gutter { + .reply-new { + .discourse-no-touch & { + opacity:0; + transition: opacity 0.7s ease-in-out; } + .discourse-touch & {opacity: 1;} + } } + &:hover .gutter, .selected .gutter { + .reply-new, + .track-link { + opacity:1; + } + } } section.post-menu-area {