1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
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/
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 code.
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 * Robert Kaiser <KaiRo@KaiRo.at>
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
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.
36 * ***** END LICENSE BLOCK ***** */
38 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
40 /* ::::: formatting buttons ::::: */
42 #FormatToolbar > toolbarbutton > .toolbarbutton-text {
46 toolbarbutton.formatting-button {
50 #DecreaseFontSizeButton {
51 list-style-image: url("chrome://editor/skin/icons/dec-font-size.gif");
54 #DecreaseFontSizeButton[disabled="true"] {
55 list-style-image: url("chrome://editor/skin/icons/dec-font-size-disabled.gif") !important;
58 #IncreaseFontSizeButton {
59 list-style-image: url("chrome://editor/skin/icons/inc-font-size.gif");
62 #IncreaseFontSizeButton[disabled="true"] {
63 list-style-image: url("chrome://editor/skin/icons/inc-font-size-disabled.gif") !important;
67 list-style-image: url(chrome://editor/skin/icons/bold.gif);
70 #boldButton[disabled="true"] {
71 list-style-image: url("chrome://editor/skin/icons/bold-disabled.gif") !important;
75 list-style-image: url("chrome://editor/skin/icons/italic.gif");
78 #italicButton[disabled="true"] {
79 list-style-image: url("chrome://editor/skin/icons/italic-disabled.gif") !important;
83 list-style-image: url("chrome://editor/skin/icons/underline.gif");
86 #underlineButton[disabled="true"] {
87 list-style-image: url("chrome://editor/skin/icons/underline-disabled.gif") !important;
91 list-style-image:url("chrome://editor/skin/icons/bullets.gif");
94 #ulButton[disabled="true"] {
95 list-style-image: url("chrome://editor/skin/icons/bullets-disabled.gif") !important;
99 list-style-image: url("chrome://editor/skin/icons/numbers.gif");
102 #olButton[disabled="true"] {
103 list-style-image: url("chrome://editor/skin/icons/numbers-disabled.gif") !important;
107 list-style-image: url("chrome://editor/skin/icons/outdent.gif");
110 #outdentButton[disabled="true"] {
111 list-style-image: url("chrome://editor/skin/icons/outdent-disabled.gif") !important;
115 list-style-image: url("chrome://editor/skin/icons/indent.gif");
118 #indentButton[disabled="true"] {
119 list-style-image: url("chrome://editor/skin/icons/indent-disabled.gif") !important;
123 list-style-image: url("chrome://editor/skin/icons/left.gif");
126 #align-left-button[disabled="true"] {
127 list-style-image: url("chrome://editor/skin/icons/left-disabled.gif") !important;
130 #align-center-button {
131 list-style-image: url("chrome://editor/skin/icons/center.gif");
134 #align-center-button[disabled="true"] {
135 list-style-image: url("chrome://editor/skin/icons/center-disabled.gif") !important;
138 #align-right-button {
139 list-style-image: url("chrome://editor/skin/icons/right.gif");
142 #align-right-button[disabled="true"] {
143 list-style-image: url("chrome://editor/skin/icons/right-disabled.gif") !important;
146 #align-justify-button {
147 list-style-image: url("chrome://editor/skin/icons/justify.gif");
150 #align-justify-button[disabled="true"] {
151 list-style-image: url("chrome://editor/skin/icons/justify-disabled.gif") !important;
155 list-style-image: url("chrome://editor/skin/icons/align.gif");
158 #AlignPopupButton[disabled="true"] {
159 list-style-image: url("chrome://editor/skin/icons/align-disabled.gif") !important;
163 list-style-image: url("chrome://editor/skin/icons/insert.gif");
166 #InsertPopupButton[disabled="true"] {
167 list-style-image: url("chrome://editor/skin/icons/insert-disabled.gif") !important;
171 list-style-image: url("chrome://editor/skin/icons/smile.gif");
174 #smileButtonMenu[disabled="true"] {
175 list-style-image: url("chrome://editor/skin/icons/smile-disabled.gif") !important;
178 /* ::::: menuitem icons ::::: */
180 /* ..... align menu ..... */
183 list-style-image: url("chrome://editor/skin/icons/left.gif");
187 list-style-image: url("chrome://editor/skin/icons/center.gif");
191 list-style-image: url("chrome://editor/skin/icons/right.gif");
195 list-style-image: url("chrome://editor/skin/icons/justify.gif");
198 /* ..... insert menu ..... */
200 #InsertPopup > menuitem {
201 list-style-image: url("chrome://editor/skin/icons/editoricons-small.png");
205 -moz-image-region: rect(48px 16px 64px 0);
209 -moz-image-region: rect(0px 16px 16px 0);
213 -moz-image-region: rect(32px 16px 48px 0);
217 -moz-image-region: rect(16px 16px 32px 0);
221 -moz-image-region: rect(144px 16px 160px 0);
224 /* ..... smiley menu ..... */
227 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-smile.png");
231 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-frown.png");
235 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-wink.png");
239 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-tongue.png");
243 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png");
246 .insert-embarrassed {
247 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-embarrassed.png");
251 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
255 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-surprise.png");
259 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png");
263 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-yell.png");
267 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-cool.png");
271 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-money.png");
275 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-foot.png");
279 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png");
283 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-cry.png");
287 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png");
290 /* ::::: fg/bg color picker ::::: */
293 border: 1px inset #CCD0DD;
299 border: 1px inset #CCD0DD;
306 .color-button:hover {
307 border: 1px solid #666699;
313 -moz-margin-start: 2px;
314 -moz-margin-end: 9px;
317 #BackgroundColorButton {
320 -moz-margin-start: 9px;
321 -moz-margin-end: 2px;
324 #HighlightColorButton {
325 list-style-image: url("chrome://editor/skin/icons/highlight.gif");
326 background-color: transparent;
329 #HighlightColorButton[disabled="true"] {
330 list-style-image: url("chrome://editor/skin/icons/highlight-disabled.gif") !important;
333 #absolutePositionButton {
334 list-style-image: url("chrome://editor/skin/icons/pinned.gif");
337 #absolutePositionButton[disabled="true"] {
338 list-style-image: url("chrome://editor/skin/icons/pinned-disabled.gif") !important;
341 #absolutePositionButton[checked="true"] {
342 list-style-image: url("chrome://editor/skin/icons/notpinned.gif");
345 #increaseZIndexButton {
346 list-style-image: url("chrome://editor/content/images/bringtofront.gif");
349 #increaseZIndexButton[disabled="true"] {
350 list-style-image: url("chrome://editor/content/images/bringtofront-disabled.gif");
353 #decreaseZIndexButton {
354 list-style-image: url("chrome://editor/content/images/sendtoback.gif");
357 #decreaseZIndexButton[disabled="true"] {
358 list-style-image: url("chrome://editor/content/images/sendtoback-disabled.gif");