351107c9 |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
3 | * |
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/ |
8 | * |
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 |
12 | * License. |
13 | * |
14 | * The Original Code is mozilla.org code. |
15 | * |
3a121502 |
16 | * The Initial Developer of the Original Code is |
351107c9 |
17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998 |
19 | * the Initial Developer. All Rights Reserved. |
20 | * |
21 | * Contributor(s): |
4115f43c |
22 | * Joe Hewitt (hewitt@netscape.com) |
23 | * Patrick Thompson (sailfish@unforgettable.com) |
351107c9 |
24 | * Robert Kaiser <KaiRo@KaiRo.at> |
25 | * |
26 | * Alternatively, the contents of this file may be used under the terms of |
3a121502 |
27 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
351107c9 |
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. |
37 | * |
38 | * ***** END LICENSE BLOCK ***** */ |
39 | |
40 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
41 | |
b1eaa419 |
42 | #newButton { |
43 | list-style-image: url("chrome://editor/skin/icons/newfile.gif"); |
44 | } |
351107c9 |
45 | |
46 | #newButton:hover, |
b1eaa419 |
47 | #newButton:hover:active { |
48 | list-style-image: url("chrome://editor/skin/icons/newfile-hover.gif"); |
49 | } |
50 | |
51 | #newButton[disabled="true"] { |
52 | list-style-image: url("chrome://editor/skin/icons/newfile-disabled.gif") !important; |
53 | } |
54 | |
55 | #openButton { |
56 | list-style-image: url("chrome://editor/skin/icons/openfile.gif"); |
57 | } |
351107c9 |
58 | |
59 | #openButton:hover, |
b1eaa419 |
60 | #openButton:hover:active { |
61 | list-style-image: url("chrome://editor/skin/icons/openfile-hover.gif"); |
62 | } |
63 | |
64 | #openButton[disabled="true"] { |
65 | list-style-image: url("chrome://editor/skin/icons/openfile-disabled.gif") !important; |
66 | } |
67 | |
68 | #saveButton { |
69 | list-style-image: url("chrome://editor/skin/icons/savefile.gif"); |
70 | } |
351107c9 |
71 | |
72 | #saveButton:hover, |
b1eaa419 |
73 | #saveButton:hover:active { |
74 | list-style-image: url("chrome://editor/skin/icons/savefile-hover.gif"); |
75 | } |
76 | |
77 | #saveButton[disabled="true"] { |
78 | list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; |
79 | } |
80 | |
81 | #saveButton[dirty="true"] { |
82 | list-style-image: url("chrome://editor/skin/icons/savefile-dirty.gif"); |
83 | } |
351107c9 |
84 | |
85 | #saveButton[dirty="true"]:hover, |
b1eaa419 |
86 | #saveButton[dirty="true"]:hover:active { |
87 | list-style-image: url("chrome://editor/skin/icons/savefile-hover.gif"); |
3a121502 |
88 | } |
b1eaa419 |
89 | |
90 | #saveButton[dirty="true"][disabled="true"] { |
91 | list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; |
92 | } |
93 | |
b1eaa419 |
94 | #publishButton { |
95 | list-style-image: url("chrome://editor/skin/icons/publish.gif"); |
96 | } |
351107c9 |
97 | |
98 | #publishButton:hover, |
b1eaa419 |
99 | #publishButton:hover:active { |
100 | list-style-image: url("chrome://editor/skin/icons/publish-hover.gif"); |
3a121502 |
101 | } |
b1eaa419 |
102 | |
103 | #publishButton[disabled="true"] { |
104 | list-style-image: url("chrome://editor/skin/icons/publish-disabled.gif") !important; |
105 | } |
b1eaa419 |
106 | |
107 | #previewButton { |
108 | list-style-image: url("chrome://editor/skin/icons/preview.gif"); |
3a121502 |
109 | } |
351107c9 |
110 | |
111 | #previewButton:hover, |
b1eaa419 |
112 | #previewButton:hover:active { |
113 | list-style-image: url("chrome://editor/skin/icons/preview-hover.gif"); |
3a121502 |
114 | } |
b1eaa419 |
115 | |
116 | #previewButton[disabled="true"] { |
117 | list-style-image: url("chrome://editor/skin/icons/preview-disabled.gif") !important; |
118 | } |
119 | |
120 | #printButton { |
121 | list-style-image: url("chrome://global/skin/icons/print.gif"); |
122 | } |
351107c9 |
123 | |
124 | #printButton:hover, |
3a121502 |
125 | #printButton:hover:active, |
b1eaa419 |
126 | #printButton[open="true"] { |
127 | list-style-image: url("chrome://global/skin/icons/print-hover.gif"); |
3a121502 |
128 | } |
b1eaa419 |
129 | |
130 | #printButton[disabled="true"] { |
131 | list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important; |
132 | } |
133 | |
134 | /* |
135 | #findButton { |
136 | list-style-image: url("chrome://editor/skin/icons/find.gif"); |
137 | } |
351107c9 |
138 | |
139 | #findButton:hover, |
b1eaa419 |
140 | #findButton:hover:active { |
141 | list-style-image: url("chrome://editor/skin/icons/find-hover.gif"); |
3a121502 |
142 | } |
b1eaa419 |
143 | |
144 | #findButton[disabled="true"] { |
145 | list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important; |
146 | } |
147 | */ |
148 | |
149 | #linkButton { |
150 | list-style-image: url("chrome://editor/skin/icons/link.gif"); |
151 | } |
351107c9 |
152 | |
153 | #linkButton:hover, |
b1eaa419 |
154 | #linkButton:hover:active { |
155 | list-style-image: url("chrome://editor/skin/icons/link-hover.gif"); |
3a121502 |
156 | } |
b1eaa419 |
157 | |
158 | #linkButton[disabled="true"] { |
159 | list-style-image: url("chrome://editor/skin/icons/link-disabled.gif") !important; |
160 | } |
161 | |
162 | #imageButton { |
163 | list-style-image: url("chrome://editor/skin/icons/image.gif"); |
164 | } |
351107c9 |
165 | |
166 | #imageButton:hover, |
b1eaa419 |
167 | #imageButton:hover:active { |
168 | list-style-image: url("chrome://editor/skin/icons/image-hover.gif"); |
169 | } |
170 | |
171 | #imageButton[disabled="true"] { |
172 | list-style-image: url("chrome://editor/skin/icons/image-disabled.gif") !important; |
173 | } |
174 | |
175 | #namedAnchorButton { |
176 | list-style-image: url("chrome://editor/skin/icons/anchor.gif"); |
177 | } |
351107c9 |
178 | |
179 | #namedAnchorButton:hover, |
b1eaa419 |
180 | #namedAnchorButton:hover:active { |
181 | list-style-image: url("chrome://editor/skin/icons/anchor-hover.gif"); |
182 | } |
183 | |
184 | #namedAnchorButton[disabled="true"] { |
185 | list-style-image: url("chrome://editor/skin/icons/anchor-disabled.gif") !important; |
186 | } |
187 | |
188 | #hlineButton { |
189 | list-style-image: url("chrome://editor/skin/icons/hline.gif"); |
190 | } |
351107c9 |
191 | |
192 | #hlineButton:hover, |
b1eaa419 |
193 | #hlineButton:hover:active { |
194 | list-style-image: url("chrome://editor/skin/icons/hline-hover.gif"); |
3a121502 |
195 | } |
351107c9 |
196 | |
b1eaa419 |
197 | #hlineButton[disabled="true"] { |
198 | list-style-image: url("chrome://editor/skin/icons/hline-disabled.gif") !important; |
199 | } |
351107c9 |
200 | |
b1eaa419 |
201 | #tableButton { |
202 | list-style-image: url("chrome://editor/skin/icons/table.gif"); |
203 | } |
204 | |
205 | #tableButton:hover, |
206 | #tableButton:hover:active { |
207 | list-style-image: url("chrome://editor/skin/icons/table-hover.gif"); |
208 | } |
209 | |
210 | #tableButton[disabled="true"] { |
211 | list-style-image: url("chrome://editor/skin/icons/table-disabled.gif") !important; |
212 | } |
213 | |
214 | #spellingButton { |
215 | list-style-image: url("chrome://editor/skin/icons/spell.gif"); |
3a121502 |
216 | } |
217 | |
351107c9 |
218 | #spellingButton:hover, |
b1eaa419 |
219 | #spellingButton:hover:active { |
220 | list-style-image: url("chrome://editor/skin/icons/spell-hover.gif"); |
221 | } |
222 | |
223 | #spellingButton[disabled="true"] { |
224 | list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; |
225 | } |
4115f43c |
226 | |
227 | #cutButton { |
228 | list-style-image: url("chrome://editor/skin/icons/cut.gif"); |
229 | } |
230 | |
01fc5c11 |
231 | #cutButton:hover, |
232 | #cutButton:hover:active { |
233 | list-style-image: url("chrome://editor/skin/icons/cut-hover.gif"); |
234 | } |
235 | |
4115f43c |
236 | #cutButton[disabled="true"] { |
237 | list-style-image: url("chrome://editor/skin/icons/cut-disabled.gif") !important; |
238 | } |
239 | |
240 | #copyButton { |
241 | list-style-image: url("chrome://editor/skin/icons/copy.gif"); |
242 | } |
243 | |
01fc5c11 |
244 | #copyButton:hover, |
245 | #copyButton:hover:active { |
246 | list-style-image: url("chrome://editor/skin/icons/copy-hover.gif"); |
247 | } |
248 | |
4115f43c |
249 | #copyButton[disabled="true"] { |
250 | list-style-image: url("chrome://editor/skin/icons/copy-disabled.gif") !important; |
251 | } |
252 | |
253 | #pasteButton { |
254 | list-style-image: url("chrome://editor/skin/icons/paste.gif"); |
255 | } |
256 | |
01fc5c11 |
257 | #pasteButton:hover, |
258 | #pasteButton:hover:active { |
259 | list-style-image: url("chrome://editor/skin/icons/paste-hover.gif"); |
260 | } |
261 | |
4115f43c |
262 | #pasteButton[disabled="true"] { |
263 | list-style-image: url("chrome://editor/skin/icons/paste-disabled.gif") !important; |
264 | } |
265 | |
266 | #findButton { |
01fc5c11 |
267 | list-style-image: url("chrome://editor/skin/icons/find.gif"); |
268 | } |
269 | |
270 | #findButton:hover, |
271 | #findButton:hover:active { |
272 | list-style-image: url("chrome://editor/skin/icons/find-hover.gif"); |
4115f43c |
273 | } |
274 | |
275 | #findButton[disabled="true"] { |
01fc5c11 |
276 | list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important; |
277 | } |