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