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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user