preparing blocks
This commit is contained in:
@@ -40,6 +40,9 @@ svg rect{
|
||||
svg text{
|
||||
font-size: 50px;
|
||||
}
|
||||
svg .block{
|
||||
fill: #ffffff;
|
||||
}
|
||||
|
||||
.menu{
|
||||
position: fixed;
|
||||
|
||||
5
resources/svg/BlockH.svg
Normal file
5
resources/svg/BlockH.svg
Normal file
@@ -0,0 +1,5 @@
|
||||
<svg width="100" height="100" viewbox="0 0 100 100">
|
||||
<rect x="0" y="35" width="100" height="30" />
|
||||
<rect class="block" x="10" y="10" width="80" height="80" />
|
||||
<text x="10" y="65" fill="red">I love SVG!</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 218 B |
@@ -1,3 +1,3 @@
|
||||
<svg width="100" height="100" viewbox="0 0 100 100">
|
||||
<rect x="0" y="35" width="100" height="30" />
|
||||
<rect x="0" y="35" width="100" height="30" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 107 B After Width: | Height: | Size: 106 B |
@@ -17,6 +17,7 @@ import org.slf4j.LoggerFactory;
|
||||
|
||||
import de.keawe.tools.translations.Translation;
|
||||
import de.srsoftware.tools.Tag;
|
||||
import de.srsoftware.web4rail.tiles.BlockH;
|
||||
import de.srsoftware.web4rail.tiles.CrossH;
|
||||
import de.srsoftware.web4rail.tiles.CrossV;
|
||||
import de.srsoftware.web4rail.tiles.DiagES;
|
||||
@@ -297,6 +298,7 @@ public class Plan {
|
||||
tiles.append(new CrossH().tag());
|
||||
tiles.append(new CrossV().tag());
|
||||
tiles.append(new Eraser().tag());
|
||||
tiles.append(new BlockH().tag());
|
||||
return new Tag("div").clazz("list").content(tiles.toString()).addTo(tileMenu);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user