summaryrefslogtreecommitdiff
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-04-24 23:16:02 -0300
committerJan Holesovsky <kendy@collabora.com>2018-08-07 17:55:28 +0200
commit0d07c3a66dcc6e9f3eaac079de2124025bc577a1 (patch)
tree3da8d5a6ffd471ebefc39312ef8361ff03a588c3 /help3xsl/online_transform.xsl
parentc8521c962cfc8caa4d8de6613e89b7e3e67a7e6b (diff)
Replace note,tip,warning with CSS flexbox
Replace <table> by <div>'s with CSS flexbox property. Independent CSS classes for each div for easier tweaking Change-Id: Idedcebc7d9d7b28738c25f4fe11314209e92576c Reviewed-on: https://gerrit.libreoffice.org/53427 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r--help3xsl/online_transform.xsl9
1 files changed, 2 insertions, 7 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 08cac4b0b7..8ec397d279 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -986,14 +986,9 @@
<xsl:variable name="doc" select="document($href)"/>
<xsl:apply-templates select="$doc//variable[@id=$anchor]" mode="embedded"/>
</xsl:variable>
- <!-- <p class="debug">image source: <xsl:value-of select="$imgsrc"/></p> -->
<div class="{$type}">
- <table border="0" class="{$type}" cellspacing="0" cellpadding="5">
- <tr>
- <td><img src="{$imgsrc}" alt="{$alt}" title="{$alt}"/></td>
- <td><xsl:apply-templates /></td>
- </tr>
- </table>
+ <div class="noteicon"><img src="{$imgsrc}" alt="{$alt}" title="{$alt}"/></div>
+ <div class="notetext"><p><xsl:apply-templates /></p></div>
</div>
<br/>
</xsl:template>