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): |
22 | * Robert Kaiser <KaiRo@KaiRo.at> |
23 | * |
24 | * Alternatively, the contents of this file may be used under the terms of |
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
28 | * of those above. If you wish to allow use of your version of this file only |
29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
30 | * use your version of this file under the terms of the NPL, indicate your |
31 | * decision by deleting the provisions above and replace them with the notice |
32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
33 | * the provisions above, a recipient may use your version of this file under |
34 | * the terms of any one of the NPL, the GPL or the LGPL. |
35 | * |
36 | * ***** END LICENSE BLOCK ***** */ |
37 | |
38 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
39 | |
b1eaa419 |
40 | #newButton { |
41 | list-style-image: url("chrome://editor/skin/icons/newfile.gif"); |
42 | } |
351107c9 |
43 | |
44 | #newButton:hover, |
b1eaa419 |
45 | #newButton:hover:active { |
46 | list-style-image: url("chrome://editor/skin/icons/newfile-hover.gif"); |
47 | } |
48 | |
49 | #newButton[disabled="true"] { |
50 | list-style-image: url("chrome://editor/skin/icons/newfile-disabled.gif") !important; |
51 | } |
52 | |
53 | #openButton { |
54 | list-style-image: url("chrome://editor/skin/icons/openfile.gif"); |
55 | } |
351107c9 |
56 | |
57 | #openButton:hover, |
b1eaa419 |
58 | #openButton:hover:active { |
59 | list-style-image: url("chrome://editor/skin/icons/openfile-hover.gif"); |
60 | } |
61 | |
62 | #openButton[disabled="true"] { |
63 | list-style-image: url("chrome://editor/skin/icons/openfile-disabled.gif") !important; |
64 | } |
65 | |
66 | #saveButton { |
67 | list-style-image: url("chrome://editor/skin/icons/savefile.gif"); |
68 | } |
351107c9 |
69 | |
70 | #saveButton:hover, |
b1eaa419 |
71 | #saveButton:hover:active { |
72 | list-style-image: url("chrome://editor/skin/icons/savefile-hover.gif"); |
73 | } |
74 | |
75 | #saveButton[disabled="true"] { |
76 | list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; |
77 | } |
78 | |
79 | #saveButton[dirty="true"] { |
80 | list-style-image: url("chrome://editor/skin/icons/savefile-dirty.gif"); |
81 | } |
351107c9 |
82 | |
83 | #saveButton[dirty="true"]:hover, |
b1eaa419 |
84 | #saveButton[dirty="true"]:hover:active { |
85 | list-style-image: url("chrome://editor/skin/icons/savefile-hover.gif"); |
86 | } |
87 | |
88 | #saveButton[dirty="true"][disabled="true"] { |
89 | list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; |
90 | } |
91 | |
92 | /* |
93 | #publishButton { |
94 | list-style-image: url("chrome://editor/skin/icons/publish.gif"); |
95 | } |
351107c9 |
96 | |
97 | #publishButton:hover, |
b1eaa419 |
98 | #publishButton:hover:active { |
99 | list-style-image: url("chrome://editor/skin/icons/publish-hover.gif"); |
100 | } |
101 | |
102 | #publishButton[disabled="true"] { |
103 | list-style-image: url("chrome://editor/skin/icons/publish-disabled.gif") !important; |
104 | } |
105 | */ |
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 | } |