mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 23:31:21 -05:00
add new copy and move icons
This commit is contained in:
parent
d1a624cfd5
commit
87756246a7
5 changed files with 19 additions and 18 deletions
3
resources/public/images/svg/move.svg
Normal file
3
resources/public/images/svg/move.svg
Normal file
|
@ -0,0 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500.00001">
|
||||
<path d="M358.943 28.602c-.308 0-.604.036-.89.09-49.585.04-99.173.093-148.752-.014-27.726-.028-55.458.073-83.177.85-4.752-1.02-10.44 1.406-11.453 6.533-.466 103.07-.642 206.202.078 309.294-1.238 5.19 3.24 9.595 8.193 9.9 125.59 1.67 251.22.428 376.824.828-.053-62.194.004-124.385.004-186.578 0-.025.006-.048.006-.072v-33.245c.01-1.015-.075-1.874-.633-2.63 0 0-100.55-100.47-103.735-103.526-1.173-1.203-1.968-1.41-3.215-1.427zm-3.77 41.04V170.24c0 .766.377 1.455.98 1.98.525.604 1.214.98 1.98.98H459.01c.024 47.2-.018 94.397-.512 141.595-100.834.884-201.672.388-302.508.517l.46-245.412c66.24-.125 132.482-.207 198.724-.257zM43.257 143.856l-.002.002c-14.417.007-28.836.03-43.254.063v58.435h41.19l.035-17.316 56.084-.954.752-40.133c-3.85-.03-7.7-.064-11.55-.074-14.418-.023-28.838-.03-43.256-.024zM0 244.303v42.052h41.035l.078-42.052zm0 84v44.052h40.873l.084-44.052zm368.836 44.135c-.838 0-1.653.014-2.428.033-6.942.5-16.216-1.82-20.775 5.065-1.568 29.864-1.863 61.374-1.863 93.342 8.107-.063 16.214-.11 24.322-.19 5.462-.335 13.185 1.324 16.04-4.896 2.22-19.764 1.22-39.8 1.23-59.675-.867-8.903 1.344-18.107-1.346-26.87-2.324-5.975-9.316-6.798-15.18-6.807zM0 414.303v57.002c18.607-.046 37.215-.058 55.822-.06v-41.15c-5.02-.043-10.038-.074-15.056-.128l.03-15.664zm309.822 15.828c-11.35-.004-30.702.006-42.052.024v41.1c11.35-.03 30.7-.065 42.052-.117zm-84 .118c-14.017.04-28.035.077-42.052.11v40.953c14.017.008 28.035.022 42.052.012zm-128.052.104v40.906c14.684.01 29.368.02 44.052.035V430.42c-14.684.005-29.368-.018-44.052-.068z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.6 KiB |
|
@ -238,14 +238,14 @@
|
|||
:title "Copy to library"
|
||||
:on-select on-copy))
|
||||
|
||||
i/organize]
|
||||
i/copy]
|
||||
[:span.move-item.tooltip.tooltip-top
|
||||
{:on-click on-toggle-move :alt "Move"}
|
||||
(when (:show-move-tooltip @local)
|
||||
(grid-options-tooltip :selected id
|
||||
:title "Move to library"
|
||||
:on-select on-move))
|
||||
i/organize]
|
||||
i/move]
|
||||
[:span.delete.tooltip.tooltip-top
|
||||
{:alt "Delete"
|
||||
:on-click on-delete}
|
||||
|
|
|
@ -271,14 +271,14 @@
|
|||
(grid-options-tooltip :selected id
|
||||
:title "Copy to library"
|
||||
:on-select on-copy))
|
||||
i/organize]
|
||||
i/copy]
|
||||
[:span.move-item.tooltip.tooltip-top
|
||||
{:on-click on-toggle-move :alt "Move"}
|
||||
(when (:show-move-tooltip @local)
|
||||
(grid-options-tooltip :selected id
|
||||
:title "Move to library"
|
||||
:on-select on-move))
|
||||
i/organize]
|
||||
i/move]
|
||||
(when (= 1 (count selected))
|
||||
[:span.move-item.tooltip.tooltip-top
|
||||
{:alt "Rename"
|
||||
|
|
|
@ -274,14 +274,14 @@
|
|||
(grid-options-tooltip :selected id
|
||||
:title "Copy to library"
|
||||
:on-select on-copy))
|
||||
i/organize]
|
||||
i/copy]
|
||||
[:span.move-item.tooltip.tooltip-top
|
||||
{:on-click on-toggle-move :alt "Move"}
|
||||
(when (:show-move-tooltip @local)
|
||||
(grid-options-tooltip :selected id
|
||||
:title "Move to library"
|
||||
:on-select on-move))
|
||||
i/organize]
|
||||
i/move]
|
||||
(when (= 1 (count selected))
|
||||
[:span.move-item.tooltip.tooltip-top
|
||||
{:alt "Rename"
|
||||
|
|
|
@ -162,18 +162,6 @@
|
|||
{:d
|
||||
"M207.305 0c-6.64 0-11.987 5.345-11.987 11.984v85.393c0 6.64 5.347 11.984 11.987 11.984h85.39c6.64 0 11.987-5.343 11.987-11.983V11.984c0-6.64-5.347-11.984-11.987-11.984h-85.39zm0 195.318c-6.64 0-11.987 5.347-11.987 11.987v85.39c0 6.64 5.347 11.987 11.987 11.987h85.39c6.64 0 11.987-5.347 11.987-11.987v-85.39c0-6.64-5.347-11.987-11.987-11.987h-85.39zm0 195.32c-6.64 0-11.987 5.345-11.987 11.985v85.393c0 6.64 5.347 11.984 11.987 11.984h85.39c6.64 0 11.987-5.345 11.987-11.984v-85.393c0-6.64-5.347-11.984-11.987-11.984h-85.39z"}]]]))
|
||||
|
||||
(def action-mark
|
||||
(html
|
||||
[:svg
|
||||
{:viewBox "0 0 20 20"
|
||||
:height "20"
|
||||
:width "20"}
|
||||
[:g
|
||||
[:circle {:cy (:y rect), :cx (:x rect), :r "10", :fill "#78dbbe"}]
|
||||
[:path
|
||||
{:d
|
||||
"M325.238 570.484c-.254-.07-.48-.196-.67-.377-.29-.274-.434-.578-.485-1.023-.017-.15-.06-.326-.094-.395-.036-.07-.87-1.335-1.855-2.812-.985-1.477-1.826-2.765-1.87-2.862-.213-.485-.312-1.09-.236-1.454.147-.71.793-1.236 1.514-1.236.38 0 .935.18 1.283.418.085.057.392.338.682.625.29.285.538.51.55.498.01-.01.02-1.437.02-3.167 0-2.684.008-3.17.05-3.327.143-.553.566-.978 1.117-1.12.262-.07 1.485-.07 1.746-.002.507.133.873.463 1.086.982.065.16.068.226.083 1.602l.016 1.436.414.02c.437.02.603.062.885.23.19.112.414.353.54.58l.107.19.462.02c.486.02.637.056.93.23.19.112.416.354.542.58l.107.19.46.02c.487.02.635.056.932.23.316.185.614.613.693.996.024.112.03.918.025 2.49l-.01 2.325-.086.276c-.048.152-.12.353-.162.447-.09.205-1.66 2.574-1.842 2.78-.174.198-.53.43-.842.547l-.256.097-2.84.006c-2.372.006-2.865 0-3.004-.04zm5.86-1.075c.097-.048.225-.134.284-.192.135-.132 1.613-2.342 1.715-2.566.163-.355.168-.438.17-2.747 0-2.076-.002-2.15-.064-2.27-.034-.068-.11-.157-.167-.198-.093-.066-.14-.074-.44-.074h-.334l-.016.847-.016.848-.086.113c-.223.293-.61.284-.837-.017-.063-.085-.066-.14-.082-1.293l-.015-1.204-.086-.113c-.135-.177-.263-.22-.607-.21l-.296.008-.015.852c-.015.796-.02.856-.082.94-.125.166-.227.218-.428.218-.202 0-.304-.052-.43-.22-.062-.084-.065-.138-.08-1.292l-.017-1.204-.085-.112c-.135-.177-.263-.222-.608-.21l-.295.007-.016.847-.016.848-.086.112c-.116.153-.284.23-.46.21-.148-.017-.333-.135-.402-.257-.032-.055-.044-.683-.057-2.797l-.016-2.727-.074-.105c-.04-.056-.132-.132-.202-.168-.116-.06-.174-.064-.772-.055-.646.01-.646.01-.76.096-.233.178-.216-.168-.216 4.49 0 4.66.017 4.313-.217 4.49-.092.07-.147.087-.293.087-.15 0-.2-.015-.3-.092-.168-.127-.21-.25-.21-.6v-.297l-.917-.913c-.55-.548-.968-.94-1.045-.977-.18-.09-.453-.166-.588-.165-.26 0-.51.26-.512.528 0 .17.104.576.192.75.038.073.87 1.335 1.85 2.804.978 1.468 1.808 2.726 1.843 2.794.092.182.163.448.194.725.03.276.103.404.284.5.113.06.194.062 2.828.055l2.71-.007.177-.086z", :fill "#fff"}]]]))
|
||||
|
||||
(def trash
|
||||
(html
|
||||
[:svg
|
||||
|
@ -360,6 +348,16 @@
|
|||
{:d
|
||||
"M358.943 28.602c-.308 0-.604.037-.89.09-49.585.04-99.173.093-148.752-.014-27.727-.028-55.458.074-83.177.85-4.752-1.018-10.443 1.406-11.455 6.533-.466 103.07-.64 206.2.08 309.292-1.238 5.19 3.24 9.595 8.193 9.9 125.59 1.67 251.218.43 376.822.83-.053-62.194.004-124.387.004-186.58 0-.025.006-.048.006-.072v-33.244c.01-1.015-.075-1.874-.633-2.63 0 0-100.553-100.47-103.737-103.525-1.173-1.204-1.968-1.41-3.215-1.428zm-3.77 41.04V170.24c0 .766.378 1.454.98 1.98.526.603 1.214.98 1.98.98H459.01c.024 47.2-.018 94.397-.512 141.595-100.834.884-201.672.388-302.508.517l.46-245.412c66.24-.125 132.482-.207 198.724-.257zm-311.92 74.215c-14.417.007-28.835.03-43.253.063v327.385c122.697-.3 245.398.592 368.092-.62 5.462-.334 13.184 1.326 16.04-4.894 2.218-19.765 1.22-39.8 1.23-59.675-.866-8.903 1.344-18.108-1.346-26.87-2.656-6.83-11.41-6.93-17.608-6.776-6.942.5-16.216-1.82-20.775 5.065-3.71 17.107-1.46 34.96-2.182 52.37-9.804.426-20.454.09-30.583.226-90.7-.124-181.406.822-272.103-.165l.46-244.926 56.083-.954.754-40.133c-3.85-.03-7.7-.064-11.55-.074-14.418-.022-28.838-.03-43.256-.023z"}]]))
|
||||
|
||||
(def move
|
||||
(html
|
||||
[:svg
|
||||
{:viewBox "0 0 500.00001 500.00001"
|
||||
:height "500"
|
||||
:width "500"}
|
||||
[:path
|
||||
{:d
|
||||
"M358.943 28.602c-.308 0-.604.036-.89.09-49.585.04-99.173.093-148.752-.014-27.726-.028-55.458.073-83.177.85-4.752-1.02-10.44 1.406-11.453 6.533-.466 103.07-.642 206.202.078 309.294-1.238 5.19 3.24 9.595 8.193 9.9 125.59 1.67 251.22.428 376.824.828-.053-62.194.004-124.385.004-186.578 0-.025.006-.048.006-.072v-33.245c.01-1.015-.075-1.874-.633-2.63 0 0-100.55-100.47-103.735-103.526-1.173-1.203-1.968-1.41-3.215-1.427zm-3.77 41.04V170.24c0 .766.377 1.455.98 1.98.525.604 1.214.98 1.98.98H459.01c.024 47.2-.018 94.397-.512 141.595-100.834.884-201.672.388-302.508.517l.46-245.412c66.24-.125 132.482-.207 198.724-.257zM43.257 143.856l-.002.002c-14.417.007-28.836.03-43.254.063v58.435h41.19l.035-17.316 56.084-.954.752-40.133c-3.85-.03-7.7-.064-11.55-.074-14.418-.023-28.838-.03-43.256-.024zM0 244.303v42.052h41.035l.078-42.052zm0 84v44.052h40.873l.084-44.052zm368.836 44.135c-.838 0-1.653.014-2.428.033-6.942.5-16.216-1.82-20.775 5.065-1.568 29.864-1.863 61.374-1.863 93.342 8.107-.063 16.214-.11 24.322-.19 5.462-.335 13.185 1.324 16.04-4.896 2.22-19.764 1.22-39.8 1.23-59.675-.867-8.903 1.344-18.107-1.346-26.87-2.324-5.975-9.316-6.798-15.18-6.807zM0 414.303v57.002c18.607-.046 37.215-.058 55.822-.06v-41.15c-5.02-.043-10.038-.074-15.056-.128l.03-15.664zm309.822 15.828c-11.35-.004-30.702.006-42.052.024v41.1c11.35-.03 30.7-.065 42.052-.117zm-84 .118c-14.017.04-28.035.077-42.052.11v40.953c14.017.008 28.035.022 42.052.012zm-128.052.104v40.906c14.684.01 29.368.02 44.052.035V430.42c-14.684.005-29.368-.018-44.052-.068z"}]]))
|
||||
|
||||
(def box
|
||||
(html
|
||||
[:svg
|
||||
|
|
Loading…
Add table
Reference in a new issue