From 07224da3d47271fce6d364fee73bc381a23a48f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Thu, 4 Oct 2018 18:49:06 +0200 Subject: [PATCH] Fix focus background MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files/css/files.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 2d4e65f1f4..43af02428c 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -759,12 +759,15 @@ table.dragshadow td.size { position: relative; height: $grid-size + 44px; border-radius: var(--border-radius); - &:hover, - &.selected { + &:hover, &:focus, &:active, + &.selected, + &.searchresult, + .name:focus { background-color: transparent; .thumbnail-wrapper, .nametext, .fileactions { + transition: background-color 0.3s ease; background-color: var(--color-background-dark); } }