1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2025-07-09 00:08:03 +02:00

Adjust stroke-width, remove rect w/ fill for dark mode support

This commit is contained in:
billz 2025-03-15 11:34:49 -07:00
parent f608282aa5
commit 2610c44ac9
2 changed files with 1 additions and 6 deletions

View File

@ -6,12 +6,9 @@ $showDevice2 = isset($_GET['device-2']);
?>
<svg width="313" height="594" viewBox="0 0 313 594" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="313" height="594" fill="#1E1E1E"/>
<g id="Frame 1">
<rect width="1512" height="982" transform="translate(-973 -120)" fill="white"/>
<g id="right connection frame">
<g id="solid">
<?php if ($showDevice2): ?>
<line id="joint-device-2" y1="-0.75" x2="154" y2="-0.75"
transform="matrix(4.37114e-08 1 1 -4.37114e-08 114 297)"
@ -43,8 +40,6 @@ $showDevice2 = isset($_GET['device-2']);
transform="matrix(1 8.74228e-08 8.74228e-08 -1 113 450)"
stroke="#008281" stroke-width="4"/>
<?php endif; ?>
</g>
</g>
</g>

View File

@ -45,7 +45,7 @@ if ($showJoint) {
?>
<?php if ($showDevice1): ?>
<line x1="113.231" y1="0.75" x2="7.69496e-06" y2="0.75001" stroke="#008281" stroke-width="4" id="device-1"/>
<line x1="113.231" y1="0.75" x2="7.69496e-06" y2="0.75001" stroke="#008281" stroke-width="6" id="device-1"/>
<?php endif; ?>
<?php if ($showOut): ?>
<line x1="226.231" y1="297.75" x2="113" y2="297.75" stroke="#008281" stroke-width="4" id="out"/>