2
* The contents of this file are subject to the Netscape Public
3
* License Version 1.1 (the "License"); you may not use this file
4
* except in compliance with the License. You may obtain a copy of
5
* the License at http://www.mozilla.org/NPL/
7
* Software distributed under the License is distributed on an "AS
8
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
* implied. See the License for the specific language governing
10
* rights and limitations under the License.
12
* The Original Code is Mozilla Communicator client code, released
15
* The Initial Developer of the Original Code is Netscape
16
* Communications Corporation. Portions created by Netscape are
17
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
21
* Joe Hewitt (hewitt@netscape.com)
25
/* ===== menu.css =======================================================
26
== Styles used by XUL menu-related elements.
27
======================================================================= */
29
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
31
/* ::::: menu/menuitem ::::: */
34
-moz-appearance: menuitem !important;
35
-moz-box-align: center;
39
list-style-image: none;
40
-moz-image-region: auto;
43
menuitem[default="true"] {
47
menu[_moz-menuactive="true"],
48
menuitem[_moz-menuactive="true"] {
52
menu[disabled="true"],
53
menuitem[disabled="true"] {
58
padding: 0px 6px 0px 4px;
61
menubar > menu[_moz-menuactive="true"] {
65
menubar > menu[open] {
69
/* ::::: menu/menuitems in menulist popups ::::: */
71
.menulist-menupopup > menuitem,
72
menulist > menupopup > menuitem,
73
.menulist-menupopup > menu,
74
menulist > menupopup > menu {
75
padding: 1px 30px 1px 5px;
80
/* ..... internal content .... */
85
margin: 0px 2px 0px 0px !important;
90
margin-left: 18px !important;
96
margin: 0px 2px 0px 7px !important;
106
margin: 0px 0px 0px 6px;
108
list-style-image: url("chrome://global/skin/menu/Menu-arrow.png");
109
-moz-image-region: auto;
112
.menu-right[_moz-menuactive="true"] {
113
list-style-image: url("chrome://global/skin/menu/Menu-arrow-hover.png");
114
-moz-image-region: auto;
117
.menu-right[disabled="true"] {
118
list-style-image: url("chrome://global/skin/menu/Menu-arrow-disabled.png");
119
-moz-image-region: auto;
123
margin: 0px 2px 0px 0px;
128
margin: 0px 2px 0px 0px !important;
133
.menulist-menupopup > menuitem > .menu-iconic-left,
134
menulist > menupopup > menuitem > .menu-iconic-left,
135
.menulist-menupopup > menu > .menu-iconic-left,
136
menulist > menupopup > menu > .menu-iconic-left {
140
/* ::::: checkbox menuitem ::::: */
142
menuitem[checked="true"] {
143
list-style-image: url("chrome://global/skin/menu/menu-check.gif");
144
-moz-image-region: auto;
147
menuitem[checked="true"][disabled="true"] {
148
list-style-image: url("chrome://global/skin/menu/menu-check-disabled.gif");
149
-moz-image-region: auto;
152
menuitem[checked="true"][_moz-menuactive="true"] {
153
list-style-image: url("chrome://global/skin/menu/menu-check-hover.gif");
154
-moz-image-region: auto;
157
/* ::::: radio menuitem ::::: */
159
menuitem[checked="true"][type="radio"] {
160
list-style-image: url("chrome://global/skin/menu/menu-radio.gif");
161
-moz-image-region: auto;
164
menuitem[checked="true"][type="radio"][disabled="true"] {
165
list-style-image: url("chrome://global/skin/menu/menu-radio-disabled.gif");
166
-moz-image-region: auto;
169
menuitem[checked="true"][type="radio"][_moz-menuactive="true"] {
170
list-style-image: url("chrome://global/skin/menu/menu-radio-hover.gif");
171
-moz-image-region: auto;
174
/* ::::: menuseparator ::::: */
178
border-top: 1px solid ThreeDShadow;
179
border-bottom: 1px solid ThreeDHighlight;
182
menulist > menupopup > menuseparator,
183
.menulist-menupopup > menuseparator {
185
border-top: 1px solid #000000;
189
/* ::::: autocomplete ::::: */
191
.autocomplete-history-popup > menuitem {
192
max-width: none !important;
196
/* ::::: tree column picker ::::: */
198
.treecell-popupcell-menu {
200
list-style-image: url("chrome://global/skin/columnselect.gif");
201
-moz-image-region: auto;