72fda3e2 |
1 | |
2 | menubar |
3 | { |
4 | background-color : #CCD0DD; |
5 | border-bottom : 1px solid #9999CC; |
6 | border-right : 1px solid #9999CC; |
7 | } |
8 | |
9 | menubar > toolbargrippy |
10 | { |
11 | /* display : none; */ |
12 | } |
13 | |
14 | menu, menuitem |
15 | { |
16 | color : #000000; |
17 | vertical-align : middle; |
18 | } |
19 | |
20 | menuitem[default="true"] |
21 | { |
22 | font-weight : bold; |
23 | } |
24 | |
25 | menu[disabled="true"], menuitem[disabled="true"], |
26 | menu[menuactive="true"][disabled="true"], |
27 | menuitem[menuactive="true"][disabled="true"] |
28 | { |
29 | color : #999999; |
30 | } |
31 | |
32 | /* XXX menupopups have to have a color explicitly specified. this is a bug */ |
33 | menupopup, popup |
34 | { |
35 | background-color : #CCD0DD; |
36 | border : 1px outset #CCD0DD; |
37 | } |
38 | |
39 | menupopup > menu, popup > menu, |
40 | menupopup > menuitem, popup > menuitem |
41 | { |
42 | max-width : 250px; |
43 | min-width : 125px; |
44 | margin-left : 0px; |
45 | margin-right : 0px; |
46 | margin-top : 0px; |
47 | margin-bottom : 0px; |
48 | } |
49 | |
50 | menuseparator |
51 | { |
52 | border : 1px inset #CCD0DD; |
53 | margin : 2px 2px 2px 2px; |
54 | } |
55 | |
56 | menubar > menu |
57 | { |
58 | border : 1px solid #CCD0DD; |
59 | padding : 2px 0px 2px 3px; |
60 | margin : 0px 2px 1px 0px; |
61 | } |
62 | |
63 | menupopup > menu, menupopup > menuitem, |
64 | popup > menu, popup > menuitem |
65 | { |
66 | padding : 2px; |
67 | } |
68 | |
69 | menubar > menu[menuactive="true"] |
70 | { |
71 | border : 1px outset #CCD0DD; |
72 | } |
73 | |
74 | menubar > menu[menuactive="true"][open="true"] |
75 | { |
76 | border : 1px inset #CCD0DD; |
77 | } |
78 | |
79 | menupopup > menu[menuactive="true"], |
80 | menupopup > menuitem[menuactive="true"], |
81 | popup > menu[menuactive="true"], |
82 | popup > menuitem[menuactive="true"] |
83 | { |
84 | background-color : #336699; |
85 | color : #FFFFFF; |
86 | } |
87 | |
88 | |
89 | /** |
90 | * Atomic sub-parts of standard menus |
91 | **/ |
92 | .menu-right |
93 | { |
94 | margin : 0px 0px 0px 6px; |
95 | width : 8px; |
96 | text-align : center; |
97 | list-style-image : url("chrome://global/skin/menu-arrow.gif"); |
98 | } |
99 | |
100 | .menu-iconic-left |
101 | { |
102 | color : inherit; |
103 | margin : 0px 2px 0px 0px; |
104 | width : 13px; |
105 | text-align : center; |
106 | list-style-image : inherit; |
107 | } |
108 | |
109 | .menubar-left |
110 | { |
111 | color : inherit; |
112 | margin : 0px 2px 0px 0px; |
113 | } |
114 | |
115 | .menu-iconic-text, .menu-iconic-accel, .menu-text, .menu-accel |
116 | { |
117 | color : inherit; |
118 | margin : 0px 2px 0px 0px; |
119 | } |
120 | |
121 | .menu-text |
122 | { |
123 | padding-left : 15px; |
124 | font-weight : inherit; |
125 | } |
126 | |
127 | .menu-accel |
128 | { |
129 | margin-left : 4px; |
130 | padding-right : 14px; |
131 | } |
132 | |
133 | .menu-iconic-accel |
134 | { |
135 | margin-left : 4px; |
136 | } |
137 | |
138 | .menubar-text |
139 | { |
140 | color : inherit; |
141 | margin-right : 2px; |
142 | } |
143 | |
144 | menuitem[checked="true"] |
145 | { |
146 | list-style-image : url("chrome://global/skin/menu-check.gif"); |
147 | } |
148 | |
149 | menuitem[checked="true"][disabled="true"] |
150 | { |
151 | list-style-image : url("chrome://global/skin/menu-check-disabled.gif"); |
152 | } |
153 | |
154 | menuitem[checked="true"][menuactive="true"] |
155 | { |
156 | list-style-image : url("chrome://global/skin/menu-check-hover.gif"); |
157 | } |
158 | |
159 | .menu-right[disabled="true"] |
160 | { |
161 | list-style-image : url("chrome://global/skin/menu-arrow-disabled.gif"); |
162 | } |
163 | |
164 | .menu-right[menuactive="true"][disabled="true"] |
165 | { |
166 | list-style-image : url("chrome://global/skin/menu-arrow-disabled.gif"); |
167 | } |
168 | |
169 | .menu-right[menuactive="true"] |
170 | { |
171 | list-style-image : url("chrome://global/skin/menu-arrow-hover.gif"); |
172 | } |
173 | |
174 | /** Tooltips (tooltip <popup> element) |
175 | * class="tooltip" |
176 | **/ |
177 | .tooltip |
178 | { |
179 | background-color : #FFFFCC; |
180 | border : 1px outset #FFFFCC; |
181 | color : #000000; |
182 | font : smaller; |
2427b7c4 |
183 | padding : 3px; |
184 | } |
185 | |
0c3bc25c |
186 | /* .tooltip html */ |
187 | html#TOOLTIP-tooltipText |
2427b7c4 |
188 | { |
72fda3e2 |
189 | padding : 0px; |
2427b7c4 |
190 | margin : 0px; |
72fda3e2 |
191 | } |
192 | |
193 | /* |
194 | * Autorepeatbutton |
195 | */ |
196 | .autorepeatbutton-up { |
197 | list-style-image: url("chrome://global/skin/scroll-up.gif") |
198 | } |
199 | |
200 | .autorepeatbutton-down { |
201 | list-style-image: url("chrome://global/skin/scroll-down.gif") |
202 | } |
203 | |
204 | autorepeatbutton { |
205 | text-align: center; |
206 | vertical-align: middle; |
207 | } |
208 | |
209 | autorepeatbutton:hover { |
210 | background-color: #336699; |
211 | } |
2427b7c4 |
212 | |
0c3bc25c |
213 | |
214 | |