From 047e7145bbcd473871ceb7e0a13cc6076576c7f4 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Tue, 7 Jul 2015 04:13:36 +0500 Subject: Fixing background hovers --- web/sass-files/sass/partials/_post.scss | 11 +++++++---- web/sass-files/sass/partials/_responsive.scss | 8 +------- 2 files changed, 8 insertions(+), 11 deletions(-) (limited to 'web/sass-files/sass') diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss index e35979b64..310e9e7e4 100644 --- a/web/sass-files/sass/partials/_post.scss +++ b/web/sass-files/sass/partials/_post.scss @@ -220,10 +220,16 @@ body.ios { .post-comment { border-left: 4px solid #EEE; padding: 4px 0 6px 10px; - background: #F5F5F5; margin: 0 0 0 30px; @include border-radius(0 4px 4px 0); } + &.current--user { + &:hover { + .post-comment { + background: #fff; + } + } + } .post-body { background: transparent; margin: 0; @@ -231,9 +237,6 @@ body.ios { } &:hover { background: #f5f5f5; - .post-comment { - background: #fff; - } } } } diff --git a/web/sass-files/sass/partials/_responsive.scss b/web/sass-files/sass/partials/_responsive.scss index e2c89a6f2..a7927134e 100644 --- a/web/sass-files/sass/partials/_responsive.scss +++ b/web/sass-files/sass/partials/_responsive.scss @@ -235,12 +235,6 @@ &.other--root { &:hover { background: none; - .post-body { - background: none; - .post-comment { - background: #f5f5f5; - } - } } } } @@ -598,7 +592,7 @@ &.post--comment { &.other--root { .post-comment { - margin-left: 4px; + margin-left: 11px; } } } -- cgit v1.2.3-1-g7c22