Author: newtonm
Date: 2008-04-18 05:25:27 -0400 (Fri, 18 Apr 2008)
New Revision: 7966
Added:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/eclipse.xsl
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/pdf.xsl
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/xhtml-single.xsl
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/xhtml.xsl
maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-single.css
Removed:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-eclipse.xsl
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl
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/nochunk-html.xsl
maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-nochunk.css
Log:
Renamed stylesheets/CSS and refactored contents for clarity and ease of maintenance.
Copied:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/eclipse.xsl
(from rev 7965,
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-eclipse.xsl)
===================================================================
---
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/eclipse.xsl
(rev 0)
+++
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/eclipse.xsl 2008-04-18
09:25:27 UTC (rev 7966)
@@ -0,0 +1,16 @@
+<?xml version='1.0'?>
+
+<!--
+ Copyright 2008 JBoss, a division of Red Hat
+ License: LGPL
+ Author: Mark Newton <mark.newton(a)jboss.org>
+-->
+
+<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
+
+ <xsl:import href="classpath:/xslt/org/jboss/eclipse.xsl"/>
+ <xsl:import href="common.xsl"/>
+
+ <xsl:param name="html.stylesheet"
select="'css/seamframework-eclipse.css'"/>
+
+</xsl:stylesheet>
Deleted:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-eclipse.xsl
===================================================================
---
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-eclipse.xsl 2008-04-17
12:29:47 UTC (rev 7965)
+++
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-eclipse.xsl 2008-04-18
09:25:27 UTC (rev 7966)
@@ -1,21 +0,0 @@
-<?xml version='1.0'?>
-
-<!--
- Copyright 2007 Red Hat, Inc.
- License: GPL
- Author: Mark Newton <mark.newton(a)jboss.org>
--->
-
-<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-
xmlns:exsl="http://exslt.org/common"
- version="1.0"
- exclude-result-prefixes="exsl">
-
- <xsl:import href="classpath:/xslt/org/jboss/main-eclipse.xsl" />
-
- <xsl:param name="use.simplified.author.group" select="1"/>
- <xsl:param name="html.stylesheet"
select="'css/seamframework-eclipse.css'" />
- <xsl:param
name="callout.graphics.path">images/seamframework/docbook/callouts/</xsl:param>
- <xsl:param name="callout.icon.size">17px</xsl:param>
-
-</xsl:stylesheet>
Deleted:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl
===================================================================
---
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl 2008-04-17
12:29:47 UTC (rev 7965)
+++
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl 2008-04-18
09:25:27 UTC (rev 7966)
@@ -1,23 +0,0 @@
-<?xml version='1.0'?>
-
-<!--
- Copyright 2008 JBoss, a division of Red Hat
- License: LGPL
- Author: Pete Muir
--->
-
-<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version='1.0'
-
xmlns="http://www.w3.org/TR/xhtml1/transitional"
-
xmlns:fo="http://www.w3.org/1999/XSL/Format"
- exclude-result-prefixes="#default">
-
- <xsl:import href="classpath:/xslt/org/jboss/main-html.xsl" />
-
- <xsl:param name="html.stylesheet"
select="'css/seamframework.css'" />
- <xsl:param name="siteHref"
select="'http://www.seamframework.org'" />
- <xsl:param name="docHref"
select="'http://www.seamframework.org/Documentation'" />
- <xsl:param name="siteLinkText"
select="'SeamFramework.org'" />
- <xsl:param
name="callout.graphics.path">images/seamframework/docbook/callouts/</xsl:param>
-
-</xsl:stylesheet>
Deleted:
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-04-17
12:29:47 UTC (rev 7965)
+++
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl 2008-04-18
09:25:27 UTC (rev 7966)
@@ -1,85 +0,0 @@
-<?xml version='1.0'?>
-
-<!--
- Copyright 2007 Red Hat, Inc.
- License: LGPL
- Author: Pete Muir
--->
-
-<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version='1.0'
-
xmlns="http://www.w3.org/TR/xhtml1/transitional"
-
xmlns:fo="http://www.w3.org/1999/XSL/Format"
- exclude-result-prefixes="#default">
-
- <xsl:import href="classpath:/xslt/org/jboss/main-pdf.xsl" />
-
-<!-- Callouts -->
- <xsl:param name="callout.graphics.path">
- <xsl:if test="$img.src.path != ''">
- <xsl:value-of select="$img.src.path"/>
- </xsl:if>
- <xsl:text>images/seamframework/docbook/callouts/</xsl:text>
- </xsl:param>
-
-<!-- Admonitions -->
- <xsl:param name="admon.graphics.path">
- <xsl:if test="$img.src.path != ''">
- <xsl:value-of select="$img.src.path"/>
- </xsl:if>
- <xsl:text>images/seamframework/docbook/</xsl:text>
- </xsl:param>
-
- <!-- TODO: Add SVG images and then remove this as the default is .svg -->
- <xsl:param name="admon.graphics.extension"
select="'.png'"/>
-
- <!-- Change the font color for titles to
SeamFramework.org one -->
- <xsl:param name="title.color">#576C74</xsl:param>
- <xsl:param name="titlepage.color">#885324</xsl:param>
- <xsl:param name="chapter.title.color">#BA5624</xsl:param>
- <xsl:param name="section.title.color">#BA5624</xsl:param>
-
- <!-- Style tables to look like SeamFramework.org-->
- <xsl:param name="table.cell.border.color">#D3D2D1</xsl:param>
- <xsl:param name="table.frame.border.color">#D3D2D1</xsl:param>
- <xsl:param name="table.cell.border.thickness">0.6pt</xsl:param>
-
- <xsl:param
name="table.frame.border.thickness">0.6pt</xsl:param>
- <xsl:param
name="table.cell.border.right.color">white</xsl:param>
- <xsl:param
name="table.cell.border.left.color">#D3D2D1</xsl:param>
- <xsl:param
name="table.frame.border.right.color">white</xsl:param>
- <xsl:param
name="table.frame.border.left.color">white</xsl:param>
-
- <xsl:template name="table.cell.block.properties">
- <!-- highlight this entry? -->
- <xsl:if test="ancestor::thead or ancestor::tfoot">
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute
name="background-color">#EDE8DB</xsl:attribute>
- <xsl:attribute name="color">black</xsl:attribute>
- </xsl:if>
- </xsl:template>
-
- <!--
- From: fo/table.xsl
- Reason: Table Header format
- Version:1.72
- -->
- <!-- customize this template to add row properties -->
- <xsl:template name="table.row.properties">
- <xsl:variable name="bgcolor">
- <xsl:call-template name="dbfo-attribute">
- <xsl:with-param name="pis"
select="processing-instruction('dbfo')" />
- <xsl:with-param name="attribute"
select="'bgcolor'" />
- </xsl:call-template>
- </xsl:variable>
- <xsl:if test="$bgcolor != ''">
- <xsl:attribute name="background-color">
- <xsl:value-of select="$bgcolor" />
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="ancestor::thead or ancestor::tfoot">
- <xsl:attribute
name="background-color">#EDE8DB</xsl:attribute>
- </xsl:if>
- </xsl:template>
-
-</xsl:stylesheet>
Deleted:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/nochunk-html.xsl
===================================================================
---
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/nochunk-html.xsl 2008-04-17
12:29:47 UTC (rev 7965)
+++
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/nochunk-html.xsl 2008-04-18
09:25:27 UTC (rev 7966)
@@ -1,24 +0,0 @@
-<?xml version='1.0'?>
-
-<!--
- Copyright 2008 JBoss, a division of Red Hat
- License: LGPL
- Author: Pete Muir
--->
-
-<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version='1.0'
-
xmlns="http://www.w3.org/TR/xhtml1/transitional"
-
xmlns:fo="http://www.w3.org/1999/XSL/Format"
- exclude-result-prefixes="#default">
-
- <xsl:import href="classpath:/xslt/org/jboss/nochunk-html.xsl"/>
-
- <xsl:param name="html.stylesheet"
select="'css/seamframework-nochunk.css'" />
- <xsl:param name="siteHref"
select="'http://www.seamframework.org'" />
- <xsl:param name="docHref"
select="'http://www.seamframework.org/Documentation'" />
- <xsl:param name="siteLinkText"
select="'SeamFramework.org'" />
- <xsl:param
name="callout.graphics.path">images/seamframework/docbook/callouts/</xsl:param>
- <xsl:param name="callout.icon.size">17px</xsl:param>
-
-</xsl:stylesheet>
Copied:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/pdf.xsl (from
rev 7965,
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/pdf.xsl
(rev 0)
+++
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/pdf.xsl 2008-04-18
09:25:27 UTC (rev 7966)
@@ -0,0 +1,68 @@
+<?xml version='1.0'?>
+
+<!--
+ Copyright 2008 JBoss, a division of Red Hat
+ License: LGPL
+ Author: Pete Muir
+ Author: Mark Newton <mark.newton(a)jboss.org>
+-->
+
+<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0"
+
xmlns="http://www.w3.org/TR/xhtml1/transitional"
+
xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ exclude-result-prefixes="#default">
+
+ <xsl:import href="classpath:/xslt/org/jboss/pdf.xsl"/>
+ <xsl:import href="common.xsl"/>
+
+ <!-- Change the font color for titles to
SeamFramework.org one -->
+ <xsl:param name="title.color">#576C74</xsl:param>
+ <xsl:param name="titlepage.color">#885324</xsl:param>
+ <xsl:param name="chapter.title.color">#BA5624</xsl:param>
+ <xsl:param name="section.title.color">#BA5624</xsl:param>
+
+ <!-- Style tables to look like SeamFramework.org-->
+ <xsl:param name="table.cell.border.color">#D3D2D1</xsl:param>
+ <xsl:param name="table.frame.border.color">#D3D2D1</xsl:param>
+ <xsl:param name="table.cell.border.thickness">0.6pt</xsl:param>
+
+ <xsl:param
name="table.frame.border.thickness">0.6pt</xsl:param>
+ <xsl:param
name="table.cell.border.right.color">white</xsl:param>
+ <xsl:param
name="table.cell.border.left.color">#D3D2D1</xsl:param>
+ <xsl:param
name="table.frame.border.right.color">white</xsl:param>
+ <xsl:param
name="table.frame.border.left.color">white</xsl:param>
+
+ <xsl:template name="table.cell.block.properties">
+ <!-- highlight this entry? -->
+ <xsl:if test="ancestor::thead or ancestor::tfoot">
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
+ <xsl:attribute
name="background-color">#EDE8DB</xsl:attribute>
+ <xsl:attribute name="color">black</xsl:attribute>
+ </xsl:if>
+ </xsl:template>
+
+ <!--
+ From: fo/table.xsl
+ Reason: Table Header format
+ Version:1.72
+ -->
+ <!-- customize this template to add row properties -->
+ <xsl:template name="table.row.properties">
+ <xsl:variable name="bgcolor">
+ <xsl:call-template name="dbfo-attribute">
+ <xsl:with-param name="pis"
select="processing-instruction('dbfo')" />
+ <xsl:with-param name="attribute"
select="'bgcolor'" />
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:if test="$bgcolor != ''">
+ <xsl:attribute name="background-color">
+ <xsl:value-of select="$bgcolor" />
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="ancestor::thead or ancestor::tfoot">
+ <xsl:attribute
name="background-color">#EDE8DB</xsl:attribute>
+ </xsl:if>
+ </xsl:template>
+
+</xsl:stylesheet>
Copied:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/xhtml-single.xsl
(from rev 7965,
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/nochunk-html.xsl)
===================================================================
---
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/xhtml-single.xsl
(rev 0)
+++
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/xhtml-single.xsl 2008-04-18
09:25:27 UTC (rev 7966)
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+
+<!--
+ Copyright 2008 JBoss, a division of Red Hat
+ License: LGPL
+ Author: Pete Muir
+ Author: Mark Newton <mark.newton(a)jboss.org>
+-->
+
+<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
+
+ <xsl:import href="classpath:/xslt/org/jboss/xhtml-single.xsl"/>
+ <xsl:import href="common.xsl"/>
+
+ <xsl:param name="html.stylesheet"
select="'css/seamframework-single.css'"/>
+
+</xsl:stylesheet>
Copied:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/xhtml.xsl
(from rev 7965,
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-html.xsl)
===================================================================
---
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/xhtml.xsl
(rev 0)
+++
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/xhtml.xsl 2008-04-18
09:25:27 UTC (rev 7966)
@@ -0,0 +1,15 @@
+<?xml version='1.0'?>
+
+<!--
+ Copyright 2008 JBoss, a division of Red Hat
+ License: LGPL
+ Author: Pete Muir
+ Author: Mark Newton <mark.newton(a)jboss.org>
+-->
+
+<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
+
+ <xsl:import href="classpath:/xslt/org/jboss/xhtml.xsl"/>
+ <xsl:import href="common.xsl"/>
+
+</xsl:stylesheet>
Deleted:
maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-nochunk.css
===================================================================
---
maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-nochunk.css 2008-04-17
12:29:47 UTC (rev 7965)
+++
maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-nochunk.css 2008-04-18
09:25:27 UTC (rev 7966)
@@ -1,5 +0,0 @@
-@import url("seamframework.css");
-
-.title {
- margin-top: 30px;
-}
\ No newline at end of file
Copied: maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-single.css
(from rev 7965,
maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-nochunk.css)
===================================================================
--- maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-single.css
(rev 0)
+++
maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-single.css 2008-04-18
09:25:27 UTC (rev 7966)
@@ -0,0 +1,5 @@
+@import url("seamframework.css");
+
+.title {
+ margin-top: 30px;
+}
\ No newline at end of file