1 | /* |
---|
2 | * FCKeditor - The text editor for Internet - http://www.fckeditor.net |
---|
3 | * Copyright (C) 2003-2007 Frederico Caldeira Knabben |
---|
4 | * |
---|
5 | * == BEGIN LICENSE == |
---|
6 | * |
---|
7 | * Licensed under the terms of any of the following licenses at your |
---|
8 | * choice: |
---|
9 | * |
---|
10 | * - GNU General Public License Version 2 or later (the "GPL") |
---|
11 | * http://www.gnu.org/licenses/gpl.html |
---|
12 | * |
---|
13 | * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") |
---|
14 | * http://www.gnu.org/licenses/lgpl.html |
---|
15 | * |
---|
16 | * - Mozilla Public License Version 1.1 or later (the "MPL") |
---|
17 | * http://www.mozilla.org/MPL/MPL-1.1.html |
---|
18 | * |
---|
19 | * == END LICENSE == |
---|
20 | * |
---|
21 | * Styles used by the editor IFRAME and Toolbar. |
---|
22 | */ |
---|
23 | |
---|
24 | /* |
---|
25 | ### Basic Editor IFRAME Styles. |
---|
26 | */ |
---|
27 | |
---|
28 | body |
---|
29 | { |
---|
30 | padding: 1px 1px 1px 1px; |
---|
31 | margin: 0px 0px 0px 0px; |
---|
32 | } |
---|
33 | |
---|
34 | #xEditingArea |
---|
35 | { |
---|
36 | border: #696969 1px solid; |
---|
37 | } |
---|
38 | |
---|
39 | .SourceField |
---|
40 | { |
---|
41 | padding: 5px; |
---|
42 | margin: 0px; |
---|
43 | font-family: Monospace; |
---|
44 | } |
---|
45 | |
---|
46 | /* |
---|
47 | Toolbar |
---|
48 | */ |
---|
49 | |
---|
50 | .TB_ToolbarSet, .TB_Expand, .TB_Collapse |
---|
51 | { |
---|
52 | cursor: default; |
---|
53 | background-color: #f7f8fd; |
---|
54 | } |
---|
55 | |
---|
56 | .TB_ToolbarSet |
---|
57 | { |
---|
58 | border-top: #f7f8fd 1px outset; |
---|
59 | border-bottom: #f7f8fd 1px outset; |
---|
60 | } |
---|
61 | |
---|
62 | .TB_ToolbarSet TD |
---|
63 | { |
---|
64 | font-size: 11px; |
---|
65 | font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; |
---|
66 | } |
---|
67 | |
---|
68 | .TB_Toolbar |
---|
69 | { |
---|
70 | background-color: #d6dff7; |
---|
71 | background-image: url(images/toolbar.bg.gif); |
---|
72 | background-repeat: repeat-x; |
---|
73 | display: inline-table; |
---|
74 | } |
---|
75 | |
---|
76 | .TB_Separator |
---|
77 | { |
---|
78 | width: 1px; |
---|
79 | height: 16px; |
---|
80 | margin: 2px; |
---|
81 | background-color: #B2CBFF; |
---|
82 | } |
---|
83 | |
---|
84 | .TB_Start |
---|
85 | { |
---|
86 | background-image: url(images/toolbar.start.gif); |
---|
87 | background-repeat: no-repeat; |
---|
88 | background-position: center center; |
---|
89 | margin: 0px; |
---|
90 | width: 7px; |
---|
91 | height: 24px; |
---|
92 | } |
---|
93 | |
---|
94 | .TB_End |
---|
95 | { |
---|
96 | background-image: url(images/toolbar.end.gif); |
---|
97 | background-repeat: no-repeat; |
---|
98 | background-position: center left; |
---|
99 | height: 24px; |
---|
100 | width: 4px; |
---|
101 | } |
---|
102 | |
---|
103 | .TB_ExpandImg |
---|
104 | { |
---|
105 | background-image: url(images/toolbar.expand.gif); |
---|
106 | background-repeat: no-repeat; |
---|
107 | } |
---|
108 | |
---|
109 | .TB_CollapseImg |
---|
110 | { |
---|
111 | background-image: url(images/toolbar.collapse.gif); |
---|
112 | background-repeat: no-repeat; |
---|
113 | } |
---|
114 | |
---|
115 | .TB_SideBorder |
---|
116 | { |
---|
117 | background-color: #696969; |
---|
118 | } |
---|
119 | |
---|
120 | .TB_Expand, .TB_Collapse |
---|
121 | { |
---|
122 | padding: 2px 2px 2px 2px; |
---|
123 | border: #f7f8fd 1px outset; |
---|
124 | } |
---|
125 | |
---|
126 | .TB_Collapse |
---|
127 | { |
---|
128 | width: 5px; |
---|
129 | } |
---|
130 | |
---|
131 | .TB_Break |
---|
132 | { |
---|
133 | height: 24px; /* IE needs the height to be set, otherwise no break */ |
---|
134 | } |
---|
135 | |
---|
136 | /* |
---|
137 | Toolbar Button |
---|
138 | */ |
---|
139 | |
---|
140 | .TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled |
---|
141 | { |
---|
142 | margin: 1px; |
---|
143 | height: 22px; /* The height is necessary, otherwise IE will not apply the alpha */ |
---|
144 | } |
---|
145 | |
---|
146 | .TB_Button_On |
---|
147 | { |
---|
148 | margin: 0px; |
---|
149 | border: #316ac5 1px solid; |
---|
150 | background-color: #c1d2ee; |
---|
151 | } |
---|
152 | |
---|
153 | .TB_Button_On_Over, .TB_Button_Off_Over |
---|
154 | { |
---|
155 | margin: 0px ; |
---|
156 | border: #316ac5 1px solid; |
---|
157 | background-color: #dff1ff; |
---|
158 | } |
---|
159 | |
---|
160 | .TB_Button_Off |
---|
161 | { |
---|
162 | filter: alpha(opacity=70); /* IE */ |
---|
163 | opacity: 0.70; /* Safari, Opera and Mozilla */ |
---|
164 | } |
---|
165 | |
---|
166 | .TB_Button_Disabled |
---|
167 | { |
---|
168 | filter: gray() alpha(opacity=30); /* IE */ |
---|
169 | opacity: 0.30; /* Safari, Opera and Mozilla */ |
---|
170 | } |
---|
171 | |
---|
172 | .TB_Button_Padding |
---|
173 | { |
---|
174 | visibility: hidden; |
---|
175 | width: 3px; |
---|
176 | height: 22px; |
---|
177 | } |
---|
178 | |
---|
179 | .TB_Button_Image |
---|
180 | { |
---|
181 | overflow: hidden; |
---|
182 | width: 16px; |
---|
183 | height: 16px; |
---|
184 | margin: 3px; |
---|
185 | background-repeat: no-repeat; |
---|
186 | } |
---|
187 | |
---|
188 | .TB_Button_Image img |
---|
189 | { |
---|
190 | position: relative; |
---|
191 | } |
---|
192 | |
---|
193 | .TB_Button_Off .TB_Button_Text |
---|
194 | { |
---|
195 | background-color: #d6dff7; /* Needed because of a bug on ClearType */ |
---|
196 | background-image: url(images/toolbar.bg.gif); |
---|
197 | background-repeat: repeat-x; |
---|
198 | } |
---|
199 | |
---|
200 | .TB_ConnectionLine |
---|
201 | { |
---|
202 | background-color: #f7f8fd; |
---|
203 | height: 1px; |
---|
204 | margin-left: 1px; /* ltr */ |
---|
205 | margin-right: 1px; /* rtl */ |
---|
206 | } |
---|
207 | |
---|
208 | .TB_Button_Off .TB_Text |
---|
209 | { |
---|
210 | background-color: #d6dff7; /* Needed because of a bug on ClearType */ |
---|
211 | background-image: url(images/toolbar.bg.gif); |
---|
212 | background-repeat: repeat-x; |
---|
213 | } |
---|
214 | |
---|
215 | .TB_Button_On_Over .TB_Text |
---|
216 | { |
---|
217 | background-color: #dff1ff ; /* Needed because of a bug on ClearType */ |
---|
218 | } |
---|
219 | |
---|
220 | /* |
---|
221 | Menu |
---|
222 | */ |
---|
223 | |
---|
224 | .MN_Menu |
---|
225 | { |
---|
226 | border: 1px solid #8f8f73; |
---|
227 | padding: 2px; |
---|
228 | background-color: #f7f8fd; |
---|
229 | cursor: default; |
---|
230 | } |
---|
231 | |
---|
232 | .MN_Menu, .MN_Menu .MN_Label |
---|
233 | { |
---|
234 | font-size: 11px; |
---|
235 | font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; |
---|
236 | } |
---|
237 | |
---|
238 | .MN_Item_Padding |
---|
239 | { |
---|
240 | visibility: hidden; |
---|
241 | width: 3px; |
---|
242 | height: 20px; |
---|
243 | } |
---|
244 | |
---|
245 | .MN_Icon |
---|
246 | { |
---|
247 | background-color: #d6dff7; |
---|
248 | text-align: center; |
---|
249 | height: 20px; |
---|
250 | } |
---|
251 | |
---|
252 | .MN_Label |
---|
253 | { |
---|
254 | padding-left: 3px; |
---|
255 | padding-right: 3px; |
---|
256 | } |
---|
257 | |
---|
258 | .MN_Separator |
---|
259 | { |
---|
260 | height: 3px; |
---|
261 | } |
---|
262 | |
---|
263 | .MN_Separator_Line |
---|
264 | { |
---|
265 | border-top: #b9b99d 1px solid; |
---|
266 | } |
---|
267 | |
---|
268 | .MN_Item .MN_Icon IMG |
---|
269 | { |
---|
270 | filter: alpha(opacity=70); |
---|
271 | opacity: 0.70; |
---|
272 | } |
---|
273 | |
---|
274 | .MN_Item_Over |
---|
275 | { |
---|
276 | color: #ffffff; |
---|
277 | background-color: #7096FA; |
---|
278 | } |
---|
279 | |
---|
280 | .MN_Item_Over .MN_Icon |
---|
281 | { |
---|
282 | background-color: #466ca6; |
---|
283 | } |
---|
284 | |
---|
285 | .MN_Item_Disabled IMG |
---|
286 | { |
---|
287 | filter: gray() alpha(opacity=30); /* IE */ |
---|
288 | opacity: 0.30; /* Safari, Opera and Mozilla */ |
---|
289 | } |
---|
290 | |
---|
291 | .MN_Item_Disabled .MN_Label |
---|
292 | { |
---|
293 | color: #b7b7b7; |
---|
294 | } |
---|
295 | |
---|
296 | .MN_Arrow |
---|
297 | { |
---|
298 | padding-right: 3px; |
---|
299 | padding-left: 3px; |
---|
300 | } |
---|
301 | |
---|
302 | .MN_ConnectionLine |
---|
303 | { |
---|
304 | background-color: #f7f8fd; |
---|
305 | } |
---|
306 | |
---|
307 | .Menu .TB_Button_On, .Menu .TB_Button_On_Over |
---|
308 | { |
---|
309 | border: #8f8f73 1px solid; |
---|
310 | background-color: #f7f8fd; |
---|
311 | } |
---|
312 | |
---|
313 | /* |
---|
314 | ### Panel Styles |
---|
315 | */ |
---|
316 | |
---|
317 | .FCK_Panel |
---|
318 | { |
---|
319 | border: #8f8f73 1px solid; |
---|
320 | padding: 2px; |
---|
321 | background-color: #f7f8fd; |
---|
322 | } |
---|
323 | |
---|
324 | .FCK_Panel, .FCK_Panel TD |
---|
325 | { |
---|
326 | font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; |
---|
327 | font-size: 11px; |
---|
328 | } |
---|
329 | |
---|
330 | /* |
---|
331 | ### Special Combos |
---|
332 | */ |
---|
333 | |
---|
334 | .SC_Panel |
---|
335 | { |
---|
336 | overflow: auto; |
---|
337 | white-space: nowrap; |
---|
338 | cursor: default; |
---|
339 | border: 1px solid #8f8f73; |
---|
340 | padding-left: 2px; |
---|
341 | padding-right: 2px; |
---|
342 | background-color: #ffffff; |
---|
343 | } |
---|
344 | |
---|
345 | .SC_Panel, .SC_Panel TD |
---|
346 | { |
---|
347 | font-size: 11px; |
---|
348 | font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; |
---|
349 | } |
---|
350 | |
---|
351 | .SC_Item, .SC_ItemSelected |
---|
352 | { |
---|
353 | margin-top: 2px; |
---|
354 | margin-bottom: 2px; |
---|
355 | background-position: left center; |
---|
356 | padding-left: 11px; |
---|
357 | padding-right: 3px; |
---|
358 | padding-top: 2px; |
---|
359 | padding-bottom: 2px; |
---|
360 | text-overflow: ellipsis; |
---|
361 | overflow: hidden; |
---|
362 | background-repeat: no-repeat; |
---|
363 | border: #dddddd 1px solid; |
---|
364 | } |
---|
365 | |
---|
366 | .SC_Item *, .SC_ItemSelected * |
---|
367 | { |
---|
368 | margin-top: 0px; |
---|
369 | margin-bottom: 0px; |
---|
370 | } |
---|
371 | |
---|
372 | .SC_ItemSelected |
---|
373 | { |
---|
374 | border: #9a9afb 1px solid; |
---|
375 | background-image: url(images/toolbar.arrowright.gif); |
---|
376 | } |
---|
377 | |
---|
378 | .SC_ItemOver |
---|
379 | { |
---|
380 | border: #316ac5 1px solid; |
---|
381 | } |
---|
382 | |
---|
383 | .SC_Field |
---|
384 | { |
---|
385 | margin-top: 2px ; |
---|
386 | border: #b7b7a6 1px solid; |
---|
387 | cursor: default; |
---|
388 | } |
---|
389 | |
---|
390 | .SC_FieldCaption |
---|
391 | { |
---|
392 | overflow: visible; |
---|
393 | padding-right: 5px; |
---|
394 | padding-left: 5px; |
---|
395 | opacity: 0.75; /* Safari, Opera and Mozilla */ |
---|
396 | filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */ |
---|
397 | height: 23px; |
---|
398 | background-color: #d6dff7; /* Needed because of a bug on ClearType */ |
---|
399 | background-image: url(images/toolbar.bg.gif); |
---|
400 | background-repeat: repeat-x; |
---|
401 | /* background-color: inherit; Maybe this is needed wait to check */ |
---|
402 | } |
---|
403 | |
---|
404 | .SC_FieldLabel |
---|
405 | { |
---|
406 | white-space: nowrap; |
---|
407 | padding: 2px; |
---|
408 | width: 100%; |
---|
409 | cursor: default; |
---|
410 | background-color: #ffffff; |
---|
411 | text-overflow: ellipsis; |
---|
412 | overflow: hidden; |
---|
413 | } |
---|
414 | |
---|
415 | .SC_FieldButton |
---|
416 | { |
---|
417 | background-position: center center; |
---|
418 | background-image: url(images/toolbar.buttonarrow.gif); |
---|
419 | border-left: #b7b7a6 1px solid; |
---|
420 | width: 14px; |
---|
421 | background-repeat: no-repeat; |
---|
422 | } |
---|
423 | |
---|
424 | .SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption |
---|
425 | { |
---|
426 | opacity: 0.30; /* Safari, Opera and Mozilla */ |
---|
427 | filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */ |
---|
428 | } |
---|
429 | |
---|
430 | .SC_FieldOver |
---|
431 | { |
---|
432 | border: #316ac5 1px solid; |
---|
433 | } |
---|
434 | |
---|
435 | .SC_FieldOver .SC_FieldButton |
---|
436 | { |
---|
437 | border-left: #316ac5 1px solid; |
---|
438 | } |
---|
439 | |
---|
440 | /* |
---|
441 | ### Color Selector Panel |
---|
442 | */ |
---|
443 | |
---|
444 | .ColorBoxBorder |
---|
445 | { |
---|
446 | border: #808080 1px solid; |
---|
447 | position: static; |
---|
448 | } |
---|
449 | |
---|
450 | .ColorBox |
---|
451 | { |
---|
452 | font-size: 1px; |
---|
453 | width: 10px; |
---|
454 | position: static; |
---|
455 | height: 10px; |
---|
456 | } |
---|
457 | |
---|
458 | .ColorDeselected, .ColorSelected |
---|
459 | { |
---|
460 | cursor: default; |
---|
461 | } |
---|
462 | |
---|
463 | .ColorDeselected |
---|
464 | { |
---|
465 | border: #ffffff 1px solid; |
---|
466 | padding: 2px; |
---|
467 | float: left; |
---|
468 | } |
---|
469 | |
---|
470 | .ColorSelected |
---|
471 | { |
---|
472 | border: #330066 1px solid; |
---|
473 | padding: 2px; |
---|
474 | float: left; |
---|
475 | background-color: #c4cdd6; |
---|
476 | } |
---|