]> gitweb.michael.orlitzky.com - charm-bypass.git/commitdiff
src/day.svg: eliminate default bus transform
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 10 Oct 2023 02:07:30 +0000 (22:07 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 10 Oct 2023 02:07:30 +0000 (22:07 -0400)
We don't want the bus group to have a "transform" attribute by default
because we want to use the CSS "transform" property to animate it, and
the CSS property overwrites the SVG one. Ungrouping and regrouping the
elements in the "bus" group fixes this somehow.

src/day.svg

index d4fc31f6241261e0e3eb7cc67f4202382e434ac2..11bd117a86a900cf26bd193c74a997634476fae1 100644 (file)
            style="display:inline;fill:#e19219;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
            d="m 1187.4435,241.96599 c 0,0 53.2726,26.78566 61.27,42.78051 1.3329,15.3284 0.6665,18.66066 0.6665,18.66066 0,0 29.9904,-10.66324 37.3213,-11.32969 7.331,0 29.6152,1.54719 30.2817,16.20914 0,6.66452 -3.9987,10.66323 -3.9987,10.66323 0,0 -3.3323,1.99936 -14.662,-10.66323 -7.331,0.66645 -25.9916,8.66387 -25.9916,8.66387 0,0 15.9948,-3.99871 28.6574,2.66581 4.6652,4.66516 8.6173,19.17205 8.6173,34.50043 0.6665,6.66452 -7.9974,7.33098 -7.9974,7.33098 0,0 -7.331,-10e-6 -7.331,-4.66517 0,0 -0.4101,-14.30307 -2.4095,-26.96566 0,0 -4.819,-9.07399 -25.5815,-0.35885 -5.7417,2.15315 -24.7992,33.54537 -74.5236,45.44927 l -34.3637,-0.87647 c -5.0241,4.30631 -10.2956,17.18554 -9.9367,26.87473 6.1006,6.1006 37.9535,14.58603 37.9535,14.58603 2.1532,6.45946 0.1279,5.15698 -2.3841,10.89872 -29.7853,-1.07658 -48.9242,-14.54939 -48.9242,-14.54939 -4.6652,-16.86637 0.9998,-23.87971 0.9998,-23.87971 l 6.8997,-13.11395 c 3.2297,-1.43544 0.799,-5.57792 0.799,-5.57792 -6.4595,-5.02402 -9.9667,-0.91275 -9.9667,-0.91275 -6.8183,2.51201 -16.4262,10.21187 -19.2971,17.03019 0.7177,7.53604 10.0616,24.77867 10.0616,24.77867 2.512,4.30631 -3.6935,8.05001 -3.6935,8.05001 -15.2132,-2.81782 -19.6691,-33.17569 -18.9513,-36.40542 7.8949,-14.71321 13.8251,-15.28328 13.4898,-17.12763 1.7943,-7.17718 -14.2525,0.1031 -18.6118,6.13914 -2.3474,4.69469 0.6761,18.22783 -8.6577,17.9611 -9.7247,0.33534 -6.6456,-19.58123 -6.6456,-19.58123 0.6707,-13.41342 53.5755,-27.54952 53.5755,-27.54952 8.9714,-34.0916 51.7373,-50.74807 51.7373,-50.74807 20.455,-3.22973 43.7115,13.98997 43.3526,10.04252 3.2297,-5.74174 -48.5361,-31.58267 -53.919,-36.60669 -1.7943,-2.15315 -4.4818,-9.46329 2.2142,-9.01022 9.1705,0.62051 30.2575,16.87514 32.7695,16.69572 0,0 -7.0028,-7.38658 -11.3091,-10.25745 l -18.1678,-10.22162 c 0,0 -2.1532,-2.20442 0,-8.66388 0,0 4.5037,-3.42822 6.6569,-0.91621 z"
            id="crab" /></g></g></g><g
-     id="bus"
-     style="display:inline"
-     transform="matrix(0.36593167,0,0,0.36593167,192.11146,594.77)"><path
-       style="fill:#fefefe;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       d="m 494.70758,345.14922 -0.26111,47.92877 8.25375,4.66516 -8.6126,56.87997 -6.10061,3.58859 -0.27325,56.28106 h 21.89039 l -0.0321,16.97257 724.26715,0.18638 23.9668,-7.78365 39.9472,-0.0346 19.0195,-8.97147 -0.3589,-19.37838 13.6366,-1.07658 -9.2551,-144.97253 -13.2778,-7.17718 z"
+     id="bus"><path
+       style="fill:#fefefe;fill-opacity:1;stroke:none;stroke-width:0.365932px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 373.14063,721.07103 -0.0956,17.53866 3.02031,1.70713 -3.15162,20.81418 -2.23241,1.31318 -0.1,20.59502 h 8.01039 l -0.0118,6.2108 265.03229,0.0682 8.77021,-2.84828 14.61795,-0.0127 6.95983,-3.28295 -0.13133,-7.09116 4.99006,-0.39396 -3.38673,-53.05004 -4.85877,-2.62635 z"
        id="busbody" /><g
-       id="g6"><rect
+       id="g6"
+       transform="matrix(0.36593167,0,0,0.36593167,192.11146,594.77)"><rect
          style="fill:#798a91;fill-opacity:1;stroke:none;stroke-width:3;stroke-opacity:1"
          id="busdoortopline2"
          width="87.448814"
          height="139.5459"
          x="952"
          y="391.5" /></g><g
-       id="g7"><rect
+       id="g7"
+       transform="matrix(0.36593167,0,0,0.36593167,192.11146,594.77)"><rect
          style="display:inline;fill:#798a91;fill-opacity:1;stroke:none;stroke-width:3;stroke-opacity:1"
          id="busdoortopline1"
          width="87.448814"
          height="139.5459"
          x="531.85547"
          y="391.5" /></g><rect
-       style="fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:3"
+       style="fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:1.0978"
        id="busdoor2"
-       width="29.326679"
-       height="136.40213"
-       x="568.79883"
-       y="393" /><rect
-       style="fill:#6e1227;fill-opacity:1;stroke-width:3"
+       width="10.731561"
+       height="49.91386"
+       x="400.25296"
+       y="738.58118" /><rect
+       style="fill:#6e1227;fill-opacity:1;stroke-width:1.0978"
        id="busdoordeco1-5"
-       width="10.63985"
-       height="103.1247"
-       x="570.04736"
-       y="396.81903" /><rect
-       style="fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:3"
+       width="3.8934579"
+       height="37.736595"
+       x="400.70984"
+       y="739.97864" /><rect
+       style="fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:1.0978"
        id="busdoor1"
-       width="29.326679"
-       height="136.40213"
-       x="533.94818"
-       y="393.07935" /><rect
-       style="fill:#6e1227;fill-opacity:1;stroke-width:3"
+       width="10.731561"
+       height="49.91386"
+       x="387.5"
+       y="738.61017" /><rect
+       style="fill:#6e1227;fill-opacity:1;stroke-width:1.0978"
        id="busdoordeco1"
-       width="10.63985"
-       height="103.1247"
-       x="535.0932"
-       y="396.81903" /><rect
-       style="fill:#6e1227;fill-opacity:1;stroke-width:1.70011"
+       width="3.8934579"
+       height="37.736595"
+       x="387.91901"
+       y="739.97864" /><rect
+       style="fill:#6e1227;fill-opacity:1;stroke-width:0.622124"
        id="buswindow1"
-       width="92.711357"
-       height="66.8647"
-       x="626.80444"
-       y="399"
-       ry="10.928717" /><rect
-       style="fill:#6e1227;fill-opacity:1;stroke-width:1.70011"
+       width="33.926022"
+       height="24.467911"
+       x="421.47906"
+       y="740.77673"
+       ry="3.9991636" /><rect
+       style="fill:#6e1227;fill-opacity:1;stroke-width:0.622124"
        id="buswindow2"
-       width="92.711357"
-       height="66.8647"
-       x="725.63397"
-       y="399"
-       ry="10.928717" /><rect
-       style="fill:#6e1227;fill-opacity:1;stroke-width:1.70011"
+       width="33.926022"
+       height="24.467911"
+       x="457.64392"
+       y="740.77673"
+       ry="3.9991636" /><rect
+       style="fill:#6e1227;fill-opacity:1;stroke-width:0.622124"
        id="buswindow4"
-       width="92.710999"
-       height="66.8647"
-       x="1060.5535"
-       y="399"
-       ry="10.928717" /><rect
-       style="fill:#6e1227;fill-opacity:1;stroke-width:1.70011"
+       width="33.925892"
+       height="24.467911"
+       x="580.20154"
+       y="740.77673"
+       ry="3.9991636" /><rect
+       style="fill:#6e1227;fill-opacity:1;stroke-width:0.622124"
        id="buswindow5"
-       width="92.711357"
-       height="66.8647"
-       x="1170.5358"
-       y="399"
-       ry="10.928717" /><rect
-       style="fill:#6e1227;fill-opacity:1;stroke-width:1.70011"
+       width="33.926022"
+       height="24.467911"
+       x="620.44757"
+       y="740.77673"
+       ry="3.9991636" /><rect
+       style="fill:#6e1227;fill-opacity:1;stroke-width:0.622124"
        id="buswindow3"
-       width="92.711357"
-       height="66.8647"
-       x="835.77289"
-       y="399"
-       ry="10.928717" /><path
-       style="fill:#010101;fill-opacity:1;stroke:none;stroke-width:0.87727px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       d="m 596.86669,531.74489 c -1.90608,-19.60402 0.71027,-52.34552 39.25822,-55.24609 42.352,0.0493 45.83756,38.24072 41.72311,55.28963 z"
+       width="33.926022"
+       height="24.467911"
+       x="497.94724"
+       y="740.77673"
+       ry="3.9991636" /><path
+       style="fill:#010101;fill-opacity:1;stroke:none;stroke-width:0.321021px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 410.52388,789.3523 c -0.69749,-7.17374 0.25991,-19.15489 14.36583,-20.2163 15.49794,0.018 16.77342,13.99349 15.26781,20.23223 z"
        id="buswheelwell1" /><ellipse
-       style="fill:#343434;fill-opacity:1;stroke-width:2.84073"
+       style="fill:#343434;fill-opacity:1;stroke-width:1.03951"
        id="bustire1"
-       cx="637.74127"
-       cy="518.95801"
-       rx="39.694824"
-       ry="40.513287" /><ellipse
-       style="fill:#666666;fill-opacity:1;stroke-width:3.42"
+       cx="425.4812"
+       cy="784.67316"
+       rx="14.525594"
+       ry="14.825094" /><ellipse
+       style="fill:#666666;fill-opacity:1;stroke-width:1.25149"
        id="hubcap1"
-       cx="639.0838"
-       cy="518.23706"
-       rx="23.325825"
-       ry="23.792339" /><rect
-       style="fill:#343434;fill-opacity:1;stroke:none;stroke-width:2.38824"
+       cx="425.97247"
+       cy="784.40936"
+       rx="8.5356579"
+       ry="8.7063704" /><rect
+       style="fill:#343434;fill-opacity:1;stroke:none;stroke-width:0.873933"
        id="busbumper"
-       width="11.141502"
-       height="10.855823"
-       x="487.71274"
-       y="511.14023" /><rect
-       style="fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:3"
+       width="4.0770288"
+       height="3.9724894"
+       x="370.58099"
+       y="781.81238" /><rect
+       style="fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:1.0978"
        id="busdoor1-7"
-       width="29.326679"
-       height="136.40213"
-       x="954.24518"
-       y="393" /><rect
-       style="fill:#6e1227;fill-opacity:1;stroke-width:3"
+       width="10.731561"
+       height="49.91386"
+       x="541.29999"
+       y="738.58118" /><rect
+       style="fill:#6e1227;fill-opacity:1;stroke-width:1.0978"
        id="busdoordeco1-4"
-       width="10.63985"
-       height="103.1247"
-       x="955.61157"
-       y="396.81979" /><rect
-       style="fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:3"
+       width="3.8934579"
+       height="37.736595"
+       x="541.79999"
+       y="739.97894" /><rect
+       style="fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:1.0978"
        id="busdoor4"
-       width="29.326679"
-       height="136.40213"
-       x="992.46997"
-       y="393" /><rect
-       style="fill:#6e1227;fill-opacity:1;stroke-width:3"
+       width="10.731561"
+       height="49.91386"
+       x="555.28766"
+       y="738.58118" /><rect
+       style="fill:#6e1227;fill-opacity:1;stroke-width:1.0978"
        id="busdoordeco4"
-       width="10.63985"
-       height="103.1247"
-       x="993.71851"
-       y="396.81903" /><g
-       id="g8"><rect
+       width="3.8934579"
+       height="37.736595"
+       x="555.74451"
+       y="739.97864" /><g
+       id="g8"
+       transform="matrix(0.36593167,0,0,0.36593167,192.11146,594.77)"><rect
          style="display:inline;fill:#6e1227;fill-opacity:1;stroke-width:1.83177"
          id="busrooflower"
          width="812.99805"
          height="13.636636"
          x="1210"
          y="322" /></g><path
-       style="display:inline;fill:#010101;fill-opacity:1;stroke:none;stroke-width:0.87727px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       d="m 1098.7287,531.74609 c -1.9061,-19.60402 0.7103,-52.34552 39.2582,-55.24609 42.352,0.0493 45.8376,38.24072 41.7231,55.28963 z"
+       style="display:inline;fill:#010101;fill-opacity:1;stroke:none;stroke-width:0.321021px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 594.17109,789.35273 c -0.6975,-7.17373 0.25992,-19.15488 14.36582,-20.21629 15.49793,0.018 16.77343,13.99349 15.2678,20.23223 z"
        id="buswheelwell1-0" /><ellipse
-       style="display:inline;fill:#343434;fill-opacity:1;stroke-width:2.84073"
+       style="display:inline;fill:#343434;fill-opacity:1;stroke-width:1.03951"
        id="bustire2"
-       cx="1139.98"
-       cy="519.03735"
-       rx="39.694824"
-       ry="40.513287" /><ellipse
-       style="display:inline;fill:#666666;fill-opacity:1;stroke-width:3.42"
+       cx="609.26624"
+       cy="784.70221"
+       rx="14.525594"
+       ry="14.825094" /><ellipse
+       style="display:inline;fill:#666666;fill-opacity:1;stroke-width:1.25149"
        id="hubcap2"
-       cx="1141.3225"
-       cy="518.31641"
-       rx="23.325825"
-       ry="23.792339" /></g><g
+       cx="609.75751"
+       cy="784.43842"
+       rx="8.5356579"
+       ry="8.7063704" /></g><g
      id="ticket"
      style="display:inline"><path
        id="ticketbg"