Browse Source

More CSS based layout

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274383 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 22 years ago
parent
commit
a17b515b5f
3 changed files with 16 additions and 8 deletions
  1. +6
    -6
      docs/index.html
  2. +8
    -0
      docs/page.css
  3. +2
    -2
      xdocs/stylesheets/templates.vm

+ 6
- 6
docs/index.html View File

@@ -81,10 +81,10 @@
<div class="menucontainer"> <div class="menucontainer">
<div class="menu"> <div class="menu">
<ul> <ul>
<li><font color="#CFDCED">Apache Ant</font>
<li class="menuheader">Apache Ant
<ul> <ul>
<li> <li>
<span class="sel"><font color="#ffcc00">Welcome</font></span>
<span class="sel">Welcome</span>
</li> </li>
<li> <li>
<a href="./license.html">License</a> <a href="./license.html">License</a>
@@ -94,7 +94,7 @@
</li> </li>
</ul> </ul>
</li> </li>
<li><font color="#CFDCED">Documentation</font>
<li class="menuheader">Documentation
<ul> <ul>
<li> <li>
<a href="./manual/index.html">Manual</a> <a href="./manual/index.html">Manual</a>
@@ -116,7 +116,7 @@
</li> </li>
</ul> </ul>
</li> </li>
<li><font color="#CFDCED">Download</font>
<li class="menuheader">Download
<ul> <ul>
<li> <li>
<a href="http://ant.apache.org/bindownload.cgi">Binary Distributions</a> <a href="http://ant.apache.org/bindownload.cgi">Binary Distributions</a>
@@ -126,7 +126,7 @@
</li> </li>
</ul> </ul>
</li> </li>
<li><font color="#CFDCED">Get Involved</font>
<li class="menuheader">Get Involved
<ul> <ul>
<li> <li>
<a href="./mail.html">Mailing Lists</a> <a href="./mail.html">Mailing Lists</a>
@@ -142,7 +142,7 @@
</li> </li>
</ul> </ul>
</li> </li>
<li><font color="#CFDCED">Project Management</font>
<li class="menuheader">Project Management
<ul> <ul>
<li> <li>
<a href="./contributors.html">Contributors</a> <a href="./contributors.html">Contributors</a>


+ 8
- 0
docs/page.css View File

@@ -33,6 +33,14 @@ a:hover { color: #000066; }
.menu ul ul li .sel { list-style-image: url('images/current.gif'); font-weight : normal; } .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; } .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 { font-size : 85%; border: 0 }
.tab a:link { text-decoration : none; } .tab a:link { text-decoration : none; }
.tab a:visited { text-decoration : none; color: #2A4A6D } .tab a:visited { text-decoration : none; color: #2A4A6D }


+ 2
- 2
xdocs/stylesheets/templates.vm View File

@@ -220,14 +220,14 @@
<div class="menu"> <div class="menu">
<ul> <ul>
#foreach ( $menu in $menus ) #foreach ( $menu in $menus )
<li><font color="$blue1">$menu.getAttributeValue("name")</font>
<li class="menuheader">$menu.getAttributeValue("name")
<ul> <ul>
#foreach ( $item in $menu.getChildren() ) #foreach ( $item in $menu.getChildren() )
#set ($name = $item.getAttributeValue("name")) #set ($name = $item.getAttributeValue("name"))
#set ($current = $root.getChild("properties").getChild("title").getText() ) #set ($current = $root.getChild("properties").getChild("title").getText() )
<li> <li>
#if ( $current.trim().equals( $name ) ) #if ( $current.trim().equals( $name ) )
<span class="sel"><font color="$active">$name</font></span>
<span class="sel">$name</span>
#else #else
#projectanchor($name $item.getAttributeValue("href")) #projectanchor($name $item.getAttributeValue("href"))
#end #end


Loading…
Cancel
Save