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): |
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"); |
f6e0a33f |
39 | |
74d14f90 |
40 | #newButton { |
41 | list-style-image: url("chrome://editor/skin/icons/newfile.gif"); |
42 | } |
43 | |
44 | #newButton[disabled="true"] { |
45 | list-style-image: url("chrome://editor/skin/icons/newfile-disabled.gif") !important; |
46 | } |
47 | |
48 | #openButton { |
49 | list-style-image: url("chrome://editor/skin/icons/openfile.gif"); |
50 | } |
51 | |
52 | #openButton[disabled="true"] { |
53 | list-style-image: url("chrome://editor/skin/icons/openfile-disabled.gif") !important; |
54 | } |
55 | |
56 | #saveButton { |
57 | list-style-image: url("chrome://editor/skin/icons/savefile.gif"); |
58 | } |
59 | |
60 | #saveButton[disabled="true"] { |
61 | list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; |
62 | } |
63 | |
64 | #saveButton[dirty="true"] { |
65 | list-style-image: url("chrome://editor/skin/icons/savefile-dirty.gif"); |
66 | } |
67 | |
68 | #saveButton[dirty="true"][disabled="true"] { |
69 | list-style-image: url("chrome://editor/skin/icons/savefile-disabled.gif") !important; |
70 | } |
71 | |
72 | /* |
73 | #publishButton { |
74 | list-style-image: url("chrome://editor/skin/icons/publish.gif"); |
75 | } |
76 | |
77 | #publishButton[disabled="true"] { |
78 | list-style-image: url("chrome://editor/skin/icons/publish-disabled.gif") !important; |
79 | } |
80 | */ |
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"); |
150 | } |
151 | |
152 | #spellingButton[disabled="true"] { |
153 | list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; |
154 | } |