diff --git a/less/mixins.less b/less/mixins.less index 8d5a982..cdcb6f1 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -47,8 +47,3 @@ text-overflow: ellipsis; white-space: nowrap; } - -.fadeInStart { - .transition(250ms ease-in-out opacity); - opacity: 0; -} \ No newline at end of file diff --git a/less/topic.less b/less/topic.less index 0e406cf..f719347 100644 --- a/less/topic.less +++ b/less/topic.less @@ -277,13 +277,7 @@ min-height: 60px; } - [component="post/metadata"] { - .fadeInStart; - } - .post-tools { - .fadeInStart; - a { padding: 1rem 10px; .pointer; @@ -291,8 +285,6 @@ } .moderator-tools { - .fadeInStart; - margin-left: 10px; font-size: 14px; @@ -442,9 +434,16 @@ .transition(0.75s ease-in-out border-color); - &:hover { - .moderator-tools, .post-tools, [component="post/metadata"] { - opacity: 1; + @media (min-width: @screen-md-min) { + [component="post/metadata"], .post-tools, .moderator-tools { + .transition(250ms ease-in-out opacity); + opacity: 0; + } + + &:hover { + .moderator-tools, .post-tools, [component="post/metadata"] { + opacity: 1; + } } }