mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 01:18:29 +02:00
♻️ Refactor drag-and-drop on workspace sidebars (now using react-dnd).
This commit is contained in:
parent
dbf754880e
commit
03c9d9c8f1
11 changed files with 250 additions and 422 deletions
|
@ -102,6 +102,10 @@
|
|||
flex-direction: column;
|
||||
width: 100%;
|
||||
|
||||
&.dragging-TODO {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
&.open {
|
||||
|
||||
ul {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue