Fix drop zone shadow

Signed-off-by: fnuesse <felix.nuesse@t-online.de>
This commit is contained in:
fnuesse 2018-12-07 18:33:05 +01:00 committed by Daniel Calviño Sánchez
parent 8680ced1ae
commit ad407f64bd
2 changed files with 9 additions and 1 deletions

View file

@ -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;
}
}

View file

@ -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