From 9e6141c9332ed8a472f850190847d5db8740f439 Mon Sep 17 00:00:00 2001 From: Shaun McCance Date: Mon, 8 Dec 2008 17:00:53 +0000 Subject: - Made admons formal to better accomodate RTL icon placement * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-css.xsl: - Made admons formal to better accomodate RTL icon placement svn path=/trunk/; revision=1129 --- ChangeLog | 6 ++++++ xslt/docbook/html/db2html-block.xsl | 10 ++++++++++ xslt/docbook/html/db2html-css.xsl | 40 +++++++++++++++++-------------------- 3 files changed, 34 insertions(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index b0e5a3b..536a46c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-12-08 Shaun McCance + + * xslt/docbook/html/db2html-block.xsl: + * xslt/docbook/html/db2html-css.xsl: + - Made admons formal to better accomodate RTL icon placement + 2008-10-24 Christian Persch * configure.in: chmod +x gnome-doc-{tool,prepare} on configure. Bug diff --git a/xslt/docbook/html/db2html-block.xsl b/xslt/docbook/html/db2html-block.xsl index 3edb9f4..c0e3661 100644 --- a/xslt/docbook/html/db2html-block.xsl +++ b/xslt/docbook/html/db2html-block.xsl @@ -308,6 +308,8 @@ template. + + @@ -442,6 +444,8 @@ template. + + @@ -484,6 +488,8 @@ template. note-bug + + @@ -521,6 +527,8 @@ template. + + @@ -537,6 +545,8 @@ template. + + diff --git a/xslt/docbook/html/db2html-css.xsl b/xslt/docbook/html/db2html-css.xsl index 466cc06..9e71aa5 100644 --- a/xslt/docbook/html/db2html-css.xsl +++ b/xslt/docbook/html/db2html-css.xsl @@ -268,34 +268,30 @@ span.bibliolabel { div.admonition { - padding: 0.5em 1em 0.5em 1em; - - padding-left: px; + padding: 0.5em 6px 0.5em 6px; min-height: px; border: solid 1px ; background-color: ; +} +div.caution-inner, div.important-inner, div.note-inner, div.tip-inner, div.warning-inner { + + padding-left: px; - background-position: 6px 0.5em; + background-position: left top; background-repeat: no-repeat; } -div.caution { - background-image: url(""); -} -div.important { - background-image: url(""); -} -div.note { - background-image: url(""); -} -div.note-bug { - background-image: url(""); -} -div.tip { - background-image: url(""); -} -div.warning { - background-image: url(""); -} +div.caution-inner { background-image: url(" + "); } +div.important-inner { background-image: url(" + "); } +div.note-inner { background-image: url(" + "); } +div.note-bug div.note-inner { background-image: url(" + "); } +div.tip-inner { background-image: url(" + "); } +div.warning-inner { background-image: url(" + "); } div.blockquote { background-image: url('../../../data/icons/yelp-watermark-blockquote-201C.png'); -- cgit v1.2.1