128000f4 |
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): |
afb758a0 |
22 | * Joe Hewitt (hewitt@netscape.com) |
23 | * Patrick Thompson (sailfish@unforgettable.com) |
128000f4 |
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"); |
f6e0a33f |
41 | |
74d14f90 |
42 | #newButton { |
43 | list-style-image: url("chrome://editor/skin/icons/newfile.gif"); |
44 | } |
45 | |
46 | #newButton[disabled="true"] { |
47 | list-style-image: url("chrome://editor/skin/icons/newfile-disabled.gif") !important; |
48 | } |
49 | |
50 | #openButton { |
51 | list-style-image: url("chrome://editor/skin/icons/openfile.gif"); |
52 | } |
53 | |
54 | #openButton[disabled="true"] { |
55 | list-style-image: url("chrome://editor/skin/icons/openfile-disabled.gif") !important; |
56 | } |
57 | |
58 | #saveButton { |
59 | list-style-image: url("chrome://editor/skin/icons/savefile.gif"); |
60 | } |
61 | |
62 | #saveButton[disabled="true"] { |
63 | list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; |
64 | } |
65 | |
66 | #saveButton[dirty="true"] { |
67 | list-style-image: url("chrome://editor/skin/icons/savefile-dirty.gif"); |
68 | } |
69 | |
70 | #saveButton[dirty="true"][disabled="true"] { |
71 | list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; |
72 | } |
73 | |
74d14f90 |
74 | #publishButton { |
75 | list-style-image: url("chrome://editor/skin/icons/publish.gif"); |
76 | } |
77 | |
78 | #publishButton[disabled="true"] { |
79 | list-style-image: url("chrome://editor/skin/icons/publish-disabled.gif") !important; |
80 | } |
74d14f90 |
81 | |
82 | #previewButton { |
83 | list-style-image: url("chrome://editor/skin/icons/preview.gif"); |
84 | } |
85 | |
86 | #previewButton[disabled="true"] { |
87 | list-style-image: url("chrome://editor/skin/icons/preview-disabled.gif") !important; |
88 | } |
89 | |
90 | #printButton { |
91 | list-style-image: url("chrome://global/skin/icons/print.gif"); |
92 | } |
93 | |
94 | #printButton[disabled="true"] { |
95 | list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important; |
96 | } |
97 | |
98 | /* |
99 | #findButton { |
100 | list-style-image: url("chrome://editor/skin/icons/find.gif"); |
101 | } |
102 | |
103 | #findButton[disabled="true"] { |
104 | list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important; |
105 | } |
106 | */ |
107 | |
108 | #linkButton { |
109 | list-style-image: url("chrome://editor/skin/icons/link.gif"); |
110 | } |
111 | |
112 | #linkButton[disabled="true"] { |
113 | list-style-image: url("chrome://editor/skin/icons/link-disabled.gif") !important; |
114 | } |
115 | |
116 | #imageButton { |
117 | list-style-image: url("chrome://editor/skin/icons/image.gif"); |
118 | } |
119 | |
120 | #imageButton[disabled="true"] { |
121 | list-style-image: url("chrome://editor/skin/icons/image-disabled.gif") !important; |
122 | } |
123 | |
124 | #namedAnchorButton { |
125 | list-style-image: url("chrome://editor/skin/icons/anchor.gif"); |
126 | } |
127 | |
128 | #namedAnchorButton[disabled="true"] { |
129 | list-style-image: url("chrome://editor/skin/icons/anchor-disabled.gif") !important; |
130 | } |
131 | |
132 | #hlineButton { |
133 | list-style-image: url("chrome://editor/skin/icons/hline.gif"); |
134 | } |
135 | |
136 | #hlineButton[disabled="true"] { |
137 | list-style-image: url("chrome://editor/skin/icons/hline-disabled.gif") !important; |
138 | } |
139 | |
140 | #tableButton { |
141 | list-style-image: url("chrome://editor/skin/icons/table.gif"); |
142 | } |
143 | |
144 | #tableButton[disabled="true"] { |
145 | list-style-image: url("chrome://editor/skin/icons/table-disabled.gif") !important; |
146 | } |
147 | |
148 | #spellingButton { |
149 | list-style-image: url("chrome://editor/skin/icons/spell.gif"); |
afb758a0 |
150 | } |
74d14f90 |
151 | |
152 | #spellingButton[disabled="true"] { |
153 | list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; |
154 | } |
afb758a0 |
155 | |
156 | #cutButton { |
157 | list-style-image: url("chrome://editor/skin/icons/cut.gif"); |
158 | } |
159 | |
160 | #cutButton[disabled="true"] { |
161 | list-style-image: url("chrome://editor/skin/icons/cut-disabled.gif") !important; |
162 | } |
163 | |
164 | #copyButton { |
165 | list-style-image: url("chrome://editor/skin/icons/copy.gif"); |
166 | } |
167 | |
168 | #copyButton[disabled="true"] { |
169 | list-style-image: url("chrome://editor/skin/icons/copy-disabled.gif") !important; |
170 | } |
171 | |
172 | #pasteButton { |
173 | list-style-image: url("chrome://editor/skin/icons/paste.gif"); |
174 | } |
175 | |
176 | #pasteButton[disabled="true"] { |
177 | list-style-image: url("chrome://editor/skin/icons/paste-disabled.gif") !important; |
178 | } |
179 | |
180 | #findButton { |
a1f525f0 |
181 | list-style-image: url("chrome://editor/skin/icons/find.gif"); |
afb758a0 |
182 | } |
183 | |
184 | #findButton[disabled="true"] { |
a1f525f0 |
185 | list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important; |
186 | } |