[Libreoffice-commits] help.git: help3xsl/default.css help3xsl/online_transform.xsl

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 28 21:34:18 UTC 2019


 help3xsl/default.css          |   15 +--------------
 help3xsl/online_transform.xsl |    6 ++----
 2 files changed, 3 insertions(+), 18 deletions(-)

New commits:
commit a8ab16150bf04fd812dde07bdd7d0bbd9b52f48e
Author:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
AuthorDate: Mon Jan 28 15:31:15 2019 -0600
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Mon Jan 28 15:31:15 2019 -0600

    Drop this pitiful, bothersome, gimmicky animation
    
    Change-Id: If533f8565e38e02d503cc1ab59f65e2445f1369b

diff --git a/help3xsl/default.css b/help3xsl/default.css
index 0870b7a1b..9b7028af4 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 2bd356a8c..f52edfa01 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>
 


More information about the Libreoffice-commits mailing list