Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
/*
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 <DIV> 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 <SELECT> elements that are child nodes of the 
       Menu instance's root element is set to "none" when it is hidden.
 
PLEASE NOTE:  
  
    1) The "hide-scrollbars" and "show-scrollbars" CSS classes classes are 
       applied only for Gecko on Mac OS X and are added/removed to/from the 
       Overlay's root HTML element (DIV) via the "hideMacGeckoScrollbars" and 
       "showMacGeckoScrollbars" methods of YAHOO.widget.Overlay.
    
    2) There may be instances where the CSS for a web page or application 
       contains style rules whose specificity override the rules implemented by 
       the Menu CSS files to fix this bug.  In such cases, is necessary to 
       leverage the provided "hide-scrollbars" and "show-scrollbars" classes to 
       write custom style rules to guard against this bug.
 
** For more information on this issue, see:
 
   + https://bugzilla.mozilla.org/show_bug.cgi?id=187435
   + SourceForge bug #1723530
 
*/
 
.hide-scrollbars * {
 
    overflow: hidden;
 
}
 
.hide-scrollbars select {
 
    display: none;
 
}
 
 
/*
 
The following style rule (".yuimenu.show-scrollbars") overrides the 
".show-scrollbars" rule defined in container-core.css which sets the 
"overflow" property of a YAHOO.widget.Overlay instance's root HTML element to 
"auto" when it is visible.  Without this override, a Menu would have scrollbars
when one of its submenus is visible.
 
*/
 
.yuimenu.show-scrollbars {
 
    overflow: visible; 
 
}
 
.yuimenu.hide-scrollbars .yui-menu-shadow {
 
    overflow: hidden;
 
}
 
.yuimenu.show-scrollbars .yui-menu-shadow {
 
    overflow: auto;
 
}