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