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 | * |
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. |
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 |
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. |
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"); |
88 | } |
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"); |
101 | } |
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"); |
109 | } |
351107c9 |
110 | |
111 | #previewButton:hover, |
b1eaa419 |
112 | #previewButton:hover:active { |
113 | list-style-image: url("chrome://editor/skin/icons/preview-hover.gif"); |
114 | } |
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, |
125 | #printButton[buttonover="true"], |
126 | #printButton[buttondown="true"], |
b1eaa419 |
127 | #printButton[open="true"] { |
128 | list-style-image: url("chrome://global/skin/icons/print-hover.gif"); |
129 | } |
130 | |
131 | #printButton[disabled="true"] { |
132 | list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important; |
133 | } |
134 | |
135 | /* |
136 | #findButton { |
137 | list-style-image: url("chrome://editor/skin/icons/find.gif"); |
138 | } |
351107c9 |
139 | |
140 | #findButton:hover, |
b1eaa419 |
141 | #findButton:hover:active { |
142 | list-style-image: url("chrome://editor/skin/icons/find-hover.gif"); |
143 | } |
144 | |
145 | #findButton[disabled="true"] { |
146 | list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important; |
147 | } |
148 | */ |
149 | |
150 | #linkButton { |
151 | list-style-image: url("chrome://editor/skin/icons/link.gif"); |
152 | } |
351107c9 |
153 | |
154 | #linkButton:hover, |
b1eaa419 |
155 | #linkButton:hover:active { |
156 | list-style-image: url("chrome://editor/skin/icons/link-hover.gif"); |
157 | } |
158 | |
159 | #linkButton[disabled="true"] { |
160 | list-style-image: url("chrome://editor/skin/icons/link-disabled.gif") !important; |
161 | } |
162 | |
163 | #imageButton { |
164 | list-style-image: url("chrome://editor/skin/icons/image.gif"); |
165 | } |
351107c9 |
166 | |
167 | #imageButton:hover, |
b1eaa419 |
168 | #imageButton:hover:active { |
169 | list-style-image: url("chrome://editor/skin/icons/image-hover.gif"); |
170 | } |
171 | |
172 | #imageButton[disabled="true"] { |
173 | list-style-image: url("chrome://editor/skin/icons/image-disabled.gif") !important; |
174 | } |
175 | |
176 | #namedAnchorButton { |
177 | list-style-image: url("chrome://editor/skin/icons/anchor.gif"); |
178 | } |
351107c9 |
179 | |
180 | #namedAnchorButton:hover, |
b1eaa419 |
181 | #namedAnchorButton:hover:active { |
182 | list-style-image: url("chrome://editor/skin/icons/anchor-hover.gif"); |
183 | } |
184 | |
185 | #namedAnchorButton[disabled="true"] { |
186 | list-style-image: url("chrome://editor/skin/icons/anchor-disabled.gif") !important; |
187 | } |
188 | |
189 | #hlineButton { |
190 | list-style-image: url("chrome://editor/skin/icons/hline.gif"); |
191 | } |
351107c9 |
192 | |
193 | #hlineButton:hover, |
b1eaa419 |
194 | #hlineButton:hover:active { |
195 | list-style-image: url("chrome://editor/skin/icons/hline-hover.gif"); |
196 | } |
351107c9 |
197 | |
b1eaa419 |
198 | #hlineButton[disabled="true"] { |
199 | list-style-image: url("chrome://editor/skin/icons/hline-disabled.gif") !important; |
200 | } |
351107c9 |
201 | |
b1eaa419 |
202 | #tableButton { |
203 | list-style-image: url("chrome://editor/skin/icons/table.gif"); |
204 | } |
205 | |
206 | #tableButton:hover, |
207 | #tableButton:hover:active { |
208 | list-style-image: url("chrome://editor/skin/icons/table-hover.gif"); |
209 | } |
210 | |
211 | #tableButton[disabled="true"] { |
212 | list-style-image: url("chrome://editor/skin/icons/table-disabled.gif") !important; |
213 | } |
214 | |
215 | #spellingButton { |
216 | list-style-image: url("chrome://editor/skin/icons/spell.gif"); |
217 | } |
218 | |
351107c9 |
219 | #spellingButton:hover, |
b1eaa419 |
220 | #spellingButton:hover:active { |
221 | list-style-image: url("chrome://editor/skin/icons/spell-hover.gif"); |
222 | } |
223 | |
224 | #spellingButton[disabled="true"] { |
225 | list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; |
226 | } |
4115f43c |
227 | |
228 | #cutButton { |
229 | list-style-image: url("chrome://editor/skin/icons/cut.gif"); |
230 | } |
231 | |
232 | #cutButton[disabled="true"] { |
233 | list-style-image: url("chrome://editor/skin/icons/cut-disabled.gif") !important; |
234 | } |
235 | |
236 | #copyButton { |
237 | list-style-image: url("chrome://editor/skin/icons/copy.gif"); |
238 | } |
239 | |
240 | #copyButton[disabled="true"] { |
241 | list-style-image: url("chrome://editor/skin/icons/copy-disabled.gif") !important; |
242 | } |
243 | |
244 | #pasteButton { |
245 | list-style-image: url("chrome://editor/skin/icons/paste.gif"); |
246 | } |
247 | |
248 | #pasteButton[disabled="true"] { |
249 | list-style-image: url("chrome://editor/skin/icons/paste-disabled.gif") !important; |
250 | } |
251 | |
252 | #findButton { |
253 | list-style-image: url("chrome://editor/skin/icons/cut.gif"); |
254 | } |
255 | |
256 | #findButton[disabled="true"] { |
257 | list-style-image: url("chrome://editor/skin/icons/cut-disabled.gif") !important; |
258 | } |