mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
add move item tooltip
This commit is contained in:
parent
b65eee57e7
commit
4fde0469c0
2 changed files with 46 additions and 1 deletions
|
@ -362,3 +362,32 @@
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
.move-item {
|
||||
position: relative;
|
||||
|
||||
.move-list {
|
||||
background-color: $color-white;
|
||||
border-radius: $br-small;
|
||||
bottom: 30px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
left: -30px;
|
||||
max-height: 260px;
|
||||
overflow-y: scroll;
|
||||
padding: $medium;
|
||||
position: absolute;
|
||||
width: 260px;
|
||||
|
||||
li {
|
||||
padding-bottom: $medium;
|
||||
|
||||
&.title {
|
||||
color: $color-gray-darker;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
[:div.multiselect-bar
|
||||
(if own?
|
||||
[:div.multiselect-nav
|
||||
#_[:span.move-item.tooltip.tooltip-top
|
||||
[:span.move-item.tooltip.tooltip-top
|
||||
{:alt "Move to"}
|
||||
i/organize]
|
||||
[:span.delete.tooltip.tooltip-top
|
||||
|
@ -136,6 +136,22 @@
|
|||
[:div.multiselect-nav
|
||||
[:span.move-item.tooltip.tooltip-top
|
||||
{:alt "Copy to"}
|
||||
[:ul.move-list
|
||||
[:li.title "Copy to library"]
|
||||
[:li
|
||||
[:a {:href "#"} "Red palette"]]
|
||||
[:li
|
||||
[:a {:href "#"} "Protoype"]]
|
||||
[:li
|
||||
[:a {:href "#"} "Gray scale palette"]]
|
||||
[:li
|
||||
[:a {:href "#"} "Current project"]]
|
||||
[:li
|
||||
[:a {:href "#"} "Gray scale palette"]]
|
||||
[:li
|
||||
[:a {:href "#"} "Current project"]]
|
||||
[:li
|
||||
[:a {:href "#"} "Library 3"]]]
|
||||
i/organize]])])))
|
||||
|
||||
(mx/defc grid
|
||||
|
|
Loading…
Reference in a new issue