From 45867670928e89daa950a8d742d9c36471c7ac45 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Tue, 7 Jul 2015 22:58:13 +0500 Subject: [PATCH] Updating background --- web/sass-files/sass/partials/_post.scss | 29 ++++++++----------- web/sass-files/sass/partials/_responsive.scss | 7 ----- 2 files changed, 12 insertions(+), 24 deletions(-) diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss index 310e9e7e45..f33cedd169 100644 --- a/web/sass-files/sass/partials/_post.scss +++ b/web/sass-files/sass/partials/_post.scss @@ -63,13 +63,13 @@ body.ios { } &.hovered--after { &:before { - background: #f6f6f6; + background: #f5f5f5; display: block; } } &.hovered--before { &:after { - background: #f6f6f6; + background: #f5f5f5; display: block; } } @@ -202,18 +202,13 @@ body.ios { @include opacity(1); } } - background: #f6f6f6; + background: #f5f5f5; } &.current--user { .post-body { @include border-radius(4px); background: #f5f5f5; } - &:hover { - .post-body { - background: #fff; - } - } } &.post--comment { &.other--root { @@ -223,20 +218,20 @@ body.ios { 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; padding: 1px 0px; } - &:hover { - background: #f5f5f5; + &.current--user { + .post-comment { + background: #f5f5f5; + } + } + } + &.same--root { + .post-body { + @include border-radius(0 4px 4px 0); } } } diff --git a/web/sass-files/sass/partials/_responsive.scss b/web/sass-files/sass/partials/_responsive.scss index 9faa9dc674..1a2befc3f0 100644 --- a/web/sass-files/sass/partials/_responsive.scss +++ b/web/sass-files/sass/partials/_responsive.scss @@ -228,13 +228,6 @@ &:hover { background: none; } - &.current--user { - &:hover { - .post-body { - background: #f5f5f5; - } - } - } &.post--comment { &.other--root { &:hover {