Template:Team:HKU-HKBU/style.css
From 2009.igem.org
(Difference between revisions)
YinanZhang (Talk | contribs) |
|||
Line 386: | Line 386: | ||
height:60px; | height:60px; | ||
} | } | ||
+ | |||
+ | .glossymenu{ | ||
+ | margin: 5px 0; | ||
+ | padding: 0; | ||
+ | width: 220px; /*width of menu*/ | ||
+ | border: 1px solid #9A9A9A; | ||
+ | border-bottom-width: 0; | ||
+ | } | ||
+ | |||
+ | .glossymenu a.menuitem{ | ||
+ | background: black url(glossyback_1.gif) repeat-x bottom left; | ||
+ | font: bold 14px "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif; | ||
+ | color: white; | ||
+ | display: block; | ||
+ | position: relative; /*To help in the anchoring of the ".statusicon" icon image*/ | ||
+ | width: auto; | ||
+ | padding: 4px 0; | ||
+ | padding-left: 10px; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | .glossymenu a.menuitem:visited, .glossymenu .menuitem:active{ | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | .glossymenu a.menuitem .statusicon{ /*CSS for icon image that gets dynamically added to headers*/ | ||
+ | position: absolute; | ||
+ | top: 5px; | ||
+ | right: 5px; | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | .glossymenu a.menuitem:hover{ | ||
+ | background-image: url(glossyback_2.gif); | ||
+ | } | ||
+ | |||
+ | .glossymenu div.submenu{ /*DIV that contains each sub menu*/ | ||
+ | background: white; | ||
+ | } | ||
+ | |||
+ | .glossymenu div.submenu ul{ /*UL of each sub menu*/ | ||
+ | list-style-type: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | .glossymenu div.submenu ul li{ | ||
+ | border-bottom: 1px solid blue; | ||
+ | } | ||
+ | |||
+ | .glossymenu div.submenu ul li a{ | ||
+ | display: block; | ||
+ | font: normal 13px "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif; | ||
+ | color: black; | ||
+ | text-decoration: none; | ||
+ | padding: 2px 0; | ||
+ | padding-left: 10px; | ||
+ | } | ||
+ | |||
+ | .glossymenu div.submenu ul li a:hover{ | ||
+ | background: #DFDCCB; | ||
+ | colorz: white; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
<html> | <html> |
Revision as of 10:27, 17 October 2009