/* Copyright (c) 2007, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 2.3.0 */ /* Menu & MenuBar styles */ .yuimenu .yuimenu, .yuimenubar .yuimenu { position: absolute; visibility: hidden; } .yuimenubar ul, .yuimenu ul { list-style-type: none; } .yuimenubar ul, .yuimenu ul, .yuimenubar li, .yuimenu li, .yuimenu h6, .yuimenubar h6 { margin: 0; padding: 0; } .yuimenuitemlabel, .yuimenubaritemlabel { white-space: nowrap; } /* PLEASE NOTE: The
element used for a menu's shadow is appended to its root element via JavaScript once it has been rendered. The code that creates the shadow lives in the menu's public "onRender" event handler that is a prototype method of YAHOO.widget.Menu. Implementers wishing to remove a menu's shadow or add any other markup required for a given skin for menu should override the "onRender" method. */ .yui-menu-shadow { position: absolute; } /* There are two known issues with YAHOO.widget.Overlay (the superclass class of Menu) that manifest in Gecko-based browsers on Mac OS X: 1) Elements with scrollbars will poke through Overlay instances floating above them. 2) An Overlay's scrollbars and the scrollbars of its child nodes remain visible when the Overlay is hidden. To fix these bugs in Menu (a subclass of YAHOO.widget.Overlay): 1) The "overflow" property of a Menu instance's shadow element and child nodes is toggled between "hidden" and "auto" (through the application and removal of the "hide-scrollbars" and "show-scrollbars" CSS classes) as its "visibility" configuration property is toggled between "false" and "true." 2) The "display" property of