summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/css/files.scss8
-rw-r--r--apps/files/js/navigation.js2
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