Template:UIUC09Temp
From 2009.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
.ddsmoothmenu{ | .ddsmoothmenu{ | ||
font: bold 12px Verdana; | font: bold 12px Verdana; | ||
- | background: # | + | background: #414141; /*background of menu bar (default state)*/ |
width: 100%; | width: 100%; | ||
} | } | ||
Line 29: | Line 29: | ||
display: inline; | display: inline; | ||
float: left; | float: left; | ||
- | |||
} | } | ||
Line 35: | Line 34: | ||
.ddsmoothmenu ul li a{ | .ddsmoothmenu ul li a{ | ||
display: block; | display: block; | ||
- | background: # | + | background: #414141; /*background of menu items (default state)*/ |
color: white; | color: white; | ||
padding: 8px 10px; | padding: 8px 10px; | ||
Line 41: | Line 40: | ||
color: #2d2b2b; | color: #2d2b2b; | ||
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*/ | ||
display: inline-block; | display: inline-block; | ||
- | |||
} | } | ||
.ddsmoothmenu ul li a:link, .ddsmoothmenu ul li a:visited{ | .ddsmoothmenu ul li a:link, .ddsmoothmenu ul li a:visited{ | ||
color: white; | color: white; | ||
- | |||
} | } | ||
.ddsmoothmenu ul li a.selected{ /*CSS class that's dynamically added to the currently active menu items' LI A element*/ | .ddsmoothmenu ul li a.selected{ /*CSS class that's dynamically added to the currently active menu items' LI A element*/ | ||
- | background: | + | background: black; |
color: white; | color: white; | ||
- | |||
} | } | ||
.ddsmoothmenu ul li a:hover{ | .ddsmoothmenu ul li a:hover{ | ||
- | background: | + | background: black; /*background of menu items during onmouseover (hover state)*/ |
color: white; | color: white; | ||
- | |||
} | } | ||
Line 72: | Line 66: | ||
display: none; /*collapse all sub menus to begin with*/ | display: none; /*collapse all sub menus to begin with*/ | ||
visibility: hidden; | visibility: hidden; | ||
- | |||
} | } | ||
Line 79: | Line 72: | ||
display: list-item; | display: list-item; | ||
float: none; | float: none; | ||
- | |||
} | } | ||
Line 85: | Line 77: | ||
.ddsmoothmenu ul li ul li ul{ | .ddsmoothmenu ul li ul li ul{ | ||
top: 0; | top: 0; | ||
- | |||
} | } | ||
Line 96: | Line 87: | ||
border-top-width: 0; | border-top-width: 0; | ||
border-bottom: 1px solid gray; | border-bottom: 1px solid gray; | ||
- | |||
} | } | ||
Revision as of 16:32, 8 June 2009