~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/toolkit/themes/gnomestripe/global/menu.css

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
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/
 
6
 *
 
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.
 
11
 *
 
12
 * The Original Code is Mozilla Communicator client code, released
 
13
 * March 31, 1998.
 
14
 *
 
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
 
18
 * Rights Reserved.
 
19
 *
 
20
 * Contributor(s):
 
21
 *   Joe Hewitt (hewitt@netscape.com)
 
22
 *
 
23
 */
 
24
 
 
25
/* ===== menu.css =======================================================
 
26
  == Styles used by XUL menu-related elements.
 
27
  ======================================================================= */
 
28
 
 
29
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
30
 
 
31
/* ::::: menu/menuitem ::::: */
 
32
 
 
33
menu, menuitem {
 
34
  -moz-appearance: menuitem !important;
 
35
  -moz-box-align: center;
 
36
  max-width: 42em;
 
37
  color: MenuText;
 
38
  font: menu;
 
39
  list-style-image: none;
 
40
  -moz-image-region: auto;
 
41
}
 
42
 
 
43
menuitem[default="true"] {
 
44
  font-weight: bold;
 
45
}
 
46
 
 
47
menu[_moz-menuactive="true"],
 
48
menuitem[_moz-menuactive="true"] {
 
49
  color: HighlightText;
 
50
}
 
51
 
 
52
menu[disabled="true"],
 
53
menuitem[disabled="true"] {
 
54
  color: GrayText;
 
55
}
 
56
 
 
57
menubar > menu {
 
58
  padding: 0px 6px 0px 4px;
 
59
}
 
60
 
 
61
menubar > menu[_moz-menuactive="true"] {
 
62
  color: MenuText;
 
63
}
 
64
 
 
65
menubar > menu[open] {
 
66
  color: HighlightText;
 
67
}
 
68
 
 
69
/* ::::: menu/menuitems in menulist popups ::::: */
 
70
 
 
71
.menulist-menupopup > menuitem,
 
72
menulist > menupopup > menuitem,
 
73
.menulist-menupopup > menu,
 
74
menulist > menupopup > menu {
 
75
  padding: 1px 30px 1px 5px;
 
76
  max-width: none;
 
77
  font: message-box;
 
78
}
 
79
 
 
80
/* ..... internal content .... */
 
81
 
 
82
.menu-text,
 
83
.menu-iconic-left,
 
84
.menu-iconic-text {
 
85
  margin: 0px 2px 0px 0px !important;
 
86
  color: inherit;
 
87
}
 
88
 
 
89
.menu-text {
 
90
  margin-left: 18px !important;
 
91
  font-weight: inherit;
 
92
}
 
93
 
 
94
.menu-accel,
 
95
.menu-iconic-accel {
 
96
  margin: 0px 2px 0px 7px !important;
 
97
  padding-right: 14px;
 
98
  color: inherit;
 
99
}
 
100
 
 
101
.menu-iconic-left {
 
102
  width: 16px;
 
103
}
 
104
 
 
105
.menu-right {
 
106
  margin: 0px 0px 0px 6px;
 
107
  width: 8px;
 
108
  list-style-image: url("chrome://global/skin/menu/Menu-arrow.png");
 
109
  -moz-image-region: auto;
 
110
}
 
111
 
 
112
.menu-right[_moz-menuactive="true"] {
 
113
  list-style-image: url("chrome://global/skin/menu/Menu-arrow-hover.png");
 
114
  -moz-image-region: auto;
 
115
}
 
116
 
 
117
.menu-right[disabled="true"] {
 
118
  list-style-image: url("chrome://global/skin/menu/Menu-arrow-disabled.png");
 
119
  -moz-image-region: auto;
 
120
}
 
121
 
 
122
.menubar-left {
 
123
  margin: 0px 2px 0px 0px;
 
124
  color: inherit;
 
125
}
 
126
 
 
127
.menubar-text {
 
128
  margin: 0px 2px 0px 0px !important;
 
129
  color: inherit;
 
130
}
 
131
 
 
132
 
 
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 {
 
137
  display: none;
 
138
}
 
139
 
 
140
/* ::::: checkbox menuitem ::::: */
 
141
 
 
142
menuitem[checked="true"] {
 
143
  list-style-image: url("chrome://global/skin/menu/menu-check.gif");
 
144
  -moz-image-region: auto;
 
145
}
 
146
 
 
147
menuitem[checked="true"][disabled="true"] {
 
148
  list-style-image: url("chrome://global/skin/menu/menu-check-disabled.gif");
 
149
  -moz-image-region: auto;
 
150
}
 
151
 
 
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;
 
155
}
 
156
 
 
157
/* ::::: radio menuitem ::::: */
 
158
 
 
159
menuitem[checked="true"][type="radio"] {
 
160
  list-style-image: url("chrome://global/skin/menu/menu-radio.gif");
 
161
  -moz-image-region: auto;
 
162
}
 
163
 
 
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;
 
167
}
 
168
 
 
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;
 
172
}
 
173
 
 
174
/* ::::: menuseparator ::::: */
 
175
 
 
176
menuseparator {
 
177
  margin: 2px 3px;
 
178
  border-top: 1px solid ThreeDShadow;
 
179
  border-bottom: 1px solid ThreeDHighlight;
 
180
}
 
181
 
 
182
menulist > menupopup > menuseparator,
 
183
.menulist-menupopup > menuseparator {
 
184
  margin: 2px 0;
 
185
  border-top: 1px solid #000000;
 
186
  border-bottom: none;
 
187
}
 
188
 
 
189
/* ::::: autocomplete ::::: */
 
190
 
 
191
.autocomplete-history-popup > menuitem {
 
192
  max-width: none !important;
 
193
  font: message-box;
 
194
}
 
195
 
 
196
/* ::::: tree column picker ::::: */
 
197
 
 
198
.treecell-popupcell-menu {
 
199
  margin-left: -2px;
 
200
  list-style-image: url("chrome://global/skin/columnselect.gif");
 
201
  -moz-image-region: auto;
 
202
}