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 #FormatToolbar > toolbarbutton {
44 #FormatToolbar > toolbarbutton > .toolbarbutton-box > .toolbarbutton-text {
50 list-style-image : url(chrome://editor/skin/images/bold.gif);
53 #boldButton[disabled="true"],
54 #boldButton[disabled="true"]:hover,
55 #boldButton[disabled="true"]:hover:active
57 list-style-image : url("chrome://editor/skin/images/bold-disabled.gif");
61 #boldButton:hover:active
63 list-style-image : url("chrome://editor/skin/images/bold-hover.gif");
67 list-style-image:url("chrome://editor/skin/images/smile.gif");
70 #smileButtonMenu[disabled="true"],
71 #smileButtonMenu[disabled="true"]:hover,
72 #smileButtonMenu[disabled="true"]:hover:active {
73 list-style-image:url("chrome://editor/skin/images/smile-disabled.gif");
76 .insert-smile > .menu-iconic-left {
77 list-style-image:url(chrome://global/skin/smiley/smile_n.gif);
80 .insert-tongue > .menu-iconic-left {
81 list-style-image:url(chrome://global/skin/smiley/tongue_n.gif);
84 .insert-frown > .menu-iconic-left {
85 list-style-image:url(chrome://global/skin/smiley/frown_n.gif);
88 .insert-wink > .menu-iconic-left {
89 list-style-image:url(chrome://global/skin/smiley/wink_n.gif);
92 .insert-laughing > .menu-iconic-left {
93 list-style-image:url(chrome://global/skin/smiley/laughing_n.gif);
96 .insert-embarrassed > .menu-iconic-left {
97 list-style-image:url(chrome://global/skin/smiley/embarrassed_n.gif);
101 .insert-undecided > .menu-iconic-left {
102 list-style-image:url(chrome://global/skin/smiley/undecided_n.gif);
105 .smiley > .menu-iconic-left {
114 list-style-image : url("chrome://editor/skin/images/italic.gif");
117 #italicButton[disabled="true"],
118 #italicButton[disabled="true"]:hover,
119 #italicButton[disabled="true"]:hover:active
121 list-style-image : url("chrome://editor/skin/images/italic-disabled.gif");
125 #italicButton:hover:active
127 list-style-image : url("chrome://editor/skin/images/italic-hover.gif");
132 list-style-image : url("chrome://editor/skin/images/underline.gif");
135 #underlineButton[disabled="true"],
136 #underlineButton[disabled="true"]:hover,
137 #underlineButton[disabled="true"]:hover:active
139 list-style-image : url("chrome://editor/skin/images/underline-disabled.gif");
142 #underlineButton:hover,
143 #underlineButton:hover:active
145 list-style-image : url("chrome://editor/skin/images/underline-hover.gif");
148 #DecreaseFontSizeButton
150 list-style-image : url("chrome://editor/skin/images/dec-font-size.gif");
153 #DecreaseFontSizeButton[disabled="true"],
154 #DecreaseFontSizeButton[disabled="true"]:hover,
155 #DecreaseFontSizeButton[disabled="true"]:hover:active
157 list-style-image : url("chrome://editor/skin/images/dec-font-size-disabled.gif");
160 #DecreaseFontSizeButton:hover,
161 #DecreaseFontSizeButton:hover:active
163 list-style-image : url("chrome://editor/skin/images/dec-font-size-hover.gif");
166 #IncreaseFontSizeButton
168 list-style-image : url("chrome://editor/skin/images/inc-font-size.gif");
171 #IncreaseFontSizeButton[disabled="true"],
172 #IncreaseFontSizeButton[disabled="true"]:hover,
173 #IncreaseFontSizeButton[disabled="true"]:hover:active
175 list-style-image : url("chrome://editor/skin/images/inc-font-size-disabled.gif");
178 #IncreaseFontSizeButton:hover,
179 #IncreaseFontSizeButton:hover:active
181 list-style-image : url("chrome://editor/skin/images/inc-font-size-hover.gif");
186 list-style-image :url("chrome://editor/skin/images/bullets.gif");
189 #ulButton[disabled="true"],
190 #ulButton[disabled="true"]:hover,
191 #ulButton[disabled="true"]:hover:active
193 list-style-image : url("chrome://editor/skin/images/bullets-disabled.gif");
197 #ulButton:hover:active
199 list-style-image : url("chrome://editor/skin/images/bullets-hover.gif");
204 list-style-image : url("chrome://editor/skin/images/numbers.gif");
207 #olButton[disabled="true"],
208 #olButton[disabled="true"]:hover,
209 #olButton[disabled="true"]:hover:active
211 list-style-image : url("chrome://editor/skin/images/numbers-disabled.gif");
215 #olButton:hover:active
217 list-style-image : url("chrome://editor/skin/images/numbers-hover.gif");
222 list-style-image : url("chrome://editor/skin/images/outdent.gif");
225 #outdentButton[disabled="true"],
226 #outdentButton[disabled="true"]:hover,
227 #outdentButton[disabled="true"]:hover:active
229 list-style-image : url("chrome://editor/skin/images/outdent-disabled.gif");
232 #outdentButton:hover,
233 #outdentButton:hover:active
235 list-style-image : url("chrome://editor/skin/images/outdent-hover.gif");
240 list-style-image : url("chrome://editor/skin/images/indent.gif");
243 #indentButton[disabled="true"],
244 #indentButton[disabled="true"]:hover,
245 #indentButton[disabled="true"]:hover:active
247 list-style-image : url("chrome://editor/skin/images/indent-disabled.gif");
251 #indentButton:hover:active
253 list-style-image : url("chrome://editor/skin/images/indent-hover.gif");
257 list-style-image : url("chrome://editor/skin/images/align.gif");
260 #AlignPopupButton[disabled="true"],
261 #AlignPopupButton[disabled="true"]:hover,
262 #AlignPopupButton[disabled="true"]:hover:active {
263 list-style-image : url("chrome://editor/skin/images/align-disabled.gif");
266 #AlignPopupButton:hover,
267 #AlignPopupButton:hover:active,
268 #AlignPopupButton[open="true"] {
269 list-style-image : url("chrome://editor/skin/images/align-hover.gif");
273 list-style-image : url("chrome://editor/skin/images/insert.gif");
276 #InsertPopupButton[disabled="true"],
277 #InsertPopupButton[disabled="true"]:hover,
278 #InsertPopupButton[disabled="true"]:hover:active {
279 list-style-image : url("chrome://editor/skin/images/insert-disabled.gif");
282 #InsertPopupButton:hover,
283 #InsertPopupButton:hover:active,
284 #InsertPopupButton[open="true"] {
285 list-style-image : url("chrome://editor/skin/images/insert-hover.gif");
291 list-style-image : url("chrome://editor/skin/images/left.gif");
294 #text-align-left[disabled="true"],
295 #text-align-left[disabled="true"]:hover,
296 #text-align-left[disabled="true"]:hover:active,
297 #align-left-button[disabled="true"],
298 #align-left-button[disabled="true"]:hover,
299 #align-left-button[disabled="true"]:hover:active
301 list-style-image : url("chrome://editor/skin/images/left-disabled.gif");
304 #text-align-left:hover,
305 #align-left-button:hover,
306 #text-align-left:hover:active,
307 #align-left-button:hover:active
309 list-style-image : url("chrome://editor/skin/images/left-hover.gif");
316 list-style-image : url("chrome://editor/skin/images/center.gif");
319 #text-align-center[disabled="true"],
320 #text-align-center[disabled="true"]:hover,
321 #text-align-center[disabled="true"]:hover:active,
322 #align-center-button[disabled="true"],
323 #align-center-button[disabled="true"]:hover,
324 #align-center-button[disabled="true"]:hover:active
326 list-style-image : url("chrome://editor/skin/images/center-disabled.gif");
329 #text-align-center:hover,
330 #align-center-button:hover,
331 #text-align-center:hover:active,
332 #align-center-button:hover:active
334 list-style-image : url("chrome://editor/skin/images/center-hover.gif");
340 list-style-image : url("chrome://editor/skin/images/right.gif");
343 #text-align-right[disabled="true"],
344 #text-align-right[disabled="true"]:hover,
345 #text-align-right[disabled="true"]:hover:active
346 #align-right-button[disabled="true"],
347 #align-right-button[disabled="true"]:hover,
348 #align-right-button[disabled="true"]:hover:active
350 list-style-image : url("chrome://editor/skin/images/right-disabled.gif");
353 #text-align-right:hover,
354 #align-right-button:hover,
355 #text-align-right:hover:active,
356 #align-right-button:hover:active
358 list-style-image : url("chrome://editor/skin/images/right-hover.gif");
361 #text-align-justify, #align-justify-button
363 list-style-image : url("chrome://editor/skin/images/justify.gif");
366 #text-align-justify[disabled="true"],
367 #text-align-justify[disabled="true"]:hover,
368 #text-align-justify[disabled="true"]:hover:active
369 #align-justify-button[disabled="true"],
370 #align-justify-button[disabled="true"]:hover,
371 #align-justify-button[disabled="true"]:hover:active
373 list-style-image : url("chrome://editor/skin/images/justify-disabled.gif");
376 #text-align-justify:hover,
377 #align-justify-button:hover,
378 #text-align-justify:hover:active,
379 #align-justify-button:hover:active
381 list-style-image : url("chrome://editor/skin/images/justify-hover.gif");
386 border : 1px inset white;
393 border : 1px inset #9C9CFF;
402 border : 1px solid #FFCF00;
407 margin : 2px 7px 7px 2px;
410 #BackgroundColorButton
412 margin : 7px 2px 2px 7px;