mirror of
https://github.com/google/blockly.git
synced 2025-12-16 06:10:12 +01:00
Render sprites from vectors. Remove blurry shadow from trash.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 4.4 KiB |
93
media/sprites.svg
Normal file
93
media/sprites.svg
Normal file
@@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="84px" height="92px">
|
||||
<style type="text/css">
|
||||
#background {
|
||||
fill: none;
|
||||
}
|
||||
.shield {
|
||||
fill: #00c;
|
||||
stroke: #ccc;
|
||||
stroke-width: 1px;
|
||||
}
|
||||
.mark {
|
||||
fill: #ccc;
|
||||
font-family: sans-serif;
|
||||
font-size: 9pt;
|
||||
font-weight: bold;
|
||||
text-anchor: middle;
|
||||
}
|
||||
.hovered .shield {
|
||||
fill: #00f;
|
||||
stroke: #fff;
|
||||
}
|
||||
.hovered .mark {
|
||||
fill: #fff;
|
||||
}
|
||||
.mutator .mark {
|
||||
font-size: 14pt;
|
||||
}
|
||||
.arrows {
|
||||
fill: #000;
|
||||
stroke: none;
|
||||
}
|
||||
.selected .arrows {
|
||||
fill: #fff;
|
||||
}
|
||||
.checkmark {
|
||||
fill: #000;
|
||||
font-family: sans-serif;
|
||||
font-size: 10pt;
|
||||
text-anchor: middle;
|
||||
}
|
||||
.trash {
|
||||
fill: #888;
|
||||
}
|
||||
</style>
|
||||
<rect id="background" width="84" height="92" x="0" y="0" />
|
||||
|
||||
<g transform="translate(47.5, 35.5)">
|
||||
<g class="comment" transform="translate(0, 0)">
|
||||
<circle class="shield" r="8" cx="8" cy="8" />
|
||||
<text class="mark" x="8" y="12.75">?</text>
|
||||
</g>
|
||||
<g class="comment hovered" transform="translate(20, 0)">
|
||||
<circle class="shield" r="8" cx="8" cy="8" />
|
||||
<text class="mark" x="8" y="12.75">?</text>
|
||||
</g>
|
||||
<g class="warning" transform="translate(0, 20)">
|
||||
<path class="shield" d="M 2,15 Q -1,15 0.5,12 L 6.5,1.7 Q 8,-1 9.5,1.7 L 15.5,12 Q 17,15 14,15 z" />
|
||||
<text class="mark" x="8" y="13">!</text>
|
||||
</g>
|
||||
<g class="warning hovered" transform="translate(20, 20)">
|
||||
<path class="shield" d="M 2,15 Q -1,15 0.5,12 L 6.5,1.7 Q 8,-1 9.5,1.7 L 15.5,12 Q 17,15 14,15 z" />
|
||||
<text class="mark" x="8" y="13">!</text>
|
||||
</g>
|
||||
<g class="mutator" transform="translate(0, 40)">
|
||||
<rect class="shield" width="16" height="16" rx="4" ry="4" />
|
||||
<text class="mark" x="8" y="13.5">⚙</text>
|
||||
</g>
|
||||
<g class="mutator hovered" transform="translate(20, 40)">
|
||||
<rect class="shield" width="16" height="16" rx="4" ry="4" />
|
||||
<text class="mark" x="8" y="13.5">⚙</text>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
<g>
|
||||
<path class="arrows" d="M 13,1.5 13,14.5 1.74,8 z" />
|
||||
<path class="arrows" d="M 17.5,3 30.5,3 24,14.26 z" />
|
||||
<path class="arrows" d="M 35,1.5 35,14.5 46.26,8 z" />
|
||||
</g>
|
||||
<g class="selected" transform="translate(0, 16)">
|
||||
<path class="arrows" d="M 13,1.5 13,14.5 1.74,8 z" />
|
||||
<path class="arrows" d="M 17.5,3 30.5,3 24,14.26 z" />
|
||||
<path class="arrows" d="M 35,1.5 35,14.5 46.26,8 z" />
|
||||
</g>
|
||||
|
||||
<text class="checkmark" x="55.5" y="28">✓</text>
|
||||
|
||||
<g class="trash">
|
||||
<path d="M 2,41 v 6 h 42 v -6 h -10.5 l -3,-3 h -15 l -3,3 z" />
|
||||
<rect width="36" height="20" x="5" y="50" />
|
||||
<rect width="36" height="42" x="5" y="50" rx="4" ry="4" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
Reference in New Issue
Block a user