♻️ Refactor drag-and-drop on workspace sidebars (now using react-dnd).

This commit is contained in:
Andrey Antukh 2019-08-08 16:27:37 +02:00
parent dbf754880e
commit 03c9d9c8f1
11 changed files with 250 additions and 422 deletions

View file

@ -102,6 +102,10 @@
flex-direction: column;
width: 100%;
&.dragging-TODO {
background-color: #eee;
}
&.open {
ul {

View file

@ -269,18 +269,10 @@
}
&.drag-top {
border-top: 40px solid $soft-ui-border !important;
&.dragging {
// TODO: revisit this
background-color: #eee;
}
&.drag-bottom {
border-bottom: 40px solid $soft-ui-border !important;
}
&.drag-inside {
border: 2px solid $main-ui-color !important;
}
}
}