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