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:hover:active,
126 #printButton[open="true"] {
127 list-style-image: url("chrome://global/skin/icons/print-hover.gif");
130 #printButton[disabled="true"] {
131 list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important;
136 list-style-image: url("chrome://editor/skin/icons/find.gif");
140 #findButton:hover:active {
141 list-style-image: url("chrome://editor/skin/icons/find-hover.gif");
144 #findButton[disabled="true"] {
145 list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important;
150 list-style-image: url("chrome://editor/skin/icons/link.gif");
154 #linkButton:hover:active {
155 list-style-image: url("chrome://editor/skin/icons/link-hover.gif");
158 #linkButton[disabled="true"] {
159 list-style-image: url("chrome://editor/skin/icons/link-disabled.gif") !important;
163 list-style-image: url("chrome://editor/skin/icons/image.gif");
167 #imageButton:hover:active {
168 list-style-image: url("chrome://editor/skin/icons/image-hover.gif");
171 #imageButton[disabled="true"] {
172 list-style-image: url("chrome://editor/skin/icons/image-disabled.gif") !important;
176 list-style-image: url("chrome://editor/skin/icons/anchor.gif");
179 #namedAnchorButton:hover,
180 #namedAnchorButton:hover:active {
181 list-style-image: url("chrome://editor/skin/icons/anchor-hover.gif");
184 #namedAnchorButton[disabled="true"] {
185 list-style-image: url("chrome://editor/skin/icons/anchor-disabled.gif") !important;
189 list-style-image: url("chrome://editor/skin/icons/hline.gif");
193 #hlineButton:hover:active {
194 list-style-image: url("chrome://editor/skin/icons/hline-hover.gif");
197 #hlineButton[disabled="true"] {
198 list-style-image: url("chrome://editor/skin/icons/hline-disabled.gif") !important;
202 list-style-image: url("chrome://editor/skin/icons/table.gif");
206 #tableButton:hover:active {
207 list-style-image: url("chrome://editor/skin/icons/table-hover.gif");
210 #tableButton[disabled="true"] {
211 list-style-image: url("chrome://editor/skin/icons/table-disabled.gif") !important;
215 list-style-image: url("chrome://editor/skin/icons/spell.gif");
218 #spellingButton:hover,
219 #spellingButton:hover:active {
220 list-style-image: url("chrome://editor/skin/icons/spell-hover.gif");
223 #spellingButton[disabled="true"] {
224 list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important;
228 list-style-image: url("chrome://editor/skin/icons/cut.gif");
232 #cutButton:hover:active {
233 list-style-image: url("chrome://editor/skin/icons/cut-hover.gif");
236 #cutButton[disabled="true"] {
237 list-style-image: url("chrome://editor/skin/icons/cut-disabled.gif") !important;
241 list-style-image: url("chrome://editor/skin/icons/copy.gif");
245 #copyButton:hover:active {
246 list-style-image: url("chrome://editor/skin/icons/copy-hover.gif");
249 #copyButton[disabled="true"] {
250 list-style-image: url("chrome://editor/skin/icons/copy-disabled.gif") !important;
254 list-style-image: url("chrome://editor/skin/icons/paste.gif");
258 #pasteButton:hover:active {
259 list-style-image: url("chrome://editor/skin/icons/paste-hover.gif");
262 #pasteButton[disabled="true"] {
263 list-style-image: url("chrome://editor/skin/icons/paste-disabled.gif") !important;
267 list-style-image: url("chrome://editor/skin/icons/find.gif");
271 #findButton:hover:active {
272 list-style-image: url("chrome://editor/skin/icons/find-hover.gif");
275 #findButton[disabled="true"] {
276 list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important;
280 list-style-image: url("chrome://editor/skin/icons/form.gif");
284 #formButton:hover:active {
285 list-style-image: url("chrome://editor/skin/icons/form-hover.gif");
288 #formButton[disabled="true"] {
289 list-style-image: url("chrome://editor/skin/icons/form-disabled.gif") !important;