User:Vinoo/AccordionMenu

From 2014.igem.org

(Difference between revisions)
m (Created page with "<html> <style type="text/css"> .acc_menu, .acc_menu ul, .acc_menu li, .acc_menu a, .acc_menu span { margin: 0; padding: 0; border: none; outline: none; } .acc_m...")
m
Line 47: Line 47:
     height: 98px;
     height: 98px;
}
}
 +
 +
.acc_menu > li:hover > a,
 +
.acc_menu > li:target > a {
 +
    color: #3e5706;
 +
    text-shadow: 1px 1px 1px rgba(255,255,255, .2);
 +
 +
    /*background: url(../img/active.png) repeat-x;*/
 +
    background: #a5cd4e;
 +
    background: -moz-linear-gradient(top,  #a5cd4e 0%, #6b8f1a 100%);
 +
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a5cd4e), color-stop(100%,#6b8f1a));
 +
    background: -webkit-linear-gradient(top,  #a5cd4e 0%,#6b8f1a 100%);
 +
    background: -o-linear-gradient(top,  #a5cd4e 0%,#6b8f1a 100%);
 +
    background: -ms-linear-gradient(top,  #a5cd4e 0%,#6b8f1a 100%);
 +
    background: linear-gradient(top,  #a5cd4e 0%,#6b8f1a 100%);
 +
}
 +
 +
.acc_menu > li:hover > a span,
 +
.acc_menu > li:target > a span {
 +
    color: #fdfdfd;
 +
    text-shadow: 0px 1px 0px rgba(0,0,0, .35);
 +
    background: #3e5706;
 +
}
 +
 +
.sub_menu li:hover a { background: #efefef; }
</style>
</style>

Revision as of 21:29, 11 December 2013