sync LCARStrek with the rest of the modifications in Firefox 10
[themes.git] / LCARStrek / editor / editorPrimaryToolbar.css
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  *   Joe Hewitt (hewitt@netscape.com)
23  *   Patrick Thompson (sailfish@unforgettable.com)
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
42 #newButton {
43   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
44   -moz-image-region: rect(84px 25px 105px 0px);
45 }
46
47 #newButton[disabled="true"]  {
48   -moz-image-region: rect(84px 50px 105px 25px);
49
50
51 #newButton:not([disabled="true"]):hover,
52 #newButton:not([disabled="true"]):hover:active {
53   -moz-image-region: rect(84px 75px 105px 50px)
54 }
55
56 #openButton {
57   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
58   -moz-image-region: rect(105px 25px 126px 0px);
59
60
61 #openButton[disabled="true"] {
62   -moz-image-region: rect(105px 50px 126px 25px);
63
64
65 #openButton:not([disabled="true"]):hover,
66 #openButton:not([disabled="true"]):hover:active {
67   -moz-image-region: rect(105px 75px 126px 50px)
68 }
69
70 #saveButton {
71   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
72   -moz-image-region: rect(147px 25px 168px 0px);
73
74
75 #saveButton[disabled="true"] {
76   -moz-image-region: rect(147px 50px 168px 25px);
77 }
78
79 #saveButton:not([disabled="true"]):hover,
80 #saveButton:not([disabled="true"]):hover:active {
81   -moz-image-region: rect(147px 75px 168px 50px)
82 }
83
84 #publishButton {
85   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
86   -moz-image-region: rect(210px 25px 231px 0px);
87
88
89 #publishButton[disabled="true"] {
90   -moz-image-region: rect(210px 50px 231px 25px);
91 }
92
93 #publishButton:not([disabled="true"]):hover,
94 #publishButton:not([disabled="true"]):hover:active {
95   -moz-image-region: rect(210px 75px 231px 50px)
96 }
97
98 #previewButton {
99   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
100   -moz-image-region: rect(126px 25px 147px 0px);
101
102
103 #previewButton[disabled="true"] {
104   -moz-image-region: rect(126px 50px 147px 25px);
105
106
107 #previewButton:not([disabled="true"]):hover,
108 #previewButton:not([disabled="true"]):hover:active {
109   -moz-image-region: rect(126px 75px 147px 50px)
110 }
111
112 #printButton {
113   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
114   -moz-image-region: rect(0px 25px 21px 0px);
115
116
117 #printButton[disabled="true"] {
118   -moz-image-region: rect(0px 50px 21px 25px);
119 }
120
121 #printButton:not([disabled="true"]):hover,
122 #printButton:not([disabled="true"]):hover:active {
123   -moz-image-region: rect(0px 75px 21px 50px)
124 }
125
126 #findButton {
127   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
128   -moz-image-region: rect(294px 25px 315px 0px);
129
130
131 #findButton[disabled="true"] {
132   -moz-image-region: rect(294px 50px 315px 25px);
133 }
134
135 #findButton:not([disabled="true"]):hover,
136 #findButton:not([disabled="true"]):hover:active {
137   -moz-image-region: rect(294px 75px 315px 50px)
138 }
139
140 #linkButton {
141   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
142   -moz-image-region: rect(63px 25px 84px 0px);
143
144
145 #linkButton[disabled="true"] {
146   -moz-image-region: rect(63px 50px 84px 25px);
147
148
149 #linkButton:not([disabled="true"]):hover,
150 #linkButton:not([disabled="true"]):hover:active {
151   -moz-image-region: rect(63px 75px 84px 50px)
152 }
153
154 #imageButton {
155   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
156   -moz-image-region: rect(42px 25px 63px 0px);
157
158
159 #imageButton[disabled="true"] {
160   -moz-image-region: rect(42px 50px 63px 25px);
161 }
162
163 #imageButton:not([disabled="true"]):hover,
164 #imageButton:not([disabled="true"]):hover:active {
165   -moz-image-region: rect(42px 75px 63px 50px)
166 }
167
168 #namedAnchorButton {
169   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
170   -moz-image-region: rect(0px 25px 21px 0px);
171
172
173 #namedAnchorButton[disabled="true"] {
174   -moz-image-region: rect(0px 50px 21px 25px);
175
176
177 #namedAnchorButton:not([disabled="true"]):hover,
178 #namedAnchorButton:not([disabled="true"]):hover:active {
179   -moz-image-region: rect(0px 75px 21px 50px)
180 }
181
182 #hlineButton {
183   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
184   -moz-image-region: rect(21px 25px 42px 0px);
185
186
187 #hlineButton[disabled="true"] {
188   -moz-image-region: rect(21px 50px 42px 25px);
189
190
191 #hlineButton:not([disabled="true"]):hover,
192 #hlineButton:not([disabled="true"]):hover:active {
193   -moz-image-region: rect(21px 75px 42px 50px)
194 }
195
196 #tableButton {
197   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
198   -moz-image-region: rect(189px 25px 210px 0px);
199
200
201 #tableButton[disabled="true"] {
202   -moz-image-region: rect(189px 50px 210px 25px);
203 }
204
205 #tableButton:not([disabled="true"]):hover,
206 #tableButton:not([disabled="true"]):hover:active {
207   -moz-image-region: rect(189px 75px 210px 50px)
208 }
209
210 #spellingButton {
211   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
212   -moz-image-region: rect(168px 25px 189px 0px);
213 }
214
215 #spellingButton[disabled="true"] {
216   -moz-image-region: rect(168px 50px 189px 25px);
217 }
218
219 #spellingButton:not([disabled="true"]):hover,
220 #spellingButton:not([disabled="true"]):hover:active,
221 #spellingButton[open="true"] {
222   -moz-image-region: rect(168px 75px 189px 50px);
223 }
224
225 #cutButton {
226   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
227   -moz-image-region: rect(231px 25px 252px 0px);
228 }
229
230 #cutButton[disabled="true"] {
231   -moz-image-region: rect(231px 50px 252px 25px);
232 }
233
234 #cutButton:not([disabled="true"]):hover,
235 #cutButton:not([disabled="true"]):hover:active {
236   -moz-image-region: rect(231px 75px 251px 50px)
237 }
238
239 #copyButton {
240   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
241   -moz-image-region: rect(252px 25px 273px 0px);
242 }
243
244 #copyButton[disabled="true"] {
245   -moz-image-region: rect(252px 50px 273px 25px);
246 }
247
248 #copyButton:not([disabled="true"]):hover,
249 #copyButton:not([disabled="true"]):hover:active {
250   -moz-image-region: rect(252px 75px 273px 50px)
251 }
252
253 #pasteButton {
254   list-style-image: url("chrome://editor/skin/icons/editoricons.png");
255   -moz-image-region: rect(273px 25px 294px 0px);
256 }
257
258 #pasteButton[disabled="true"] {
259   -moz-image-region: rect(273px 50px 294px 25px);
260 }
261
262 #pasteButton:not([disabled="true"]):hover,
263 #pasteButton:not([disabled="true"]):hover:active {
264   -moz-image-region: rect(273px 75px 294px 50px)
265 }