XSL dialog preview now shows default-state LEDs
This commit is contained in:
@@ -125,6 +125,7 @@ title {
|
||||
min-width: 14px;
|
||||
height: 10px;
|
||||
text-align: left;
|
||||
background-image: url('img/button/led-off.png');
|
||||
background-position: left center;
|
||||
padding-left: 18px;
|
||||
padding-top: 0px;
|
||||
|
@@ -107,7 +107,9 @@ background-image: url('img/bg/<xsl:value-of select='/dialog/@skin'/>.png');
|
||||
<xsl:when test='@font = "bold"'>Silom</xsl:when>
|
||||
<xsl:otherwise><xsl:value-of select='./@font'/></xsl:otherwise>
|
||||
</xsl:choose>;
|
||||
background-image: url('img/button/led-<xsl:value-of select='./@state'/>.png');
|
||||
<xsl:if test='./@state'>
|
||||
background-image: url('img/button/led-<xsl:value-of select='./@state'/>.png');
|
||||
</xsl:if>
|
||||
left: <xsl:value-of select='./@left'/>px; top: <xsl:value-of select='./@top'/>px;
|
||||
width: <xsl:value-of select='./@width'/>px;
|
||||
</xsl:attribute>
|
||||
@@ -135,7 +137,9 @@ background-image: url('img/bg/<xsl:value-of select='/dialog/@skin'/>.png');
|
||||
<xsl:otherwise><xsl:value-of select='./@font'/></xsl:otherwise>
|
||||
</xsl:choose>;
|
||||
border-color: red;
|
||||
background-image: url('img/button/led-<xsl:value-of select='./@state'/>.png');
|
||||
<xsl:if test='./@state'>
|
||||
background-image: url('img/button/led-<xsl:value-of select='./@state'/>.png');
|
||||
</xsl:if>
|
||||
left: <xsl:value-of select='./@left'/>px; top: <xsl:value-of select='./@top'/>px;
|
||||
width: <xsl:value-of select='./@width'/>px;
|
||||
</xsl:attribute>
|
||||
|
Reference in New Issue
Block a user