mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 21:59:10 +00:00
add action mark
This commit is contained in:
parent
61c0632fdb
commit
626ed4893c
6
resources/public/images/svg/action-mark.svg
Normal file
6
resources/public/images/svg/action-mark.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
|
||||
<g transform="translate(-317.143 -552.362)">
|
||||
<circle cx="327.143" cy="562.362" 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"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@ -151,6 +151,18 @@
|
||||
{:d
|
||||
"m191.64785 498.75262c-7.77969-2.11857-14.67898-5.99402-20.54139-11.53843-8.86314-8.38239-13.27097-17.70166-14.81986-31.33296-0.52235-4.59701-1.80728-9.96843-2.89433-12.09923-1.07523-2.10761-26.63047-40.84608-56.789439-86.0855-30.158969-45.23941-55.913166-84.69256-57.231546-87.67366-6.563748-14.84179-9.586791-33.37935-7.262342-44.53328 4.526246-21.71931 24.327108-37.85973 46.414415-37.83411 11.641878 0.0135 28.640132 5.54001 39.296402 12.77611 2.58564 1.75579 11.98611 10.37261 20.88992 19.14853 8.90381 8.7759 16.48667 15.65827 16.8508 15.29414 0.36413-0.36414 0.66206-44.01547 0.66206-97.00296 0-82.245655 0.21318-97.159375 1.45714-101.935253 4.41235-16.940112 17.39069-29.9600167 34.23876-34.3483807 8.05009-2.09678105 45.49218-2.12380205 53.49777-0.0386 15.5359 4.046588 26.73695 14.1690707 33.25353 30.0515047 2.01608 4.913664 2.12219 6.923979 2.59061 49.08212l0.48843 43.958619 12.69916 0.58638c13.37443 0.61757 18.47109 1.94455 27.10282 7.05653 5.81486 3.44375 12.72951 10.84436 16.58951 17.75539l3.27361 5.86115 14.12606 0.57445c14.94455 0.60774 19.54533 1.74762 28.52973 7.06847 5.81486 3.44374 12.72951 10.84435 16.58951 17.75539l3.27361 5.86115 14.12606 0.57445c14.92207 0.60682 19.46078 1.72797 28.54342 7.05074 9.68996 5.6787 18.81066 18.78004 21.24824 30.52183 0.7106 3.42294 0.95264 28.1032 0.74786 76.25841l-0.30276 71.19758-2.63402 8.43865c-1.4487 4.64126-3.6785 10.79546-4.9551 13.67601-2.79164 6.29914-50.84038 78.83494-56.42111 85.17498-5.31576 6.03902-16.27188 13.15029-25.79263 16.74118l-7.84989 2.96071-86.94036 0.19531c-72.67254 0.16326-87.77967-0.0332-92.05465-1.19741zM371.1514 465.8467c2.96605-1.45671 6.87807-4.09423 8.69336-5.86115 4.13916-4.02886 49.391-71.71439 52.53142-78.57398 4.99063-10.90096 5.14624-13.43644 5.16449-84.14958 0.0164-63.57187-0.0465-65.85708-1.91464-69.51886-1.06239-2.08243-3.37021-4.81234-5.12851-6.06645-2.86192-2.04126-4.27166-2.28019-13.45391-2.28019l-10.25701 0-0.48843 25.9654-0.48843 25.96541-2.63121 3.44708c-6.83226 8.9507-18.72512 8.69119-25.63731-0.55944-1.92902-2.58161-2.03471-4.25321-2.5025-39.58056l-0.48843-36.88512-2.63122-3.44757c-4.13845-5.42243-8.03678-6.77363-18.59664-6.44578l-9.05474 0.28112-0.48843 26.06201c-0.45694 24.3818-0.61827 26.23574-2.5025 28.75695-3.83003 5.12479-6.95081 6.72309-13.12722 6.72309-6.17669 0-9.29773-1.59856-13.12723-6.72359-1.92902-2.58161-2.0347-4.25321-2.5025-39.58057l-0.48843-36.88512-2.63122-3.44756c-4.13845-5.42243-8.03678-6.77363-18.59664-6.44578l-9.05474 0.28112-0.48843 25.9654-0.48843 25.96541-2.63121 3.44708c-3.56365 4.66861-8.71479 7.00414-14.10743 6.39631-4.51077-0.50843-10.18186-4.12146-12.30976-7.84251-0.95705-1.67358-1.34387-20.91329-1.72262-85.67957l-0.48843-83.521362-2.28019-3.196904c-1.25411-1.758296-4.03275-4.090984-6.17476-5.183755-3.60332-1.838271-5.37457-1.964462-23.68558-1.687386-19.78025 0.299309-19.79289 0.300902-23.23772 2.930691-7.16446 5.46935-6.65223-5.122027-6.65223 137.547896 0 142.67538 0.51262 132.08072-6.65522 137.5479-2.80603 2.14025-4.48058 2.63121-8.97451 2.63121-4.58326 0-6.15379-0.47975-9.21563-2.81513-5.11203-3.89914-6.41409-7.63565-6.41409-18.40647l0-9.07362-28.08467-27.98737c-16.84145-16.78309-29.648931-28.76278-31.992091-29.9243-5.491904-2.72239-13.890533-5.08594-18.004958-5.06697-7.975943 0.0367-15.64746 7.95753-15.680572 16.19004-0.02076 5.15985 3.17886 17.64199 5.878954 22.9346 1.159376 2.27258 26.640125 40.92627 56.623877 85.89711 29.98376 44.97083 55.39705 83.49229 56.47397 85.60323 2.81991 5.52749 5.01244 13.67096 5.96313 22.14824 0.95039 8.47465 3.16631 12.37269 8.70794 15.31822 3.48262 1.85112 5.94661 1.89927 86.61752 1.6925l83.03293-0.2128 5.39283-2.64857z"}]]]))
|
||||
|
||||
(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
|
||||
|
||||
@ -53,11 +53,12 @@
|
||||
[:g {:id (str "itx-" (:id shape))}
|
||||
(factory shape)
|
||||
(when show-itx?
|
||||
[:div.interaction-mark i/trash])]))
|
||||
; [:circle {:fill "red"
|
||||
; :cx (:x rect)
|
||||
; :cy (:y rect)
|
||||
; :r 10}])]))
|
||||
[:circle {:fill "#78dbbe"
|
||||
:cx (:x rect)
|
||||
:cy (:y rect)
|
||||
:r 10}]
|
||||
[:path {:fill "#fff",
|
||||
: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"}])]))
|
||||
|
||||
;; --- Shapes
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user