summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-10-04 18:49:06 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-18 13:44:08 +0200
commit07224da3d47271fce6d364fee73bc381a23a48f0 (patch)
tree964fa24a2248d18ebb29f643cc607bd906602a03
parentcd1cfe002d93684f54ece518d597a546d96339f5 (diff)
downloadnextcloud-server-07224da3d47271fce6d364fee73bc381a23a48f0.tar.gz
nextcloud-server-07224da3d47271fce6d364fee73bc381a23a48f0.zip
Fix focus background
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--apps/files/css/files.scss7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index 2d4e65f1f4e..43af02428c8 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);
}
}