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[disabled="true"] {
22 list-style-image: url("chrome://editor/skin/icons/dec-font-size-disabled.gif") !important;
25 #IncreaseFontSizeButton {
26 list-style-image: url("chrome://editor/skin/icons/inc-font-size.gif");
29 #IncreaseFontSizeButton[disabled="true"] {
30 list-style-image: url("chrome://editor/skin/icons/inc-font-size-disabled.gif") !important;
34 list-style-image: url(chrome://editor/skin/icons/bold.gif);
37 #boldButton[disabled="true"] {
38 list-style-image: url("chrome://editor/skin/icons/bold-disabled.gif") !important;
42 list-style-image: url("chrome://editor/skin/icons/italic.gif");
45 #italicButton[disabled="true"] {
46 list-style-image: url("chrome://editor/skin/icons/italic-disabled.gif") !important;
50 list-style-image: url("chrome://editor/skin/icons/underline.gif");
53 #underlineButton[disabled="true"] {
54 list-style-image: url("chrome://editor/skin/icons/underline-disabled.gif") !important;
58 list-style-image:url("chrome://editor/skin/icons/bullets.gif");
61 #ulButton[disabled="true"] {
62 list-style-image: url("chrome://editor/skin/icons/bullets-disabled.gif") !important;
66 list-style-image: url("chrome://editor/skin/icons/numbers.gif");
69 #olButton[disabled="true"] {
70 list-style-image: url("chrome://editor/skin/icons/numbers-disabled.gif") !important;
74 list-style-image: url("chrome://editor/skin/icons/outdent.gif");
77 #outdentButton[disabled="true"] {
78 list-style-image: url("chrome://editor/skin/icons/outdent-disabled.gif") !important;
82 list-style-image: url("chrome://editor/skin/icons/indent.gif");
85 #indentButton[disabled="true"] {
86 list-style-image: url("chrome://editor/skin/icons/indent-disabled.gif") !important;
90 list-style-image: url("chrome://editor/skin/icons/left.gif");
93 #align-left-button[disabled="true"] {
94 list-style-image: url("chrome://editor/skin/icons/left-disabled.gif") !important;
97 #align-center-button {
98 list-style-image: url("chrome://editor/skin/icons/center.gif");
101 #align-center-button[disabled="true"] {
102 list-style-image: url("chrome://editor/skin/icons/center-disabled.gif") !important;
105 #align-right-button {
106 list-style-image: url("chrome://editor/skin/icons/right.gif");
109 #align-right-button[disabled="true"] {
110 list-style-image: url("chrome://editor/skin/icons/right-disabled.gif") !important;
113 #align-justify-button {
114 list-style-image: url("chrome://editor/skin/icons/justify.gif");
117 #align-justify-button[disabled="true"] {
118 list-style-image: url("chrome://editor/skin/icons/justify-disabled.gif") !important;
122 list-style-image: url("chrome://editor/skin/icons/align.gif");
125 #AlignPopupButton[disabled="true"] {
126 list-style-image: url("chrome://editor/skin/icons/align-disabled.gif") !important;
130 list-style-image: url("chrome://editor/skin/icons/insert.gif");
133 #InsertPopupButton[disabled="true"] {
134 list-style-image: url("chrome://editor/skin/icons/insert-disabled.gif") !important;
138 list-style-image: url("chrome://editor/skin/icons/smile.gif");
141 #smileButtonMenu[disabled="true"] {
142 list-style-image: url("chrome://editor/skin/icons/smile-disabled.gif") !important;
145 /* ::::: menuitem icons ::::: */
147 /* ..... align menu ..... */
150 list-style-image: url("chrome://editor/skin/icons/left.gif");
154 list-style-image: url("chrome://editor/skin/icons/center.gif");
158 list-style-image: url("chrome://editor/skin/icons/right.gif");
162 list-style-image: url("chrome://editor/skin/icons/justify.gif");
165 /* ..... insert menu ..... */
167 #InsertPopup > menuitem {
168 list-style-image: url("chrome://editor/skin/icons/editoricons-small.png");
172 -moz-image-region: rect(48px 16px 64px 0);
176 -moz-image-region: rect(0px 16px 16px 0);
180 -moz-image-region: rect(32px 16px 48px 0);
184 -moz-image-region: rect(16px 16px 32px 0);
188 -moz-image-region: rect(144px 16px 160px 0);
191 /* ..... smiley menu ..... */
194 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-smile.png");
198 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-frown.png");
202 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-wink.png");
206 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-tongue.png");
210 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png");
213 .insert-embarrassed {
214 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-embarrassed.png");
218 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
222 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-surprise.png");
226 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png");
230 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-yell.png");
234 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-cool.png");
238 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-money.png");
242 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-foot.png");
246 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png");
250 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-cry.png");
254 list-style-image: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png");
257 /* ::::: fg/bg color picker ::::: */
260 border: 1px inset #CCD0DD;
266 border: 1px inset #CCD0DD;
273 .color-button:hover {
274 border: 1px solid #666699;
280 -moz-margin-start: 2px;
281 -moz-margin-end: 9px;
284 #TextColorButton[color="mixed"] {
285 background-image: url("chrome://editor/skin/icons/multicolor.png");
286 background-size: cover;
289 #BackgroundColorButton {
292 -moz-margin-start: 9px;
293 -moz-margin-end: 2px;
296 #HighlightColorButton {
297 list-style-image: url("chrome://editor/skin/icons/highlight.gif");
298 background-color: transparent;
301 #HighlightColorButton[disabled="true"] {
302 list-style-image: url("chrome://editor/skin/icons/highlight-disabled.gif") !important;
305 #absolutePositionButton {
306 list-style-image: url("chrome://editor/skin/icons/pinned.gif");
309 #absolutePositionButton[disabled="true"] {
310 list-style-image: url("chrome://editor/skin/icons/pinned-disabled.gif") !important;
313 #absolutePositionButton[checked="true"] {
314 list-style-image: url("chrome://editor/skin/icons/notpinned.gif");
317 #increaseZIndexButton {
318 list-style-image: url("chrome://editor/content/images/bringtofront.gif");
321 #increaseZIndexButton[disabled="true"] {
322 list-style-image: url("chrome://editor/content/images/bringtofront-disabled.gif");
325 #decreaseZIndexButton {
326 list-style-image: url("chrome://editor/content/images/sendtoback.gif");
329 #decreaseZIndexButton[disabled="true"] {
330 list-style-image: url("chrome://editor/content/images/sendtoback-disabled.gif");