~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/composer/base/skin/editorPrimaryToolbar.css

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ***** BEGIN LICENSE BLOCK *****
 
2
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
3
 *
 
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/
 
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
 
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
 *   Daniel Glazman (glazman@disruptive-innovations.com), on behalf of Linspire Inc.
 
24
 *
 
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.
 
36
 *
 
37
 * ***** END LICENSE BLOCK ***** */
 
38
 
 
39
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
40
 
 
41
/* ::::: primary toolbar masthead ::::: */
 
42
 
 
43
#EditToolbar > .toolbar-holder > .toolbar-primary-icon {
 
44
  background-image: url("chrome://editor/skin/icons/mast-editor.gif");
 
45
  width: 57px;
 
46
}
 
47
.toolbarbutton-menubutton-dropmarker {
 
48
  max-width: 15px ! important;
 
49
}
 
50
 
 
51
.toolbar-primary-icon {
 
52
  width: 57px;
 
53
}
 
54
 
 
55
/* ::::: primary toolbar buttons ::::: */
 
56
 
 
57
.toolbarbutton-1 {
 
58
  -moz-box-orient: vertical;
 
59
}
 
60
 
 
61
.toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker {
 
62
  display: none;
 
63
}
 
64
 
 
65
toolbar[mode="icons"] .toolbarbutton-text {
 
66
  display: none;
 
67
}
 
68
 
 
69
toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
 
70
toolbar[mode="text"] .toolbarbutton-icon {
 
71
  display: none;
 
72
}
 
73
 
 
74
toolbar[mode="text"] .toolbarbutton-text {
 
75
  padding: 0 !important;
 
76
  margin: 3px 5px !important;
 
77
}
 
78
 
 
79
toolbar[mode="icons"][iconsize="small"] .toolbarbutton-icon {
 
80
  max-width: 24px;
 
81
  margin: 0 ! important;
 
82
}
 
83
 
 
84
toolbar[iconsize="small"] .toolbarbutton-text {
 
85
  font-size: x-small;
 
86
  padding: 0 !important;
 
87
  margin: 0 ! important;
 
88
}
 
89
 
 
90
 
 
91
toolbar[mode="icons"] toolbarbutton {
 
92
  padding: 0 !important;
 
93
  margin: 0 ! important;
 
94
}
 
95
/* ::::: primary toolbar buttons ::::: */
 
96
 
 
97
.toolbarseparator-primary {
 
98
  width: 9px !important;
 
99
}
 
100
 
 
101
#EditToolbar toolbarbutton {
 
102
  -moz-image-region: rect(0px 32px 32px 0);
 
103
}
 
104
#EditToolbar toolbarbutton:hover {
 
105
  -moz-image-region: rect(32px 32px 64px 0);
 
106
}
 
107
#EditToolbar toolbarbutton:hover:active {
 
108
  -moz-image-region: rect(32px 32px 64px 0);
 
109
}
 
110
#EditToolbar toolbarbutton[disabled="true"] {
 
111
  -moz-image-region: rect(64px 32px 96px 0);
 
112
}
 
113
 
 
114
#newButton {
 
115
  list-style-image: url("chrome://editor/skin/icons/new.png");
 
116
  -moz-image-region: rect(0px 32px 32px 0);
 
117
}
 
118
 
 
119
#openButton {
 
120
  list-style-image: url("chrome://editor/skin/icons/open.png");
 
121
  -moz-image-region: rect(0px 32px 32px 0);
 
122
}
 
123
 
 
124
#saveButton {
 
125
  list-style-image: url("chrome://editor/skin/icons/save.png");
 
126
  -moz-image-region: rect(0px 32px 32px 0);
 
127
}
 
128
 
 
129
#publishButton {
 
130
  list-style-image: url("chrome://editor/skin/icons/publish.png");
 
131
  -moz-image-region: rect(0px 32px 32px 0);
 
132
}
 
133
 
 
134
#previewButton {
 
135
  list-style-image: url("chrome://editor/skin/icons/preview.png");
 
136
  -moz-image-region: rect(0px 32px 32px 0);
 
137
}
 
138
 
 
139
#copyButton {
 
140
  list-style-image: url("chrome://editor/skin/icons/copy.png");
 
141
  -moz-image-region: rect(0px 32px 32px 0);
 
142
}
 
143
 
 
144
#cutButton {
 
145
  list-style-image: url("chrome://editor/skin/icons/cut.png");
 
146
  -moz-image-region: rect(0px 32px 32px 0);
 
147
}
 
148
 
 
149
#findButton {
 
150
  list-style-image: url("chrome://editor/skin/icons/find.png");
 
151
  -moz-image-region: rect(0px 32px 32px 0);
 
152
}
 
153
 
 
154
#pasteButton {
 
155
  list-style-image: url("chrome://editor/skin/icons/paste.png");
 
156
  -moz-image-region: rect(0px 32px 32px 0);
 
157
}
 
158
 
 
159
#printButton {
 
160
  list-style-image: url("chrome://editor/skin/icons/print.png");
 
161
  -moz-image-region: rect(0px 32px 32px 0);
 
162
}
 
163
 
 
164
#linkButton {
 
165
  list-style-image: url("chrome://editor/skin/icons/link.png");
 
166
  -moz-image-region: rect(0px 32px 32px 0);
 
167
}
 
168
 
 
169
#imageButton {
 
170
  list-style-image: url("chrome://editor/skin/icons/image.png");
 
171
  -moz-image-region: rect(0px 32px 32px 0);
 
172
}
 
173
 
 
174
#namedAnchorButton {
 
175
  list-style-image: url("chrome://editor/skin/icons/anchor.png");
 
176
  -moz-image-region: rect(0px 32px 32px 0);
 
177
}
 
178
 
 
179
#hlineButton {
 
180
  list-style-image: url("chrome://editor/skin/icons/hline.png");
 
181
  -moz-image-region: rect(0px 32px 32px 0);
 
182
}
 
183
 
 
184
#tableButton {
 
185
  list-style-image: url("chrome://editor/skin/icons/table.png");
 
186
  -moz-image-region: rect(0px 32px 32px 0);
 
187
}
 
188
 
 
189
#spellingButton {
 
190
  list-style-image: url("chrome://editor/skin/icons/spell.png");
 
191
  -moz-image-region: rect(0px 32px 32px 0);
 
192
}
 
193
 
 
194
#formButton {
 
195
  list-style-image: url("chrome://editor/skin/icons/form.png");
 
196
  -moz-image-region: rect(0px 32px 32px 0);
 
197
}
 
198
 
 
199
#cssButton { /* Kaze */
 
200
  list-style-image: url(chrome://editor/skin/icons/css.png);
 
201
  -moz-image-region: rect(0px 32px 32px 0);
 
202
}
 
203
 
 
204
#undoButton { /* Ragnaar */
 
205
  list-style-image: url(chrome://editor/skin/icons/edit-undo.png);
 
206
  -moz-image-region: rect(0px 32px 32px 0);
 
207
}
 
208
 
 
209
#redoButton { /* Ragnaar */
 
210
  list-style-image: url(chrome://editor/skin/icons/edit-redo.png);
 
211
  -moz-image-region: rect(0px 32px 32px 0);
 
212
}
 
213
 
 
214
/* SMALL ICONS */
 
215
 
 
216
#EditToolbar[iconsize="small"] toolbarbutton {
 
217
  -moz-image-region: rect(0px 24px 24px 0);
 
218
}
 
219
#EditToolbar[iconsize="small"] toolbarbutton:hover {
 
220
  -moz-image-region: rect(24px 24px 48px 0);
 
221
}
 
222
#EditToolbar[iconsize="small"] toolbarbutton:hover:active {
 
223
  -moz-image-region: rect(24px 24px 48px 0);
 
224
}
 
225
#EditToolbar[iconsize="small"] toolbarbutton[disabled="true"] {
 
226
  -moz-image-region: rect(48px 24px 72px 0);
 
227
}
 
228
 
 
229
 
 
230
toolbar[iconsize="small"] #newButton {
 
231
  list-style-image: url("chrome://editor/skin/icons/smallicons/new.png");
 
232
}
 
233
 
 
234
 
 
235
toolbar[iconsize="small"] #openButton {
 
236
  list-style-image: url("chrome://editor/skin/icons/smallicons/open.png");
 
237
}
 
238
 
 
239
toolbar[iconsize="small"] #saveButton {
 
240
  list-style-image: url("chrome://editor/skin/icons/smallicons/save.png");
 
241
}
 
242
 
 
243
toolbar[iconsize="small"] #publishButton {
 
244
  list-style-image: url("chrome://editor/skin/icons/smallicons/publish.png");
 
245
}
 
246
 
 
247
toolbar[iconsize="small"] #previewButton {
 
248
  list-style-image: url("chrome://editor/skin/icons/smallicons/preview.png");
 
249
}
 
250
 
 
251
toolbar[iconsize="small"] #copyButton {
 
252
  list-style-image: url("chrome://editor/skin/icons/smallicons/copy.png");
 
253
}
 
254
 
 
255
toolbar[iconsize="small"] #cutButton {
 
256
  list-style-image: url("chrome://editor/skin/icons/smallicons/cut.png");
 
257
}
 
258
 
 
259
toolbar[iconsize="small"] #findButton {
 
260
  list-style-image: url("chrome://editor/skin/icons/smallicons/find.png");
 
261
}
 
262
 
 
263
toolbar[iconsize="small"] #pasteButton {
 
264
  list-style-image: url("chrome://editor/skin/icons/smallicons/paste.png");
 
265
}
 
266
 
 
267
toolbar[iconsize="small"] #printButton {
 
268
  list-style-image: url("chrome://editor/skin/icons/smallicons/print.png");
 
269
}
 
270
 
 
271
toolbar[iconsize="small"] #linkButton {
 
272
  list-style-image: url("chrome://editor/skin/icons/smallicons/link.png");
 
273
}
 
274
 
 
275
toolbar[iconsize="small"] #imageButton {
 
276
  list-style-image: url("chrome://editor/skin/icons/smallicons/image.png");
 
277
}
 
278
 
 
279
toolbar[iconsize="small"] #namedAnchorButton {
 
280
  list-style-image: url("chrome://editor/skin/icons/smallicons/anchor.png");
 
281
}
 
282
 
 
283
toolbar[iconsize="small"] #hlineButton {
 
284
  list-style-image: url("chrome://editor/skin/icons/smallicons/hline.png");
 
285
}
 
286
 
 
287
toolbar[iconsize="small"] #tableButton {
 
288
  list-style-image: url("chrome://editor/skin/icons/smallicons/table.png");
 
289
}
 
290
 
 
291
toolbar[iconsize="small"] #spellingButton {
 
292
  list-style-image: url("chrome://editor/skin/icons/smallicons/spell.png");
 
293
}
 
294
 
 
295
toolbar[iconsize="small"] #formButton {
 
296
  list-style-image: url("chrome://editor/skin/icons/smallicons/form.png");
 
297
}
 
298
 
 
299
toolbar[iconsize="small"] #cssButton { /* Kaze */
 
300
        list-style-image: url(chrome://editor/skin/icons/smallicons/css.png);
 
301
}
 
302
 
 
303
toolbar[iconsize="small"] #undoButton { /* Ragnaar */
 
304
        list-style-image: url(chrome://editor/skin/icons/smallicons/edit-undo.png);
 
305
}
 
306
 
 
307
toolbar[iconsize="small"] #redoButton { /* Ragnaar */
 
308
        list-style-image: url(chrome://editor/skin/icons/smallicons/edit-redo.png);
 
309
}