diff options
author | fnuesse <felix.nuesse@t-online.de> | 2018-12-07 18:33:05 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-02-01 00:59:05 +0100 |
commit | ad407f64bd64834f425de7cfb0db781ec634a44f (patch) | |
tree | dc83f8026d57daa622aa141fd0f48ea74c9e85f5 /apps/files | |
parent | 8680ced1aea4128c5aa1e1e2490259f6501f30bf (diff) | |
download | nextcloud-server-ad407f64bd64834f425de7cfb0db781ec634a44f.tar.gz nextcloud-server-ad407f64bd64834f425de7cfb0db781ec634a44f.zip |
Fix drop zone shadow
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/css/files.scss | 8 | ||||
-rw-r--r-- | apps/files/js/navigation.js | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 502f8ea1f73..9b6f06cbc0c 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -727,7 +727,13 @@ table.dragshadow td.size { .breadcrumb .canDrop > a, #filestable tbody tr.canDrop { - background-color: rgb(179, 230, 255); + background-color: rgba( $color-primary, .3 ); +} +.dropzone-background { + background-color: rgba( $color-primary, .3 ); + :hover{ + box-shadow: none !important; + } } diff --git a/apps/files/js/navigation.js b/apps/files/js/navigation.js index 538865ad5b1..de0053e2e91 100644 --- a/apps/files/js/navigation.js +++ b/apps/files/js/navigation.js @@ -82,6 +82,8 @@ element.addClass('nav-icon-trashbin').removeClass('nav-icon-trashbin-starred'); }, drop: function (event, ui) { + trashBinElement.removeClass('dropzone-background'); + var $selectedFiles = $(ui.draggable); // FIXME: when there are a lot of selected files the helper |