Applied concept of project.css as listed in bug system.

PR: MAVEN-370
Submitted by:	Jose Gonzale Gomez


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113262 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding
2003-04-05 11:23:05 +00:00
parent 6aaff4da07
commit 62f5c157a5
2 changed files with 18 additions and 4 deletions

View File

@@ -39,12 +39,19 @@
<x:if select="not($nav/title)">
<title>${pom.name} - ${docTitle}</title>
</x:if>
<j:set var="tigrisCss" value='"${relativePath}/style/tigris.css"'/>
<j:set var="mavenCss" value='"${relativePath}/style/maven.css"'/>
<style type="text/css"><![CDATA[
@import url(${tigrisCss});
@import url(${mavenCss});
@import url("${relativePath}/style/tigris.css");
@import url("${relativePath}/style/maven.css");
]]></style>
<util:file var="projectCssFile" name="${maven.docs.src}/style/project.css"/>
<j:if test="${projectCssFile.exists()}">
<style type="text/css"><![CDATA[
@import url("${relativePath}/style/project.css");
]]></style>
</j:if>
<!-- FIXME: once someone works out how to stop this breaking
<x:element name="script"><x:attribute name="type">text/javascript</x:attribute>
if (document.layers) {