1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
7 /* ::::: formatting buttons ::::: */
9 #FormatToolbar > toolbarbutton > .toolbarbutton-text {
13 toolbarbutton.formatting-button {
17 #DecreaseFontSizeButton {
18 list-style-image: url("chrome://editor/skin/icons/dec-font-size.gif");
21 #DecreaseFontSizeButton:hover,
22 #DecreaseFontSizeButton:hover:active {
23 list-style-image: url("chrome://editor/skin/icons/dec-font-size-hover.gif");
26 #DecreaseFontSizeButton[disabled="true"] {
27 list-style-image: url("chrome://editor/skin/icons/dec-font-size-disabled.gif") !important;
30 #IncreaseFontSizeButton {
31 list-style-image: url("chrome://editor/skin/icons/inc-font-size.gif");
34 #IncreaseFontSizeButton:hover,
35 #IncreaseFontSizeButton:hover:active {
36 list-style-image: url("chrome://editor/skin/icons/inc-font-size-hover.gif");
39 #IncreaseFontSizeButton[disabled="true"] {
40 list-style-image: url("chrome://editor/skin/icons/inc-font-size-disabled.gif") !important;
44 list-style-image: url(chrome://editor/skin/icons/bold.gif);
48 #boldButton:hover:active {
49 list-style-image: url("chrome://editor/skin/icons/bold-hover.gif");
52 #boldButton[disabled="true"] {
53 list-style-image: url("chrome://editor/skin/icons/bold-disabled.gif") !important;
57 list-style-image: url("chrome://editor/skin/icons/italic.gif");
61 #italicButton:hover:active {
62 list-style-image: url("chrome://editor/skin/icons/italic-hover.gif");
65 #italicButton[disabled="true"] {
66 list-style-image: url("chrome://editor/skin/icons/italic-disabled.gif") !important;
70 list-style-image: url("chrome://editor/skin/icons/underline.gif");
73 #underlineButton:hover,
74 #underlineButton:hover:active {
75 list-style-image: url("chrome://editor/skin/icons/underline-hover.gif");
78 #underlineButton[disabled="true"] {
79 list-style-image: url("chrome://editor/skin/icons/underline-disabled.gif") !important;
83 list-style-image:url("chrome://editor/skin/icons/bullets.gif");
87 #ulButton:hover:active {
88 list-style-image: url("chrome://editor/skin/icons/bullets-hover.gif");
91 #ulButton[disabled="true"] {
92 list-style-image: url("chrome://editor/skin/icons/bullets-disabled.gif") !important;
96 list-style-image: url("chrome://editor/skin/icons/numbers.gif");
100 #olButton:hover:active {
101 list-style-image: url("chrome://editor/skin/icons/numbers-hover.gif");
104 #olButton[disabled="true"] {
105 list-style-image: url("chrome://editor/skin/icons/numbers-disabled.gif") !important;
109 list-style-image: url("chrome://editor/skin/icons/outdent.gif");
112 #outdentButton:hover,
113 #outdentButton:hover:active {
114 list-style-image: url("chrome://editor/skin/icons/outdent-hover.gif");
117 #outdentButton[disabled="true"] {
118 list-style-image: url("chrome://editor/skin/icons/outdent-disabled.gif") !important;
122 list-style-image: url("chrome://editor/skin/icons/indent.gif");
126 #indentButton:hover:active {
127 list-style-image: url("chrome://editor/skin/icons/indent-hover.gif");
130 #indentButton[disabled="true"] {
131 list-style-image: url("chrome://editor/skin/icons/indent-disabled.gif") !important;
135 list-style-image: url("chrome://editor/skin/icons/left.gif");
138 #align-left-button:hover,
139 #align-left-button:hover:active {
140 list-style-image: url("chrome://editor/skin/icons/left-hover.gif");
143 #align-left-button[disabled="true"] {
144 list-style-image: url("chrome://editor/skin/icons/left-disabled.gif") !important;
147 #align-center-button {
148 list-style-image: url("chrome://editor/skin/icons/center.gif");
151 #align-center-button:hover,
152 #align-center-button:hover:active {
153 list-style-image: url("chrome://editor/skin/icons/center-hover.gif");
156 #align-center-button[disabled="true"] {
157 list-style-image: url("chrome://editor/skin/icons/center-disabled.gif") !important;
160 #align-right-button {
161 list-style-image: url("chrome://editor/skin/icons/right.gif");
164 #align-right-button:hover,
165 #align-right-button:hover:active {
166 list-style-image: url("chrome://editor/skin/icons/right-hover.gif");
169 #align-right-button[disabled="true"] {
170 list-style-image: url("chrome://editor/skin/icons/right-disabled.gif") !important;
173 #align-justify-button {
174 list-style-image: url("chrome://editor/skin/icons/justify.gif");
177 #align-justify-button:hover,
178 #align-justify-button:hover:active {
179 list-style-image: url("chrome://editor/skin/icons/justify-hover.gif");
182 #align-justify-button[disabled="true"] {
183 list-style-image: url("chrome://editor/skin/icons/justify-disabled.gif") !important;
187 list-style-image: url("chrome://editor/skin/icons/align.gif");
190 #AlignPopupButton:hover,
191 #AlignPopupButton:hover:active,
192 #AlignPopupButton[open="true"] {
193 list-style-image: url("chrome://editor/skin/icons/align-hover.gif");
196 #AlignPopupButton[disabled="true"] {
197 list-style-image: url("chrome://editor/skin/icons/align-disabled.gif") !important;
201 list-style-image: url("chrome://editor/skin/icons/insert.gif");
204 #InsertPopupButton:hover,
205 #InsertPopupButton:hover:active,
206 #InsertPopupButton[open="true"] {
207 list-style-image: url("chrome://editor/skin/icons/insert-hover.gif");
210 #InsertPopupButton[disabled="true"] {
211 list-style-image: url("chrome://editor/skin/icons/insert-disabled.gif") !important;
215 list-style-image: url("chrome://editor/skin/icons/smile.gif");
218 #smileButtonMenu[disabled="true"] {
219 list-style-image: url("chrome://editor/skin/icons/smile-disabled.gif") !important;
222 /* ::::: menuitem icons ::::: */
224 /* ..... align menu ..... */
227 list-style-image: url("chrome://editor/skin/icons/left.gif");
230 #AlignLeftItem:hover,
231 #AlignLeftItem:hover:active {
232 list-style-image: url("chrome://editor/skin/icons/left-hover.gif");
236 list-style-image: url("chrome://editor/skin/icons/center.gif");
239 #AlignCenterItem:hover,
240 #AlignCenterItem:hover:active {
241 list-style-image: url("chrome://editor/skin/icons/center-hover.gif");
245 list-style-image: url("chrome://editor/skin/icons/right.gif");
248 #AlignRightItem:hover,
249 #AlignRightItem:hover:active {
250 list-style-image: url("chrome://editor/skin/icons/right-hover.gif");
254 list-style-image: url("chrome://editor/skin/icons/justify.gif");
257 #AlignJustifyItem:hover,
258 #AlignJustifyItem:hover:active {
259 list-style-image: url("chrome://editor/skin/icons/justify-hover.gif");
262 /* ..... insert menu ..... */
264 #InsertPopup > menuitem {
265 list-style-image: url("chrome://editor/skin/icons/editoricons-small.png");
269 -moz-image-region: rect(48px 16px 64px 0);
272 #InsertLinkItem:hover,
273 #InsertLinkItem:hover:active {
274 -moz-image-region: rect(48px 48px 64px 32px);
278 -moz-image-region: rect(0px 16px 16px 0);
281 #InsertAnchorItem:hover,
282 #InsertAnchorItem:hover:active {
283 -moz-image-region: rect(0px 48px 16px 32px);
287 -moz-image-region: rect(32px 16px 48px 0);
290 #InsertImageItem:hover,
291 #InsertImageItem:hover:active {
292 -moz-image-region: rect(32px 48px 48px 32px);
296 -moz-image-region: rect(16px 16px 32px 0);
299 #InsertHRuleItem:hover,
300 #InsertHRuleItem:hover:active {
301 -moz-image-region: rect(16px 48px 32px 32px);
305 -moz-image-region: rect(144px 16px 160px 0);
308 #InsertTableItem:hover,
309 #InsertTableItem:hover:active {
310 -moz-image-region: rect(144px 48px 160px 32px);
313 /* ..... smiley menu ..... */
316 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-smile.png");
320 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-frown.png");
324 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-wink.png");
328 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-tongue.png");
332 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png");
335 .insert-embarrassed {
336 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-embarrassed.png");
340 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
344 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-surprise.png");
348 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png");
352 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-yell.png");
356 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-cool.png");
360 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-money.png");
364 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-foot.png");
368 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png");
372 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-cry.png");
376 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png");
379 /* ::::: fg/bg color picker ::::: */
382 border: 1px inset #FF9F00;
388 border: 1px inset #9C9CFF;
395 .color-button:hover {
396 border: 1px solid #FFCF00;
402 -moz-margin-start: 2px;
403 -moz-margin-end: 9px;
406 #TextColorButton[color="mixed"] {
407 background-image: url("chrome://editor/skin/icons/multicolor.png");
408 background-size: cover;
411 #BackgroundColorButton {
414 -moz-margin-start: 9px;
415 -moz-margin-end: 2px;
418 #HighlightColorButton {
419 list-style-image: url("chrome://editor/skin/icons/highlight.gif");
420 background-color: transparent;
423 #HighlightColorButton:hover,
424 #HighlightColorButton:hover:active {
425 list-style-image: url("chrome://editor/skin/icons/highlight-hover.gif");
428 #HighlightColorButton[disabled="true"] {
429 list-style-image: url("chrome://editor/skin/icons/highlight-disabled.gif") !important;
432 #absolutePositionButton {
433 list-style-image: url("chrome://editor/skin/icons/pinned.gif");
436 #absolutePositionButton:hover,
437 #absolutePositionButton:hover:active {
438 list-style-image: url("chrome://editor/skin/icons/pinned-hover.gif");
441 #absolutePositionButton[disabled="true"] {
442 list-style-image: url("chrome://editor/skin/icons/pinned-disabled.gif") !important;
445 #absolutePositionButton[checked="true"] {
446 list-style-image: url("chrome://editor/skin/icons/notpinned.gif");
449 #absolutePositionButton[checked="true"]:hover,
450 #absolutePositionButton[checked="true"]:hover:active {
451 list-style-image: url("chrome://editor/skin/icons/notpinned-hover.gif");
454 #increaseZIndexButton {
455 list-style-image: url("chrome://editor/content/images/bringtofront.gif");
458 #increaseZIndexButton[disabled="true"] {
459 list-style-image: url("chrome://editor/content/images/bringtofront-disabled.gif");
462 #decreaseZIndexButton {
463 list-style-image: url("chrome://editor/content/images/sendtoback.gif");
466 #decreaseZIndexButton[disabled="true"] {
467 list-style-image: url("chrome://editor/content/images/sendtoback-disabled.gif");