Template:UIUC Illinois Bioware Background
From 2010.igem.org
(Difference between revisions)
Line 149: | Line 149: | ||
#menu li { | #menu li { | ||
position:relative; | position:relative; | ||
+ | } | ||
+ | |||
+ | |||
+ | /**************** vertical menu coding (from DynamicDrive) *****************/ | ||
+ | .vmenu{ | ||
+ | margin: 5px; | ||
+ | padding: 0; | ||
+ | width: 135px; /*width of menu*/ | ||
+ | position: relative; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | .vmenu a.menuitem, .vmenu div.submenu ul li a { | ||
+ | height:25px; | ||
+ | display:block; | ||
+ | margin:1px; | ||
+ | padding:0px 5px; | ||
+ | } | ||
+ | |||
+ | .vmenu a.menuitem{ | ||
+ | text-transform:uppercase; | ||
+ | color:#fff; | ||
+ | font-weight:bold; | ||
+ | font-size:14px; | ||
+ | background:url(https://static.igem.org/mediawiki/2009/b/b5/UI09Sidemain.png); | ||
+ | text-decoration:none; | ||
+ | display: block; | ||
+ | position: relative; /*To help in the anchoring of the ".statusicon" icon image*/ | ||
+ | } | ||
+ | |||
+ | |||
+ | .vmenu a.menuitem:visited, .vmenu .menuitem:active{ | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | .vmenu a.menuitem .statusicon{ /*CSS for icon image that gets dynamically added to headers*/ | ||
+ | position: absolute; | ||
+ | top: 5px; | ||
+ | right: 5px; | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | .vmenu a.menuitem:hover{ | ||
+ | color:#fff; | ||
+ | background:url(https://static.igem.org/mediawiki/2009/c/cf/UI09Sidehoverm.png); | ||
+ | } | ||
+ | |||
+ | .vmenu div.submenu ul{ /*UL of each sub menu*/ | ||
+ | list-style: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | .vmenu div.submenu ul li a{ | ||
+ | display: block; | ||
+ | color:#fff; | ||
+ | font-weight:bold; | ||
+ | font-size:12px; | ||
+ | background:url(https://static.igem.org/mediawiki/2009/1/18/UI09Sidethird.png); | ||
+ | text-decoration:none; | ||
+ | } | ||
+ | |||
+ | .vmenu div.submenu ul li a:hover{ | ||
+ | color:#fff; | ||
+ | background:#003C7D; | ||
} | } | ||
Revision as of 21:47, 22 June 2010