Feat : prevent isolation by removing <use> elements
This commit is contained in:
+33
-36
@@ -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="card32">
|
||||
width="298" height="417" viewBox="0 0 298 417" id="card32" 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="red" stop-opacity="1" />
|
||||
@@ -13,37 +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">2</text>
|
||||
</g>
|
||||
<g id="d1">
|
||||
<text x="0" y="-0.0" font-size="14" 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="red" x="0" y="0" />
|
||||
<text x="0" y="9" font-size="24" text-anchor="middle" fill="white" font-weight="bold" font-family="Helvetica">2</text>
|
||||
</g>
|
||||
<g id="d3">
|
||||
<circle cx="30" cy="67.5" r="15" fill="gray" filter="url(#drop-shadow)" />
|
||||
<use xlink:href="#d1" x="137.0" y="101.5" />
|
||||
<use xlink:href="#d2" x="137.0" y="67.5" />
|
||||
</g>
|
||||
<g id="effects">
|
||||
<use xlink:href="#d3" x="0" y="0" />
|
||||
</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="d4" />
|
||||
<text x="-3" y="-20" font-size="28px" font-weight="bold" font-family="Helvetica" text-anchor="middle" id="d5">3</text>
|
||||
<g id="champion_shield">
|
||||
<use xlink:href="#d4" x="0" y="0" fill="black" stroke="lightgrey" />
|
||||
<rect x="-28" y="-72" width="49" height="17" fill="black" stroke="lightgrey" stroke-width="2" />
|
||||
<text x="-3" y="-59" font-size="12px" text-anchor="middle" fill="white" font-weight="bold" font-family="Helvetica">Garde</text>
|
||||
<use xlink:href="#d5" x="0" y="0" fill="white" />
|
||||
</g>
|
||||
</defs>
|
||||
<use xlink:href="#drop-shadow" />
|
||||
<g id="background">
|
||||
@@ -54,10 +23,38 @@
|
||||
<text x="149.0" y="36" font-size="19" text-anchor="middle" fill="black" font-weight="bold" font-family="Helvetica">death cultist</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">2</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)">
|
||||
<g>
|
||||
<circle cx="30" cy="67.5" r="15" fill="gray" filter="url(#drop-shadow)" />
|
||||
<g transform="translate(137.0,101.5)">
|
||||
<text x="0" y="-0.0" font-size="14" text-anchor="middle" fill="black" font-family="Helvetica"></text>
|
||||
</g>
|
||||
<g transform="translate(137.0,67.5)" 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="red" x="0" y="0" />
|
||||
<text x="0" y="9" font-size="24" text-anchor="middle" fill="white" font-weight="bold" font-family="Helvetica">2</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="black" stroke="lightgrey" stroke-width="2" />
|
||||
<rect x="-28" y="-72" width="49" height="17" fill="black" stroke="lightgrey" stroke-width="2" />
|
||||
<text x="-3" y="-59" font-size="12px" text-anchor="middle" fill="white" font-weight="bold" font-family="Helvetica">Garde</text>
|
||||
<text x="-3" y="-20" font-size="28px" font-weight="bold" font-family="Helvetica" text-anchor="middle" fill="white">3</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.2 KiB |
Reference in New Issue
Block a user