[jboss-cvs] JBossAS SVN: r107880 - in projects/docs/docbook-support: jbossorg-docbook-xslt-ns/src/main/resources/xslt/org/jboss and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Aug 29 23:50:53 EDT 2010
Author: SeanRogers
Date: 2010-08-29 23:50:52 -0400 (Sun, 29 Aug 2010)
New Revision: 107880
Modified:
projects/docs/docbook-support/jbossorg-docbook-xslt-ns/src/main/resources/xslt/org/jboss/pdf.xsl
projects/docs/docbook-support/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/pdf.xsl
Log:
Copied PDF changes to older styles. Added borders to screen elements.
Modified: projects/docs/docbook-support/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/pdf.xsl
===================================================================
--- projects/docs/docbook-support/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/pdf.xsl 2010-08-30 03:43:20 UTC (rev 107879)
+++ projects/docs/docbook-support/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/pdf.xsl 2010-08-30 03:50:52 UTC (rev 107880)
@@ -104,13 +104,14 @@
</xsl:attribute>
</xsl:attribute-set>
- <xsl:param name="programlisting.font" select="'verdana,helvetica,sans-serif'" />
- <xsl:param name="programlisting.font.size" select="'100%'" />
+ <!-- Old non-monospace fonts for programlisting -->
+ <!-- <xsl:param name="programlisting.font" select="'verdana,helvetica,sans-serif'" /> -->
+ <!-- <xsl:param name="programlisting.font.size" select="'100%'" /> -->
<!-- Change to monospace font for programlisting, needed to workaround crappy callouts -->
- <!-- <xsl:param name="programlisting.font" select="$monospace.font.family" /> -->
+ <xsl:param name="programlisting.font" select="$monospace.font.family" />
<!-- Make the font for programlisting slightly smaller -->
- <!-- <xsl:param name="programlisting.font.size" select="'75%'" /> -->
+ <xsl:param name="programlisting.font.size" select="'90%'" />
<!-- Make the section depth in the TOC 2, same as html -->
<xsl:param name="toc.section.depth">2</xsl:param>
@@ -257,25 +258,25 @@
<xsl:attribute name="wrap-option">wrap</xsl:attribute>
<xsl:attribute name="background-color">
<xsl:choose>
- <xsl:when test="ancestor::note"> <xsl:text>#B5BCBD</xsl:text> </xsl:when>
- <xsl:when test="ancestor::caution"> <xsl:text>#E3A835</xsl:text> </xsl:when>
- <xsl:when test="ancestor::important"> <xsl:text>#4A5D75</xsl:text> </xsl:when>
- <xsl:when test="ancestor::warning"> <xsl:text>#7B1E1E</xsl:text> </xsl:when>
- <xsl:when test="ancestor::tip"> <xsl:text>#7E917F</xsl:text> </xsl:when>
+ <xsl:when test="ancestor::note"> <xsl:text>#D6DEE0</xsl:text> </xsl:when>
+ <xsl:when test="ancestor::caution"> <xsl:text>#FAF8ED</xsl:text> </xsl:when>
+ <xsl:when test="ancestor::important"> <xsl:text>#E1EEF4</xsl:text> </xsl:when>
+ <xsl:when test="ancestor::warning"> <xsl:text>#FAF8ED</xsl:text> </xsl:when>
+ <xsl:when test="ancestor::tip"> <xsl:text>#D5E1D5</xsl:text> </xsl:when>
<xsl:otherwise>
- <xsl:text>black</xsl:text>
+ <xsl:text>#EDE7C8</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:attribute name="color">
<xsl:choose>
- <xsl:when test="ancestor::note"> <xsl:text>#4C5253</xsl:text> </xsl:when>
- <xsl:when test="ancestor::caution"> <xsl:text>#533500</xsl:text> </xsl:when>
- <xsl:when test="ancestor::important"> <xsl:text>white</xsl:text> </xsl:when>
- <xsl:when test="ancestor::warning"> <xsl:text>white</xsl:text> </xsl:when>
- <xsl:when test="ancestor::tip"> <xsl:text>white</xsl:text> </xsl:when>
+ <xsl:when test="ancestor::note"> <xsl:text>#334558</xsl:text> </xsl:when>
+ <xsl:when test="ancestor::caution"> <xsl:text>#334558</xsl:text> </xsl:when>
+ <xsl:when test="ancestor::important"> <xsl:text>#334558</xsl:text> </xsl:when>
+ <xsl:when test="ancestor::warning"> <xsl:text>#334558</xsl:text> </xsl:when>
+ <xsl:when test="ancestor::tip"> <xsl:text>#334558</xsl:text> </xsl:when>
<xsl:otherwise>
- <xsl:text>red</xsl:text>
+ <xsl:text>#333</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
@@ -289,6 +290,9 @@
</xsl:attribute-set>
<xsl:attribute-set name="verbatim.properties">
+ <xsl:attribute name="border-style">solid</xsl:attribute>
+ <xsl:attribute name="border-width">.3mm</xsl:attribute>
+ <xsl:attribute name="border-color">#E1E9EB</xsl:attribute>
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
Modified: projects/docs/docbook-support/jbossorg-docbook-xslt-ns/src/main/resources/xslt/org/jboss/pdf.xsl
===================================================================
--- projects/docs/docbook-support/jbossorg-docbook-xslt-ns/src/main/resources/xslt/org/jboss/pdf.xsl 2010-08-30 03:43:20 UTC (rev 107879)
+++ projects/docs/docbook-support/jbossorg-docbook-xslt-ns/src/main/resources/xslt/org/jboss/pdf.xsl 2010-08-30 03:50:52 UTC (rev 107880)
@@ -292,6 +292,9 @@
</xsl:attribute-set>
<xsl:attribute-set name="verbatim.properties">
+ <xsl:attribute name="border-style">solid</xsl:attribute>
+ <xsl:attribute name="border-width">.3mm</xsl:attribute>
+ <xsl:attribute name="border-color">#E1E9EB</xsl:attribute>
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
More information about the jboss-cvs-commits
mailing list