Template:Team:KULeuven/Common2/Submenutest

From 2009.igem.org

(Difference between revisions)
Line 108: Line 108:
.ddsmoothmenu{
.ddsmoothmenu{
font: bold 12px Verdana;
font: bold 12px Verdana;
-
background-color: #275472;
+
background: #1b1a44; /*background of menu bar (default state)*/
-
width: 100%;
+
/*width: 100%;*/
-
height:28px;
+
position: absolute;
position: absolute;
-
top:176px;
 
bottom: 0px;
bottom: 0px;
-
left: 0px;
+
left: 20px;
-
border: 1px solid white;
+
-
border-left: none;
+
-
border-right: none;
+
}
}
.ddsmoothmenu ul{
.ddsmoothmenu ul{
z-index:100;
z-index:100;
 +
margin: 0;
padding: 0;
padding: 0;
list-style-type: none;
list-style-type: none;
Line 137: Line 133:
.ddsmoothmenu ul li a, .ddsmoothmenu ul li strong.selflink {
.ddsmoothmenu ul li a, .ddsmoothmenu ul li strong.selflink {
display: block;
display: block;
-
background:#275472; / *background of menu items (default state)*/
+
background: black; /*#414141; / *background of menu items (default state)*/
-
color: black;
+
color: white;
-
margin-right:-1px;
+
padding: 2px 8px;
padding: 2px 8px;
-
border: 1px solid white;
+
border: 1px solid #808080;
border-bottom: none;
border-bottom: none;
-
border-top:none;
 
color: #499ccd;
color: #499ccd;
text-decoration: none;
text-decoration: none;
}
}
-
 
-
 
* html .ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
* html .ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
Line 164: Line 156:
.ddsmoothmenu ul li a:hover{
.ddsmoothmenu ul li a:hover{
-
background: #C9D5E0; /*background of menu items during onmouseover (hover state)*/
+
background: black; /*background of menu items during onmouseover (hover state)*/
-
color: Black;
+
color: white;
}
}
Line 229: Line 221:
opacity: 0.8;
opacity: 0.8;
}
}
 +
-->
-->
</style>
</style>
</html>
</html>

Revision as of 15:18, 8 October 2009