Commit | Line | Data |
---|---|---|
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 { |
45a0ce1c RK |
43 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
44 | -moz-image-region: rect(84px 25px 105px 0px); | |
74d14f90 | 45 | } |
46 | ||
47 | #newButton[disabled="true"] { | |
45a0ce1c | 48 | -moz-image-region: rect(84px 50px 105px 25px); |
74d14f90 | 49 | } |
50 | ||
51 | #openButton { | |
45a0ce1c RK |
52 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
53 | -moz-image-region: rect(105px 25px 126px 0px); | |
74d14f90 | 54 | } |
55 | ||
56 | #openButton[disabled="true"] { | |
45a0ce1c | 57 | -moz-image-region: rect(105px 50px 126px 25px); |
74d14f90 | 58 | } |
59 | ||
60 | #saveButton { | |
45a0ce1c RK |
61 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
62 | -moz-image-region: rect(147px 25px 168px 0px); | |
74d14f90 | 63 | } |
64 | ||
65 | #saveButton[disabled="true"] { | |
45a0ce1c | 66 | -moz-image-region: rect(147px 50px 168px 25px); |
74d14f90 | 67 | } |
68 | ||
74d14f90 | 69 | #publishButton { |
45a0ce1c RK |
70 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
71 | -moz-image-region: rect(210px 25px 231px 0px); | |
74d14f90 | 72 | } |
73 | ||
74 | #publishButton[disabled="true"] { | |
45a0ce1c | 75 | -moz-image-region: rect(210px 50px 231px 25px); |
74d14f90 | 76 | } |
74d14f90 | 77 | |
78 | #previewButton { | |
45a0ce1c RK |
79 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
80 | -moz-image-region: rect(126px 25px 147px 0px); | |
74d14f90 | 81 | } |
82 | ||
83 | #previewButton[disabled="true"] { | |
45a0ce1c | 84 | -moz-image-region: rect(126px 50px 147px 25px); |
74d14f90 | 85 | } |
86 | ||
87 | #printButton { | |
45a0ce1c RK |
88 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
89 | -moz-image-region: rect(0px 25px 21px 0px); | |
74d14f90 | 90 | } |
91 | ||
92 | #printButton[disabled="true"] { | |
45a0ce1c | 93 | -moz-image-region: rect(0px 50px 21px 25px); |
74d14f90 | 94 | } |
95 | ||
74d14f90 | 96 | #findButton { |
45a0ce1c RK |
97 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
98 | -moz-image-region: rect(294px 25px 315px 0px); | |
74d14f90 | 99 | } |
100 | ||
101 | #findButton[disabled="true"] { | |
45a0ce1c | 102 | -moz-image-region: rect(294px 50px 315px 25px); |
74d14f90 | 103 | } |
74d14f90 | 104 | |
105 | #linkButton { | |
45a0ce1c RK |
106 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
107 | -moz-image-region: rect(63px 25px 84px 0px); | |
74d14f90 | 108 | } |
109 | ||
110 | #linkButton[disabled="true"] { | |
45a0ce1c | 111 | -moz-image-region: rect(63px 50px 84px 25px); |
74d14f90 | 112 | } |
113 | ||
114 | #imageButton { | |
45a0ce1c RK |
115 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
116 | -moz-image-region: rect(42px 25px 63px 0px); | |
74d14f90 | 117 | } |
118 | ||
119 | #imageButton[disabled="true"] { | |
45a0ce1c | 120 | -moz-image-region: rect(42px 50px 63px 25px); |
74d14f90 | 121 | } |
122 | ||
123 | #namedAnchorButton { | |
45a0ce1c RK |
124 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
125 | -moz-image-region: rect(0px 25px 21px 0px); | |
74d14f90 | 126 | } |
127 | ||
128 | #namedAnchorButton[disabled="true"] { | |
45a0ce1c | 129 | -moz-image-region: rect(0px 50px 21px 25px); |
74d14f90 | 130 | } |
131 | ||
132 | #hlineButton { | |
45a0ce1c RK |
133 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
134 | -moz-image-region: rect(21px 25px 42px 0px); | |
74d14f90 | 135 | } |
136 | ||
137 | #hlineButton[disabled="true"] { | |
45a0ce1c | 138 | -moz-image-region: rect(21px 50px 42px 25px); |
74d14f90 | 139 | } |
140 | ||
141 | #tableButton { | |
45a0ce1c RK |
142 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
143 | -moz-image-region: rect(189px 25px 210px 0px); | |
74d14f90 | 144 | } |
145 | ||
146 | #tableButton[disabled="true"] { | |
45a0ce1c | 147 | -moz-image-region: rect(189px 50px 210px 25px); |
74d14f90 | 148 | } |
149 | ||
150 | #spellingButton { | |
45a0ce1c RK |
151 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
152 | -moz-image-region: rect(168px 25px 189px 0px); | |
afb758a0 | 153 | } |
74d14f90 | 154 | |
155 | #spellingButton[disabled="true"] { | |
45a0ce1c | 156 | -moz-image-region: rect(168px 50px 189px 25px); |
74d14f90 | 157 | } |
afb758a0 | 158 | |
159 | #cutButton { | |
45a0ce1c RK |
160 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
161 | -moz-image-region: rect(231px 25px 252px 0px); | |
afb758a0 | 162 | } |
163 | ||
164 | #cutButton[disabled="true"] { | |
45a0ce1c | 165 | -moz-image-region: rect(231px 50px 252px 25px); |
afb758a0 | 166 | } |
167 | ||
168 | #copyButton { | |
45a0ce1c RK |
169 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
170 | -moz-image-region: rect(252px 25px 273px 0px); | |
afb758a0 | 171 | } |
172 | ||
173 | #copyButton[disabled="true"] { | |
45a0ce1c | 174 | -moz-image-region: rect(252px 50px 273px 25px); |
afb758a0 | 175 | } |
176 | ||
177 | #pasteButton { | |
45a0ce1c RK |
178 | list-style-image: url("chrome://editor/skin/icons/editoricons.png"); |
179 | -moz-image-region: rect(273px 25px 294px 0px); | |
afb758a0 | 180 | } |
181 | ||
182 | #pasteButton[disabled="true"] { | |
45a0ce1c | 183 | -moz-image-region: rect(273px 50px 294px 25px); |
a1f525f0 | 184 | } |