2 Copyright (c) 2009, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.net/yui/license.txt
18 .yui-panel-container form {
32 .mask.block-scrollbars {
34 Application of "overflow:auto" prevents Mac scrollbars from bleeding
35 through the modality mask in Gecko. The block-scollbars class is only
36 added for Gecko on MacOS
44 1) ".masked select" is used to prevent <SELECT> elements bleeding through
45 the modality mask in IE 6.
47 2) ".drag select" is used to hide <SELECT> elements when dragging a
48 Panel in IE 6. This is necessary to prevent some redraw problems with
49 the <SELECT> elements when a Panel instance is dragged.
51 3) ".hide-select select" is appended to an Overlay instance's root HTML
52 element when it is being annimated by YAHOO.widget.ContainerEffect.
53 This is necessary because <SELECT> elements don't inherit their parent
54 element's opacity in IE 6.
64 .yui-panel-container select {
70 There are two known issues with YAHOO.widget.Overlay (and its subclasses) that
71 manifest in Gecko-based browsers on Mac OS X:
73 1) Elements with scrollbars will poke through Overlay instances floating
76 2) An Overlay's scrollbars and the scrollbars of its child nodes remain
77 visible when the Overlay is hidden.
81 1) The "overflow" property of an Overlay instance's root element and child
82 nodes is toggled between "hidden" and "auto" (through the application
83 and removal of the "hide-scrollbars" and "show-scrollbars" CSS classes)
84 as its "visibility" configuration property is toggled between
87 2) The "display" property of <SELECT> elements that are child nodes of the
88 Overlay instance's root element is set to "none" when it is hidden.
92 1) The "hide-scrollbars" and "show-scrollbars" CSS classes classes are
93 applied only for Gecko on Mac OS X and are added/removed to/from the
94 Overlay's root HTML element (DIV) via the "hideMacGeckoScrollbars" and
95 "showMacGeckoScrollbars" methods of YAHOO.widget.Overlay.
97 2) There may be instances where the CSS for a web page or application
98 contains style rules whose specificity override the rules implemented by
99 the Container CSS files to fix this bug. In such cases, is necessary to
100 leverage the provided "hide-scrollbars" and "show-scrollbars" classes to
101 write custom style rules to guard against this bug.
103 ** For more information on this issue, see:
105 + https://bugzilla.mozilla.org/show_bug.cgi?id=187435
106 + YUILibrary bug #1723530
117 .hide-scrollbars select {
125 .yui-panel-container.show-scrollbars,
126 .yui-tt.show-scrollbars {
130 .yui-panel-container.show-scrollbars .underlay,
131 .yui-tt.show-scrollbars .yui-tt-shadow {
138 Workaround for Safari 2.x - the yui-force-redraw class is applied, and then removed when
139 the Panel's content changes, to force Safari 2.x to redraw the underlay.
140 We attempt to choose a CSS property which has no visual impact when added,
143 .yui-panel-container.shadow .underlay.yui-force-redraw {
147 .yui-effect-fade .underlay, .yui-effect-fade .yui-tt-shadow {
152 PLEASE NOTE: The <DIV> element used for a Tooltip's shadow is appended
153 to its root element via JavaScript once it has been rendered. The
154 code that creates the shadow lives in the Tooltip's public "onRender"
155 event handler that is a prototype method of YAHOO.widget.Tooltip.
156 Implementers wishing to remove a Tooltip's shadow or add any other markup
157 required for a given skin for Tooltip should override the "onRender" method.
164 .yui-override-padding {
165 padding:0 !important;
168 .yui-panel-container .container-close {
170 text-indent:-10000em;
171 text-decoration:none;
174 .yui-overlay.yui-force-redraw, .yui-panel-container.yui-force-redraw {