summaryrefslogtreecommitdiffstats
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-09-05 16:38:15 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-09-06 17:05:28 +0200
commit0d03a98c88e64fb3303ecc80879e76f327d6bf4f (patch)
tree4bcfc77d802d358b3455dc07e60135aa22590823 /help3xsl/online_transform.xsl
parentTypo (diff)
downloadhelp-0d03a98c88e64fb3303ecc80879e76f327d6bf4f.tar.gz
help-0d03a98c88e64fb3303ecc80879e76f327d6bf4f.zip
Show how beautiful are our icons
On hovering icons, enlarge them. Next step: change icons to SVG (tdf#117551) Change-Id: Ib43e3b54ed27352a8ca785c57dce9314adc00e4d Reviewed-on: https://gerrit.libreoffice.org/60053 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r--help3xsl/online_transform.xsl7
1 files changed, 6 insertions, 1 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index a22c384eb6..67ea702201 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -1088,7 +1088,12 @@
<xsl:call-template name="convert2px"><xsl:with-param name="value" select="@height"/></xsl:call-template>
</xsl:if>
</xsl:variable>
- <img src="{$src2}" alt="{$alt}" title="{$alt}"><xsl:attribute name="style"><xsl:value-of select="$width"/><xsl:value-of select="$height"/></xsl:attribute></img>
+ <img src="{$src2}" alt="{$alt}" title="{$alt}">
+ <xsl:attribute name="style"><xsl:value-of select="$width"/><xsl:value-of select="$height"/></xsl:attribute>
+ <xsl:if test="ancestor::tablecell">
+ <xsl:attribute name="class"><xsl:value-of select="'imageicon'"/></xsl:attribute>
+ </xsl:if>
+ </img>
</xsl:template>
<!-- Insert an object -->