1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Netscape Public License
5 * Version 1.1 (the "License"); you may not use this file except in
6 * compliance with the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/NPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
14 * The Original Code is mozilla.org code.
16 * The Initial Developer of the Original Code is
17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998
19 * the Initial Developer. All Rights Reserved.
22 * Joe Hewitt (hewitt@netscape.com)
23 * Patrick Thompson (sailfish@unforgettable.com)
24 * Robert Kaiser <KaiRo@KaiRo.at>
26 * Alternatively, the contents of this file may be used under the terms of
27 * either the GNU General Public License Version 2 or later (the "GPL"), or
28 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 * in which case the provisions of the GPL or the LGPL are applicable instead
30 * of those above. If you wish to allow use of your version of this file only
31 * under the terms of either the GPL or the LGPL, and not to allow others to
32 * use your version of this file under the terms of the NPL, indicate your
33 * decision by deleting the provisions above and replace them with the notice
34 * and other provisions required by the GPL or the LGPL. If you do not delete
35 * the provisions above, a recipient may use your version of this file under
36 * the terms of any one of the NPL, the GPL or the LGPL.
38 * ***** END LICENSE BLOCK ***** */
40 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
43 list-style-image: url("chrome://editor/skin/icons/newfile.gif");
47 #newButton:hover:active {
48 list-style-image: url("chrome://editor/skin/icons/newfile-hover.gif");
51 #newButton[disabled="true"] {
52 list-style-image: url("chrome://editor/skin/icons/newfile-disabled.gif") !important;
56 list-style-image: url("chrome://editor/skin/icons/openfile.gif");
60 #openButton:hover:active {
61 list-style-image: url("chrome://editor/skin/icons/openfile-hover.gif");
64 #openButton[disabled="true"] {
65 list-style-image: url("chrome://editor/skin/icons/openfile-disabled.gif") !important;
69 list-style-image: url("chrome://editor/skin/icons/savefile.gif");
73 #saveButton:hover:active {
74 list-style-image: url("chrome://editor/skin/icons/savefile-hover.gif");
77 #saveButton[disabled="true"] {
78 list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important;
81 #saveButton[dirty="true"] {
82 list-style-image: url("chrome://editor/skin/icons/savefile-dirty.gif");
85 #saveButton[dirty="true"]:hover,
86 #saveButton[dirty="true"]:hover:active {
87 list-style-image: url("chrome://editor/skin/icons/savefile-hover.gif");
90 #saveButton[dirty="true"][disabled="true"] {
91 list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important;
95 list-style-image: url("chrome://editor/skin/icons/publish.gif");
99 #publishButton:hover:active {
100 list-style-image: url("chrome://editor/skin/icons/publish-hover.gif");
103 #publishButton[disabled="true"] {
104 list-style-image: url("chrome://editor/skin/icons/publish-disabled.gif") !important;
108 list-style-image: url("chrome://editor/skin/icons/preview.gif");
111 #previewButton:hover,
112 #previewButton:hover:active {
113 list-style-image: url("chrome://editor/skin/icons/preview-hover.gif");
116 #previewButton[disabled="true"] {
117 list-style-image: url("chrome://editor/skin/icons/preview-disabled.gif") !important;
121 list-style-image: url("chrome://global/skin/icons/print.gif");
125 #printButton[buttonover="true"],
126 #printButton[buttondown="true"],
127 #printButton[open="true"] {
128 list-style-image: url("chrome://global/skin/icons/print-hover.gif");
131 #printButton[disabled="true"] {
132 list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important;
137 list-style-image: url("chrome://editor/skin/icons/find.gif");
141 #findButton:hover:active {
142 list-style-image: url("chrome://editor/skin/icons/find-hover.gif");
145 #findButton[disabled="true"] {
146 list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important;
151 list-style-image: url("chrome://editor/skin/icons/link.gif");
155 #linkButton:hover:active {
156 list-style-image: url("chrome://editor/skin/icons/link-hover.gif");
159 #linkButton[disabled="true"] {
160 list-style-image: url("chrome://editor/skin/icons/link-disabled.gif") !important;
164 list-style-image: url("chrome://editor/skin/icons/image.gif");
168 #imageButton:hover:active {
169 list-style-image: url("chrome://editor/skin/icons/image-hover.gif");
172 #imageButton[disabled="true"] {
173 list-style-image: url("chrome://editor/skin/icons/image-disabled.gif") !important;
177 list-style-image: url("chrome://editor/skin/icons/anchor.gif");
180 #namedAnchorButton:hover,
181 #namedAnchorButton:hover:active {
182 list-style-image: url("chrome://editor/skin/icons/anchor-hover.gif");
185 #namedAnchorButton[disabled="true"] {
186 list-style-image: url("chrome://editor/skin/icons/anchor-disabled.gif") !important;
190 list-style-image: url("chrome://editor/skin/icons/hline.gif");
194 #hlineButton:hover:active {
195 list-style-image: url("chrome://editor/skin/icons/hline-hover.gif");
198 #hlineButton[disabled="true"] {
199 list-style-image: url("chrome://editor/skin/icons/hline-disabled.gif") !important;
203 list-style-image: url("chrome://editor/skin/icons/table.gif");
207 #tableButton:hover:active {
208 list-style-image: url("chrome://editor/skin/icons/table-hover.gif");
211 #tableButton[disabled="true"] {
212 list-style-image: url("chrome://editor/skin/icons/table-disabled.gif") !important;
216 list-style-image: url("chrome://editor/skin/icons/spell.gif");
219 #spellingButton:hover,
220 #spellingButton:hover:active {
221 list-style-image: url("chrome://editor/skin/icons/spell-hover.gif");
224 #spellingButton[disabled="true"] {
225 list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important;
229 list-style-image: url("chrome://editor/skin/icons/cut.gif");
233 #cutButton:hover:active {
234 list-style-image: url("chrome://editor/skin/icons/cut-hover.gif");
237 #cutButton[disabled="true"] {
238 list-style-image: url("chrome://editor/skin/icons/cut-disabled.gif") !important;
242 list-style-image: url("chrome://editor/skin/icons/copy.gif");
246 #copyButton:hover:active {
247 list-style-image: url("chrome://editor/skin/icons/copy-hover.gif");
250 #copyButton[disabled="true"] {
251 list-style-image: url("chrome://editor/skin/icons/copy-disabled.gif") !important;
255 list-style-image: url("chrome://editor/skin/icons/paste.gif");
259 #pasteButton:hover:active {
260 list-style-image: url("chrome://editor/skin/icons/paste-hover.gif");
263 #pasteButton[disabled="true"] {
264 list-style-image: url("chrome://editor/skin/icons/paste-disabled.gif") !important;
268 list-style-image: url("chrome://editor/skin/icons/find.gif");
272 #findButton:hover:active {
273 list-style-image: url("chrome://editor/skin/icons/find-hover.gif");
276 #findButton[disabled="true"] {
277 list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important;
281 list-style-image: url("chrome://editor/skin/icons/form.gif");
284 #formButton[buttonover="true"],
285 #formButton[buttondown="true"] {
286 list-style-image: url("chrome://editor/skin/icons/form-hover.gif");
289 #formButton[disabled="true"] {
290 list-style-image: url("chrome://editor/skin/icons/form-disabled.gif") !important;