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