Feat : prevent isolation by removing <use> elements
This commit is contained in:
+40
-43
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
width="298" height="417" viewBox="0 0 298 417" id="card42">
|
||||
width="298" height="417" viewBox="0 0 298 417" id="card42" class="card" xmlns:v-bind="https://heron.legonzaur.fr">
|
||||
<defs>
|
||||
<linearGradient x1="0" y1="0" x2="1" y2="0" gradientUnits="objectBoundingBox" id="grad1">
|
||||
<stop offset="0" stop-color="green" stop-opacity="1" />
|
||||
@@ -13,44 +13,6 @@
|
||||
<filter id="drop-shadow">
|
||||
<feDropShadow dx="1" dy="1" stdDeviation="0"></feDropShadow>
|
||||
</filter>
|
||||
<g id="faction_icon">
|
||||
<circle cx="1" cy="1" r="20" fill="black" filter="url(#drop-shadow)" />
|
||||
<circle cx="0" cy="0" r="20" fill="url(#grad2)" />
|
||||
</g>
|
||||
<g class="svg_resource_icon" onclick="console.warn('unknown interaction')" id="d0">
|
||||
<circle cx="0" cy="0" r="20" fill="yellow" x="0" y="0" />
|
||||
<text x="0" y="9" font-size="24" text-anchor="middle" fill="black" font-weight="bold" font-family="Helvetica">4</text>
|
||||
</g>
|
||||
<g id="d1">
|
||||
<text x="0" y="-0.0" font-size="13.333333333333334" text-anchor="middle" fill="black" font-family="Helvetica"></text>
|
||||
</g>
|
||||
<g class="svg_resource_icon" onclick="this.dispatchEvent(new CustomEvent( 'activate_effect', { bubbles: true, composed:true, detail: '0' } ) );" id="d2">
|
||||
<circle cx="0" cy="0" r="20" fill="yellow" x="0" y="0" />
|
||||
<text x="0" y="9" font-size="24" text-anchor="middle" fill="black" font-weight="bold" font-family="Helvetica">2</text>
|
||||
</g>
|
||||
<g id="d3">
|
||||
<circle cx="30" cy="40.0" r="15" fill="gray" filter="url(#drop-shadow)" />
|
||||
<use xlink:href="#d1" x="137.0" y="70.66666666666667" />
|
||||
<use xlink:href="#d2" x="137.0" y="40.0" />
|
||||
</g>
|
||||
<g id="d4">
|
||||
<text x="0" y="-7.0" font-size="14" text-anchor="middle" fill="black" font-family="Helvetica"><tspan x="0" dy="0em">L'adversaire ciblé</tspan><tspan x="0" dy="1em">se défausse d'une carte.</tspan></text>
|
||||
</g>
|
||||
<g id="d5">
|
||||
<circle cx="30" cy="27.5" r="15" fill="url(#grad2)" filter="url(#drop-shadow)" />
|
||||
<use xlink:href="#d4" x="137.0" y="31.0" />
|
||||
</g>
|
||||
<g id="effects">
|
||||
<path d="M10,80 L264,80" stroke="black" stroke-width="1" />
|
||||
<use xlink:href="#d3" x="0" y="0" />
|
||||
<use xlink:href="#d5" x="0" y="80" />
|
||||
</g>
|
||||
<path d="M-2.9999999999999982,-2.0 L-29.6295824562643,-21.347524157501468 L-19.45798706418925,-52.652475842498525 L13.45798706418924,-52.65247584249853 L23.629582456264302,-21.34752415750148 Z" stroke-width="2" id="d6" />
|
||||
<text x="-3" y="-20" font-size="28px" font-weight="bold" font-family="Helvetica" text-anchor="middle" id="d7">6</text>
|
||||
<g id="champion_shield">
|
||||
<use xlink:href="#d6" x="0" y="0" fill="darkgrey" stroke="#eee" />
|
||||
<use xlink:href="#d7" x="0" y="0" fill="black" />
|
||||
</g>
|
||||
</defs>
|
||||
<use xlink:href="#drop-shadow" />
|
||||
<g id="background">
|
||||
@@ -61,10 +23,45 @@
|
||||
<text x="149.0" y="36" font-size="19" text-anchor="middle" fill="black" font-weight="bold" font-family="Helvetica">broelyn, loreweaver</text>
|
||||
<text x="149.0" y="53" font-size="13" text-anchor="middle" fill="black" font-family="Helvetica">Champion</text>
|
||||
</g>
|
||||
<use xlink:href="#faction_icon" x="36" y="37" />
|
||||
<use xlink:href="#d0" x="260" y="36" />
|
||||
<g transform="translate(36,37)">
|
||||
<g id="faction_icon">
|
||||
<circle cx="1" cy="1" r="20" fill="black" filter="url(#drop-shadow)" />
|
||||
<circle cx="0" cy="0" r="20" fill="url(#grad2)" />
|
||||
</g>
|
||||
</g>
|
||||
<g transform="translate(260,36)">
|
||||
<g class="svg_resource_icon" onclick="console.warn('unknown interaction')">
|
||||
<circle cx="0" cy="0" r="20" fill="yellow" x="0" y="0" />
|
||||
<text x="0" y="9" font-size="24" text-anchor="middle" fill="black" font-weight="bold" font-family="Helvetica">4</text>
|
||||
</g>
|
||||
</g>
|
||||
<rect x="0" y="65" width="298" height="200" />
|
||||
<image x="0" y="65" width="298" height="200" xlink:href="../../img/missing.png" />
|
||||
<use xlink:href="#effects" x="12" y="265" />
|
||||
<use xlink:href="#champion_shield" x="268" y="417" />
|
||||
<g transform="translate(12,265)">
|
||||
<path d="M10,80 L264,80" stroke="black" stroke-width="1" />
|
||||
<g>
|
||||
<circle cx="30" cy="40.0" r="15" fill="gray" filter="url(#drop-shadow)" />
|
||||
<g transform="translate(137.0,70.66666666666667)">
|
||||
<text x="0" y="-0.0" font-size="13.333333333333334" text-anchor="middle" fill="black" font-family="Helvetica"></text>
|
||||
</g>
|
||||
<g transform="translate(137.0,40.0)" v-bind:class="{used:used_effects_indexes.includes(0)}">
|
||||
<g class="svg_resource_icon" onclick="this.dispatchEvent(new CustomEvent( 'activate_effect', { bubbles: true, composed:true, detail: '0' } ) );">
|
||||
<circle cx="0" cy="0" r="20" fill="yellow" x="0" y="0" />
|
||||
<text x="0" y="9" font-size="24" text-anchor="middle" fill="black" font-weight="bold" font-family="Helvetica">2</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="translate(0,80)">
|
||||
<g>
|
||||
<circle cx="30" cy="27.5" r="15" fill="url(#grad2)" filter="url(#drop-shadow)" />
|
||||
<g transform="translate(137.0,31.0)">
|
||||
<text x="0" y="-7.0" font-size="14" text-anchor="middle" fill="black" font-family="Helvetica"><tspan x="0" dy="0em">L'adversaire ciblé</tspan><tspan x="0" dy="1em">se défausse d'une carte.</tspan></text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="translate(268,417)">
|
||||
<path d="M-2.9999999999999982,-2.0 L-29.6295824562643,-21.347524157501468 L-19.45798706418925,-52.652475842498525 L13.45798706418924,-52.65247584249853 L23.629582456264302,-21.34752415750148 Z" fill="darkgrey" stroke="#eee" stroke-width="2" />
|
||||
<text x="-3" y="-20" font-size="28px" font-weight="bold" font-family="Helvetica" text-anchor="middle" fill="black">6</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.4 KiB |
Reference in New Issue
Block a user