summaryrefslogtreecommitdiff
path: root/xslt
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2009-05-18 15:56:34 -0500
committerShaun McCance <shaunm@gnome.org>2009-05-18 15:56:34 -0500
commit31d0d5157a0f2a3328a9c9f061a95830124efc0f (patch)
tree52bf384e32d2eadf95dbe7d986c80d48034e1f6a /xslt
parent4ec5cfebd8094092be3daa7db7dc87e9e911ee3e (diff)
downloadgnome-doc-utils-31d0d5157a0f2a3328a9c9f061a95830124efc0f.tar.gz
[mallard] Finished off block_note
Diffstat (limited to 'xslt')
-rw-r--r--xslt/mallard/html/mal2html-block.xsl13
1 files changed, 9 insertions, 4 deletions
diff --git a/xslt/mallard/html/mal2html-block.xsl b/xslt/mallard/html/mal2html-block.xsl
index dbe9968..8a1260d 100644
--- a/xslt/mallard/html/mal2html-block.xsl
+++ b/xslt/mallard/html/mal2html-block.xsl
@@ -82,9 +82,9 @@ div.listing-contents { margin: 0; padding: 0; }
div.note {
padding: 0.5em 6px 0.5em 6px;
border-top: solid 1px </xsl:text>
- <xsl:value-of select="$theme.color.gray_border"/><xsl:text>;
+ <xsl:value-of select="$theme.color.red_border"/><xsl:text>;
border-bottom: solid 1px </xsl:text>
- <xsl:value-of select="$theme.color.gray_border"/><xsl:text>;
+ <xsl:value-of select="$theme.color.red_border"/><xsl:text>;
background-color: </xsl:text>
<xsl:value-of select="$theme.color.yellow_background"/><xsl:text>;
}
@@ -98,10 +98,12 @@ div.note-inner {
background-image: url("</xsl:text>
<xsl:value-of select="$theme.icon.admon.note"/><xsl:text>");
}
-div.note-advanced div.note-inner { background-image: url("</xsl:text>
- <xsl:value-of select="$theme.icon.admon.tip"/><xsl:text>"); }
+div.note-advanced div.note-inner { <!-- background-image: url("</xsl:text>
+ <xsl:value-of select="$theme.icon.admon.advanced"/><xsl:text>"); --> }
div.note-bug div.note-inner { background-image: url("</xsl:text>
<xsl:value-of select="$theme.icon.admon.bug"/><xsl:text>"); }
+div.note-important div.note-inner { background-image: url("</xsl:text>
+ <xsl:value-of select="$theme.icon.admon.important"/><xsl:text>"); }
div.note-tip div.note-inner { background-image: url("</xsl:text>
<xsl:value-of select="$theme.icon.admon.tip"/><xsl:text>"); }
div.note-warning div.note-inner { background-image: url("</xsl:text>
@@ -312,6 +314,9 @@ FIXME
<xsl:when test="contains(concat(' ', @style, ' '), ' bug ')">
<xsl:text>bug</xsl:text>
</xsl:when>
+ <xsl:when test="contains(concat(' ', @style, ' '), ' important ')">
+ <xsl:text>important</xsl:text>
+ </xsl:when>
<xsl:when test="contains(concat(' ', @style, ' '), ' tip ')">
<xsl:text>tip</xsl:text>
</xsl:when>