summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-02-11 22:30:44 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-14 17:25:45 (GMT)
commitee180d1475e247817ea898f89c0df422e2551616 (patch)
tree7dc6fcfd6dfe67d1151c7ac30a626169cbeca1de
parentcd474b08f6ea538e5a5b8a3441e892f9d3a87408 (diff)
downloadpoky-ee180d1475e247817ea898f89c0df422e2551616.tar.gz
template: Changed the font color for footers and headers
Fixes YOCTO #3728 The poky-db-pdf.xsl file has code that controls the font color for the headers, footers, and separating lines for each when the PDF version of a manual is made. I changed the values from #cccccc to #999999 to darken these up so they can be seen a little better. (From yocto-docs rev: c9c83028a5f13dc672414b6ca395290f05019f8e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/template/poky-db-pdf.xsl24
1 files changed, 12 insertions, 12 deletions
diff --git a/documentation/template/poky-db-pdf.xsl b/documentation/template/poky-db-pdf.xsl
index 3dd065a..f8a3df1 100644
--- a/documentation/template/poky-db-pdf.xsl
+++ b/documentation/template/poky-db-pdf.xsl
@@ -1,14 +1,14 @@
1<?xml version='1.0'?> 1<?xml version='1.0'?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> 2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
3 3
4 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl" /> 4 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl" />
5 5
6 <!-- check project-plan.sh for how this is generated, needed to tweak 6 <!-- check project-plan.sh for how this is generated, needed to tweak
7 the cover page 7 the cover page
8 --> 8 -->
9 <xsl:include href="/tmp/titlepage.xsl"/> 9 <xsl:include href="/tmp/titlepage.xsl"/>
10 10
11 <!-- To force a page break in document, i.e per section add a 11 <!-- To force a page break in document, i.e per section add a
12 <?hard-pagebreak?> tag. 12 <?hard-pagebreak?> tag.
13 --> 13 -->
14 <xsl:template match="processing-instruction('hard-pagebreak')"> 14 <xsl:template match="processing-instruction('hard-pagebreak')">
@@ -16,7 +16,7 @@
16 </xsl:template> 16 </xsl:template>
17 17
18 <!--Fix for defualt indent getting TOC all wierd.. 18 <!--Fix for defualt indent getting TOC all wierd..
19 See http://sources.redhat.com/ml/docbook-apps/2005-q1/msg00455.html 19 See http://sources.redhat.com/ml/docbook-apps/2005-q1/msg00455.html
20 FIXME: must be a better fix 20 FIXME: must be a better fix
21 --> 21 -->
22 <xsl:param name="body.start.indent" select="'0'"/> 22 <xsl:param name="body.start.indent" select="'0'"/>
@@ -25,13 +25,13 @@
25 <!-- stop long-ish header titles getting wrapped --> 25 <!-- stop long-ish header titles getting wrapped -->
26 <xsl:param name="header.column.widths">1 10 1</xsl:param> 26 <xsl:param name="header.column.widths">1 10 1</xsl:param>
27 27
28 <!-- customise headers and footers a little --> 28 <!-- customise headers and footers a little -->
29 29
30 <xsl:template name="head.sep.rule"> 30 <xsl:template name="head.sep.rule">
31 <xsl:if test="$header.rule != 0"> 31 <xsl:if test="$header.rule != 0">
32 <xsl:attribute name="border-bottom-width">0.5pt</xsl:attribute> 32 <xsl:attribute name="border-bottom-width">0.5pt</xsl:attribute>
33 <xsl:attribute name="border-bottom-style">solid</xsl:attribute> 33 <xsl:attribute name="border-bottom-style">solid</xsl:attribute>
34 <xsl:attribute name="border-bottom-color">#cccccc</xsl:attribute> 34 <xsl:attribute name="border-bottom-color">#999999</xsl:attribute>
35 </xsl:if> 35 </xsl:if>
36 </xsl:template> 36 </xsl:template>
37 37
@@ -39,19 +39,19 @@
39 <xsl:if test="$footer.rule != 0"> 39 <xsl:if test="$footer.rule != 0">
40 <xsl:attribute name="border-top-width">0.5pt</xsl:attribute> 40 <xsl:attribute name="border-top-width">0.5pt</xsl:attribute>
41 <xsl:attribute name="border-top-style">solid</xsl:attribute> 41 <xsl:attribute name="border-top-style">solid</xsl:attribute>
42 <xsl:attribute name="border-top-color">#cccccc</xsl:attribute> 42 <xsl:attribute name="border-top-color">#999999</xsl:attribute>
43 </xsl:if> 43 </xsl:if>
44 </xsl:template> 44 </xsl:template>
45 45
46 <xsl:attribute-set name="header.content.properties"> 46 <xsl:attribute-set name="header.content.properties">
47 <xsl:attribute name="color">#cccccc</xsl:attribute> 47 <xsl:attribute name="color">#999999</xsl:attribute>
48 </xsl:attribute-set> 48 </xsl:attribute-set>
49 49
50 <xsl:attribute-set name="footer.content.properties"> 50 <xsl:attribute-set name="footer.content.properties">
51 <xsl:attribute name="color">#cccccc</xsl:attribute> 51 <xsl:attribute name="color">#999999</xsl:attribute>
52 </xsl:attribute-set> 52 </xsl:attribute-set>
53 53
54 54
55 <!-- general settings --> 55 <!-- general settings -->
56 56
57 <xsl:param name="fop1.extensions" select="1"></xsl:param> 57 <xsl:param name="fop1.extensions" select="1"></xsl:param>