summaryrefslogtreecommitdiff
path: root/help3xsl
diff options
context:
space:
mode:
authorAdolfo Jayme Barrientos <fitojb@ubuntu.com>2019-01-28 15:31:15 -0600
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2019-01-28 15:31:15 -0600
commita8ab16150bf04fd812dde07bdd7d0bbd9b52f48e (patch)
tree59275f67e77f0e15797b6282584d95b84d75f7f8 /help3xsl
parent9438da88cd6f21fce3778601164b817e9a1d72de (diff)
Drop this pitiful, bothersome, gimmicky animation
Change-Id: If533f8565e38e02d503cc1ab59f65e2445f1369b
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/default.css15
-rw-r--r--help3xsl/online_transform.xsl6
2 files changed, 3 insertions, 18 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 0870b7a1ba..9b7028af4d 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -170,14 +170,7 @@ pre,
border-left: 4px solid #FF5964;
background-color: #FFE0E2;
}
-.noteicon {
- padding:0.3em;
- transition: transform .2s; /* Animation */
-}
-.noteicon:hover {
- transform: scale(2.0); /* (200% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
-}
-.notetext {
+.noteicon, .notetext {
padding:0.3em;
}
@@ -196,12 +189,6 @@ pre,
.iconcell {
padding:0.3em;
}
-.imageicon {
- transition: transform .2s; /* Animation */
-}
-.imageicon:hover{
- transform: scale(2.0); /* (200% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
-}
table {
box-shadow: rgba(0,0,0,0.1) 0px 1px 3px 0px;
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 2bd356a8c7..f52edfa01a 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -1197,10 +1197,8 @@
<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}" height="{$height}" width="{$width}">
- <xsl:if test="ancestor::tablecell">
- <xsl:attribute name="class"><xsl:value-of select="'imageicon'"/></xsl:attribute>
- </xsl:if>
+ <img src="{$src2}" alt="{$alt}" title="{$alt}">
+ <xsl:attribute name="style"><xsl:value-of select="$width"/><xsl:value-of select="$height"/></xsl:attribute>
</img>
</xsl:template>