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 | |
74d14f90 |
72 | #publishButton { |
73 | list-style-image: url("chrome://editor/skin/icons/publish.gif"); |
74 | } |
75 | |
76 | #publishButton[disabled="true"] { |
77 | list-style-image: url("chrome://editor/skin/icons/publish-disabled.gif") !important; |
78 | } |
74d14f90 |
79 | |
80 | #previewButton { |
81 | list-style-image: url("chrome://editor/skin/icons/preview.gif"); |
82 | } |
83 | |
84 | #previewButton[disabled="true"] { |
85 | list-style-image: url("chrome://editor/skin/icons/preview-disabled.gif") !important; |
86 | } |
87 | |
88 | #printButton { |
89 | list-style-image: url("chrome://global/skin/icons/print.gif"); |
90 | } |
91 | |
92 | #printButton[disabled="true"] { |
93 | list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important; |
94 | } |
95 | |
96 | /* |
97 | #findButton { |
98 | list-style-image: url("chrome://editor/skin/icons/find.gif"); |
99 | } |
100 | |
101 | #findButton[disabled="true"] { |
102 | list-style-image: url("chrome://editor/skin/icons/find-disabled.gif") !important; |
103 | } |
104 | */ |
105 | |
106 | #linkButton { |
107 | list-style-image: url("chrome://editor/skin/icons/link.gif"); |
108 | } |
109 | |
110 | #linkButton[disabled="true"] { |
111 | list-style-image: url("chrome://editor/skin/icons/link-disabled.gif") !important; |
112 | } |
113 | |
114 | #imageButton { |
115 | list-style-image: url("chrome://editor/skin/icons/image.gif"); |
116 | } |
117 | |
118 | #imageButton[disabled="true"] { |
119 | list-style-image: url("chrome://editor/skin/icons/image-disabled.gif") !important; |
120 | } |
121 | |
122 | #namedAnchorButton { |
123 | list-style-image: url("chrome://editor/skin/icons/anchor.gif"); |
124 | } |
125 | |
126 | #namedAnchorButton[disabled="true"] { |
127 | list-style-image: url("chrome://editor/skin/icons/anchor-disabled.gif") !important; |
128 | } |
129 | |
130 | #hlineButton { |
131 | list-style-image: url("chrome://editor/skin/icons/hline.gif"); |
132 | } |
133 | |
134 | #hlineButton[disabled="true"] { |
135 | list-style-image: url("chrome://editor/skin/icons/hline-disabled.gif") !important; |
136 | } |
137 | |
138 | #tableButton { |
139 | list-style-image: url("chrome://editor/skin/icons/table.gif"); |
140 | } |
141 | |
142 | #tableButton[disabled="true"] { |
143 | list-style-image: url("chrome://editor/skin/icons/table-disabled.gif") !important; |
144 | } |
145 | |
146 | #spellingButton { |
147 | list-style-image: url("chrome://editor/skin/icons/spell.gif"); |
148 | } |
149 | |
150 | #spellingButton[disabled="true"] { |
151 | list-style-image: url("chrome://editor/skin/icons/spell-disabled.gif") !important; |
152 | } |