Changeset 121 for trunk/docs/_static


Ignore:
Timestamp:
Mar 12, 2011, 12:18:49 AM (14 years ago)
Author:
anonymous
Message:

add horizontal menu bar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/_static/default.css

    r120 r121  
    258258    border-bottom: 1px solid #ac9;
    259259}
     260
     261/*  Menu Bar ---------------------------------------- */
     262
     263ul.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;
     274filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#563404', endColorstr='#663e05'); /* for IE */
     275background:-webkit-gradient(linear, left top, left bottom, from(#563404), to(#663e05)); /* for webkit browsers */
     276background:-moz-linear-gradient(top,  #563404,  #663e05); /* for firefox 3.6+ */
     277        font-size: 1.2em;
     278}
     279ul.topnav li {
     280        float: left;
     281        margin: 0;     
     282        padding: 0 15px 0 0;
     283        position: relative; /*--Declare X and Y axis base--*/
     284}
     285ul.topnav li a{
     286        padding: 6px 10px 10px 20px;
     287        color: #fff;
     288        display: block;
     289        text-decoration: none;
     290        float: left;
     291       
     292}
     293ul.topnav li a:hover{
     294        background: transparent;
     295        color:#ffcd0b;
     296}
     297ul.topnav li span { /*--Drop down trigger styles--*/
     298        width: 17px;
     299        height: 35px;
     300        float: left;
     301}
     302ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/
     303ul.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}
     320ul.topnav li ul.subnav li{
     321        margin: 0; padding: 0;
     322
     323        clear: both;
     324        width: 125px;
     325}
     326html 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}
     334html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/
     335 
     336}
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png