/* this is the clipping region for the menu. it's width and height get set by script, depending on the size of the items table */ .mtDropdownMenu { position:absolute; overflow:hidden; left:-1000px; top:-1000px; } /* this is the main container for the menu itself. it's width and height get set by script, depending on the size of the items table */ .mtDropdownMenu .mdm_content { position:absolute; } /* this table comprises all menu items. each TR is one item. It is relatively positioned so that the shadow and background transparent divs can be positioned underneath it */ .mtDropdownMenu .mdm_items { line-height:20px; position:relative; left:0px; top:0px; border:1px solid #999; z-index:2; } .mtDropdownMenu .mdm_top .mdm_items { border-top:none; } /* each TR.item is one menu item */ .mtDropdownMenu .mdm_item { color:#041d45; text-decoration:none; /* this is a hack for mac/ie5, whom incorrectly cascades the border properties of the parent table to each row */ border:none; cursor:pointer; } /* this DIV is the semi-transparent white background of each menu. the -moz-opacity is a proprietary way to get transparency in mozilla, the filter is for IE/windows 5.0+. */ /* we set the background color in script because ie mac does not use it; that browser only uses a semi-transparent white PNG that the spacer gif inside this DIV is replaced by */ .mtDropdownMenu .mdm_background { position:absolute; left:0px; top:0px; z-index:1; filter:alpha(opacity=70); -moz-opacity:0.7; opacity:0.7; } /* same concept as .mdm_background, but this is the sliver of shadow on the right of the menu. It's left, height, and background are set by script. In IE5/mac, it uses a PNG */ .mtDropdownMenu .mdm_shadowRight { position:absolute; z-index:3; top:3px; width:2px; filter:alpha(opacity=40); -moz-opacity:0.4; opacity:0.4; background:white; } /* same concept as .mdm_background, but this is the sliver of shadow on the bottom of the menu. It's top, width, and background are set by script. In IE5/mac, it uses a PNG */ .mtDropdownMenu .mdm_shadowBottom { position:absolute; z-index:1; left:3px; height:2px; filter:alpha(opacity=40); -moz-opacity:0.4; opacity:0.4; } /* this is the class that is used when the mouse is over an item. script sets the row to this class when required. */ .mtDropdownMenu .mdm_item.mdm_hover { background:#eee; color:#333; } /* this is either the dingbat that indicates there is a submenu, or a spacer gif in it's place. We give it extra margin to create some space between the text and the dingbat */ .mtDropdownMenu .mdm_item img { display:none; }