|
|
Line 1: |
Line 1: |
| {{Template:Team:Bonn:MenuJS}} | | {{Template:Team:Bonn:MenuJS}} |
| + | {{Template:Team:Bonn:MenuCSS}} |
| <html> | | <html> |
| <!-- The menu initialization block --> | | <!-- The menu initialization block --> |
- | | + | <script type="text/javascript"> |
- | <!-- The global menu CSS -->
| + | jQuery(function() { |
- | | + | jQuery('ul.igem13-menu').superfish({ |
- | <style type="text/css"> | + | animation: {opacity:'show',height:'show'}, |
- | .menu-top-li{
| + | dropShadows: true, |
- | margin-left:10px;
| + | autoArrows: false, |
- | margin-right:10px;
| + | cssArrows: false |
- | }
| + | }); |
- | .menu-top {
| + | }); |
- | height:20px;
| + | </script> |
- | padding:8px;
| + | |
- | }
| + | |
- | #menu-team {
| + | |
- | background-image: url('https://static.igem.org/mediawiki/igem.org/5/5f/Wiki_Team.png');
| + | |
- | background-size: auto 20px;
| + | |
- | background-repeat: no-repeat;
| + | |
- | background-position:left center;
| + | |
- | width:60px;
| + | |
- | }
| + | |
- | #menu-intro {
| + | |
- | background-image: url(https://static.igem.org/mediawiki/igem.org/b/b5/Bonn_menu_introduction.png);
| + | |
- | background-size: auto 20px;
| + | |
- | background-repeat: no-repeat;
| + | |
- | background-position:left center;
| + | |
- | width:160px;
| + | |
- | }
| + | |
- | #menu-project {
| + | |
- | background-image: url(https://static.igem.org/mediawiki/igem.org/2/2a/Bonn_menu_project.png);
| + | |
- | background-size: auto 20px;
| + | |
- | background-repeat: no-repeat;
| + | |
- | background-position:left center;
| + | |
- | width:110px;
| + | |
- | }
| + | |
- | #menu-hp {
| + | |
- | background-image: url(https://static.igem.org/mediawiki/igem.org/2/2a/Wiki_humanpractice.png);
| + | |
- | background-size: auto 20px;
| + | |
- | background-repeat: no-repeat;
| + | |
- | background-position:left center;
| + | |
- | width:230px;
| + | |
- | }
| + | |
- | .igem13-menu li:hover, .igem13-menu li.sfHover { | + | |
- | background: none repeat scroll 0 0 #FADD26 !important;
| + | |
- | transition: none 0s ease 0s;
| + | |
- | }
| + | |
- | .igem13-menu ul{
| + | |
- | box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.2) !important;
| + | |
- | }
| + | |
- | .igem13-menu ul li a{
| + | |
- | background: none repeat scroll 0 0 #FADD26;
| + | |
- | color:#444444;
| + | |
- | } | + | |
- | .igem13-menu ul li a:hover{
| + | |
- | background: none repeat scroll 0 0 #FFFF00;
| + | |
- | color:#444444;
| + | |
- | }
| + | |
- | .igem13-menu li:hover #menu-team, .igem13-menu li.sfHover #menu-team{
| + | |
- | background-image: url(https://static.igem.org/mediawiki/2013/9/9d/Bonn_menu_Team_grey.png) !important;
| + | |
- | } | + | |
- | .igem13-menu li:hover #menu-hp, .igem13-menu li.sfHover #menu-hp{
| + | |
- | background-image: url(https://static.igem.org/mediawiki/2013/c/c9/Bonn_menu_humanpractice_grey.png) !important;
| + | |
- | } | + | |
- | .igem13-menu li:hover #menu-project, .igem13-menu li.sfHover #menu-project{
| + | |
- | background-image: url(https://static.igem.org/mediawiki/2013/c/ce/Bonn_menu_project_grey.png) !important;
| + | |
- | }
| + | |
- | .igem13-menu li:hover #menu-intro, .igem13-menu li.sfHover #menu-intro{
| + | |
- | background-image: url(https://static.igem.org/mediawiki/2013/e/ee/Bonn_menu_background_grey.png) !important;
| + | |
- | }
| + | |
| </style> | | </style> |
| </html> | | </html> |