Template:UIUC09Temp

From 2009.igem.org

(Difference between revisions)
 
(13 intermediate revisions not shown)
Line 99: Line 99:
#menu ul {
#menu ul {
-
width:100px;
 
list-style:none;
list-style:none;
margin:0;
margin:0;
Line 115: Line 114:
#menu a.orange {
#menu a.orange {
 +
width:100px;
color:#003C7D;
color:#003C7D;
font-weight:bold;
font-weight:bold;
Line 123: Line 123:
#menu a.gray {
#menu a.gray {
 +
width:125px;
color:#000;
color:#000;
font-weight:normal;
font-weight:normal;
Line 133: Line 134:
}
}
-
#menu a:hover {
+
#menu a.orange:hover {
color:#fff;
color:#fff;
background:url(https://static.igem.org/mediawiki/2009/0/07/UI09orangehover.png);
background:url(https://static.igem.org/mediawiki/2009/0/07/UI09orangehover.png);
}
}
-
#menu li {
+
#menu a.gray:hover {
-
position:relative;
+
color:#fff;
 +
background: #003C7D;
}
}
-
#menu ul ul {
+
#menu li {
-
position:absolute;
+
-
z-index:500;
+
-
}
+
-
 
+
-
#menu ul ul ul {
+
-
position:absolute;
+
-
top:0;
+
-
left:100%;
+
-
}
+
-
 
+
-
div#menu ul ul,div#menu ul li:hover ul ul,div#menu ul ul li:hover ul ul {
+
-
display:none;
+
-
}
+
-
 
+
-
div#menu ul li:hover ul,div#menu ul ul li:hover ul,div#menu ul ul ul li:hover ul {
+
-
display:block;
+
-
}
+
-
 
+
-
/**************** vertical menu coding *****************/
+
-
#vmenu {
+
-
width:135px;
+
-
margin:5px;
+
position:relative;
position:relative;
-
float:left;
 
}
}
-
#vmenu ul {
+
/**************** vertical menu coding (from DynamicDrive) *****************/
-
list-style:none;
+
.vmenu{
-
text-align:center;
+
margin: 5px;
-
vertical-align:bottom;
+
padding: 0;
-
margin:0;
+
width: 135px; /*width of menu*/
-
padding:0;
+
position: relative;
 +
float: left;
}
}
-
#vmenu a.main,a.second,a.third {
+
.vmenu a.menuitem, .vmenu div.submenu ul li a {
height:25px;
height:25px;
display:block;
display:block;
-
margin:0;
+
margin:1px;
-
padding:0;
+
padding:0px 5px;
}
}
-
#vmenu a.main {
+
.vmenu a.menuitem{
text-transform:uppercase;
text-transform:uppercase;
color:#fff;
color:#fff;
Line 191: Line 171:
background:url(https://static.igem.org/mediawiki/2009/b/b5/UI09Sidemain.png);
background:url(https://static.igem.org/mediawiki/2009/b/b5/UI09Sidemain.png);
text-decoration:none;
text-decoration:none;
 +
display: block;
 +
position: relative; /*To help in the anchoring of the ".statusicon" icon image*/
}
}
-
#vmenu a.second {
+
 
-
text-transform:uppercase;
+
.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;
color:#fff;
-
font-weight:bold;
+
background:url(https://static.igem.org/mediawiki/2009/c/cf/UI09Sidehoverm.png);
-
font-size:12px;
+
-
background:url(https://static.igem.org/mediawiki/2009/f/f5/UI09Sidesecond.png);
+
-
text-decoration:none;
+
}
}
-
#vmenu a.third {
+
.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;
color:#fff;
font-weight:bold;
font-weight:bold;
Line 210: Line 207:
}
}
-
#vmenu a.main:hover {
+
.vmenu div.submenu ul li a:hover{
-
color:#fff;
+
-
background:url(https://static.igem.org/mediawiki/2009/c/cf/UI09Sidehoverm.png);
+
-
}
+
-
 
+
-
#vmenu a.second:hover,#vmenu a.third:hover {
+
color:#fff;
color:#fff;
background:#003C7D;
background:#003C7D;
}
}
-
#vmenu li {
+
/**************** Navigation Buttons (for Project and Experiments pages) *****************/
-
position:relative;
+
-
}
+
-
 
+
-
</style>
+
-
<!--[if IE]>
+
-
<style type=text/css media=screen>
+
-
#menu ul li {
+
-
float:left;
+
-
width:100%;
+
-
}
+
-
 
+
-
#vmenu ul li {
+
-
float:left;
+
-
width:100%;
+
-
}
+
-
 
+
#nav {
#nav {
width: 770px;
width: 770px;
Line 263: Line 239:
#nav a.intro:hover {
#nav a.intro:hover {
-
text-decoration: none;
 
background: url(https://static.igem.org/mediawiki/2009/c/c5/UI09Introhover.png);
background: url(https://static.igem.org/mediawiki/2009/c/c5/UI09Introhover.png);
}
}
Line 272: Line 247:
#nav a.research:hover {
#nav a.research:hover {
-
text-decoration: none;
 
background: url(https://static.igem.org/mediawiki/2009/a/a3/UI09Researchhover.png);
background: url(https://static.igem.org/mediawiki/2009/a/a3/UI09Researchhover.png);
}
}
Line 281: Line 255:
#nav a.modeling:hover {
#nav a.modeling:hover {
-
text-decoration: none;
 
background: url(https://static.igem.org/mediawiki/2009/0/06/UI09Modelinghover.png);
background: url(https://static.igem.org/mediawiki/2009/0/06/UI09Modelinghover.png);
}
}
-
</style>
+
#nav a.protocols {
-
<![endif]-->
+
background: url(https://static.igem.org/mediawiki/2009/f/f1/UI09Protocolsbutton.png);
-
<!--[if lt IE 7]>
+
-
<style type=text/css media=screen>
+
-
body {
+
-
behavior:url(csshover.htc);
+
-
font-size:100%;
+
}
}
-
#menu ul li a {
+
#nav a.protocols:hover {
-
height:1%;
+
background: url(https://static.igem.org/mediawiki/2009/f/f0/UI09Protocolshover.png);
}
}
-
#menu a.orange,#menu a.gray {
+
#nav a.vectors {
-
font:bold .7em/1.4em;
+
background: url(https://static.igem.org/mediawiki/2009/7/7c/UI09Vectorsbutton.png);
}
}
-
body {
+
#nav a.vectors:hover {
-
font-size:100%;
+
background: url(https://static.igem.org/mediawiki/2009/f/f5/UI09Vectorshover.png);
}
}
-
#vmenu ul li {
+
#nav a.results {
-
float:left;
+
width: 600px;
-
width:100%;
+
height: 35px;
 +
background:#003C7D
}
}
-
#vmenu ul li a {
+
#nav a.results:hover {
-
height:1%;
+
background:#6e8bbf;
-
}
+
}
}
</style>
</style>
-
<![endif]-->
 
</html>
</html>

Latest revision as of 03:55, 22 October 2009