0
Fork 0
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:
elhombretecla 2016-10-20 12:37:43 +02:00
parent b65eee57e7
commit 4fde0469c0
2 changed files with 46 additions and 1 deletions

View file

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

View file

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