You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by co...@apache.org on 2003/04/03 06:13:49 UTC
cvs commit: ant/xdocs/stylesheets templates.vm
conor 2003/04/02 20:13:49
Modified: docs index.html page.css
xdocs/stylesheets templates.vm
Log:
More CSS based layout
Revision Changes Path
1.273 +6 -6 ant/docs/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/ant/docs/index.html,v
retrieving revision 1.272
retrieving revision 1.273
diff -u -w -u -r1.272 -r1.273
--- index.html 3 Apr 2003 04:00:18 -0000 1.272
+++ index.html 3 Apr 2003 04:13:48 -0000 1.273
@@ -81,10 +81,10 @@
<div class="menucontainer">
<div class="menu">
<ul>
- <li><font color="#CFDCED">Apache Ant</font>
+ <li class="menuheader">Apache Ant
<ul>
<li>
- <span class="sel"><font color="#ffcc00">Welcome</font></span>
+ <span class="sel">Welcome</span>
</li>
<li>
<a href="./license.html">License</a>
@@ -94,7 +94,7 @@
</li>
</ul>
</li>
- <li><font color="#CFDCED">Documentation</font>
+ <li class="menuheader">Documentation
<ul>
<li>
<a href="./manual/index.html">Manual</a>
@@ -116,7 +116,7 @@
</li>
</ul>
</li>
- <li><font color="#CFDCED">Download</font>
+ <li class="menuheader">Download
<ul>
<li>
<a href="http://ant.apache.org/bindownload.cgi">Binary Distributions</a>
@@ -126,7 +126,7 @@
</li>
</ul>
</li>
- <li><font color="#CFDCED">Get Involved</font>
+ <li class="menuheader">Get Involved
<ul>
<li>
<a href="./mail.html">Mailing Lists</a>
@@ -142,7 +142,7 @@
</li>
</ul>
</li>
- <li><font color="#CFDCED">Project Management</font>
+ <li class="menuheader">Project Management
<ul>
<li>
<a href="./contributors.html">Contributors</a>
1.7 +8 -0 ant/docs/page.css
Index: page.css
===================================================================
RCS file: /home/cvs/ant/docs/page.css,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -u -r1.6 -r1.7
--- page.css 3 Apr 2003 04:00:19 -0000 1.6
+++ page.css 3 Apr 2003 04:13:48 -0000 1.7
@@ -33,6 +33,14 @@
.menu ul ul li .sel { list-style-image: url('images/current.gif'); font-weight : normal; }
.menu ul ul li { list-style-image: url('images/page.gif'); font-weight : normal; }
+.menuheader {
+ color: #CFDCED;
+}
+
+.sel {
+ color: #ffcc00;
+}
+
.tab { font-size : 85%; border: 0 }
.tab a:link { text-decoration : none; }
.tab a:visited { text-decoration : none; color: #2A4A6D }
1.22 +2 -2 ant/xdocs/stylesheets/templates.vm
Index: templates.vm
===================================================================
RCS file: /home/cvs/ant/xdocs/stylesheets/templates.vm,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -w -u -r1.21 -r1.22
--- templates.vm 3 Apr 2003 04:00:22 -0000 1.21
+++ templates.vm 3 Apr 2003 04:13:48 -0000 1.22
@@ -220,14 +220,14 @@
<div class="menu">
<ul>
#foreach ( $menu in $menus )
- <li><font color="$blue1">$menu.getAttributeValue("name")</font>
+ <li class="menuheader">$menu.getAttributeValue("name")
<ul>
#foreach ( $item in $menu.getChildren() )
#set ($name = $item.getAttributeValue("name"))
#set ($current = $root.getChild("properties").getChild("title").getText() )
<li>
#if ( $current.trim().equals( $name ) )
- <span class="sel"><font color="$active">$name</font></span>
+ <span class="sel">$name</span>
#else
#projectanchor($name $item.getAttributeValue("href"))
#end