second part of syncing LCARStrek with Firefox 34 windows theme changes
[themes.git] / LCARStrek / global / menu.css
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 /* ===== menu.css =======================================================
6   == Styles used by XUL menu-related elements.
7   ======================================================================= */
8
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10
11 /* ::::: menu/menuitem ::::: */
12
13 menu,
14 menuitem,
15 .splitmenu-menuitem {
16   -moz-box-align: center;
17   max-width: 42em;
18   background-color: #000000;
19   color: #FF9F00;
20   list-style-image: none;
21   -moz-image-region: auto;
22 }
23
24 menuitem[default="true"] {
25   font-weight: bold;
26 }
27
28 menu[_moz-menuactive="true"],
29 menuitem[_moz-menuactive="true"],
30 .splitmenu-menuitem[_moz-menuactive="true"] {
31   background-color: #FFCF00;
32   color: #000000;
33 }
34
35 menu[disabled="true"],
36 menuitem[disabled="true"],
37 .splitmenu-menuitem[disabled="true"],
38 menu[_moz-menuactive="true"][disabled="true"],
39 menuitem[_moz-menuactive="true"][disabled="true"],
40 .splitmenu-menuitem[_moz-menuactive="true"][disabled="true"] {
41   color: #8050B0;
42 }
43
44 menubar > menu {
45   padding: 2px;
46   margin: 0px;
47   -moz-margin-start: 2px;
48   border: none;
49 }
50
51 menubar > menu[_moz-menuactive="true"] {
52   background-color: #FFCF00;
53   color: #000000;
54   border: none;
55 }
56
57 menubar > menu[open] {
58   background-color: #FF9F00;
59   color: #000000;
60   border: none;
61 }
62
63 menubar > menu:-moz-lwtheme {
64   -moz-appearance: none;
65 }
66
67 menubar > menu:-moz-window-inactive {
68   color: #8050B0;
69 }
70
71 menuitem.spell-suggestion {
72   font-weight: bold;
73 }
74
75 /* ::::: menu/menuitems in popups ::::: */
76
77 menupopup > menu,
78 popup > menu,
79 menupopup > menuitem,
80 popup > menuitem {
81   padding: 2px;
82 }
83
84 /* ::::: menu/menuitems in menulist popups ::::: */
85
86 .menulist-menupopup > menuitem,
87 menulist > menupopup > menuitem,
88 .menulist-menupopup > menu,
89 menulist > menupopup > menu {
90   padding: 1px 5px;
91   max-width: none;
92 }
93
94 /* ..... internal content .... */
95
96 .menu-text,
97 .menu-iconic-left,
98 .menu-iconic-text {
99   margin-top: 0px !important;
100   margin-bottom: 0px !important;
101   -moz-margin-start: 0px !important;
102   -moz-margin-end: 2px !important;
103   color: inherit;
104 }
105
106 .menu-iconic-left {
107   -moz-margin-end: 3px !important;
108 }
109
110 .menu-text {
111   -moz-margin-start: 19px !important;
112   font-weight: inherit;
113 }
114
115 .menu-description {
116   font-style: italic;
117   color: #9C9CFF;
118   -moz-margin-start: 1ex !important;
119 }
120
121 .menu-accel,
122 .menu-iconic-accel {
123   margin-top: 0px !important;
124   margin-bottom: 0px !important;
125   -moz-margin-start: 7px !important;
126   -moz-margin-end: 2px !important;
127   -moz-padding-end: 14px;
128   color: #A09090;
129 }
130
131 .menu-iconic-icon {
132 /*
133   width: 16px;
134   height: 16px;
135 */
136 }
137
138 .menu-iconic-left {
139   width: 16px;
140 }
141
142 .menu-right {
143   margin-top: 0px;
144   margin-bottom: 0px;
145   -moz-margin-start: 3px;
146   -moz-margin-end: 0px;
147   width: 8px;
148   list-style-image: url("chrome://global/skin/menu/menu-arrow.gif");
149   -moz-image-region: auto;
150 }
151
152 .menu-right[_moz-menuactive="true"] {
153   list-style-image: url("chrome://global/skin/menu/menu-arrow-hover.gif");
154 }
155
156 .menu-right[disabled="true"] {
157   list-style-image: url("chrome://global/skin/menu/menu-arrow-disabled.gif");
158 }
159
160 .menu-right:-moz-locale-dir(rtl) {
161   list-style-image: url("chrome://global/skin/menu/menu-arrow-rtl.gif");
162 }
163
164 .menu-right:-moz-locale-dir(rtl)[_moz-menuactive="true"] {
165   list-style-image: url("chrome://global/skin/menu/menu-arrow-hover-rtl.gif");
166 }
167
168 .menu-right:-moz-locale-dir(rtl)[disabled="true"] {
169   list-style-image: url("chrome://global/skin/menu/menu-arrow-disabled-rtl.gif");
170 }
171
172 .menubar-left {
173   margin-top: 0px;
174   margin-bottom: 0px;
175   -moz-margin-start: 0px;
176   -moz-margin-end: 2px;
177   color: inherit;
178 }
179
180 .menubar-text {
181   margin: 0 1px !important;
182   color: inherit;
183 }
184
185 .menulist-menupopup > menuitem > .menu-iconic-left,
186 menulist > menupopup > menuitem > .menu-iconic-left,
187 .menulist-menupopup > menu > .menu-iconic-left,
188 menulist > menupopup > menu > .menu-iconic-left {
189   display: none;
190 }
191
192 /* ::::: checkbox menuitem ::::: */
193
194 menuitem[checked="true"] { /* [type="checkbox"] */
195   list-style-image: url("chrome://global/skin/menu/menu-check.gif");
196 }
197
198 menuitem[checked="true"][_moz-menuactive="true"] {
199    list-style-image: url("chrome://global/skin/menu/menu-check-hover.gif");
200 }
201
202 menuitem[checked="true"][disabled="true"] {
203   list-style-image: url("chrome://global/skin/menu/menu-check-disabled.gif");
204 }
205
206 /* ::::: radio menuitem ::::: */
207
208 menuitem[checked="true"][type="radio"] {
209   list-style-image: url("chrome://global/skin/menu/menu-radio.gif");
210 }
211
212 menuitem[checked="true"][type="radio"][_moz-menuactive="true"] {
213   list-style-image: url("chrome://global/skin/menu/menu-radio-hover.gif");
214 }
215
216 menuitem[checked="true"][type="radio"][disabled="true"] {
217   list-style-image: url("chrome://global/skin/menu/menu-radio-disabled.gif");
218 }
219
220 /* ::::: menuseparator ::::: */
221
222 menuseparator {
223   border: 1px solid #9C9CFF;
224   margin: 2px 0px;
225 }
226
227 menulist > menupopup > menuseparator,
228 .menulist-menupopup > menuseparator {
229   border: 1px solid #9C9CFF;
230   margin: 2px 0px;
231 }
232
233 /* ::::: autocomplete ::::: */
234
235 .autocomplete-history-popup > menuitem {
236   max-width: none !important;
237 }
238
239 /* ::::: tree column picker ::::: */
240
241 .treecell-popupcell-menu {
242   -moz-margin-start: -2px;
243   list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
244 }