adopt both themes for changes affecting add-ons manager between Mozilla 6 and 7
[themes.git] / EarlyBlue / editor / editorFormatToolbar.css
CommitLineData
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 *
76983f4c 16 * The Initial Developer of the Original Code is
128000f4 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
76983f4c 25 * either the GNU General Public License Version 2 or later (the "GPL"), or
128000f4 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/* ::::: formatting buttons ::::: */
41
74d14f90 42#FormatToolbar > toolbarbutton > .toolbarbutton-text {
f6e0a33f 43 display: none;
44}
45
52af0a75
RK
46toolbarbutton.formatting-button {
47 min-width: 18px;
48}
49
74d14f90 50#DecreaseFontSizeButton {
51 list-style-image: url("chrome://editor/skin/icons/dec-font-size.gif");
76983f4c 52}
74d14f90 53
54#DecreaseFontSizeButton[disabled="true"] {
55 list-style-image: url("chrome://editor/skin/icons/dec-font-size-disabled.gif") !important;
76983f4c 56}
74d14f90 57
58#IncreaseFontSizeButton {
59 list-style-image: url("chrome://editor/skin/icons/inc-font-size.gif");
76983f4c 60}
74d14f90 61
62#IncreaseFontSizeButton[disabled="true"] {
63 list-style-image: url("chrome://editor/skin/icons/inc-font-size-disabled.gif") !important;
76983f4c 64}
74d14f90 65
66#boldButton {
76983f4c 67 list-style-image: url(chrome://editor/skin/icons/bold.gif);
74d14f90 68}
69
70#boldButton[disabled="true"] {
71 list-style-image: url("chrome://editor/skin/icons/bold-disabled.gif") !important;
76983f4c 72}
74d14f90 73
74#italicButton {
75 list-style-image: url("chrome://editor/skin/icons/italic.gif");
76983f4c 76}
74d14f90 77
78#italicButton[disabled="true"] {
79 list-style-image: url("chrome://editor/skin/icons/italic-disabled.gif") !important;
76983f4c 80}
74d14f90 81
82#underlineButton {
83 list-style-image: url("chrome://editor/skin/icons/underline.gif");
76983f4c 84}
74d14f90 85
86#underlineButton[disabled="true"] {
87 list-style-image: url("chrome://editor/skin/icons/underline-disabled.gif") !important;
76983f4c 88}
74d14f90 89
90#ulButton {
91 list-style-image:url("chrome://editor/skin/icons/bullets.gif");
92}
93
94#ulButton[disabled="true"] {
95 list-style-image: url("chrome://editor/skin/icons/bullets-disabled.gif") !important;
76983f4c 96}
74d14f90 97
98#olButton {
99 list-style-image: url("chrome://editor/skin/icons/numbers.gif");
100}
101
102#olButton[disabled="true"] {
103 list-style-image: url("chrome://editor/skin/icons/numbers-disabled.gif") !important;
76983f4c 104}
74d14f90 105
106#outdentButton {
107 list-style-image: url("chrome://editor/skin/icons/outdent.gif");
76983f4c 108}
74d14f90 109
110#outdentButton[disabled="true"] {
111 list-style-image: url("chrome://editor/skin/icons/outdent-disabled.gif") !important;
76983f4c 112}
74d14f90 113
114#indentButton {
115 list-style-image: url("chrome://editor/skin/icons/indent.gif");
76983f4c 116}
74d14f90 117
118#indentButton[disabled="true"] {
119 list-style-image: url("chrome://editor/skin/icons/indent-disabled.gif") !important;
76983f4c 120}
74d14f90 121
122#align-left-button {
123 list-style-image: url("chrome://editor/skin/icons/left.gif");
76983f4c 124}
74d14f90 125
126#align-left-button[disabled="true"] {
127 list-style-image: url("chrome://editor/skin/icons/left-disabled.gif") !important;
76983f4c 128}
74d14f90 129
130#align-center-button {
131 list-style-image: url("chrome://editor/skin/icons/center.gif");
76983f4c 132}
74d14f90 133
134#align-center-button[disabled="true"] {
135 list-style-image: url("chrome://editor/skin/icons/center-disabled.gif") !important;
76983f4c 136}
74d14f90 137
138#align-right-button {
139 list-style-image: url("chrome://editor/skin/icons/right.gif");
76983f4c 140}
74d14f90 141
142#align-right-button[disabled="true"] {
143 list-style-image: url("chrome://editor/skin/icons/right-disabled.gif") !important;
76983f4c 144}
74d14f90 145
146#align-justify-button {
147 list-style-image: url("chrome://editor/skin/icons/justify.gif");
148}
149
150#align-justify-button[disabled="true"] {
151 list-style-image: url("chrome://editor/skin/icons/justify-disabled.gif") !important;
76983f4c 152}
74d14f90 153
154#AlignPopupButton {
155 list-style-image: url("chrome://editor/skin/icons/align.gif");
156}
157
158#AlignPopupButton[disabled="true"] {
159 list-style-image: url("chrome://editor/skin/icons/align-disabled.gif") !important;
160}
161
162#InsertPopupButton {
163 list-style-image: url("chrome://editor/skin/icons/insert.gif");
164}
f6e0a33f 165
74d14f90 166#InsertPopupButton[disabled="true"] {
167 list-style-image: url("chrome://editor/skin/icons/insert-disabled.gif") !important;
168}
f6e0a33f 169
f6e0a33f 170#smileButtonMenu {
76983f4c 171 list-style-image: url("chrome://editor/skin/icons/smile.gif");
74d14f90 172}
173
174#smileButtonMenu[disabled="true"] {
175 list-style-image: url("chrome://editor/skin/icons/smile-disabled.gif") !important;
176}
177
178/* ::::: menuitem icons ::::: */
179
180/* ..... align menu ..... */
181
182#AlignLeftItem {
183 list-style-image: url("chrome://editor/skin/icons/left.gif");
76983f4c 184}
74d14f90 185
186#AlignCenterItem {
187 list-style-image: url("chrome://editor/skin/icons/center.gif");
76983f4c 188}
74d14f90 189
190#AlignRightItem {
191 list-style-image: url("chrome://editor/skin/icons/right.gif");
76983f4c 192}
74d14f90 193
194#AlignJustifyItem {
195 list-style-image: url("chrome://editor/skin/icons/justify.gif");
196}
197
198/* ..... insert menu ..... */
199
52af0a75
RK
200#InsertPopup > menuitem {
201 list-style-image: url("chrome://editor/skin/icons/editoricons-small.png");
202}
203
74d14f90 204#InsertLinkItem {
52af0a75 205 -moz-image-region: rect(48px 16px 64px 0);
74d14f90 206}
207
208#InsertAnchorItem {
52af0a75 209 -moz-image-region: rect(0px 16px 16px 0);
74d14f90 210}
211
212#InsertImageItem {
52af0a75 213 -moz-image-region: rect(32px 16px 48px 0);
74d14f90 214}
215
216#InsertHRuleItem {
52af0a75 217 -moz-image-region: rect(16px 16px 32px 0);
f6e0a33f 218}
219
74d14f90 220#InsertTableItem {
52af0a75 221 -moz-image-region: rect(144px 16px 160px 0);
f6e0a33f 222}
223
74d14f90 224/* ..... smiley menu ..... */
225
aeb317b8
RK
226.insert-smile {
227 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-smile.png");
f6e0a33f 228}
229
aeb317b8
RK
230.insert-frown {
231 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-frown.png");
f6e0a33f 232}
233
aeb317b8
RK
234.insert-wink {
235 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-wink.png");
74d14f90 236}
f6e0a33f 237
aeb317b8
RK
238.insert-tongue {
239 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-tongue.png");
74d14f90 240}
f6e0a33f 241
aeb317b8
RK
242.insert-laughing {
243 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png");
74d14f90 244}
f6e0a33f 245
aeb317b8
RK
246.insert-embarrassed {
247 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-embarrassed.png");
74d14f90 248}
f6e0a33f 249
aeb317b8
RK
250.insert-undecided {
251 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
74d14f90 252}
f6e0a33f 253
aeb317b8
RK
254.insert-surprise {
255 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-surprise.png");
b618d1fd 256}
257
aeb317b8
RK
258.insert-kiss {
259 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png");
b618d1fd 260}
261
aeb317b8
RK
262.insert-yell {
263 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-yell.png");
b618d1fd 264}
265
aeb317b8
RK
266.insert-cool {
267 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-cool.png");
b618d1fd 268}
269
aeb317b8
RK
270.insert-money {
271 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-money.png");
b618d1fd 272}
273
aeb317b8
RK
274.insert-foot {
275 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-foot.png");
b618d1fd 276}
277
aeb317b8
RK
278.insert-innocent {
279 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png");
b618d1fd 280}
281
aeb317b8
RK
282.insert-cry {
283 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-cry.png");
b618d1fd 284}
285
aeb317b8
RK
286.insert-sealed {
287 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png");
b618d1fd 288}
289
74d14f90 290/* ::::: fg/bg color picker ::::: */
291
292.ColorPickerLabel {
293 border: 1px inset #CCD0DD;
294 margin: 0px;
295 padding: 2px;
f6e0a33f 296}
297
74d14f90 298.color-button {
299 border: 1px inset #CCD0DD;
300 padding: 0px;
301 width: 14px;
302 height: 12px;
303 margin: 2px;
f6e0a33f 304}
305
74d14f90 306.color-button:hover {
307 border: 1px solid #666699;
308}
309
310#TextColorButton {
02920d2b
RK
311 margin-top: 2px;
312 margin-bottom: 9px;
313 -moz-margin-start: 2px;
314 -moz-margin-end: 9px;
74d14f90 315}
316
317#BackgroundColorButton {
02920d2b
RK
318 margin-top: 9px;
319 margin-bottom: 2px;
320 -moz-margin-start: 9px;
321 -moz-margin-end: 2px;
74d14f90 322}
323
324#HighlightColorButton {
325 list-style-image: url("chrome://editor/skin/icons/highlight.gif");
326 background-color: transparent;
327}
328
329#HighlightColorButton[disabled="true"] {
330 list-style-image: url("chrome://editor/skin/icons/highlight-disabled.gif") !important;
331}
a1f525f0 332
333#absolutePositionButton {
334 list-style-image: url("chrome://editor/skin/icons/pinned.gif");
335}
336
337#absolutePositionButton[disabled="true"] {
338 list-style-image: url("chrome://editor/skin/icons/pinned-disabled.gif") !important;
339}
340
341#absolutePositionButton[checked="true"] {
342 list-style-image: url("chrome://editor/skin/icons/notpinned.gif");
343}
344
52af0a75 345#increaseZIndexButton {
a1f525f0 346 list-style-image: url("chrome://editor/content/images/bringtofront.gif");
347}
52af0a75
RK
348
349#increaseZIndexButton[disabled="true"] {
a1f525f0 350 list-style-image: url("chrome://editor/content/images/bringtofront-disabled.gif");
351}
52af0a75
RK
352
353#decreaseZIndexButton {
a1f525f0 354 list-style-image: url("chrome://editor/content/images/sendtoback.gif");
355}
52af0a75
RK
356
357#decreaseZIndexButton[disabled="true"] {
a1f525f0 358 list-style-image: url("chrome://editor/content/images/sendtoback-disabled.gif");
359}