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