]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
template: Changed the font color for footers and headers
authorScott Rifenbark <scott.m.rifenbark@intel.com>
Mon, 11 Feb 2013 22:30:44 +0000 (14:30 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Feb 2013 17:25:45 +0000 (17:25 +0000)
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>
documentation/template/poky-db-pdf.xsl

index 3dd065a57e64e5690544a6a75e667ab06a2d80b6..f8a3df103d7aa1691900ee6614218f4e76b2bd5e 100644 (file)
@@ -1,14 +1,14 @@
 <?xml version='1.0'?>
 <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">
-  
+
   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl" />
 
-  <!-- check project-plan.sh for how this is generated, needed to tweak 
-       the cover page     
+  <!-- check project-plan.sh for how this is generated, needed to tweak
+       the cover page
     -->
-  <xsl:include href="/tmp/titlepage.xsl"/> 
+  <xsl:include href="/tmp/titlepage.xsl"/>
 
-  <!-- To force a page break in document, i.e per section add a 
+  <!-- To force a page break in document, i.e per section add a
       <?hard-pagebreak?> tag.
   -->
  <xsl:template match="processing-instruction('hard-pagebreak')">
@@ -16,7 +16,7 @@
  </xsl:template>
 
   <!--Fix for defualt indent getting TOC all wierd..
-      See http://sources.redhat.com/ml/docbook-apps/2005-q1/msg00455.html 
+      See http://sources.redhat.com/ml/docbook-apps/2005-q1/msg00455.html
       FIXME: must be a better fix
     -->
   <xsl:param name="body.start.indent" select="'0'"/>
   <!-- stop long-ish header titles getting wrapped -->
   <xsl:param name="header.column.widths">1 10 1</xsl:param>
 
-  <!-- customise headers and footers a little --> 
+  <!-- customise headers and footers a little -->
 
   <xsl:template name="head.sep.rule">
    <xsl:if test="$header.rule != 0">
      <xsl:attribute name="border-bottom-width">0.5pt</xsl:attribute>
      <xsl:attribute name="border-bottom-style">solid</xsl:attribute>
-     <xsl:attribute name="border-bottom-color">#cccccc</xsl:attribute>
+     <xsl:attribute name="border-bottom-color">#999999</xsl:attribute>
    </xsl:if>
   </xsl:template>
 
     <xsl:if test="$footer.rule != 0">
      <xsl:attribute name="border-top-width">0.5pt</xsl:attribute>
      <xsl:attribute name="border-top-style">solid</xsl:attribute>
-     <xsl:attribute name="border-top-color">#cccccc</xsl:attribute>
+     <xsl:attribute name="border-top-color">#999999</xsl:attribute>
     </xsl:if>
   </xsl:template>
 
   <xsl:attribute-set name="header.content.properties">
-    <xsl:attribute name="color">#cccccc</xsl:attribute>
+    <xsl:attribute name="color">#999999</xsl:attribute>
   </xsl:attribute-set>
 
   <xsl:attribute-set name="footer.content.properties">
-    <xsl:attribute name="color">#cccccc</xsl:attribute>
+    <xsl:attribute name="color">#999999</xsl:attribute>
   </xsl:attribute-set>
 
+
   <!-- general settings -->
 
   <xsl:param name="fop1.extensions" select="1"></xsl:param>