Changeset 121
- Timestamp:
- Mar 12, 2011, 12:18:49 AM (14 years ago)
- Location:
- trunk/docs
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/_static/default.css
r120 r121 258 258 border-bottom: 1px solid #ac9; 259 259 } 260 261 /* Menu Bar ---------------------------------------- */ 262 263 ul.topnav { 264 position:relative; 265 top:0; 266 left:0; 267 list-style: none; 268 padding: 0 ; 269 margin: 0; 270 float: left; 271 width: 100%; 272 height:40px; 273 background: #563404; 274 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#563404', endColorstr='#663e05'); /* for IE */ 275 background:-webkit-gradient(linear, left top, left bottom, from(#563404), to(#663e05)); /* for webkit browsers */ 276 background:-moz-linear-gradient(top, #563404, #663e05); /* for firefox 3.6+ */ 277 font-size: 1.2em; 278 } 279 ul.topnav li { 280 float: left; 281 margin: 0; 282 padding: 0 15px 0 0; 283 position: relative; /*--Declare X and Y axis base--*/ 284 } 285 ul.topnav li a{ 286 padding: 6px 10px 10px 20px; 287 color: #fff; 288 display: block; 289 text-decoration: none; 290 float: left; 291 292 } 293 ul.topnav li a:hover{ 294 background: transparent; 295 color:#ffcd0b; 296 } 297 ul.topnav li span { /*--Drop down trigger styles--*/ 298 width: 17px; 299 height: 35px; 300 float: left; 301 } 302 ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/ 303 ul.topnav li ul.subnav { 304 list-style: none; 305 position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/ 306 left: 20px; top: 35px; 307 margin: 0; padding: 0; 308 display: none; 309 float: left; 310 width: 170px; 311 -moz-border-radius-bottomleft: 5px; 312 -moz-border-radius-bottomright: 5px; 313 -webkit-border-bottom-left-radius: 5px; 314 -webkit-border-bottom-right-radius: 5px; 315 border: 1px solid #663e05; 316 z-index:1000000; 317 318 319 } 320 ul.topnav li ul.subnav li{ 321 margin: 0; padding: 0; 322 323 clear: both; 324 width: 125px; 325 } 326 html ul.topnav li ul.subnav li a { 327 font-size:.8em; 328 float: left; 329 width: 155px; 330 background: #663e05; 331 padding:3px 5px 3px 10px ; 332 333 } 334 html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/ 335 336 } -
trunk/docs/_templates/layout.html
r120 r121 1 1 {% extends "!layout.html" %} 2 3 {% block extrahead %} 4 5 <script type="text/javascript"> 6 $(document).ready(function(){ 7 8 $("ul.topnav li a").hover(function() { 9 10 //Following events are applied to the subnav itself (moving subnav up and down) 11 $(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click 12 13 $(this).parent().hover(function() { 14 }, function(){ 15 $(this).parent().find("ul.subnav").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up 16 }); 17 18 //Following events are applied to the trigger (Hover events for the trigger) 19 }).hover(function() { 20 $(this).addClass("subhover"); //On hover over, add class "subhover" 21 }, function(){ //On Hover Out 22 $(this).removeClass("subhover"); //On hover out, remove class "subhover" 23 }); 24 25 }); 26 </script> 27 28 {{ super() }} 29 {% endblock %} 2 30 3 31 {% block header %} 4 32 <img src="_static/images/header-logo.jpg"> 5 {{ super() }}6 {% endblock %}7 33 8 {% block rootrellink %} 9 <li><a href="http://www.zoo-project.org/">Project Homepage</a> »</li> 34 <ul class="topnav"> 35 <li><a href="/site/">Home</a></li> 36 <li><a href="#">ZOO Project</a> 37 <ul class="subnav"> 38 39 <li><a href="/site/ZooWebSite/ZooProject/About">About</a></li> 40 <li><a href="/site/ZooWebSite/ZooProject/Tribe">ZOO Tribe</a></li> 41 <li><a href="/site/ZooWebSite/ZooProject/Events">Events</a></li> 42 <li><a href="/site/ZooWebSite/ZooProject/Photos">Photos</a></li> 43 <li><a href="/site/ZooWebSite/ZooProject/Contact">Contacts</a></li> 44 </ul> 45 46 </li> 47 <li> 48 <a href="#">Components</a> 49 <ul class="subnav"> 50 <li><a href="/site/ZooWebSite/ZooKernel">ZOO Kernel</a></li> 51 <li><a href="/site/ZooWebSite/ZooServices">ZOO Services</a></li> 52 <li><a href="/site/ZooWebsite/ZooApi">ZOO API</a></li> 53 54 </ul> 55 </li> 56 <li><a href="download.html">Download</a></li> 57 <li><a href="/site/ZooDocumentation">Docs</a></li> 58 <li><a href="#">Demos</a> 59 <ul class="subnav"> 60 <li><a href="/site/ZooWebSite/Demo/SpatialTools">ZOO Spatial Tools</a></li> 61 62 <li><a href="/site/ZooWebSite/Demo/CGAL">ZOO CGAL Vor</a></li> 63 <li><a href="/site/ZooWebSite/Demo/WFS-T">ZOO Mapserver WFS-T</a></li> 64 <li><a href="/site/ZooWebSite/Demo/GdalProfile">ZOO Elevation Profile</a></li> 65 <li><a href="/site/ZooWebSite/Demo/FormTools">ZOO Form tools</a></li> 66 </ul> 67 </li> 68 <li><a href="/trac">Trac</a></li> 69 70 </ul> 71 72 10 73 {{ super() }} 11 74 {% endblock %} … … 14 77 {% block sidebar1 %}{% endblock %} 15 78 {% block sidebar2 %}{{ sidebar() }}{% endblock %} 79 80 {# remove first relbar #} 81 {% block relbar1 %}{% endblock %} -
trunk/docs/conf.py
r120 r121 38 38 39 39 # The master toctree document. 40 master_doc = ' index'40 master_doc = 'documentation' 41 41 42 42 # General information about the project.
Note: See TracChangeset
for help on using the changeset viewer.