Author: pete.muir(a)jboss.org
Date: 2008-03-28 13:10:29 -0400 (Fri, 28 Mar 2008)
New Revision: 7737
Modified:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/main-pdf.xsl
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl
Log:
Customise colour of level 1 section headings
Modified:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/main-pdf.xsl
===================================================================
---
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/main-pdf.xsl 2008-03-28
16:27:14 UTC (rev 7736)
+++
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/main-pdf.xsl 2008-03-28
17:10:29 UTC (rev 7737)
@@ -256,9 +256,11 @@
<xsl:param name="body.start.indent">0pt</xsl:param>
<xsl:param name="title.color">#4a5d75</xsl:param>
+<xsl:param name="chaptertitle.color" select="$title.color" />
+<xsl:param name="section.level1.title.color" select="$title.color"
/>
<xsl:attribute-set name="section.title.level1.properties">
- <xsl:attribute name="color"><xsl:value-of
select="$title.color"/></xsl:attribute>
+ <xsl:attribute name="color"><xsl:value-of
select="$section.level1.title.color"/></xsl:attribute>
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.6"/>
<xsl:text>pt</xsl:text>
@@ -346,8 +348,6 @@
<xsl:attribute name="start-indent"><xsl:value-of
select="$title.margin.left"/></xsl:attribute>
</xsl:attribute-set>
-<xsl:param name="chaptertitle.color" select="$title.color" />
-
<xsl:attribute-set name="chapter.titlepage.recto.style">
<xsl:attribute name="color"><xsl:value-of
select="$chaptertitle.color"/></xsl:attribute>
<xsl:attribute name="background-color">white</xsl:attribute>
Modified:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl
===================================================================
---
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl 2008-03-28
16:27:14 UTC (rev 7736)
+++
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl 2008-03-28
17:10:29 UTC (rev 7737)
@@ -166,6 +166,7 @@
<xsl:param name="title.color">#576C74</xsl:param>
<xsl:param name="titlepage.color">#885324</xsl:param>
<xsl:param name="chaptertitle.color">#BA5624</xsl:param>
+ <xsl:param
name="section.level1.title.color">#BA5624</xsl:param>
<!-- Change to monospace font for programlisting, needed to workaround crappy
callouts -->
<xsl:param name="programlisting.font"
select="$monospace.font.family" />
Show replies by date