Improved top menu (#2949)
* #272 proper open sides in menu buttons * #272 WIP, good starting point for making the top menu work well at different UI scales * #272 WIP top menu looking better, but inconsistent size * #272 WIP esc nice and big * #272 consistently sized top buttons * #272 proper highlighting of top menu elements * #272 proper highlighting of top menu elements * #272 nice shiny red tutorial button * #272 better tutorial icon * #272 missed svg changes * #272 consistently sized top menu * #272 better padding / alignment of top bar with other UI sections * #272 fix hamburger menu height to match others * #272 top menu name set based on keybind, use shortened names if possible * #272 top menu name set based on keybind, use shortened names if possible * #272 add top menu actions button * #272 add top menu admin button * #272 fix sandbox top button down status * #272 remove todo
91
Resources/Textures/Interface/fist.svg
Normal file
@@ -0,0 +1,91 @@
|
||||
<?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="19"
|
||||
height="33"
|
||||
viewBox="0 0 19 33"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg876"
|
||||
sodipodi:docname="fist.svg"
|
||||
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
|
||||
inkscape:export-filename="C:\ss14\space-station-14\Resources\Textures\Interface\fist.svg.96dpi.png"
|
||||
inkscape:export-xdpi="95.962189"
|
||||
inkscape:export-ydpi="95.962189">
|
||||
<metadata
|
||||
id="metadata882">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs880" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1377"
|
||||
id="namedview878"
|
||||
showgrid="false"
|
||||
inkscape:zoom="26.969697"
|
||||
inkscape:cx="5.3842697"
|
||||
inkscape:cy="16.5"
|
||||
inkscape:window-x="1912"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg876"
|
||||
inkscape:pagecheckerboard="true" />
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
d="M11.25 14.125V16.9375H9.375V14.125C9.375 11.5376 7.2749 9.4375 4.6875 9.4375V7.5625H6.5625C8.11865 7.5625 9.375 6.3064 9.375 4.75V3.8125H0V9.86865C0 13.3188 1.36865 16.675 3.75 19.1499C3.75 19.1499 3.75 23.9961 3.75 26.0236C3.75 28.2794 3.69224 28.3018 5.52217 30.287C7.3521 32.2722 10.727 32 10.727 32C10.727 32 13.6666 31.6559 15.0396 30.287C16.4126 28.918 16.875 26.0236 16.875 26.0236V19.0376L17.3438 18.1001C18.2625 16.2625 18.75 14.2 18.75 12.1375V9.4375H9.26245C10.4812 10.6187 11.25 12.2876 11.25 14.125Z"
|
||||
fill="#789B8C"
|
||||
id="path866"
|
||||
style="fill:#feffff;fill-opacity:1" />
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
d="M15.9375 1.9375H18.75V7.5625H15.9375V1.9375Z"
|
||||
fill="#789B8C"
|
||||
id="path868"
|
||||
style="fill:#feffff;fill-opacity:1" />
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
d="M11.25 0H14.0625V7.5625H11.25V0Z"
|
||||
fill="#789B8C"
|
||||
id="path870"
|
||||
style="fill:#feffff;fill-opacity:1" />
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
d="M6.5625 0H9.375V1.9375H6.5625V0Z"
|
||||
fill="#789B8C"
|
||||
id="path872"
|
||||
style="fill:#feffff;fill-opacity:1" />
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
d="M1.875 0H4.6875V1.9375H1.875V0Z"
|
||||
fill="#789B8C"
|
||||
id="path874"
|
||||
style="fill:#feffff;fill-opacity:1" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.0 KiB |
BIN
Resources/Textures/Interface/fist.svg.96dpi.png
Normal file
|
After Width: | Height: | Size: 548 B |
70
Resources/Textures/Interface/gavel.svg
Normal file
@@ -0,0 +1,70 @@
|
||||
<?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="27"
|
||||
height="32"
|
||||
viewBox="0 0 27 32"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg900"
|
||||
sodipodi:docname="gavel.svg"
|
||||
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
|
||||
inkscape:export-filename="C:\ss14\space-station-14\Resources\Textures\Interface\gavel.svg.96dpi.png"
|
||||
inkscape:export-xdpi="96.093094"
|
||||
inkscape:export-ydpi="96.093094">
|
||||
<metadata
|
||||
id="metadata906">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs904" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1377"
|
||||
id="namedview902"
|
||||
showgrid="false"
|
||||
inkscape:zoom="31.5"
|
||||
inkscape:cx="13.5"
|
||||
inkscape:cy="16"
|
||||
inkscape:window-x="1912"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg900"
|
||||
inkscape:pagecheckerboard="true" />
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
d="M18.0775 25.4082H3.14365C1.90509 25.4082 0.900024 26.4509 0.900024 27.7361V31.969H20.3211V27.7361C20.3211 26.4509 19.3161 25.4082 18.0775 25.4082Z"
|
||||
fill="#7B7E9E"
|
||||
id="path896"
|
||||
style="fill:#ffffff;fill-opacity:1" />
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
d="M25.8157 24.3901L12.5807 10.2906L14.8167 7.89409C15.2508 8.2913 15.9185 8.27188 16.3293 7.84565C16.7588 7.39521 16.7588 6.67344 16.3293 6.22299L10.6524 0.337833C10.2229 -0.112611 9.52259 -0.112611 9.09312 0.337833C8.65898 0.783484 8.65898 1.51005 9.09312 1.95563L9.04644 1.9072L1.8382 9.38109L1.88488 9.43432C1.45536 8.98387 0.755078 8.98387 0.325611 9.43432C-0.108537 9.87997 -0.108537 10.6065 0.325611 11.0522L5.99786 16.9421C6.43201 17.3878 7.13229 17.3878 7.56181 16.9421C7.99134 16.4917 7.99134 15.77 7.56181 15.3196L7.6085 15.3679L9.93835 13.0179L23.5734 27.0839C24.1102 27.641 25.2788 27.3369 25.8157 26.7799C26.3526 26.2228 26.3526 24.9471 25.8157 24.3901Z"
|
||||
fill="#7B7E9E"
|
||||
id="path898"
|
||||
style="fill:#ffffff;fill-opacity:1" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
BIN
Resources/Textures/Interface/gavel.svg.96dpi.png
Normal file
|
After Width: | Height: | Size: 548 B |
@@ -5,11 +5,39 @@
|
||||
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"
|
||||
id="svg4593"
|
||||
version="1.1"
|
||||
viewBox="0 0 7.9563375 7.1438789"
|
||||
height="7.1438789mm"
|
||||
width="7.9563375mm">
|
||||
width="7.9563375mm"
|
||||
sodipodi:docname="hamburger.svg"
|
||||
inkscape:export-filename="C:\ss14\space-station-14\Resources\Textures\Interface\hamburger.svg.96dpi.png"
|
||||
inkscape:export-xdpi="115.20007"
|
||||
inkscape:export-ydpi="115.20007"
|
||||
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1377"
|
||||
id="namedview9"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="true"
|
||||
inkscape:zoom="32"
|
||||
inkscape:cx="14.541508"
|
||||
inkscape:cy="18.798475"
|
||||
inkscape:window-x="1912"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg4593" />
|
||||
<defs
|
||||
id="defs4587" />
|
||||
<metadata
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 316 B |
@@ -5,15 +5,21 @@
|
||||
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"
|
||||
id="svg1475"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="27.760838"
|
||||
height="25.371094"
|
||||
viewBox="0 0 27.760838 25.371094"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
viewBox="0 0 5.3731326 8.4666643"
|
||||
height="8.4666643mm"
|
||||
width="5.3731327mm">
|
||||
<defs
|
||||
id="defs1469" />
|
||||
id="svg8"
|
||||
sodipodi:docname="tutorial.svg"
|
||||
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
|
||||
inkscape:export-filename="C:\ss14\space-station-14\Resources\Textures\Interface\tutorial.svg.96dpi.png"
|
||||
inkscape:export-xdpi="121.08268"
|
||||
inkscape:export-ydpi="121.08268">
|
||||
<metadata
|
||||
id="metadata1472">
|
||||
id="metadata14">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
@@ -24,18 +30,37 @@
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
transform="translate(-86.25635,-119.61469)"
|
||||
id="layer1">
|
||||
<path
|
||||
id="path2050"
|
||||
d="m 88.782112,125.68043 c 0,-0.22408 0.08061,-0.54167 0.147556,-0.68488 0.443259,-0.9484 2.067069,-0.31899 2.067069,-2.72423 0,-1.19082 -0.789124,-2.02388 -1.976921,-2.02388 -1.187795,0 -2.13072,0.83017 -2.13072,2.02388"
|
||||
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:1.26549149;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<circle
|
||||
r="0.94911855"
|
||||
cy="127.13224"
|
||||
cx="88.782127"
|
||||
id="path5787"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.95794892;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
</g>
|
||||
<defs
|
||||
id="defs12" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1377"
|
||||
id="namedview10"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="true"
|
||||
inkscape:zoom="32.5625"
|
||||
inkscape:cx="9.9955816"
|
||||
inkscape:cy="12.685547"
|
||||
inkscape:window-x="1912"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg8"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0" />
|
||||
<path
|
||||
id="path2"
|
||||
style="fill:#ffffff;fill-opacity:1"
|
||||
d="m 13.880421,0 c -1.0214,1.4000018e-6 -2.042034,0.510315 -2.615234,1.53125 L 0.38823357,20.902344 c -1.12269,1.9998 0.3238175,4.46875 2.61718753,4.46875 h 10.8749999 10.875 c 2.2933,0 3.739886,-2.46895 2.617188,-4.46875 L 16.495655,1.53125 C 15.922455,0.5103201 14.901821,-1.0999982e-6 13.880421,0 Z m 0,4.3710938 c 1.1046,0 2,0.89543 2,2 v 1 8.0000002 c 0,1.1046 -0.8954,2 -2,2 -1.1046,0 -2,-0.8954 -2,-2 v -8.0000002 -1 c 0,-1.10457 0.8954,-2 2,-2 z m -0.04883,15.0000002 a 2,2 0 0 1 0.04883,0 2,2 0 0 1 2,2 2,2 0 0 1 -2,2 2,2 0 0 1 -2,-2 2,2 0 0 1 1.951172,-2 z"
|
||||
inkscape:export-xdpi="121.08268"
|
||||
inkscape:export-ydpi="121.08268" />
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 579 B After Width: | Height: | Size: 644 B |