1
/* ***** BEGIN LICENSE BLOCK *****
2
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
4
* The contents of this file are subject to the Mozilla Public License Version
5
* 1.1 (the "License"); you may not use this file except in compliance with
6
* the License. You may obtain a copy of the License at
7
* http://www.mozilla.org/MPL/
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
14
* The Original Code is Mozilla.org
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.
22
* Joe Hewitt <hewitt@netscape.com>
23
* Daniel Glazman (glazman@disruptive-innovations.com), on behalf of Linspire Inc.
25
* Alternatively, the contents of this file may be used under the terms of
26
* either the GNU General Public License Version 2 or later (the "GPL"), or
27
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28
* in which case the provisions of the GPL or the LGPL are applicable instead
29
* of those above. If you wish to allow use of your version of this file only
30
* under the terms of either the GPL or the LGPL, and not to allow others to
31
* use your version of this file under the terms of the MPL, indicate your
32
* decision by deleting the provisions above and replace them with the notice
33
* and other provisions required by the GPL or the LGPL. If you do not delete
34
* the provisions above, a recipient may use your version of this file under
35
* the terms of any one of the MPL, the GPL or the LGPL.
37
* ***** END LICENSE BLOCK ***** */
39
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
41
/* ::::: primary toolbar masthead ::::: */
43
#EditToolbar > .toolbar-holder > .toolbar-primary-icon {
44
background-image: url("chrome://editor/skin/icons/mast-editor.gif");
47
.toolbarbutton-menubutton-dropmarker {
48
max-width: 15px ! important;
51
.toolbar-primary-icon {
55
/* ::::: primary toolbar buttons ::::: */
58
-moz-box-orient: vertical;
61
.toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker {
65
toolbar[mode="icons"] .toolbarbutton-text {
69
toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
70
toolbar[mode="text"] .toolbarbutton-icon {
74
toolbar[mode="text"] .toolbarbutton-text {
75
padding: 0 !important;
76
margin: 3px 5px !important;
79
toolbar[mode="icons"][iconsize="small"] .toolbarbutton-icon {
81
margin: 0 ! important;
84
toolbar[iconsize="small"] .toolbarbutton-text {
86
padding: 0 !important;
87
margin: 0 ! important;
91
toolbar[mode="icons"] toolbarbutton {
92
padding: 0 !important;
93
margin: 0 ! important;
95
/* ::::: primary toolbar buttons ::::: */
97
.toolbarseparator-primary {
98
width: 9px !important;
101
#EditToolbar toolbarbutton {
102
-moz-image-region: rect(0px 32px 32px 0);
104
#EditToolbar toolbarbutton:hover {
105
-moz-image-region: rect(32px 32px 64px 0);
107
#EditToolbar toolbarbutton:hover:active {
108
-moz-image-region: rect(32px 32px 64px 0);
110
#EditToolbar toolbarbutton[disabled="true"] {
111
-moz-image-region: rect(64px 32px 96px 0);
115
list-style-image: url("chrome://editor/skin/icons/new.png");
116
-moz-image-region: rect(0px 32px 32px 0);
120
list-style-image: url("chrome://editor/skin/icons/open.png");
121
-moz-image-region: rect(0px 32px 32px 0);
125
list-style-image: url("chrome://editor/skin/icons/save.png");
126
-moz-image-region: rect(0px 32px 32px 0);
130
list-style-image: url("chrome://editor/skin/icons/publish.png");
131
-moz-image-region: rect(0px 32px 32px 0);
135
list-style-image: url("chrome://editor/skin/icons/preview.png");
136
-moz-image-region: rect(0px 32px 32px 0);
140
list-style-image: url("chrome://editor/skin/icons/copy.png");
141
-moz-image-region: rect(0px 32px 32px 0);
145
list-style-image: url("chrome://editor/skin/icons/cut.png");
146
-moz-image-region: rect(0px 32px 32px 0);
150
list-style-image: url("chrome://editor/skin/icons/find.png");
151
-moz-image-region: rect(0px 32px 32px 0);
155
list-style-image: url("chrome://editor/skin/icons/paste.png");
156
-moz-image-region: rect(0px 32px 32px 0);
160
list-style-image: url("chrome://editor/skin/icons/print.png");
161
-moz-image-region: rect(0px 32px 32px 0);
165
list-style-image: url("chrome://editor/skin/icons/link.png");
166
-moz-image-region: rect(0px 32px 32px 0);
170
list-style-image: url("chrome://editor/skin/icons/image.png");
171
-moz-image-region: rect(0px 32px 32px 0);
175
list-style-image: url("chrome://editor/skin/icons/anchor.png");
176
-moz-image-region: rect(0px 32px 32px 0);
180
list-style-image: url("chrome://editor/skin/icons/hline.png");
181
-moz-image-region: rect(0px 32px 32px 0);
185
list-style-image: url("chrome://editor/skin/icons/table.png");
186
-moz-image-region: rect(0px 32px 32px 0);
190
list-style-image: url("chrome://editor/skin/icons/spell.png");
191
-moz-image-region: rect(0px 32px 32px 0);
195
list-style-image: url("chrome://editor/skin/icons/form.png");
196
-moz-image-region: rect(0px 32px 32px 0);
199
#cssButton { /* Kaze */
200
list-style-image: url(chrome://editor/skin/icons/css.png);
201
-moz-image-region: rect(0px 32px 32px 0);
204
#undoButton { /* Ragnaar */
205
list-style-image: url(chrome://editor/skin/icons/edit-undo.png);
206
-moz-image-region: rect(0px 32px 32px 0);
209
#redoButton { /* Ragnaar */
210
list-style-image: url(chrome://editor/skin/icons/edit-redo.png);
211
-moz-image-region: rect(0px 32px 32px 0);
216
#EditToolbar[iconsize="small"] toolbarbutton {
217
-moz-image-region: rect(0px 24px 24px 0);
219
#EditToolbar[iconsize="small"] toolbarbutton:hover {
220
-moz-image-region: rect(24px 24px 48px 0);
222
#EditToolbar[iconsize="small"] toolbarbutton:hover:active {
223
-moz-image-region: rect(24px 24px 48px 0);
225
#EditToolbar[iconsize="small"] toolbarbutton[disabled="true"] {
226
-moz-image-region: rect(48px 24px 72px 0);
230
toolbar[iconsize="small"] #newButton {
231
list-style-image: url("chrome://editor/skin/icons/smallicons/new.png");
235
toolbar[iconsize="small"] #openButton {
236
list-style-image: url("chrome://editor/skin/icons/smallicons/open.png");
239
toolbar[iconsize="small"] #saveButton {
240
list-style-image: url("chrome://editor/skin/icons/smallicons/save.png");
243
toolbar[iconsize="small"] #publishButton {
244
list-style-image: url("chrome://editor/skin/icons/smallicons/publish.png");
247
toolbar[iconsize="small"] #previewButton {
248
list-style-image: url("chrome://editor/skin/icons/smallicons/preview.png");
251
toolbar[iconsize="small"] #copyButton {
252
list-style-image: url("chrome://editor/skin/icons/smallicons/copy.png");
255
toolbar[iconsize="small"] #cutButton {
256
list-style-image: url("chrome://editor/skin/icons/smallicons/cut.png");
259
toolbar[iconsize="small"] #findButton {
260
list-style-image: url("chrome://editor/skin/icons/smallicons/find.png");
263
toolbar[iconsize="small"] #pasteButton {
264
list-style-image: url("chrome://editor/skin/icons/smallicons/paste.png");
267
toolbar[iconsize="small"] #printButton {
268
list-style-image: url("chrome://editor/skin/icons/smallicons/print.png");
271
toolbar[iconsize="small"] #linkButton {
272
list-style-image: url("chrome://editor/skin/icons/smallicons/link.png");
275
toolbar[iconsize="small"] #imageButton {
276
list-style-image: url("chrome://editor/skin/icons/smallicons/image.png");
279
toolbar[iconsize="small"] #namedAnchorButton {
280
list-style-image: url("chrome://editor/skin/icons/smallicons/anchor.png");
283
toolbar[iconsize="small"] #hlineButton {
284
list-style-image: url("chrome://editor/skin/icons/smallicons/hline.png");
287
toolbar[iconsize="small"] #tableButton {
288
list-style-image: url("chrome://editor/skin/icons/smallicons/table.png");
291
toolbar[iconsize="small"] #spellingButton {
292
list-style-image: url("chrome://editor/skin/icons/smallicons/spell.png");
295
toolbar[iconsize="small"] #formButton {
296
list-style-image: url("chrome://editor/skin/icons/smallicons/form.png");
299
toolbar[iconsize="small"] #cssButton { /* Kaze */
300
list-style-image: url(chrome://editor/skin/icons/smallicons/css.png);
303
toolbar[iconsize="small"] #undoButton { /* Ragnaar */
304
list-style-image: url(chrome://editor/skin/icons/smallicons/edit-undo.png);
307
toolbar[iconsize="small"] #redoButton { /* Ragnaar */
308
list-style-image: url(chrome://editor/skin/icons/smallicons/edit-redo.png);