Template:UNIPV-Pavia/StyleCss
From 2009.igem.org
(Difference between revisions)
Line 65: | Line 65: | ||
cursor: default; | cursor: default; | ||
list-style-image: none; | list-style-image: none; | ||
- | width: | + | width: 12em; |
} | } | ||
Line 71: | Line 71: | ||
ul.MenuBarActive | ul.MenuBarActive | ||
{ | { | ||
- | z-index: | + | z-index: 1000; |
} | } | ||
/* Menu item containers, position children relative to this container and are same fixed width as parent */ | /* Menu item containers, position children relative to this container and are same fixed width as parent */ | ||
Line 83: | Line 83: | ||
cursor: pointer; | cursor: pointer; | ||
list-style-image: none; | list-style-image: none; | ||
- | width: | + | width: 12em; |
} | } | ||
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */ | /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */ | ||
Line 97: | Line 97: | ||
top: 0; | top: 0; | ||
list-style-image: none; | list-style-image: none; | ||
- | width: | + | width: 8.2em; |
} | } | ||
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */ | /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */ | ||
ul.MenuBarVertical ul.MenuBarSubmenuVisible | ul.MenuBarVertical ul.MenuBarSubmenuVisible | ||
{ | { | ||
- | left: | + | left: 15px; |
} | } | ||
/* Menu item containers are same fixed width as parent */ | /* Menu item containers are same fixed width as parent */ | ||
ul.MenuBarVertical ul li | ul.MenuBarVertical ul li | ||
{ | { | ||
- | width: | + | width: 8.2em; |
} | } | ||
Revision as of 09:58, 19 June 2009