/* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 2.9.0 */ .yui-overlay, .yui-panel-container { visibility: hidden; position: absolute; z-index: 2; } .yui-panel { position:relative; } .yui-panel-container form { margin: 0; } .mask { z-index: 1; display: none; position: absolute; top: 0; left: 0; right: 0; bottom: 0; } .mask.block-scrollbars { /* Application of "overflow:auto" prevents Mac scrollbars from bleeding through the modality mask in Gecko. The block-scollbars class is only added for Gecko on MacOS */ overflow: auto; } /* PLEASE NOTE: 1) ".masked select" is used to prevent elements when dragging a Panel in IE 6. This is necessary to prevent some redraw problems with the elements don't inherit their parent element's opacity in IE 6. */ .masked select, .drag select, .hide-select select { _visibility: hidden; } .yui-panel-container select { _visibility: inherit; } /* There are two known issues with YAHOO.widget.Overlay (and its subclasses) 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: 1) The "overflow" property of an Overlay instance's root 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