From d73623f8984dc03e25af2a7884ea4148229d1adf Mon Sep 17 00:00:00 2001 From: ansuz Date: Sun, 7 May 2023 12:21:27 +0530 Subject: [PATCH] provide visual feedback that a dragged item can be dropped into the drive's tree when hovering --- customize.dist/src/less2/include/drive.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/customize.dist/src/less2/include/drive.less b/customize.dist/src/less2/include/drive.less index 9311c4b62..4fea4e43a 100644 --- a/customize.dist/src/less2/include/drive.less +++ b/customize.dist/src/less2/include/drive.less @@ -291,7 +291,14 @@ margin-bottom: 3px; margin-left: -2px; } + .droppable-tree-element () { + .cp-app-drive-element-droppable { + background-color: @cp_drive-droppable-bg !important; + color: @cp_drive-droppable-fg !important; + } + } .cp-app-drive-tree-docs { + .droppable-tree-element(); margin-top: 15px; //padding: 0 0 0 20px; padding: 0; @@ -346,6 +353,7 @@ border-radius: @variables_radius; box-shadow: @cryptpad_ui_shadow; .cp-app-drive-tree-root { + .droppable-tree-element(); .fa-trash-o { padding-left: 2px; }