0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-28 15:41:25 -05:00

add multicanvas icon to header.cljs

This commit is contained in:
Juan de la Cruz 2016-01-07 12:44:23 +01:00
parent cba11ae053
commit 6edc5e07ee
3 changed files with 16 additions and 58 deletions

View file

@ -303,6 +303,16 @@
{:d
"M175.22537 0.0214681C98.602395-0.4189217 25.177287 57.341185 8.1268427 132.43819c-16.236521 64.68266 7.6690733 137.6301 61.0127383 178.29929 29.517076 23.30663 66.410239 37.17296 104.021159 37.97425-0.0312 50.42943 0.0789 100.85884 0.0307 151.28827 107.89983 0 215.79967 0 323.69951 0 0-107.89983 0-215.79966 0-323.69951-48.37827 0-96.75653 0-145.13478 0C353.71298 101.54532 300.96681 28.47396 228.60303 7.70976 211.56875 2.4333964 193.25409-0.2710881 175.22537 0.0214681Zm1.39564 45.1256169c59.60941-1.339223 116.86335 44.455175 127.24524 103.415595 1.85716 9.11869 2.67055 18.43563 2.57212 27.73781-44.41306 0-88.82612 0-133.23918 0-0.12477 42.3413 0.20748 84.68363-0.16917 127.02417C113.59669 302.40815 58.275037 254.48689 50.046662 195.49339 41.679559 145.85509 64.545443 91.631367 108.08481 65.447269c20.38308-12.91528 44.37765-20.187654 68.5362-20.300184zm41.62691 174.243245c26.7401 0 53.48021 0 80.22032 0-13.57553 36.75933-44.78553 66.40841-82.18883 78.09034 0-26.03011 0-52.06022 0-78.09034l0.98426 0 0.98425 0zm129.05802 0c35.49906 0 70.99811 0 106.49715 0 0 79.17327 0 158.34656 0 237.51984-79.17455 0-158.34912 0-237.52368 0 0-37.5579 0-75.11581 0-112.67371 61.81439-13.63797 113.78218-63.87645 129.53094-124.84613l0.98425 0 0.51134 0z"}]]))
(def multicanvas
(html
[:svg
{:viewBox "0 0 500.00001 500.00001"
:height "500"
:width "500"}
[:path
{:d
"M22.5 0C11.24 0 0 9.125 0 22.02v129.732c0 12.894 11.24 22.02 22.5 22.02h189.152c11.26 0 22.5-9.126 22.5-22.02V22.02c0-12.895-11.24-22.02-22.5-22.02H22.5zm265.848 0c-11.26 0-22.5 9.125-22.5 22.02v219.773c0 12.894 11.24 22.02 22.5 22.02H477.5c11.26 0 22.5-9.126 22.5-22.02V22.02C500 9.125 488.76 0 477.5 0H288.348zM35 35h164.152v103.77H35V35zm265.848 0H465v193.814H300.848V35zM22.5 206.525c-11.26 0-22.5 9.126-22.5 22.02V477.98C0 490.875 11.24 500 22.5 500h189.152c11.26 0 22.5-9.125 22.5-22.02V228.545c0-12.894-11.24-22.02-22.5-22.02H22.5zm12.5 35h164.152V465H35V241.525zm253.348 60.34c-11.26 0-22.5 9.125-22.5 22.02V477.98c0 12.895 11.24 22.02 22.5 22.02H477.5c11.26 0 22.5-9.125 22.5-22.02V323.885c0-12.894-11.24-22.02-22.5-22.02H288.348zm12.5 35H465V465H300.848V336.865z"}]]))
(def box
(html
[:svg

View file

@ -65,7 +65,11 @@
i/alignment]
[:li.tooltip.tooltip-bottom
{:alt "Organize (Ctrl + O)"}
i/organize]]]
i/organize]]
[:ul.options-btn
[:li.tooltip.tooltip-bottom
{:alt "Multi-canvas (Ctrl + M)"}
i/multicanvas]]]
(ui.u/user)])))
(def header
@ -73,4 +77,3 @@
{:render header-render
:name "workspace-header"
:mixins [rum/reactive]}))

View file

@ -1,56 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="500"
height="500"
viewBox="0 0 500 500.00001"
id="svg4946"
version="1.1"
sodipodi:docname="multi-canvas.svg"
inkscape:version="0.91 r13725">
<defs
id="defs4948">
<path
id="path-1"
d="M0.140487671 0C0.0628984728 0 0 0.065177679 0 0.14488998L0 17.85511C0 17.9351306 0.0631103513 18 0.140487671 18L21.8595124 18C21.9371015 18 22 17.9348223 22 17.85511L22 0.14488998C22 0.064869454 21.9368896 0 21.8595124 0L0.140487671 0ZM1 1L1 17 21 17 21 1 1 1ZM8.31146755 3.96557279L11.5680228 9.58960333C11.6080958 9.65880899 11.694647 9.6768875 11.7588871 9.63170823L14.5213939 7.68886831C14.6506985 7.59792981 14.8228868 7.62965466 14.9092326 7.7648075L19.9298551 15.6233415C20.0147479 15.75622 19.9533678 15.8639394 19.8034742 15.8639394L2.14722686 15.8639394C1.99212294 15.8639394 1.92473319 15.7514312 1.99797568 15.6102003L7.71352136 4.58911188 8.03502924 3.96915944C8.107704 3.82902321 8.23291348 3.82991093 8.31146755 3.96557279ZM17.5 6C18.3284271 6 19 5.32842715 19 4.5 19 3.67157284 18.3284271 3 17.5 3 16.6715729 3 16 3.67157284 16 4.5 16 5.32842715 16.6715729 6 17.5 6ZM0.140487671 0C0.0628984728 0 0 0.065177679 0 0.14488998L0 17.85511C0 17.9351306 0.0631103513 18 0.140487671 18L21.8595124 18C21.9371015 18 22 17.9348223 22 17.85511L22 0.14488998C22 0.064869454 21.9368896 0 21.8595124 0L0.140487671 0ZM8.31146755 3.96557279L11.5680228 9.58960333C11.6080958 9.65880899 11.694647 9.6768875 11.7588871 9.63170823L14.5213939 7.68886831C14.6506985 7.59792981 14.8228868 7.62965466 14.9092326 7.7648075L19.9298551 15.6233415C20.0147479 15.75622 19.9533678 15.8639394 19.8034742 15.8639394L2.14722686 15.8639394C1.99212294 15.8639394 1.92473319 15.7514312 1.99797568 15.6102003L7.71352136 4.58911188 8.03502924 3.96915944C8.107704 3.82902321 8.23291348 3.82991093 8.31146755 3.96557279ZM17.5 6C18.3284271 6 19 5.32842715 19 4.5 19 3.67157284 18.3284271 3 17.5 3 16.6715729 3 16 3.67157284 16 4.5 16 5.32842715 16.6715729 6 17.5 6Z" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
showgrid="false"
units="px"
inkscape:zoom="0.944"
inkscape:cx="164.67702"
inkscape:cy="171.37854"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:window-maximized="1"
inkscape:current-layer="svg4946" />
<metadata
id="metadata4951">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>
image/svg+xml
</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:35;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 22.5 0 C 11.239869 0 0 9.1252699 0 22.019531 L 0 151.75195 C 0 164.64621 11.239869 173.77148 22.5 173.77148 L 211.65234 173.77148 C 222.91247 173.77148 234.15234 164.64621 234.15234 151.75195 L 234.15234 22.019531 C 234.15234 9.1252699 222.91247 0 211.65234 0 L 22.5 0 z M 288.34766 0 C 277.08753 0 265.84766 9.1252699 265.84766 22.019531 L 265.84766 241.79297 C 265.84766 254.68723 277.08753 263.81445 288.34766 263.81445 L 477.5 263.81445 C 488.76013 263.81445 500 254.68723 500 241.79297 L 500 22.019531 C 500 9.1252699 488.76013 0 477.5 0 L 288.34766 0 z M 35 35 L 199.15234 35 L 199.15234 138.77148 L 35 138.77148 L 35 35 z M 300.84766 35 L 465 35 L 465 228.81445 L 300.84766 228.81445 L 300.84766 35 z M 22.5 206.52539 C 11.239869 206.52539 0 215.65066 0 228.54492 L 0 477.98047 C 0 490.87473 11.239869 500 22.5 500 L 211.65234 500 C 222.91247 500 234.15234 490.87473 234.15234 477.98047 L 234.15234 228.54492 C 234.15234 215.65066 222.91247 206.52539 211.65234 206.52539 L 22.5 206.52539 z M 35 241.52539 L 199.15234 241.52539 L 199.15234 465 L 35 465 L 35 241.52539 z M 288.34766 301.86523 C 277.08753 301.86523 265.84766 310.9905 265.84766 323.88477 L 265.84766 477.98047 C 265.84766 490.87473 277.08753 500 288.34766 500 L 477.5 500 C 488.76013 500 500 490.87473 500 477.98047 L 500 323.88477 C 500 310.9905 488.76013 301.86523 477.5 301.86523 L 288.34766 301.86523 z M 300.84766 336.86523 L 465 336.86523 L 465 465 L 300.84766 465 L 300.84766 336.86523 z "
id="rect23285" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 500 500.00001"><path style="line-height:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;text-transform:none;block-progression:tb;isolation:auto;mix-blend-mode:normal" d="M22.5 0C11.24 0 0 9.125 0 22.02v129.732c0 12.894 11.24 22.02 22.5 22.02h189.152c11.26 0 22.5-9.126 22.5-22.02V22.02c0-12.895-11.24-22.02-22.5-22.02H22.5zm265.848 0c-11.26 0-22.5 9.125-22.5 22.02v219.773c0 12.894 11.24 22.02 22.5 22.02H477.5c11.26 0 22.5-9.126 22.5-22.02V22.02C500 9.125 488.76 0 477.5 0H288.348zM35 35h164.152v103.77H35V35zm265.848 0H465v193.814H300.848V35zM22.5 206.525c-11.26 0-22.5 9.126-22.5 22.02V477.98C0 490.875 11.24 500 22.5 500h189.152c11.26 0 22.5-9.125 22.5-22.02V228.545c0-12.894-11.24-22.02-22.5-22.02H22.5zm12.5 35h164.152V465H35V241.525zm253.348 60.34c-11.26 0-22.5 9.125-22.5 22.02V477.98c0 12.895 11.24 22.02 22.5 22.02H477.5c11.26 0 22.5-9.125 22.5-22.02V323.885c0-12.894-11.24-22.02-22.5-22.02H288.348zm12.5 35H465V465H300.848V336.865z" color="#000" font-family="sans-serif" white-space="normal" overflow="visible" solid-color="#000000"/></svg>

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB