svg key template to be in line with others
This commit is contained in:
@@ -3,24 +3,15 @@
|
|||||||
<!-- Key cap with a single label. -->
|
<!-- Key cap with a single label. -->
|
||||||
<!-- Used for special keys. -->
|
<!-- Used for special keys. -->
|
||||||
<template name="KeySpecial">
|
<template name="KeySpecial">
|
||||||
|
<div width="${width}" height="${height}" min_width="${width}" min_height="${height}" max_width="${width}" max_height="${height}">
|
||||||
<rectangle
|
<rectangle
|
||||||
border_color="#0044CC"
|
margin="4" width="100%" overflow="hidden" box_sizing="border_box"
|
||||||
border="2"
|
border_color="#0044CC" border="2" round="8" color="#000A1C" color2="#000002" gradient="vertical"
|
||||||
round="8"
|
|
||||||
color="#000A1C"
|
|
||||||
color2="#000002"
|
|
||||||
gradient="vertical"
|
|
||||||
width="${width}"
|
|
||||||
height="${height}"
|
|
||||||
min_width="${width}"
|
|
||||||
min_height="${height}"
|
|
||||||
max_width="${width}"
|
|
||||||
max_height="${height}"
|
|
||||||
margin="4"
|
|
||||||
align_items="center"
|
align_items="center"
|
||||||
justify_content="center">
|
justify_content="center">
|
||||||
<sprite color="#FFFFFF" width="32" height="32" src="keyboard/${text}.svg" />
|
<sprite color="#FFFFFF" width="32" height="32" src="keyboard/${text}.svg" />
|
||||||
</rectangle>
|
</rectangle>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- Key cap with a single label. -->
|
<!-- Key cap with a single label. -->
|
||||||
|
|||||||
Reference in New Issue
Block a user