unneeded code

This commit is contained in:
Starystars67 2023-05-08 23:12:24 +01:00
parent 011769d0b6
commit ab437aba01
20 changed files with 0 additions and 553 deletions

View File

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M9 3H6V5H2V7H6V9H9V7H22V5H9V3ZM22 11H18V9H15V11H2V13H15V15H18V13H22V11ZM9 17H2V19H9V21H12V19H22V17H12V15H9V17Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 278 B

View File

@ -1,7 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.80231 3C9.33361 3 8.9278 3.32553 8.82612 3.78306L8.33343 6H15.6668L15.1742 3.78308C15.0725 3.32554 14.6667 3 14.198 3H12.6972L12.7275 5H11.2729L11.3032 3H9.80231Z" fill="#fff"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.27032 19.7831L7.22224 11H16.7778L18.7295 19.7831C18.8682 20.4076 18.393 21 17.7533 21H12.9698L12.9244 18H11.0759L11.0304 21H6.2465C5.60675 21 5.13152 20.4076 5.27032 19.7831ZM11.1517 13H12.8487L12.8941 16H11.1062L11.1517 13Z" fill="#fff"/>
<path d="M5 7H19V10H5V7Z" fill="#fff"/>
<path d="M4 8H2V17H5V13H4V8Z" fill="#fff"/>
<path d="M19 13H20V8H22V17H19V13Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 718 B

View File

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18 14H22V12H18V10H19C19.5304 10 20.0391 9.78929 20.4142 9.41421C20.7893 9.03914 21 8.53043 21 8V6H19V8H4.99997V6H2.99997V8C2.99997 8.53043 3.21068 9.03914 3.58576 9.41421C3.96083 9.78929 4.46954 10 4.99997 10H5.99997V12H1.99997V14H5.99997V15C6.00198 15.3353 6.03208 15.6698 6.08997 16H4.99997C4.46954 16 3.96083 16.2107 3.58576 16.5858C3.21068 16.9609 2.99997 17.4696 2.99997 18V20H4.99997V18H6.80997C6.98041 18.2945 7.19651 18.795 7.39766 19.2987C7.78188 20.2609 8.68389 20.9305 9.71949 20.9616L9.96998 20.9691C10.5338 20.986 11 20.5336 11 19.9695V10H13V19.9695C13 20.5336 13.4662 20.986 14.03 20.9691L14.2804 20.9616C15.316 20.9305 16.2181 20.2609 16.6023 19.2987C16.8034 18.795 17.0195 18.2945 17.19 18H19V20H21V18C21 17.4696 20.7893 16.9609 20.4142 16.5858C20.0391 16.2107 19.5304 16 19 16H17.91C17.9679 15.6698 17.998 15.3353 18 15V14ZM12 2C10.9391 2 9.92169 2.42143 9.17154 3.17157C8.4214 3.92172 7.99997 4.93913 7.99997 6L8.99997 8H15L16 6C16 4.93913 15.5785 3.92172 14.8284 3.17157C14.0783 2.42143 13.0608 2 12 2Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.31245 10.7501C2.43313 10.2674 2.72941 9.84702 3.14343 9.57104L3.48308 9.34464C3.81976 9.12021 4.08045 8.79894 4.23072 8.42326L5.65551 4.8613C5.87399 4.31509 6.31989 3.88487 6.89275 3.75102C9.75168 3.08302 14.2484 3.08297 17.1073 3.75101C17.6801 3.88486 18.126 4.31508 18.3445 4.86128L19.7693 8.42326C19.9195 8.79894 20.1802 9.12021 20.5169 9.34464L20.8566 9.57104C21.2706 9.84702 21.5669 10.2674 21.6875 10.7501L21.9403 11.7611C21.9799 11.9197 22 12.0826 22 12.2462V14.8345C22 14.9447 21.9909 15.0547 21.9728 15.1633L21.7785 16.3289C21.6908 16.855 21.4026 17.3045 21 17.6044V20C21 20.5523 20.5523 21 20 21H19C18.4477 21 18 20.5523 18 20V18.0001L16 18L15 17.5H9L8 18L6 18.0001V20C6 20.5523 5.55228 21 5 21H4C3.44772 21 3 20.5523 3 20V17.6044C2.59738 17.3045 2.30916 16.855 2.22147 16.3289L2.02721 15.1633C2.0091 15.0547 2 14.9447 2 14.8345V12.2462C2 12.0826 2.02005 11.9197 2.05972 11.7611L2.31245 10.7501ZM3.59968 12.2011C3.82556 11.5233 4.5352 11.1338 5.22825 11.3071L7.14935 11.7876C7.64929 11.9126 8 12.3618 8 12.8772C8 13.4975 7.49715 14.0003 6.87685 14.0003H4.89657C3.96352 14.0003 3.30466 13.0863 3.59968 12.2011ZM18.7717 11.3071C19.4648 11.1338 20.1744 11.5233 20.4003 12.2011C20.6953 13.0863 20.0365 14.0003 19.1034 14.0003H17.1232C16.5029 14.0003 16 13.4975 16 12.8772C16 12.3618 16.3507 11.9126 16.8506 11.7876L18.7717 11.3071ZM6.78488 5.57376C6.91689 5.22173 7.23523 4.97265 7.60927 4.93462C10.6012 4.63043 13.2722 4.62114 16.3898 4.93532C16.7642 4.97306 17.0832 5.22226 17.2154 5.57465L18.5 9.00029C13.4716 8.80583 10.6434 8.70521 5.5 9.0001L6.78488 5.57376Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -1,6 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.75 8C1.33579 8 1 8.33579 1 8.75V17.25C1 17.6642 1.33579 18 1.75 18C2.16421 18 2.5 17.6642 2.5 17.25V14H5V12H2.5V8.75C2.5 8.33579 2.16421 8 1.75 8Z" fill="#fff"/>
<path d="M21 9C20.4477 9 20 9.44772 20 10V11H17V15H20V16C20 16.5523 20.4477 17 21 17H22C22.5523 17 23 16.5523 23 16V10C23 9.44772 22.5523 9 22 9H21Z" fill="#fff"/>
<path d="M7 4C7 3.44772 7.44772 3 8 3H16C16.5523 3 17 3.44772 17 4C17 4.55228 16.5523 5 16 5H15V8H13V5H11V8H9V5H8C7.44772 5 7 4.55228 7 4Z" fill="#fff"/>
<path d="M6.74808 7.16795C6.91234 7.05844 7.10535 7 7.30278 7H15.5858C15.851 7 16.1054 7.10536 16.2929 7.29289L17.7071 8.70711C17.8946 8.89464 18 9.149 18 9.41421V16.8377C18 16.9452 17.9827 17.052 17.9487 17.1539L17.2279 19.3162C17.0918 19.7246 16.7097 20 16.2792 20H10.4142C10.149 20 9.89464 19.8946 9.70711 19.7071L7.29289 17.2929C7.10536 17.1054 6.851 17 6.58579 17H5C4.44772 17 4 16.5523 4 16V9.53518C4 9.20083 4.1671 8.8886 4.4453 8.70313L6.74808 7.16795Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,61 +0,0 @@
<?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="24"
height="24"
viewBox="0 0 24 24"
fill="none"
version="1.1"
id="svg4505"
sodipodi:docname="icon-exit.svg"
inkscape:version="0.92.1 r15371">
<metadata
id="metadata4511">
<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>
<defs
id="defs4509" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1724"
inkscape:window-height="901"
id="namedview4507"
showgrid="false"
inkscape:zoom="9.8333333"
inkscape:cx="12"
inkscape:cy="12"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg4505" />
<path
d="M 7.4362343,0.998047 17.238374,1.00062 c 2.24587,0.00203 4.07516,1.24607 4.07516,3.99938 v 14 c 0,2.2194 -1.7817,4 -4,4 H 7.3135343 c -0.8284,0 -1.5,-0.6716 -1.5,-1.5 0,-0.8284 0.6716,-1.5 1.5,-1.5 h 9.9999997 c 0.58431,0 1,-0.4146 1,-1 V 5 c 0,-0.58798 -0.47915,-0.99862 -1.07647,-0.99938 L 7.4355343,3.99805 c -0.8285,-2.1e-4 -1.4999,-0.67195 -1.4997,-1.50038 2e-4,-0.82842 0.672,-1.49983 1.5004,-1.499623 z"
id="path4501"
inkscape:connector-curvature="0"
style="fill:#ffffff" />
<path
d="m 8.3742343,6.93935 c -0.5858,-0.58578 -1.5356,-0.58578 -2.1214,0 l -4,4.00005 c -0.5857,0.5857 -0.5857,1.5355 0,2.1213 l 4,4 c 0.5858,0.5858 1.5356,0.5858 2.1214,0 0.5857,-0.5858 0.5857,-1.5356 0,-2.1213 L 6.9348343,13.5 h 6.8786997 c 0.82843,0 1.5,-0.6716 1.5,-1.5 0,-0.8284 -0.67157,-1.5 -1.5,-1.5 H 6.9348343 l 1.4394,-1.43932 c 0.5857,-0.58579 0.5857,-1.53554 0,-2.12133 z"
id="path4503"
inkscape:connector-curvature="0"
style="fill:#ffffff" />
</svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.95848 4.25552C10.5428 4.56729 12.1757 5.2094 14.8571 4.53719C17.0558 3.98602 18.5495 3.96502 19.3382 4.02088C19.7305 4.04867 20 4.38412 20 4.77852V10.7421C20 11.3013 19.4673 11.7485 18.9098 11.7374C18.058 11.7205 16.7071 11.809 14.8571 12.2727C11.4286 13.1322 9.99999 12 9.99999 12V20.5271C10.7696 20.6622 11.6142 20.7368 12.5001 20.7368C16.09 20.7368 19.0002 19.5115 19.0002 18C19.0002 16.4884 16.09 15.2631 12.5001 15.2631C12.4364 15.2631 12.301 15.2623 12.1486 15.2616C11.7938 15.2601 11.5 14.9693 11.5 14.6145C11.5 14.273 11.773 13.998 12.1145 13.9989C12.2807 13.9994 12.4317 14 12.5 14C17.7467 14 22 15.7909 22 18C22 20.2091 17.7467 22 12.5 22C7.25329 22 3 20.2091 3 18C3 17.1561 3.62061 16.3733 4.68014 15.728C5.28285 15.3609 6 15.8476 6 16.5533V18C6.00003 18.7761 6.76735 19.4768 8 19.9749V5C8 4.52531 8.38375 4.10744 8.85714 4.10744H9.42857C9.61403 4.10744 9.79476 4.16816 9.95848 4.25552Z" fill="#FF6600"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,5 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.712 11.4874H10.2802V8.87268H11.7369C12.1312 8.87683 12.4425 9.00549 12.6708 9.25867C12.899 9.51184 13.0132 9.8501 13.0132 10.2734C13.0132 10.6594 12.9011 10.9583 12.677 11.1699C12.457 11.3816 12.1354 11.4874 11.712 11.4874Z" fill="#fff"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.27083 3.5C2.29283 3.5 1.5 4.29283 1.5 5.27083V7.18555H7.18604V8.87268H3.3075V10.9583H6.83118V12.6392H3.3075V16.25H1.5V18.7292C1.5 19.7072 2.29283 20.5 3.27083 20.5H20.9792C21.9572 20.5 22.75 19.7072 22.75 18.7292V15.3322C22.6393 15.4637 22.5107 15.5849 22.364 15.6959C21.7664 16.1483 20.9467 16.3745 19.9049 16.3745C19.1703 16.3745 18.5042 16.2438 17.9065 15.9823C17.313 15.7167 16.8647 15.3556 16.5618 14.899C16.2629 14.4384 16.1135 13.9092 16.1135 13.3115H18.3049C18.3049 13.7971 18.4294 14.1561 18.6785 14.3885C18.9316 14.6168 19.3405 14.731 19.9049 14.731C20.266 14.731 20.5503 14.6542 20.7578 14.5006C20.9695 14.3429 21.0753 14.1229 21.0753 13.8407C21.0753 13.5211 20.9612 13.2721 20.7329 13.0936C20.5088 12.9152 20.1124 12.7305 19.5438 12.5396C18.9752 12.3486 18.5104 12.1639 18.1493 11.9855C16.9747 11.4086 16.3875 10.6158 16.3875 9.6073C16.3875 9.1051 16.5327 8.66309 16.8232 8.28125C17.1179 7.89526 17.533 7.59644 18.0684 7.38477C18.6038 7.16895 19.2056 7.06104 19.8738 7.06104C20.5254 7.06104 21.1085 7.17725 21.6232 7.40967C22.0948 7.62097 22.4704 7.91461 22.75 8.29058V5.27083C22.75 4.29283 21.9572 3.5 20.9792 3.5H3.27083ZM10.2802 16.25V13.1746H11.6747C12.7787 13.1746 13.6461 12.911 14.277 12.3839C14.912 11.8527 15.2295 11.145 15.2295 10.261C15.2295 9.66333 15.0822 9.13 14.7875 8.66101C14.4969 8.18787 14.084 7.82471 13.5486 7.57153C13.0173 7.31421 12.4052 7.18555 11.712 7.18555H8.09497V16.25H10.2802Z" fill="#fff"/>
<path d="M22.75 9.875H21.0815C21.0815 9.50562 20.9674 9.21924 20.7391 9.01587C20.515 8.8125 20.21 8.71082 19.824 8.71082C19.4338 8.71082 19.1246 8.79797 18.8964 8.97229C18.6722 9.14246 18.5602 9.36035 18.5602 9.62598C18.5602 9.8584 18.6847 10.0701 18.9337 10.261C19.1827 10.4478 19.6206 10.6428 20.2473 10.8462C20.874 11.0454 21.3887 11.2612 21.7913 11.4937C22.1934 11.7254 22.513 11.9931 22.75 12.2969V9.875Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4L15 20C15 20.5523 14.5523 21 14 21H4C3.44771 21 3 20.5523 3 20V4ZM8.81839 8.39373C8.88987 8.23876 9.11013 8.23876 9.18161 8.39373L10.0817 10.345C10.1108 10.4082 10.1706 10.4517 10.2397 10.4599L12.3736 10.7129C12.5431 10.733 12.6112 10.9425 12.4859 11.0583L10.9082 12.5173C10.8572 12.5645 10.8343 12.6349 10.8478 12.7031L11.2666 14.8108C11.2999 14.9782 11.1217 15.1076 10.9728 15.0243L9.09769 13.9747C9.03699 13.9407 8.96301 13.9407 8.90231 13.9747L7.02722 15.0243C6.87829 15.1076 6.7001 14.9782 6.73336 14.8108L7.15215 12.7031C7.16571 12.6349 7.14285 12.5645 7.09178 12.5173L5.51412 11.0583C5.38881 10.9425 5.45688 10.733 5.62636 10.7129L7.76028 10.4599C7.82935 10.4517 7.88921 10.4082 7.91834 10.345L8.81839 8.39373ZM22 4C22.5523 4 23 4.44772 23 5V10C23 10.5523 22.5523 11 22 11H18C17.4477 11 17 10.5523 17 10V5C17 4.44772 17.4477 4 18 4L22 4ZM22 13C22.5523 13 23 13.4477 23 14V19C23 19.5523 22.5523 20 22 20H18C17.4477 20 17 19.5523 17 19V14C17 13.4477 17.4477 13 18 13H22Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 2H19C20.1 2 21 2.9 21 4V18.2026C21 19.2787 20.3114 20.2295 19.2906 20.5698L12.1581 22.9473C12.0555 22.9815 11.9445 22.9815 11.8419 22.9473L4.70943 20.5698C3.68858 20.2295 3 19.2797 3 18.2036V4C3 3.46957 3.21071 2.96086 3.58579 2.58579C3.96086 2.21071 4.46957 2 5 2ZM13.0179 14.3729H10.9286V13.8702C10.9286 11.9846 11.869 11.1976 12.6936 10.5074C13.3374 9.96847 13.9107 9.48865 13.9107 8.59116C13.9107 7.67541 13.2857 6.99309 12.1607 6.99309C10.8393 6.99309 10.0893 7.83702 10.0893 9.27348H8C8 6.56215 9.71429 5 12.1607 5C14.6607 5 16 6.56216 16 8.59116C16 10.144 15.1807 10.8534 14.401 11.5285C13.6931 12.1414 13.0179 12.7261 13.0179 13.8881V14.3729ZM13.4107 16.5994C13.4107 17.3895 12.7857 18 11.9821 18C11.1607 18 10.5536 17.3895 10.5536 16.5994C10.5536 15.8273 11.1607 15.1989 11.9821 15.1989C12.7857 15.1989 13.4107 15.8273 13.4107 16.5994Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 1015 B

View File

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 6C1 4.89543 1.89543 4 3 4H21C22.1046 4 23 4.89543 23 6V19C23 20.1046 22.1046 21 21 21H3C1.89543 21 1 20.1046 1 19V6ZM2.5 6H5V8H2.5V6ZM16 6H8V9H16V6ZM19 6H21.5V8H19V6ZM18.9151 13.5737C19.8185 13.4824 20.7267 13.6907 21.5 14.1665L20.4969 15.7967C20.0813 15.541 19.5932 15.4291 19.1077 15.4782C18.6223 15.5272 18.1664 15.7346 17.8105 16.0684C17.4545 16.4021 17.2182 16.8436 17.1379 17.3249C17.0577 17.8062 17.138 18.3005 17.3664 18.7317L16.5207 19.1797L15.6749 19.6278C15.2499 18.8255 15.1005 17.9057 15.2499 17.0101C15.3992 16.1145 15.8389 15.2929 16.5013 14.672C17.1636 14.051 18.0118 13.6651 18.9151 13.5737ZM2.5 14.1665C3.27326 13.6907 4.18154 13.4824 5.08486 13.5737C5.98818 13.6651 6.83638 14.051 7.49872 14.672C8.16107 15.2929 8.6008 16.1145 8.75013 17.0101C8.89945 17.9057 8.75009 18.8255 8.32507 19.6278L7.32016 19.0954C7.62838 18.5136 7.73669 17.8466 7.6284 17.1971C7.52011 16.5477 7.20123 15.9519 6.72092 15.5016C6.2406 15.0513 5.62551 14.7714 4.97045 14.7052C4.31538 14.6389 3.65672 14.79 3.09597 15.135L2.5 14.1665ZM4.83639 16.0436C4.47506 16.007 4.11174 16.0903 3.80244 16.2807L4.66986 17.6903L6.13247 18.4652C6.30248 18.1442 6.36222 17.7763 6.30249 17.4181C6.24276 17.0599 6.06687 16.7312 5.80193 16.4828C5.53699 16.2345 5.19771 16.0801 4.83639 16.0436Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.2806 21.5965C5.98328 13.3684 5 12.5239 5 9.5C5 5.35785 8.13399 2 12 2C15.866 2 19 5.35785 19 9.5C19 12.5239 18.0167 13.3684 12.7194 21.5965C12.3718 22.1345 11.6282 22.1345 11.2806 21.5965ZM12 12.625C13.6108 12.625 14.9167 11.2259 14.9167 9.5C14.9167 7.7741 13.6108 6.375 12 6.375C10.3892 6.375 9.08333 7.7741 9.08333 9.5C9.08333 11.2259 10.3892 12.625 12 12.625Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 494 B

View File

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM8 8H11V16H8V8ZM16 8H13V16H16V8Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 314 B

View File

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M20 4.99954H17L16.0857 4.08557C15.7107 3.71063 15.2021 3.5 14.6718 3.5H9.32825C8.79792 3.5 8.28931 3.71063 7.91425 4.08557L7 4.99954H4C2.8722 4.99954 2 5.9445 2 6.99954V16.9996C2 18.0546 2.8722 19.0008 4 19.0008L20 19.0007C21.1278 19.0007 22 18.0546 22 16.9996V6.99954C22 5.9445 21.1278 4.99954 20 4.99954ZM16 12.0003C16 14.2095 14.2091 16.0003 12 16.0003C9.79086 16.0003 8 14.2095 8 12.0003C8 9.7912 9.79086 8.00034 12 8.00034C14.2091 8.00034 16 9.7912 16 12.0003ZM17 9.00034C17.5523 9.00034 18 8.55262 18 8.00034C18 7.44805 17.5523 7.00034 17 7.00034C16.4477 7.00034 16 7.44805 16 8.00034C16 8.55262 16.4477 9.00034 17 9.00034Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 797 B

View File

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11 1C9.34315 1 8 2.34315 8 4V5H5C3.89543 5 3 5.89543 3 7V10.5001H4.5C5.88071 10.5001 7 11.6194 7 13.0001C7 14.3808 5.88071 15.5001 4.5 15.5001H3V19C3 20.1046 3.89543 21 5 21H8.5V19.5001C8.5 18.1194 9.61929 17.0001 11 17.0001C12.3807 17.0001 13.5 18.1194 13.5 19.5001V21H17C18.1046 21 19 20.1046 19 19V16H20C21.6569 16 23 14.6569 23 13C23 11.3431 21.6569 10 20 10H19V7C19 5.89543 18.1046 5 17 5H14V4C14 2.34315 12.6569 1 11 1Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 554 B

View File

@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.00018 4.5C3.96257 4.5 1.50011 6.96251 1.50018 10.0001L1.50021 11.0001C1.50028 14.0376 3.96269 16.5 7.00021 16.5H11V18.4641C11 19.2339 11.8333 19.715 12.5 19.3301L18.5 15.866C19.1666 15.4811 19.1666 14.5189 18.5 14.134L12.5 10.6699C11.8333 10.285 11 10.7661 11 11.5359V13.5H7.00021C5.61952 13.5 4.50024 12.3807 4.50021 11.0001L4.50018 10.0001C4.50015 8.61932 5.61945 7.5 7.00018 7.5H15.7887C17.6731 7.5 18.797 9.60009 17.7518 11.168L20.2479 12.8321C22.6223 9.27052 20.0692 4.5 15.7887 4.5H7.00018Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 627 B

View File

@ -1,8 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 13C8.46419 13 8.90991 13.0791 9.32442 13.2245C10.0406 11.3396 11.8639 10 14 10C16.7614 10 19 12.2386 19 15C20.6569 15 22 16.3431 22 18C22 19.6569 20.6569 21 19 21H8C5.79086 21 4 19.2091 4 17C4 14.7909 5.79086 13 8 13Z" fill="#fff"/>
<path d="M5.53076 5.11655C5.89861 5.4844 5.83232 6.09662 5.46447 6.46447C5.09662 6.83232 4.4844 6.89861 4.11654 6.53076L3.34315 5.75736C2.95262 5.36683 2.95262 4.73367 3.34315 4.34315C3.73367 3.95262 4.36683 3.95262 4.75736 4.34315L5.53076 5.11655Z" fill="#fff"/>
<path d="M8 4.09335C8 4.61357 8.47977 5 9 5C9.52023 5 10 4.61357 10 4.09335V3C10 2.44772 9.55228 2 9 2C8.44772 2 8 2.44771 8 3V4.09335Z" fill="#fff"/>
<path d="M12.4692 5.11655C12.1014 5.4844 12.1677 6.09662 12.5355 6.46447C12.9034 6.83232 13.5156 6.89861 13.8835 6.53076L14.6569 5.75736C15.0474 5.36684 15.0474 4.73367 14.6569 4.34315C14.2663 3.95262 13.6332 3.95262 13.2426 4.34315L12.4692 5.11655Z" fill="#fff"/>
<path d="M3.09335 11C3.61357 11 4 10.5202 4 10C4 9.47977 3.61357 9 3.09335 9H2C1.44772 9 1 9.44772 1 10C1 10.5523 1.44771 11 2 11H3.09335Z" fill="#fff"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.2642 8.73434C10.6919 9.16899 9.35972 10.1795 8.50746 11.5232C8.34016 11.5078 8.17088 11.5 8 11.5C7.30782 11.5 6.64551 11.6279 6.03539 11.8613C5.6962 11.3221 5.5 10.684 5.5 10C5.5 8.067 7.067 6.5 9 6.5C10.4867 6.5 11.7568 7.42691 12.2642 8.73434Z" fill="#fff"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,97 +0,0 @@
/* .vertical-divider {
border-right: 2px solid var(--bng-orange);
margin: 8px 4px 8px 4px;
} */
.menuLimiterContainer {
height:100%;
}
.menuLimiter {
height:100%;
/* TODO: find sensible limits for this */
max-width:3440px; /* 1080p = 1920x1080 */
margin: 0 auto;
display: flex;
flex-direction: column;
}
/* Dashboard Menu */
#dashmenu {
flex: none;
display: flex;
flex-flow: row;
flex-wrap: nowrap;
justify-content: stretch;
align-items: stretch;
background-color:rgba(0, 0, 0, 0.6);
position: relative;
z-index: var(--zorder_menu_dashmenu);
}
/* limiters to fit all labels (both must be the same size to center the menu items) */
#dashmenu::before, #dashmenu::after {
flex: 1 0 150px;
width: 150px;
content: "";
display: inline-block;
}
.dashBrdButtonDiv::after {
content: "";
flex: 0 0 2px;
width: 2px;
height: 100%;
margin: 8px -13px 8px 12px;
border-radius: 2px;
background-color: #f60;
z-index: 2;
}
/* fix for long strings */
#dashmenu * {
box-sizing: border-box;
}
#dashmenu > * {
display: flex;
flex-wrap: nowrap;
}
#dashmenu > *:not(.dashBrdButtonActive) {
overflow: hidden;
}
#dashmenu > *:not(.dashBrdButtonActive) > .dashBrdText {
flex: 0 1 auto;
overflow: hidden;
text-overflow: ellipsis;
}
/* do not change the order of next two rules */
#dashmenu > * > *:last-child {
flex: 0 0 auto;
}
#dashmenu > * > *:first-child {
flex: 0 1 auto;
}
#dashmenu > *:not(.dashBrdButtonStart):not(.dashBrdButtonEnd) {
flex: 0 1 auto;
position: relative;
height: 100%;
}
#dashmenu .dashBrdButton {
display: flex;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
/* width: 100%; */
}
#dashmenu .dashBrdSvgIcon {
flex: 0 0 auto;
}
@media (min-width: 1024px) and (max-width: 1600px) {
#dashmenu > *:not(.dashBrdButtonActive):not(.dashBrdButtonStart):not(.dashBrdButtonEnd) {
min-width: 5%;
max-width: 10%;
}
}

View File

@ -1,3 +0,0 @@
<link rel="stylesheet" type="text/css" href="/ui/modules/menu/menu.css" />
<!-- the content below the menu bar -->
<div class="contentNavMainmenu" layout="row" ui-view></div>

View File

@ -1,330 +0,0 @@
'use strict'
angular.module('beamng.stuff')
.controller('MenuController', ['$rootScope', '$scope', 'Utils', '$state', '$timeout', 'mdx', function ($rootScope, $scope, Utils, $state, $timeout, mdx) {
let vm = this
let availableMenuEntries = [
{
translateid: 'ui.inputActions.menu.menu_item_back.title',
icon: 'arrow_back',
class: "dashBrdButtonStart dashBrdButtonTopLeft",
soundClass: "bng_back_hover_generic",
targetState: '',
action: () => {
$rootScope.$broadcast('MenuToggle')
},
onlyIngame: false,
gamepadNavigateable: false,
navigationDisabled: true,
},
{
translateid: 'ui.dashboard.menu',
iconSVG: '/ui/modules/menu/icon-gamemodes.svg',
targetState: 'menu.mainmenu',
onlyIngame: false,
},
{
translateid: 'ui.playmodes.career',
iconSVG: '/ui/modules/menu/icon-gamemodes.svg',
targetState: 'menu.careerPause',
onlyIngame: true,
isVisible: () => $scope.inCareer,
},
{
translateid: 'ui.mainmenu.garage',
iconSVG: '/ui/modules/mainmenu/drive/icons/garage.svg',
targetState: '',
action: () => {
bngApi.engineLua("career_modules_playerDriving.onResetGameplay()");
},
onlyIngame: true,
isVisible: () => $scope.inCareer,
blackListStates: ['scenario','mission','garage'],
},
{
translateid: 'ui.dashboard.bigmap',
//iconSVG: '/ui/modules/menu/icon-map.svg',
icon: 'map',
targetState: 'menu.bigmap',
blackListStates: ['scenario','mission','garage'],
onlyIngame: true,
isVisible: () => !$scope.inCareer || ($scope.inCareer && $state.gamestate.name!=='garage')
},
{
translateid: 'ui.dashboard.gameContext',
iconSVG: '/ui/modules/menu/icon-flag.svg',
targetState: 'menu.careermission',
isVisible: () => vm.missionEnabled,
blackListStates: ['scenario','garage'],
onlyIngame: true,
},
{
translateid: 'ui.dashboard.mods',
iconSVG: '/ui/modules/menu/icon-puzzle.svg',
targetState: 'menu.mods.local',
blackListStates: ['scenario','mission','garage'],
substate: 'menu.mods',
onlyIngame: true,
},
{
translateid: 'ui.dashboard.vehicles',
iconSVG: '/ui/modules/menu/icon-car.svg',
targetState: 'menu.vehicles',
blackListStates: ['scenario','mission','garage','career'],
substate: 'menu.vehicles',
onlyIngame: true,
},
{
translateid: 'ui.dashboard.vehicleconfig',
iconSVG: '/ui/modules/menu/icon-engine.svg',
targetState: 'menu.vehicleconfig.parts',
blackListStates: ['scenario','mission','garage','career'],
substate: 'menu.vehicleconfig',
onlyIngame: true,
},
{
translateid: 'ui.dashboard.environment',
iconSVG: '/ui/modules/menu/icon-weather.svg',
targetState: 'menu.environment',
blackListStates: ['scenario','mission','garage'],
onlyIngame: true,
},
{
translateid: 'ui.dashboard.photomode',
iconSVG: '/ui/modules/menu/icon-photo.svg',
targetState: 'menu.photomode',
onlyIngame: true,
blackListStates: ['garage'],
},
{
translateid: 'ui.dashboard.appedit',
iconSVG: '/ui/modules/menu/icon-hud.svg',
targetState: 'menu.appedit',
onlyIngame: true,
blackListStates: ['scenario'],
},
{
translateid: 'ui.dashboard.options',
iconSVG: '/ui/modules/menu/icon-adjust.svg',
targetState: 'menu.options.graphics',
substate: 'menu.options',
onlyIngame: true,
},
]
for(let m of availableMenuEntries) {
if(!m.action && m.targetState) {
// if no action is defined, toggle the states
m.action = () => {
if ($state.current.name !== m.targetState) {
$state.go(m.targetState);
}
else
$scope.$emit("MenuToggle");
}
}
if(!m.action) {
console.error('state is missing action or targetState')
}
}
// Mission Menu and Career Stuff
vm.missionEnabled = false
$scope.inCareer = false;
bngApi.engineLua(`{
gameContext = core_gameContext.getGameContext(),
isCareerActive = career_career.isCareerActive()
}`, data => {
$scope.$evalAsync(() => {
vm.missionEnabled = data.gameContext && data.gameContext.context && data.gameContext.context !== "empty";
$scope.inCareer = !!data.isCareerActive;
if ($state.current && $state.current.name === "menu") {
if (vm.missionEnabled)
$state.go("menu.careermission");
else if ($scope.inCareer)
$state.go("menu.careerPause");
}
updateMenu();
})
});
$scope.$on("onMissionAvailabilityChanged", (event, res) => {
if(res && res.missionCount !== undefined) {
vm.missionEnabled = res.missionCount > 0
updateMenu()
if($state.current && $state.current.name === "menu.careermission" && !vm.missionEnabled) {
$state.go("menu");
}
}
})
vm.pause = function() {
bngApi.engineLua(`bullettime.pause(true)`)
}
$rootScope.$broadcast("TopMenuButtons", (button, index=-1) => {
if (typeof index !== "number" && index < availableMenuEntries.length)
index = -1;
if (index > 0)
availableMenuEntries.splice(index, 0, button);
else
availableMenuEntries.push(button);
updateMenu();
});
function updateMenu() {
let entries = [];
const app = $scope.$parent && $scope.$parent.app ? $scope.$parent.app : {};
if ($state.current.name !== 'menu.mainmenu' || !app.mainmenu) {
// TODO: revert to normal gamestate when it will be implemented for career (but don't forget about career's garage)
if ($scope.inCareer && ["freeroam", "garage"].includes(app.gameState))
$scope.gameState = "career";
else
$scope.gameState = app.gameState;
for(let entry of availableMenuEntries) {
// visibility
if(entry.blackListStates && entry.blackListStates.includes($scope.gameState)) {
continue;
}
if(entry.isVisible && !entry.isVisible()) {
continue;
}
if($scope.$parent && app.mainmenu && entry.onlyIngame) {
//console.log('ignored menu entry in main menu: ', entry)
continue
}
if (entry.navigationDisabled === undefined) {
entry.navigationDisabled = false
}
// determine if the thing is 'active' as in 'used / switched on'
entry.active = false
if (entry.isActive) {
entry.active = entry.isActive()
} else {
let isInSubState = false
if(entry.substate) {
isInSubState = $state.current.name.startsWith(entry.substate)
}
entry.active = ($state.includes(entry.targetState) | isInSubState) && entry.targetState != '.' && entry.targetState != ''
}
entries.push(entry)
}
//console.log('updateMenu = ', entries)
}
if(entries.length > 0) {
entries[entries.length-1].isLastItem = true
}
$scope.$applyAsync(() => {
for (let i = 0; i < entries.length; i++)
entries[i].id = `top-menu-${i}`;
vm.entries = entries;
})
}
$scope.$on('$stateChangeSuccess', function (event, toState, toParams, fromState, fromParams) {
updateMenu()
})
updateMenu()
// Angular material theme palette tests
let palettes = ['primary', 'accent', 'warn', 'background']
let types = ['default', 'hue-1', 'hue-2', 'hue-3']
let colors = {}
let theme = mdx.mdxThemeColors.theme('default')
for(let pIdx in palettes) {
let p = palettes[pIdx]
for(let tIdx in types) {
let t = types[tIdx]
let paletteName = 'custom' + p.substr(0, 1).toUpperCase() + p.substr(1)
let ref = theme.colors[p]['hues'][t]
if(paletteName in mdx.mdxThemeColors._PALETTES) {
let col = 'rgb(' + (mdx.mdxThemeColors._PALETTES[paletteName][ref].value.toString()) + ')'
let colContrast = 'rgb(' + (mdx.mdxThemeColors._PALETTES[paletteName][ref].contrast.toString()) + ')'
colors[paletteName + "/" + t] = [ref, col, colContrast]
}
}
}
//vm.colorDebug = colors
// switches to the next or previous visible menu entry (increment +1 or -1 respectively)
vm.selectVisibleMenuEntry = function(increment) {
if ($scope.$parent && $scope.$parent.app && $scope.$parent.app.mainmenu)
return; // tab navigation shouldn't work while in the Main Menu
// first, find the current active element
let currMenuEntryIndex = 0
for (let i in vm.entries) {
if (!vm.entries[i].active) continue
currMenuEntryIndex = Number(i)
break
}
// then find the next suitable one
let newIndex = currMenuEntryIndex
for(let i = 0; i < 5; i++) {
newIndex = newIndex + increment
if (newIndex >= vm.entries.length) newIndex = 0
if (newIndex < 0) newIndex = vm.entries.length - 1
if (vm.entries[newIndex].gamepadNavigateable === false || vm.entries[newIndex].targetState === undefined)
continue;
if (!vm.entries[newIndex].targetState && !vm.entries[newIndex].action)
continue;
// found a suitable element ...
break
}
// navigate left (increment -1) or right (increment +1), wrapping around when reaching the menu borders
//console.log('newIndex = ', newIndex, 'vm.entries = ', vm.entries)
if (vm.entries[newIndex].targetState) {
$state.go(vm.entries[newIndex].targetState)
} else if (vm.entries[newIndex].action && vm.entries[newIndex].id) {
try {
document.getElementById(vm.entries[newIndex].id).focus();
for (let i = 0; i < vm.entries.length; i++)
vm.entries[i].active = i === newIndex;
vm.entries[newIndex].activeSilent = true;
} catch (err) { }
}
}
$scope.$on('$tabLeft', () => { vm.selectVisibleMenuEntry(-1) })
$scope.$on('$tabRight', () => { vm.selectVisibleMenuEntry( 1) })
}])
.directive('dashMenu', ['Utils', '$rootScope', function (Utils, $rootScope, ) {
return {
restrict: 'E',
// controller: 'MenuController',
// controllerAs: 'menuCtrl',
replace: true,
template: `
<div id="dashmenu" class="dashMenuHeight" bng-blur="true">
<div ng-repeat="entry in menuCtrl.entries"
class="dashBrdButton {{ entry.class }}"
ng-class="{'dashBrdButtonActive': entry.active && !entry.activeSilent, 'dashBrdButtonDiv': !entry.isLastItem && entry.targetState && app.sections[app.gameState].indexOf(entry.targetState) > -1 }"
ng-click="entry.action($event); $event.preventDefault();"
bng-sound-class="{{ entry.soundClass || 'bng_click_hover_generic' }}"
bng-no-nav="{{entry.navigationDisabled}}"
id="{{entry.id}}"
>
<div class="dashBrdSvgIcon" ng-if="entry.translateidIcon" bng-translate="{{entry.translateidIcon}}"></div>
<img class="dashBrdSvgIcon" ng-if="entry.iconSVG" ng-src="{{entry.iconSVG}}" />
<md-icon class="dashBrdSvgIcon material-icons" ng-if="entry.icon">{{entry.icon}}</md-icon>
<span class="dashBrdText" bng-translate="{{entry.translateid}}"></span>
<md-tooltip md-direction="bottom">{{ entry.translateid | translate}}</md-tooltip>
</div>
<!-- pause button (shown only while not paused), not to be confused with the pause indicator (show only while paused). see index.html -->
<div ng-if="!app.showPauseIcon && !app.mainmenu && app.gameState !== 'garage'" class="dashMenuHeight dashBrdButton dashBrdButtonEnd dashBrdButtonPause" ng-click="menuCtrl.pause()" bng-sound-class="bng_hover_generic">
<span style="padding:0; margin:0" bng-translate="ui.inputActions.general.pause.binding" class="bng-binding dashBrdSvgIcon"></span>
<span class="dashBrdText">{{ 'ui.inputActions.general.pause.title' | translate }}</span>
<md-tooltip md-direction="bottom">{{ 'ui.inputActions.general.pause.title' | translate}}</md-tooltip>
</div>
</div>
`,
}
}])