Template:Team:KULeuven/Common2/Submenutest
From 2009.igem.org
(Difference between revisions)
Bart Bosmans (Talk | contribs) |
Bart Bosmans (Talk | contribs) |
||
Line 108: | Line 108: | ||
.ddsmoothmenu{ | .ddsmoothmenu{ | ||
font: bold 12px Verdana; | font: bold 12px Verdana; | ||
- | background | + | background: #1b1a44; /*background of menu bar (default state)*/ |
- | width: 100%; | + | /*width: 100%;*/ |
- | + | ||
position: absolute; | position: absolute; | ||
- | |||
bottom: 0px; | bottom: 0px; | ||
- | left: | + | left: 20px; |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
.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:# | + | background: black; /*#414141; / *background of menu items (default state)*/ |
- | color: | + | color: white; |
- | + | ||
padding: 2px 8px; | padding: 2px 8px; | ||
- | border: 1px solid | + | border: 1px solid #808080; |
border-bottom: none; | border-bottom: 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: | + | background: black; /*background of menu items during onmouseover (hover state)*/ |
- | color: | + | color: white; |
} | } | ||
Line 229: | Line 221: | ||
opacity: 0.8; | opacity: 0.8; | ||
} | } | ||
+ | |||
--> | --> | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 15:18, 8 October 2009