diff options
Diffstat (limited to 'sources/skins/moonocolor')
120 files changed, 3865 insertions, 0 deletions
diff --git a/sources/skins/moonocolor/colorpanel.css b/sources/skins/moonocolor/colorpanel.css new file mode 100644 index 0000000..7292371 --- /dev/null +++ b/sources/skins/moonocolor/colorpanel.css | |||
@@ -0,0 +1,127 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | colorpanel.css (part of editor.css) | ||
8 | ===================================== | ||
9 | |||
10 | The color panel is related to the contents part of the panels that are | ||
11 | displayed when clicking the color buttons of the toolbar. See panels.css for | ||
12 | styles related to the outer part of panels. | ||
13 | |||
14 | The following is the visual representation of the color panel contents: | ||
15 | |||
16 | +-- .cke_panel_block.cke_colorblock --+ | ||
17 | | +-- a.cke_colorauto --------------+ | | ||
18 | | | | | | ||
19 | | | AUTOMATIC COLOR | | | ||
20 | | | | | | ||
21 | | +---------------------------------+ | | ||
22 | | +-- table ------------------------+ | | ||
23 | | | | | | ||
24 | | | COLOR PALETTE | | | ||
25 | | | | | | ||
26 | | |---------------------------------| | | ||
27 | | | "More Colors" | | | ||
28 | | +---------------------------------+ | | ||
29 | +-------------------------------------+ | ||
30 | |||
31 | The AUTOMATIC COLOR section is an <a> containing a table with two cells with | ||
32 | the following contents: | ||
33 | |||
34 | +-- TD -----------------+ +-- TD -----------------+ | ||
35 | | +-- .cke_colorbox --+ | | | | ||
36 | | | | | | "Automatic" | | ||
37 | | +-------------------+ | | | | ||
38 | +-----------------------+ +-----------------------+ | ||
39 | |||
40 | The COLOR PALETTE section instead is a table with a variable number of cells | ||
41 | (by default 8). Each cell represents a color box, with the following structure: | ||
42 | |||
43 | +-- A.cke_colorbox ---------+ | ||
44 | | +-- SPAN.cke_colorbox --+ | | ||
45 | | | | | | ||
46 | | +-----------------------+ | | ||
47 | +---------------------------+ | ||
48 | */ | ||
49 | |||
50 | /* The container of the color palette. */ | ||
51 | .cke_colorblock | ||
52 | { | ||
53 | padding: 3px; | ||
54 | font-size: 11px; | ||
55 | font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif; | ||
56 | } | ||
57 | |||
58 | .cke_colorblock, | ||
59 | .cke_colorblock a | ||
60 | { | ||
61 | text-decoration: none; | ||
62 | color: #000; | ||
63 | } | ||
64 | |||
65 | /* The box which is to represent a single color on the color palette. | ||
66 | It is a small, square-shaped element which can be selected from the palette. */ | ||
67 | span.cke_colorbox | ||
68 | { | ||
69 | width: 10px; | ||
70 | height: 10px; | ||
71 | border: #808080 1px solid; | ||
72 | float: left; | ||
73 | } | ||
74 | |||
75 | .cke_rtl span.cke_colorbox | ||
76 | { | ||
77 | float: right; | ||
78 | } | ||
79 | |||
80 | /* The wrapper of the span.cke_colorbox. It provides an extra border and padding. */ | ||
81 | a.cke_colorbox | ||
82 | { | ||
83 | border: #fff 1px solid; | ||
84 | padding: 2px; | ||
85 | float: left; | ||
86 | width: 12px; | ||
87 | height: 12px; | ||
88 | } | ||
89 | |||
90 | .cke_rtl a.cke_colorbox | ||
91 | { | ||
92 | float: right; | ||
93 | } | ||
94 | |||
95 | /* Different states of the a.cke_colorbox wrapper. */ | ||
96 | a:hover.cke_colorbox, | ||
97 | a:focus.cke_colorbox, | ||
98 | a:active.cke_colorbox | ||
99 | { | ||
100 | border: #b6b6b6 1px solid; | ||
101 | background-color: #e5e5e5; | ||
102 | } | ||
103 | |||
104 | /* Buttons which are visible at the top/bottom of the color palette: | ||
105 | - cke_colorauto (TOP) applies the automatic color. | ||
106 | - cke_colormore (BOTTOM) executes the color dialog. | ||
107 | */ | ||
108 | a.cke_colorauto, | ||
109 | a.cke_colormore | ||
110 | { | ||
111 | border: #fff 1px solid; | ||
112 | padding: 2px; | ||
113 | display: block; | ||
114 | cursor: pointer; | ||
115 | } | ||
116 | |||
117 | /* Different states of cke_colorauto/cke_colormore buttons. */ | ||
118 | a:hover.cke_colorauto, | ||
119 | a:hover.cke_colormore, | ||
120 | a:focus.cke_colorauto, | ||
121 | a:focus.cke_colormore, | ||
122 | a:active.cke_colorauto, | ||
123 | a:active.cke_colormore | ||
124 | { | ||
125 | border: #b6b6b6 1px solid; | ||
126 | background-color: #e5e5e5; | ||
127 | } | ||
diff --git a/sources/skins/moonocolor/dialog.css b/sources/skins/moonocolor/dialog.css new file mode 100644 index 0000000..2e5eb01 --- /dev/null +++ b/sources/skins/moonocolor/dialog.css | |||
@@ -0,0 +1,1060 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | dialog.css | ||
8 | ============ | ||
9 | |||
10 | This file styles dialogs and all widgets available inside of it (tabs, buttons, | ||
11 | fields, etc.). | ||
12 | |||
13 | Dialogs are a complex system because they're very flexible. The CKEditor API | ||
14 | makes it easy to create and customize dialogs by code, by making use of several | ||
15 | different widgets inside its contents. | ||
16 | |||
17 | All dialogs share a main dialog strucuture, which can be visually represented | ||
18 | as follows: | ||
19 | |||
20 | +-- .cke_dialog -------------------------------------------------+ | ||
21 | | +-- .cke_dialog_body ----------------------------------------+ | | ||
22 | | | +-- .cke_dialog_title --+ +-- .cke_dialog_close_button --+ | | | ||
23 | | | | | | | | | | ||
24 | | | +-----------------------+ +------------------------------+ | | | ||
25 | | | +-- .cke_dialog_tabs ------------------------------------+ | | | ||
26 | | | | | | | | ||
27 | | | +--------------------------------------------------------+ | | | ||
28 | | | +-- .cke_dialog_contents --------------------------------+ | | | ||
29 | | | | +-- .cke_dialog_contents_body -----------------------+ | | | | ||
30 | | | | | | | | | | ||
31 | | | | +----------------------------------------------------+ | | | | ||
32 | | | | +-- .cke_dialog_footer ------------------------------+ | | | | ||
33 | | | | | | | | | | ||
34 | | | | +----------------------------------------------------+ | | | | ||
35 | | | +--------------------------------------------------------+ | | | ||
36 | | +------------------------------------------------------------+ | | ||
37 | +----------------------------------------------------------------+ | ||
38 | |||
39 | Comments in this file will give more details about each of the above blocks. | ||
40 | */ | ||
41 | |||
42 | /* The outer container of the dialog. */ | ||
43 | .cke_dialog | ||
44 | { | ||
45 | /* Mandatory: Because the dialog.css file is loaded on demand, we avoid | ||
46 | showing an unstyled dialog by hidding it. Here, we restore its visibility. */ | ||
47 | visibility: visible; | ||
48 | } | ||
49 | |||
50 | /* The inner boundary container. */ | ||
51 | .cke_dialog_body | ||
52 | { | ||
53 | z-index: 1; | ||
54 | background: #eaeaea; | ||
55 | border: 1px solid #b2b2b2; | ||
56 | border-bottom-color: #999; | ||
57 | border-radius: 3px; | ||
58 | box-shadow: 0 0 3px rgba(0, 0, 0, .15); | ||
59 | } | ||
60 | |||
61 | /* Due to our reset we have to recover the styles of some elements. */ | ||
62 | .cke_dialog strong | ||
63 | { | ||
64 | font-weight: bold; | ||
65 | } | ||
66 | |||
67 | /* The dialog title. */ | ||
68 | .cke_dialog_title | ||
69 | { | ||
70 | font-weight: bold; | ||
71 | font-size: 13px; | ||
72 | cursor: move; | ||
73 | position: relative; | ||
74 | |||
75 | color: #474747; | ||
76 | text-shadow: 0 1px 0 rgba(255,255,255,.75); | ||
77 | |||
78 | border-bottom: 1px solid #999; | ||
79 | padding: 6px 10px; | ||
80 | |||
81 | border-radius: 2px 2px 0 0; | ||
82 | box-shadow: 0 1px 0 #fff inset; | ||
83 | |||
84 | background: #cfd1cf; | ||
85 | background-image: linear-gradient(to bottom, #f5f5f5, #cfd1cf); | ||
86 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f5f5f5', endColorstr='#cfd1cf'); | ||
87 | } | ||
88 | |||
89 | .cke_dialog_spinner | ||
90 | { | ||
91 | border-radius: 50%; | ||
92 | |||
93 | width: 12px; | ||
94 | height: 12px; | ||
95 | overflow: hidden; | ||
96 | |||
97 | text-indent: -9999em; | ||
98 | |||
99 | border-top: 2px solid rgba(102, 102, 102, 0.2); | ||
100 | border-right: 2px solid rgba(102, 102, 102, 0.2); | ||
101 | border-bottom: 2px solid rgba(102, 102, 102, 0.2); | ||
102 | border-left: 2px solid rgba(102, 102, 102, 1); | ||
103 | |||
104 | -webkit-animation: dialog_spinner 1s infinite linear; | ||
105 | animation: dialog_spinner 1s infinite linear; | ||
106 | } | ||
107 | |||
108 | /* A GIF fallback for IE8 and IE9 which does not support CSS animations. */ | ||
109 | .cke_browser_ie8 .cke_dialog_spinner, | ||
110 | .cke_browser_ie9 .cke_dialog_spinner | ||
111 | { | ||
112 | background: url(images/spinner.gif) center top no-repeat; | ||
113 | width: 16px; | ||
114 | height: 16px; | ||
115 | border: 0; | ||
116 | } | ||
117 | |||
118 | @-webkit-keyframes dialog_spinner | ||
119 | { | ||
120 | 0% { | ||
121 | -webkit-transform: rotate(0deg); | ||
122 | transform: rotate(0deg); | ||
123 | } | ||
124 | 100% { | ||
125 | -webkit-transform: rotate(360deg); | ||
126 | transform: rotate(360deg); | ||
127 | } | ||
128 | } | ||
129 | |||
130 | @keyframes dialog_spinner | ||
131 | { | ||
132 | 0% { | ||
133 | -webkit-transform: rotate(0deg); | ||
134 | transform: rotate(0deg); | ||
135 | } | ||
136 | 100% { | ||
137 | -webkit-transform: rotate(360deg); | ||
138 | transform: rotate(360deg); | ||
139 | } | ||
140 | } | ||
141 | |||
142 | /* The outer part of the dialog contants, which contains the contents body | ||
143 | and the footer. */ | ||
144 | .cke_dialog_contents | ||
145 | { | ||
146 | background-color: #fff; | ||
147 | overflow: auto; | ||
148 | padding: 15px 10px 5px 10px; | ||
149 | margin-top: 30px; | ||
150 | border-top: 1px solid #bfbfbf; | ||
151 | border-radius: 0 0 3px 3px; | ||
152 | } | ||
153 | |||
154 | /* The contents body part, which will hold all elements available in the dialog. */ | ||
155 | .cke_dialog_contents_body | ||
156 | { | ||
157 | overflow: auto; | ||
158 | padding: 17px 10px 5px 10px; | ||
159 | margin-top: 22px; | ||
160 | } | ||
161 | |||
162 | /* The dialog footer, which usually contains the "Ok" and "Cancel" buttons as | ||
163 | well as a resize handler. */ | ||
164 | .cke_dialog_footer | ||
165 | { | ||
166 | text-align: right; | ||
167 | position: relative; | ||
168 | border: none; | ||
169 | outline: 1px solid #bfbfbf; | ||
170 | box-shadow: 0 1px 0 #fff inset; | ||
171 | border-radius: 0 0 2px 2px; | ||
172 | background: #cfd1cf; | ||
173 | background-image: linear-gradient(to bottom, #ebebeb, #cfd1cf); | ||
174 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ebebeb', endColorstr='#cfd1cf'); | ||
175 | } | ||
176 | |||
177 | .cke_rtl .cke_dialog_footer | ||
178 | { | ||
179 | text-align: left; | ||
180 | } | ||
181 | |||
182 | .cke_hc .cke_dialog_footer | ||
183 | { | ||
184 | outline: none; | ||
185 | border-top: 1px solid #fff; | ||
186 | } | ||
187 | |||
188 | .cke_dialog .cke_resizer | ||
189 | { | ||
190 | margin-top: 22px; | ||
191 | } | ||
192 | |||
193 | .cke_dialog .cke_resizer_rtl | ||
194 | { | ||
195 | margin-left: 5px; | ||
196 | } | ||
197 | |||
198 | .cke_dialog .cke_resizer_ltr | ||
199 | { | ||
200 | margin-right: 5px; | ||
201 | } | ||
202 | |||
203 | /* | ||
204 | Dialog tabs | ||
205 | ------------- | ||
206 | |||
207 | Tabs are presented on some of the dialogs to make it possible to have its | ||
208 | contents split on different groups, visible one after the other. | ||
209 | |||
210 | The main element that holds the tabs can be made hidden, in case of no tabs | ||
211 | available. | ||
212 | |||
213 | The following is the visual representation of the tabs block: | ||
214 | |||
215 | +-- .cke_dialog_tabs ------------------------------------+ | ||
216 | | +-- .cke_dialog_tab --+ +-- .cke_dialog_tab --+ ... | | ||
217 | | | | | | | | ||
218 | | +---------------------+ +---------------------+ | | ||
219 | +--------------------------------------------------------+ | ||
220 | |||
221 | The .cke_dialog_tab_selected class is appended to the active tab. | ||
222 | */ | ||
223 | |||
224 | /* The main tabs container. */ | ||
225 | .cke_dialog_tabs | ||
226 | { | ||
227 | height: 24px; | ||
228 | display: inline-block; | ||
229 | margin: 5px 0 0; | ||
230 | position: absolute; | ||
231 | z-index: 2; | ||
232 | left: 10px; | ||
233 | } | ||
234 | |||
235 | .cke_rtl .cke_dialog_tabs | ||
236 | { | ||
237 | right: 10px; | ||
238 | } | ||
239 | |||
240 | /* A single tab (an <a> element). */ | ||
241 | a.cke_dialog_tab | ||
242 | { | ||
243 | |||
244 | height: 16px; | ||
245 | padding: 4px 8px; | ||
246 | margin-right: 3px; | ||
247 | display: inline-block; | ||
248 | cursor: pointer; | ||
249 | line-height: 16px; | ||
250 | outline: none; | ||
251 | color: #595959; | ||
252 | border: 1px solid #bfbfbf; | ||
253 | |||
254 | border-radius: 3px 3px 0 0; | ||
255 | |||
256 | background: #d4d4d4; | ||
257 | background-image: linear-gradient(to bottom, #fafafa, #ededed); | ||
258 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#fafafa', endColorstr='#ededed'); | ||
259 | } | ||
260 | |||
261 | .cke_rtl a.cke_dialog_tab | ||
262 | { | ||
263 | margin-right: 0; | ||
264 | margin-left: 3px; | ||
265 | } | ||
266 | |||
267 | /* A hover state of a regular inactive tab. */ | ||
268 | a.cke_dialog_tab:hover, | ||
269 | a.cke_dialog_tab:focus | ||
270 | { | ||
271 | background: #ebebeb; | ||
272 | background: linear-gradient(to bottom, #ebebeb 0%,#dfdfdf 100%); | ||
273 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebebeb', endColorstr='#dfdfdf',GradientType=0 ); | ||
274 | } | ||
275 | |||
276 | a.cke_dialog_tab_selected | ||
277 | { | ||
278 | background: #fff; | ||
279 | color: #383838; | ||
280 | border-bottom-color: #fff; | ||
281 | cursor: default; | ||
282 | filter: none; | ||
283 | } | ||
284 | |||
285 | /* A hover state for selected tab. */ | ||
286 | a.cke_dialog_tab_selected:hover, | ||
287 | a.cke_dialog_tab_selected:focus, | ||
288 | { | ||
289 | background: #ededed; | ||
290 | background: linear-gradient(to bottom, #ededed 0%,#ffffff 100%); | ||
291 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ffffff',GradientType=0 ); | ||
292 | } | ||
293 | |||
294 | .cke_hc a.cke_dialog_tab:hover, | ||
295 | .cke_hc a.cke_dialog_tab:focus, | ||
296 | .cke_hc a.cke_dialog_tab_selected | ||
297 | { | ||
298 | border: 3px solid; | ||
299 | padding: 2px 6px; | ||
300 | } | ||
301 | |||
302 | a.cke_dialog_tab_disabled | ||
303 | { | ||
304 | color: #bababa; | ||
305 | cursor: default; | ||
306 | } | ||
307 | |||
308 | /* The .cke_single_page class is appended to the dialog outer element in case | ||
309 | of dialogs that has no tabs. */ | ||
310 | .cke_single_page .cke_dialog_tabs | ||
311 | { | ||
312 | display: none; | ||
313 | } | ||
314 | |||
315 | .cke_single_page .cke_dialog_contents | ||
316 | { | ||
317 | padding-top: 5px; | ||
318 | margin-top: 0; | ||
319 | border-top: none; | ||
320 | } | ||
321 | |||
322 | /* The close button at the top of the dialog. */ | ||
323 | |||
324 | a.cke_dialog_close_button | ||
325 | { | ||
326 | background-image: url(images/close.png); | ||
327 | background-repeat: no-repeat; | ||
328 | background-position: 50%; | ||
329 | position: absolute; | ||
330 | cursor: pointer; | ||
331 | text-align: center; | ||
332 | height: 20px; | ||
333 | width: 20px; | ||
334 | top: 4px; | ||
335 | z-index: 5; | ||
336 | opacity: 0.8; | ||
337 | filter: alpha(opacity = 80); | ||
338 | } | ||
339 | |||
340 | .cke_dialog_close_button:hover | ||
341 | { | ||
342 | opacity: 1; | ||
343 | filter: alpha(opacity = 100); | ||
344 | } | ||
345 | |||
346 | .cke_hidpi .cke_dialog_close_button | ||
347 | { | ||
348 | background-image: url(images/hidpi/close.png); | ||
349 | background-size: 16px; | ||
350 | } | ||
351 | |||
352 | .cke_dialog_close_button span | ||
353 | { | ||
354 | display: none; | ||
355 | } | ||
356 | |||
357 | .cke_hc .cke_dialog_close_button span | ||
358 | { | ||
359 | display: inline; | ||
360 | cursor: pointer; | ||
361 | font-weight: bold; | ||
362 | position: relative; | ||
363 | top: 3px; | ||
364 | } | ||
365 | |||
366 | .cke_ltr .cke_dialog_close_button | ||
367 | { | ||
368 | right: 5px; | ||
369 | } | ||
370 | |||
371 | .cke_rtl .cke_dialog_close_button | ||
372 | { | ||
373 | left: 6px; | ||
374 | } | ||
375 | |||
376 | .cke_dialog_close_button | ||
377 | { | ||
378 | top: 4px; | ||
379 | } | ||
380 | |||
381 | /* | ||
382 | Dialog UI Elements | ||
383 | -------------------- | ||
384 | |||
385 | The remaining styles define the UI elements that can be used inside dialog | ||
386 | contents. | ||
387 | |||
388 | Most of the UI elements on dialogs contain a textual label. All of them share | ||
389 | the same labelling structure, having the label text inside an element with | ||
390 | .cke_dialog_ui_labeled_label and the element specific part inside the | ||
391 | .cke_dialog_ui_labeled_content class. | ||
392 | */ | ||
393 | |||
394 | /* If an element is supposed to be disabled, the .cke_disabled class is | ||
395 | appended to it. */ | ||
396 | div.cke_disabled .cke_dialog_ui_labeled_content div * | ||
397 | { | ||
398 | background-color: #ddd; | ||
399 | cursor: default; | ||
400 | } | ||
401 | |||
402 | /* | ||
403 | Horizontal-Box and Vertical-Box | ||
404 | --------------------------------- | ||
405 | |||
406 | There are basic layou element used by the editor to properly align elements in | ||
407 | the dialog. They're basically tables that have each cell filled by UI elements. | ||
408 | |||
409 | The following is the visual representation of a H-Box: | ||
410 | |||
411 | +-- .cke_dialog_ui_hbox --------------------------------------------------------------------------------+ | ||
412 | | +-- .cke_dialog_ui_hbox_first --+ +-- .cke_dialog_ui_hbox_child --+ +-- .cke_dialog_ui_hbox_last --+ | | ||
413 | | + + + + + + | | ||
414 | | +-------------------------------+ +-------------------------------+ +------------------------------+ | | ||
415 | +-------------------------------------------------------------------------------------------------------+ | ||
416 | |||
417 | It is possible to have nested V/H-Boxes. | ||
418 | */ | ||
419 | |||
420 | .cke_dialog_ui_vbox table, | ||
421 | .cke_dialog_ui_hbox table | ||
422 | { | ||
423 | margin: auto; | ||
424 | } | ||
425 | |||
426 | .cke_dialog_ui_vbox_child | ||
427 | { | ||
428 | padding: 5px 0px; | ||
429 | } | ||
430 | |||
431 | .cke_dialog_ui_hbox | ||
432 | { | ||
433 | width: 100%; | ||
434 | } | ||
435 | |||
436 | .cke_dialog_ui_hbox_first, | ||
437 | .cke_dialog_ui_hbox_child, | ||
438 | .cke_dialog_ui_hbox_last | ||
439 | { | ||
440 | vertical-align: top; | ||
441 | } | ||
442 | |||
443 | .cke_ltr .cke_dialog_ui_hbox_first, | ||
444 | .cke_ltr .cke_dialog_ui_hbox_child | ||
445 | { | ||
446 | padding-right: 10px; | ||
447 | } | ||
448 | |||
449 | .cke_rtl .cke_dialog_ui_hbox_first, | ||
450 | .cke_rtl .cke_dialog_ui_hbox_child | ||
451 | { | ||
452 | padding-left: 10px; | ||
453 | } | ||
454 | |||
455 | .cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first, | ||
456 | .cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child | ||
457 | { | ||
458 | padding-right: 5px; | ||
459 | } | ||
460 | |||
461 | .cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first, | ||
462 | .cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child | ||
463 | { | ||
464 | padding-left: 5px; | ||
465 | padding-right: 0; | ||
466 | } | ||
467 | |||
468 | /* Applies to all labeled dialog fields */ | ||
469 | .cke_hc div.cke_dialog_ui_input_text, | ||
470 | .cke_hc div.cke_dialog_ui_input_password, | ||
471 | .cke_hc div.cke_dialog_ui_input_textarea, | ||
472 | .cke_hc div.cke_dialog_ui_input_select, | ||
473 | .cke_hc div.cke_dialog_ui_input_file | ||
474 | { | ||
475 | border: 1px solid; | ||
476 | } | ||
477 | |||
478 | /* | ||
479 | Text Input | ||
480 | ------------ | ||
481 | |||
482 | The basic text field to input text. | ||
483 | |||
484 | +-- .cke_dialog_ui_text --------------------------+ | ||
485 | | +-- .cke_dialog_ui_labeled_label ------------+ | | ||
486 | | | | | | ||
487 | | +--------------------------------------------+ | | ||
488 | | +-- .cke_dialog_ui_labeled_content ----------+ | | ||
489 | | | +-- div.cke_dialog_ui_input_text --------+ | | | ||
490 | | | | +-- input.cke_dialog_ui_input_text --+ | | | | ||
491 | | | | | | | | | | ||
492 | | | | +------------------------------------+ | | | | ||
493 | | | +----------------------------------------+ | | | ||
494 | | +--------------------------------------------+ | | ||
495 | +-------------------------------------------------+ | ||
496 | */ | ||
497 | |||
498 | /* | ||
499 | Textarea | ||
500 | ---------- | ||
501 | |||
502 | The textarea field to input larger text. | ||
503 | |||
504 | +-- .cke_dialog_ui_textarea --------------------------+ | ||
505 | | +-- .cke_dialog_ui_labeled_label ----------------+ | | ||
506 | | | | | | ||
507 | | +------------------------------------------------+ | | ||
508 | | +-- .cke_dialog_ui_labeled_content --------------+ | | ||
509 | | | +-- div.cke_dialog_ui_input_textarea --------+ | | | ||
510 | | | | +-- input.cke_dialog_ui_input_textarea --+ | | | | ||
511 | | | | | | | | | | ||
512 | | | | +----------------------------------------+ | | | | ||
513 | | | +--------------------------------------------+ | | | ||
514 | | +------------------------------------------------+ | | ||
515 | +-----------------------------------------------------+ | ||
516 | */ | ||
517 | |||
518 | textarea.cke_dialog_ui_input_textarea | ||
519 | { | ||
520 | overflow: auto; | ||
521 | resize: none; | ||
522 | } | ||
523 | |||
524 | input.cke_dialog_ui_input_text, | ||
525 | input.cke_dialog_ui_input_password, | ||
526 | textarea.cke_dialog_ui_input_textarea | ||
527 | { | ||
528 | background-color: #fff; | ||
529 | border: 1px solid #c9cccf; | ||
530 | border-top-color: #aeb3b9; | ||
531 | padding: 4px 6px; | ||
532 | outline: none; | ||
533 | width: 100%; | ||
534 | *width: 95%; | ||
535 | |||
536 | box-sizing: border-box; | ||
537 | |||
538 | border-radius: 3px; | ||
539 | |||
540 | box-shadow: 0 1px 2px rgba(0,0,0,.15) inset; | ||
541 | } | ||
542 | |||
543 | input.cke_dialog_ui_input_text:hover, | ||
544 | input.cke_dialog_ui_input_password:hover, | ||
545 | textarea.cke_dialog_ui_input_textarea:hover | ||
546 | { | ||
547 | border: 1px solid #aeb3b9; | ||
548 | border-top-color: #a0a6ad; | ||
549 | } | ||
550 | |||
551 | input.cke_dialog_ui_input_text:focus, | ||
552 | input.cke_dialog_ui_input_password:focus, | ||
553 | textarea.cke_dialog_ui_input_textarea:focus, | ||
554 | select.cke_dialog_ui_input_select:focus | ||
555 | { | ||
556 | outline: none; | ||
557 | border: 1px solid #139ff7; | ||
558 | border-top-color: #1392e9; | ||
559 | } | ||
560 | |||
561 | /* | ||
562 | Button | ||
563 | -------- | ||
564 | |||
565 | The buttons used in the dialog footer or inside the contents. | ||
566 | |||
567 | +-- a.cke_dialog_ui_button -----------+ | ||
568 | | +-- span.cke_dialog_ui_button --+ | | ||
569 | | | | | | ||
570 | | +-------------------------------+ | | ||
571 | +-------------------------------------+ | ||
572 | */ | ||
573 | |||
574 | /* The outer part of the button. */ | ||
575 | a.cke_dialog_ui_button | ||
576 | { | ||
577 | display: inline-block; | ||
578 | *display: inline; | ||
579 | *zoom: 1; | ||
580 | |||
581 | padding: 4px 0; | ||
582 | margin: 0; | ||
583 | |||
584 | text-align: center; | ||
585 | color: #333; | ||
586 | vertical-align: middle; | ||
587 | cursor: pointer; | ||
588 | |||
589 | border: 1px solid #b6b6b6; | ||
590 | border-bottom-color: #999; | ||
591 | border-radius: 3px; | ||
592 | box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset; | ||
593 | |||
594 | background: #e4e4e4; | ||
595 | background-image: linear-gradient(to bottom, #ffffff, #e4e4e4); | ||
596 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffff', endColorstr='#e4e4e4'); | ||
597 | |||
598 | } | ||
599 | |||
600 | span.cke_dialog_ui_button | ||
601 | { | ||
602 | padding: 0 10px; | ||
603 | } | ||
604 | |||
605 | a.cke_dialog_ui_button:hover | ||
606 | { | ||
607 | border-color: #9e9e9e; | ||
608 | |||
609 | background: #ccc; | ||
610 | background-image: linear-gradient(to bottom, #f2f2f2, #ccc); | ||
611 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f2f2f2', endColorstr='#cccccc'); | ||
612 | } | ||
613 | |||
614 | /* :focus/:active styles for dialog buttons: regular and footer. */ | ||
615 | a.cke_dialog_ui_button:focus, | ||
616 | a.cke_dialog_ui_button:active | ||
617 | { | ||
618 | border-color: #969696; | ||
619 | outline: none; | ||
620 | box-shadow: 0 0 6px rgba(0,0,0,.4) inset; | ||
621 | } | ||
622 | |||
623 | .cke_hc a.cke_dialog_ui_button:hover, | ||
624 | .cke_hc a.cke_dialog_ui_button:focus, | ||
625 | .cke_hc a.cke_dialog_ui_button:active | ||
626 | { | ||
627 | border: 3px solid; | ||
628 | padding-top: 1px; | ||
629 | padding-bottom: 1px; | ||
630 | } | ||
631 | |||
632 | .cke_hc a.cke_dialog_ui_button:hover span, | ||
633 | .cke_hc a.cke_dialog_ui_button:focus span, | ||
634 | .cke_hc a.cke_dialog_ui_button:active span | ||
635 | { | ||
636 | padding-left: 10px; | ||
637 | padding-right: 10px; | ||
638 | } | ||
639 | |||
640 | /* | ||
641 | a.cke_dialog_ui_button[style*="width"] | ||
642 | { | ||
643 | display: block !important; | ||
644 | width: auto !important; | ||
645 | } | ||
646 | */ | ||
647 | /* The inner part of the button (both in dialog tabs and dialog footer). */ | ||
648 | .cke_dialog_footer_buttons a.cke_dialog_ui_button span | ||
649 | { | ||
650 | color: inherit; | ||
651 | font-size: 12px; | ||
652 | font-weight: bold; | ||
653 | line-height: 18px; | ||
654 | padding: 0 12px; | ||
655 | } | ||
656 | |||
657 | /* Special class appended to the Ok button. */ | ||
658 | a.cke_dialog_ui_button_ok | ||
659 | { | ||
660 | color: #fff; | ||
661 | text-shadow: 0 -1px 0 #55830c; | ||
662 | border-color: #62a60a #62a60a #4d9200; | ||
663 | |||
664 | background: #69b10b; | ||
665 | background-image: linear-gradient(to bottom, #9ad717, #69b10b); | ||
666 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#9ad717', endColorstr='#69b10b'); | ||
667 | } | ||
668 | |||
669 | a.cke_dialog_ui_button_ok:hover | ||
670 | { | ||
671 | border-color: #5b9909 #5b9909 #478500; | ||
672 | |||
673 | background: #88be14; | ||
674 | background: linear-gradient(to bottom, #88be14 0%,#5d9c0a 100%); | ||
675 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88be14', endColorstr='#5d9c0a',GradientType=0 ); | ||
676 | } | ||
677 | |||
678 | a.cke_dialog_ui_button_ok.cke_disabled { | ||
679 | border-color: #7D9F51; | ||
680 | |||
681 | background: #8DAD62; | ||
682 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#B3D271), to(#8DAD62)); | ||
683 | background-image: -webkit-linear-gradient(top, #B3D271, #8DAD62); | ||
684 | background-image: -o-linear-gradient(top, #B3D271, #8DAD62); | ||
685 | background-image: linear-gradient(to bottom, #B3D271, #8DAD62); | ||
686 | background-image: -moz-linear-gradient(top, #B3D271, #8DAD62); | ||
687 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#B3D271', endColorstr='#8DAD62'); | ||
688 | } | ||
689 | |||
690 | a.cke_dialog_ui_button_ok.cke_disabled span { | ||
691 | color: #E0E8D1; | ||
692 | } | ||
693 | |||
694 | /* Default text shadow used for inner parts of all dialog buttons (both in dialog tabs and dialog footer). */ | ||
695 | a.cke_dialog_ui_button span | ||
696 | { | ||
697 | text-shadow: 0 1px 0 #fff; | ||
698 | } | ||
699 | |||
700 | /* Text shadow used for inner part of OK dialog button in footer. */ | ||
701 | a.cke_dialog_ui_button_ok span | ||
702 | { | ||
703 | text-shadow: 0 -1px 0 #55830c; | ||
704 | } | ||
705 | |||
706 | span.cke_dialog_ui_button | ||
707 | { | ||
708 | cursor: pointer; | ||
709 | } | ||
710 | |||
711 | /* :focus/:active styles for dialog footer buttons (ok & cancel) */ | ||
712 | a.cke_dialog_ui_button_ok:focus, | ||
713 | a.cke_dialog_ui_button_ok:active, | ||
714 | a.cke_dialog_ui_button_cancel:focus, | ||
715 | a.cke_dialog_ui_button_cancel:active | ||
716 | { | ||
717 | border-width: 2px; | ||
718 | padding: 3px 0; | ||
719 | } | ||
720 | |||
721 | a.cke_dialog_ui_button_ok:focus, | ||
722 | a.cke_dialog_ui_button_ok:active | ||
723 | { | ||
724 | border-color: #568C0A; | ||
725 | } | ||
726 | |||
727 | a.cke_dialog_ui_button_ok.cke_disabled:focus, | ||
728 | a.cke_dialog_ui_button_ok.cke_disabled:active | ||
729 | { | ||
730 | border-color: #6F8C49; | ||
731 | } | ||
732 | |||
733 | /* :focus/:active styles for dialog footer buttons (ok & cancel) spans */ | ||
734 | a.cke_dialog_ui_button_ok:focus span, | ||
735 | a.cke_dialog_ui_button_ok:active span, | ||
736 | a.cke_dialog_ui_button_cancel:focus span, | ||
737 | a.cke_dialog_ui_button_cancel:active span | ||
738 | { | ||
739 | padding: 0 11px; /* Thick button border must be compensated. */ | ||
740 | } | ||
741 | |||
742 | /* A special container that holds the footer buttons. */ | ||
743 | .cke_dialog_footer_buttons | ||
744 | { | ||
745 | display: inline-table; | ||
746 | margin: 5px; | ||
747 | width: auto; | ||
748 | position: relative; | ||
749 | vertical-align: middle; | ||
750 | } | ||
751 | |||
752 | /* | ||
753 | Styles for other dialog element types. | ||
754 | */ | ||
755 | |||
756 | div.cke_dialog_ui_input_select | ||
757 | { | ||
758 | display: table; | ||
759 | } | ||
760 | |||
761 | select.cke_dialog_ui_input_select | ||
762 | { | ||
763 | height: 25px; | ||
764 | line-height: 25px; | ||
765 | |||
766 | background-color: #fff; | ||
767 | border: 1px solid #c9cccf; | ||
768 | border-top-color: #aeb3b9; | ||
769 | padding: 3px 3px 3px 6px; | ||
770 | outline: none; | ||
771 | border-radius: 3px; | ||
772 | box-shadow: 0 1px 2px rgba(0,0,0,.15) inset; | ||
773 | } | ||
774 | |||
775 | .cke_dialog_ui_input_file | ||
776 | { | ||
777 | width: 100%; | ||
778 | height: 25px; | ||
779 | } | ||
780 | |||
781 | .cke_hc .cke_dialog_ui_labeled_content input:focus, | ||
782 | .cke_hc .cke_dialog_ui_labeled_content select:focus, | ||
783 | .cke_hc .cke_dialog_ui_labeled_content textarea:focus | ||
784 | { | ||
785 | outline: 1px dotted; | ||
786 | } | ||
787 | |||
788 | /* | ||
789 | * Some utility CSS classes for dialog authors. | ||
790 | */ | ||
791 | .cke_dialog .cke_dark_background | ||
792 | { | ||
793 | background-color: #DEDEDE; | ||
794 | } | ||
795 | |||
796 | .cke_dialog .cke_light_background | ||
797 | { | ||
798 | background-color: #EBEBEB; | ||
799 | } | ||
800 | |||
801 | .cke_dialog .cke_centered | ||
802 | { | ||
803 | text-align: center; | ||
804 | } | ||
805 | |||
806 | .cke_dialog a.cke_btn_reset | ||
807 | { | ||
808 | float: right; | ||
809 | background: url(images/refresh.png) top left no-repeat; | ||
810 | width: 16px; | ||
811 | height: 16px; | ||
812 | border: 1px none; | ||
813 | font-size: 1px; | ||
814 | } | ||
815 | |||
816 | .cke_hidpi .cke_dialog a.cke_btn_reset { | ||
817 | background-size: 16px; | ||
818 | background-image: url(images/hidpi/refresh.png); | ||
819 | } | ||
820 | |||
821 | .cke_rtl .cke_dialog a.cke_btn_reset | ||
822 | { | ||
823 | float: left; | ||
824 | } | ||
825 | |||
826 | .cke_dialog a.cke_btn_locked, | ||
827 | .cke_dialog a.cke_btn_unlocked | ||
828 | { | ||
829 | float: left; | ||
830 | width: 16px; | ||
831 | height: 16px; | ||
832 | background-repeat: no-repeat; | ||
833 | border: none 1px; | ||
834 | font-size: 1px; | ||
835 | } | ||
836 | |||
837 | .cke_dialog a.cke_btn_locked .cke_icon | ||
838 | { | ||
839 | display: none; | ||
840 | } | ||
841 | |||
842 | .cke_rtl .cke_dialog a.cke_btn_locked, | ||
843 | .cke_rtl .cke_dialog a.cke_btn_unlocked | ||
844 | { | ||
845 | float: right; | ||
846 | } | ||
847 | |||
848 | .cke_dialog a.cke_btn_locked | ||
849 | { | ||
850 | background-image: url(images/lock.png); | ||
851 | } | ||
852 | |||
853 | .cke_dialog a.cke_btn_unlocked | ||
854 | { | ||
855 | background-image: url(images/lock-open.png); | ||
856 | } | ||
857 | |||
858 | .cke_hidpi .cke_dialog a.cke_btn_unlocked, | ||
859 | .cke_hidpi .cke_dialog a.cke_btn_locked { | ||
860 | background-size: 16px; | ||
861 | } | ||
862 | |||
863 | .cke_hidpi .cke_dialog a.cke_btn_locked { | ||
864 | background-image: url(images/hidpi/lock.png); | ||
865 | } | ||
866 | |||
867 | .cke_hidpi .cke_dialog a.cke_btn_unlocked { | ||
868 | background-image: url(images/hidpi/lock-open.png); | ||
869 | } | ||
870 | |||
871 | .cke_dialog .cke_btn_over | ||
872 | { | ||
873 | border: outset 1px; | ||
874 | cursor: pointer; | ||
875 | } | ||
876 | |||
877 | /* | ||
878 | The rest of the file contains style used on several common plugins. There is a | ||
879 | tendency that these will be moved to the plugins code in the future. | ||
880 | */ | ||
881 | |||
882 | .cke_dialog .ImagePreviewBox | ||
883 | { | ||
884 | border: 2px ridge black; | ||
885 | overflow: scroll; | ||
886 | height: 200px; | ||
887 | width: 300px; | ||
888 | padding: 2px; | ||
889 | background-color: white; | ||
890 | } | ||
891 | |||
892 | .cke_dialog .ImagePreviewBox table td | ||
893 | { | ||
894 | white-space: normal; | ||
895 | } | ||
896 | |||
897 | .cke_dialog .ImagePreviewLoader | ||
898 | { | ||
899 | position: absolute; | ||
900 | white-space: normal; | ||
901 | overflow: hidden; | ||
902 | height: 160px; | ||
903 | width: 230px; | ||
904 | margin: 2px; | ||
905 | padding: 2px; | ||
906 | opacity: 0.9; | ||
907 | filter: alpha(opacity = 90); | ||
908 | |||
909 | background-color: #e4e4e4; | ||
910 | } | ||
911 | |||
912 | .cke_dialog .FlashPreviewBox | ||
913 | { | ||
914 | white-space: normal; | ||
915 | border: 2px ridge black; | ||
916 | overflow: auto; | ||
917 | height: 160px; | ||
918 | width: 390px; | ||
919 | padding: 2px; | ||
920 | background-color: white; | ||
921 | } | ||
922 | |||
923 | .cke_dialog .cke_pastetext | ||
924 | { | ||
925 | width: 346px; | ||
926 | height: 170px; | ||
927 | } | ||
928 | |||
929 | .cke_dialog .cke_pastetext textarea | ||
930 | { | ||
931 | width: 340px; | ||
932 | height: 170px; | ||
933 | resize: none; | ||
934 | } | ||
935 | |||
936 | .cke_dialog iframe.cke_pasteframe | ||
937 | { | ||
938 | width: 346px; | ||
939 | height: 130px; | ||
940 | background-color: white; | ||
941 | border: 1px solid #aeb3b9; | ||
942 | border-radius: 3px; | ||
943 | } | ||
944 | |||
945 | .cke_dialog .cke_hand | ||
946 | { | ||
947 | cursor: pointer; | ||
948 | } | ||
949 | |||
950 | .cke_disabled | ||
951 | { | ||
952 | color: #a0a0a0; | ||
953 | } | ||
954 | |||
955 | .cke_dialog_body .cke_label | ||
956 | { | ||
957 | display: none; | ||
958 | } | ||
959 | |||
960 | .cke_dialog_body label | ||
961 | { | ||
962 | display: inline; | ||
963 | margin-bottom: auto; | ||
964 | cursor: default; | ||
965 | } | ||
966 | |||
967 | .cke_dialog_body label.cke_required | ||
968 | { | ||
969 | font-weight: bold; | ||
970 | } | ||
971 | |||
972 | a.cke_smile | ||
973 | { | ||
974 | overflow: hidden; | ||
975 | display: block; | ||
976 | text-align: center; | ||
977 | padding: 0.3em 0; | ||
978 | } | ||
979 | |||
980 | a.cke_smile img | ||
981 | { | ||
982 | vertical-align: middle; | ||
983 | } | ||
984 | |||
985 | a.cke_specialchar | ||
986 | { | ||
987 | cursor: inherit; | ||
988 | display: block; | ||
989 | height: 1.25em; | ||
990 | padding: 0.2em 0.3em; | ||
991 | text-align: center; | ||
992 | } | ||
993 | |||
994 | a.cke_smile, | ||
995 | a.cke_specialchar | ||
996 | { | ||
997 | border: 1px solid transparent; | ||
998 | } | ||
999 | |||
1000 | a.cke_smile:hover, | ||
1001 | a.cke_smile:focus, | ||
1002 | a.cke_smile:active, | ||
1003 | a.cke_specialchar:hover, | ||
1004 | a.cke_specialchar:focus, | ||
1005 | a.cke_specialchar:active | ||
1006 | { | ||
1007 | background: #fff; | ||
1008 | outline: 0; | ||
1009 | } | ||
1010 | |||
1011 | a.cke_smile:hover, | ||
1012 | a.cke_specialchar:hover | ||
1013 | { | ||
1014 | border-color: #888; | ||
1015 | } | ||
1016 | |||
1017 | a.cke_smile:focus, | ||
1018 | a.cke_smile:active, | ||
1019 | a.cke_specialchar:focus, | ||
1020 | a.cke_specialchar:active | ||
1021 | { | ||
1022 | border-color: #139FF7; | ||
1023 | } | ||
1024 | |||
1025 | /** | ||
1026 | * Styles specific to "cellProperties" dialog. | ||
1027 | */ | ||
1028 | |||
1029 | .cke_dialog_contents a.colorChooser | ||
1030 | { | ||
1031 | display: block; | ||
1032 | margin-top: 6px; | ||
1033 | margin-left: 10px; | ||
1034 | width: 80px; | ||
1035 | } | ||
1036 | |||
1037 | .cke_rtl .cke_dialog_contents a.colorChooser | ||
1038 | { | ||
1039 | margin-right: 10px; | ||
1040 | } | ||
1041 | |||
1042 | /* Compensate focus outline for some input elements. (#6200) */ | ||
1043 | .cke_dialog_ui_checkbox_input:focus, | ||
1044 | .cke_dialog_ui_radio_input:focus, | ||
1045 | .cke_btn_over | ||
1046 | { | ||
1047 | outline: 1px dotted #696969; | ||
1048 | } | ||
1049 | |||
1050 | .cke_iframe_shim | ||
1051 | { | ||
1052 | display: block; | ||
1053 | position: absolute; | ||
1054 | top: 0; | ||
1055 | left: 0; | ||
1056 | z-index: -1; | ||
1057 | filter: alpha(opacity = 0); | ||
1058 | width: 100%; | ||
1059 | height: 100%; | ||
1060 | } | ||
diff --git a/sources/skins/moonocolor/dialog_ie.css b/sources/skins/moonocolor/dialog_ie.css new file mode 100644 index 0000000..ca02a47 --- /dev/null +++ b/sources/skins/moonocolor/dialog_ie.css | |||
@@ -0,0 +1,62 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | dialog_ie.css | ||
8 | =============== | ||
9 | |||
10 | This file contains styles to used by all versions of Internet Explorer only. | ||
11 | */ | ||
12 | |||
13 | /* Base it on dialog.css, overriding it with styles defined in this file. */ | ||
14 | @import url("dialog.css"); | ||
15 | |||
16 | /* IE doesn't leave enough padding in text input for cursor to blink in RTL. (#6087) */ | ||
17 | .cke_rtl input.cke_dialog_ui_input_text, | ||
18 | .cke_rtl input.cke_dialog_ui_input_password | ||
19 | { | ||
20 | padding-right: 2px; | ||
21 | } | ||
22 | /* Compensate the padding added above on container. */ | ||
23 | .cke_rtl div.cke_dialog_ui_input_text, | ||
24 | .cke_rtl div.cke_dialog_ui_input_password | ||
25 | { | ||
26 | padding-left: 2px; | ||
27 | } | ||
28 | .cke_rtl div.cke_dialog_ui_input_text { | ||
29 | padding-right: 1px; | ||
30 | } | ||
31 | |||
32 | .cke_rtl .cke_dialog_ui_vbox_child, | ||
33 | .cke_rtl .cke_dialog_ui_hbox_child, | ||
34 | .cke_rtl .cke_dialog_ui_hbox_first, | ||
35 | .cke_rtl .cke_dialog_ui_hbox_last | ||
36 | { | ||
37 | padding-right: 2px !important; | ||
38 | } | ||
39 | |||
40 | |||
41 | /* Disable filters for HC mode. */ | ||
42 | .cke_hc .cke_dialog_title, | ||
43 | .cke_hc .cke_dialog_footer, | ||
44 | .cke_hc a.cke_dialog_tab, | ||
45 | .cke_hc a.cke_dialog_ui_button, | ||
46 | .cke_hc a.cke_dialog_ui_button:hover, | ||
47 | .cke_hc a.cke_dialog_ui_button_ok, | ||
48 | .cke_hc a.cke_dialog_ui_button_ok:hover | ||
49 | { | ||
50 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | ||
51 | } | ||
52 | |||
53 | /* Remove border from dialog field wrappers in HC | ||
54 | to avoid double borders. */ | ||
55 | .cke_hc div.cke_dialog_ui_input_text, | ||
56 | .cke_hc div.cke_dialog_ui_input_password, | ||
57 | .cke_hc div.cke_dialog_ui_input_textarea, | ||
58 | .cke_hc div.cke_dialog_ui_input_select, | ||
59 | .cke_hc div.cke_dialog_ui_input_file | ||
60 | { | ||
61 | border: 0; | ||
62 | } | ||
diff --git a/sources/skins/moonocolor/dialog_ie7.css b/sources/skins/moonocolor/dialog_ie7.css new file mode 100644 index 0000000..29ac5d0 --- /dev/null +++ b/sources/skins/moonocolor/dialog_ie7.css | |||
@@ -0,0 +1,68 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | dialog_ie7.css | ||
8 | =============== | ||
9 | |||
10 | This file contains styles to used by Internet Explorer 7 only. | ||
11 | */ | ||
12 | |||
13 | /* Base it on dialog_ie.css, overriding it with styles defined in this file. */ | ||
14 | @import url("dialog_ie.css"); | ||
15 | |||
16 | .cke_dialog_title | ||
17 | { | ||
18 | /* gradient fix */ | ||
19 | zoom: 1; | ||
20 | } | ||
21 | |||
22 | .cke_dialog_footer | ||
23 | { | ||
24 | /* IE7 ignores footer's outline. Use border instead. */ | ||
25 | border-top: 1px solid #bfbfbf; | ||
26 | } | ||
27 | |||
28 | /* IE7 needs position static #6806 */ | ||
29 | .cke_dialog_footer_buttons | ||
30 | { | ||
31 | position: static; | ||
32 | } | ||
33 | |||
34 | /* IE7 crops the bottom pixels of footer buttons (#9491) */ | ||
35 | .cke_dialog_footer_buttons a.cke_dialog_ui_button | ||
36 | { | ||
37 | vertical-align: top; | ||
38 | } | ||
39 | |||
40 | /* IE7 margin loose on float. */ | ||
41 | .cke_dialog .cke_resizer_ltr | ||
42 | { | ||
43 | padding-left: 4px; | ||
44 | } | ||
45 | .cke_dialog .cke_resizer_rtl | ||
46 | { | ||
47 | padding-right: 4px; | ||
48 | } | ||
49 | |||
50 | /* IE7 doesn't support box-sizing and therefore we cannot | ||
51 | have sexy inputs which go well with the layout. */ | ||
52 | .cke_dialog_ui_input_text, | ||
53 | .cke_dialog_ui_input_password, | ||
54 | .cke_dialog_ui_input_textarea, | ||
55 | .cke_dialog_ui_input_select | ||
56 | { | ||
57 | padding: 0 !important; | ||
58 | } | ||
59 | |||
60 | /* Predefined border to avoid visual size change impact. */ | ||
61 | .cke_dialog_ui_checkbox_input, | ||
62 | .cke_dialog_ui_ratio_input, | ||
63 | .cke_btn_reset, | ||
64 | .cke_btn_locked, | ||
65 | .cke_btn_unlocked | ||
66 | { | ||
67 | border: 1px solid transparent !important; | ||
68 | } | ||
diff --git a/sources/skins/moonocolor/dialog_ie8.css b/sources/skins/moonocolor/dialog_ie8.css new file mode 100644 index 0000000..1a7a36c --- /dev/null +++ b/sources/skins/moonocolor/dialog_ie8.css | |||
@@ -0,0 +1,24 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | dialog_ie8.css | ||
8 | =============== | ||
9 | |||
10 | This file contains styles to used by Internet Explorer 8 only. | ||
11 | */ | ||
12 | |||
13 | /* Base it on dialog_ie.css, overriding it with styles defined in this file. */ | ||
14 | @import url("dialog_ie.css"); | ||
15 | |||
16 | /* Without the following, IE8 cannot compensate footer button thick borders | ||
17 | on :focus/:active. */ | ||
18 | a.cke_dialog_ui_button_ok:focus span, | ||
19 | a.cke_dialog_ui_button_ok:active span, | ||
20 | a.cke_dialog_ui_button_cancel:focus span, | ||
21 | a.cke_dialog_ui_button_cancel:active span | ||
22 | { | ||
23 | display: block; | ||
24 | } | ||
diff --git a/sources/skins/moonocolor/dialog_iequirks.css b/sources/skins/moonocolor/dialog_iequirks.css new file mode 100644 index 0000000..9f27a99 --- /dev/null +++ b/sources/skins/moonocolor/dialog_iequirks.css | |||
@@ -0,0 +1,21 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | dialog_ie7.css | ||
8 | =============== | ||
9 | |||
10 | This file contains styles to used by Internet Explorer in | ||
11 | Quirks mode only. | ||
12 | */ | ||
13 | |||
14 | /* Base it on dialog_ie.css, overriding it with styles defined in this file. */ | ||
15 | @import url("dialog_ie.css"); | ||
16 | |||
17 | /* [IE7-8] Filter on footer causes background artifacts when opening dialog. */ | ||
18 | .cke_dialog_footer | ||
19 | { | ||
20 | filter: ""; | ||
21 | } | ||
diff --git a/sources/skins/moonocolor/editor.css b/sources/skins/moonocolor/editor.css new file mode 100644 index 0000000..9d32984 --- /dev/null +++ b/sources/skins/moonocolor/editor.css | |||
@@ -0,0 +1,69 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | editor.css | ||
8 | ============ | ||
9 | |||
10 | This is he heart of the skin system. This is the file loaded by the editor to | ||
11 | style all elements inside its main interface. | ||
12 | |||
13 | To make it easier to maintain, instead of including all styles here, we import | ||
14 | other files. | ||
15 | */ | ||
16 | |||
17 | /* "Reset" styles, necessary to avoid the editor UI being broken by external CSS. */ | ||
18 | @import url("reset.css"); | ||
19 | |||
20 | /* Styles the main interface structure (holding box). */ | ||
21 | @import url("mainui.css"); | ||
22 | |||
23 | /* Styles all "panels", which are the floating elements that appear when | ||
24 | opening toolbar combos, menu buttons, context menus, etc. */ | ||
25 | @import url("panel.css"); | ||
26 | |||
27 | /* Styles the color panel displayed by the color buttons. */ | ||
28 | @import url("colorpanel.css"); | ||
29 | |||
30 | /* Styles to toolbar. */ | ||
31 | @import url("toolbar.css"); | ||
32 | |||
33 | /* Styles menus, which are lists of selectable items (context menu, menu button). */ | ||
34 | @import url("menu.css"); | ||
35 | |||
36 | /* Styles toolbar combos. */ | ||
37 | @import url("richcombo.css"); | ||
38 | |||
39 | /* Styles the elements path bar, available at the bottom of the editor UI.*/ | ||
40 | @import url("elementspath.css"); | ||
41 | |||
42 | /* Contains hard-coded presets for "configurable-like" options of the UI | ||
43 | (e.g. display labels on specific buttons) */ | ||
44 | @import url("presets.css"); | ||
45 | |||
46 | /* Styles for notifications. */ | ||
47 | @import url("notification.css"); | ||
48 | |||
49 | /* Important! | ||
50 | To avoid showing the editor UI while its styles are still not available, the | ||
51 | editor creates it with visibility:hidden. Here, we restore the UI visibility. */ | ||
52 | .cke_chrome | ||
53 | { | ||
54 | visibility: inherit; | ||
55 | } | ||
56 | |||
57 | /* For accessibility purposes, several "voice labels" are present in the UI. | ||
58 | These are usually <span> elements that show not be visible, but that are | ||
59 | used by screen-readers to announce other elements. Here, we hide these | ||
60 | <spans>, in fact. */ | ||
61 | .cke_voice_label | ||
62 | { | ||
63 | display: none; | ||
64 | } | ||
65 | |||
66 | legend.cke_voice_label | ||
67 | { | ||
68 | display: none; | ||
69 | } | ||
diff --git a/sources/skins/moonocolor/editor_gecko.css b/sources/skins/moonocolor/editor_gecko.css new file mode 100644 index 0000000..af24488 --- /dev/null +++ b/sources/skins/moonocolor/editor_gecko.css | |||
@@ -0,0 +1,25 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | editor_gecko.css | ||
8 | ================== | ||
9 | |||
10 | This file contains styles to used by all Gecko based browsers (Firefox) only. | ||
11 | */ | ||
12 | |||
13 | /* Base it on editor.css, overriding it with styles defined in this file. */ | ||
14 | @import url("editor.css"); | ||
15 | |||
16 | .cke_bottom | ||
17 | { | ||
18 | padding-bottom: 3px; | ||
19 | } | ||
20 | |||
21 | .cke_combo_text | ||
22 | { | ||
23 | margin-bottom: -1px; | ||
24 | margin-top: 1px; | ||
25 | } | ||
diff --git a/sources/skins/moonocolor/editor_ie.css b/sources/skins/moonocolor/editor_ie.css new file mode 100644 index 0000000..756098e --- /dev/null +++ b/sources/skins/moonocolor/editor_ie.css | |||
@@ -0,0 +1,71 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | editor_ie.css | ||
8 | =============== | ||
9 | |||
10 | This file contains styles to used by all versions of Internet Explorer only. | ||
11 | */ | ||
12 | |||
13 | /* Base it on editor.css, overriding it with styles defined in this file. */ | ||
14 | @import url("editor.css"); | ||
15 | |||
16 | a.cke_button_disabled, | ||
17 | |||
18 | /* Those two are to overwrite the gradient filter since we cannot have both of them. */ | ||
19 | a.cke_button_disabled:hover, | ||
20 | a.cke_button_disabled:focus, | ||
21 | a.cke_button_disabled:active | ||
22 | { | ||
23 | filter: alpha(opacity = 30); | ||
24 | } | ||
25 | |||
26 | /* PNG Alpha Transparency Fix For IE<9 */ | ||
27 | .cke_button_disabled .cke_button_icon | ||
28 | { | ||
29 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff, endColorstr=#00ffffff); | ||
30 | } | ||
31 | |||
32 | .cke_button_off:hover, | ||
33 | .cke_button_off:focus, | ||
34 | .cke_button_off:active | ||
35 | { | ||
36 | filter: alpha(opacity = 100); | ||
37 | } | ||
38 | |||
39 | .cke_combo_disabled .cke_combo_inlinelabel, | ||
40 | .cke_combo_disabled .cke_combo_open | ||
41 | { | ||
42 | filter: alpha(opacity = 30); | ||
43 | } | ||
44 | |||
45 | .cke_toolbox_collapser | ||
46 | { | ||
47 | border: 1px solid #a6a6a6; | ||
48 | } | ||
49 | |||
50 | .cke_toolbox_collapser .cke_arrow | ||
51 | { | ||
52 | margin-top: 1px; | ||
53 | } | ||
54 | |||
55 | /* Gradient filters must be removed for HC mode to reveal the background. */ | ||
56 | .cke_hc .cke_top, | ||
57 | .cke_hc .cke_bottom, | ||
58 | .cke_hc .cke_combo_button, | ||
59 | .cke_hc a.cke_combo_button:hover, | ||
60 | .cke_hc a.cke_combo_button:focus, | ||
61 | .cke_hc .cke_toolgroup, | ||
62 | .cke_hc .cke_button_on, | ||
63 | .cke_hc a.cke_button_off:hover, | ||
64 | .cke_hc a.cke_button_off:focus, | ||
65 | .cke_hc a.cke_button_off:active, | ||
66 | .cke_hc .cke_toolbox_collapser, | ||
67 | .cke_hc .cke_toolbox_collapser:hover, | ||
68 | .cke_hc .cke_panel_grouptitle | ||
69 | { | ||
70 | filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); | ||
71 | } | ||
diff --git a/sources/skins/moonocolor/editor_ie7.css b/sources/skins/moonocolor/editor_ie7.css new file mode 100644 index 0000000..8d50ebc --- /dev/null +++ b/sources/skins/moonocolor/editor_ie7.css | |||
@@ -0,0 +1,213 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | editor_ie7.css | ||
8 | =============== | ||
9 | |||
10 | This file contains styles to used by Internet Explorer 7 only. | ||
11 | */ | ||
12 | |||
13 | /* Base it on editor_ie.css, overriding it with styles defined in this file. */ | ||
14 | @import url("editor_ie.css"); | ||
15 | |||
16 | .cke_rtl .cke_toolgroup, | ||
17 | .cke_rtl .cke_toolbar_separator, | ||
18 | .cke_rtl .cke_button, | ||
19 | .cke_rtl .cke_button *, | ||
20 | .cke_rtl .cke_combo, | ||
21 | .cke_rtl .cke_combo *, | ||
22 | .cke_rtl .cke_path_item, | ||
23 | .cke_rtl .cke_path_item *, | ||
24 | .cke_rtl .cke_path_empty | ||
25 | { | ||
26 | float: none; | ||
27 | } | ||
28 | |||
29 | .cke_rtl .cke_toolgroup, | ||
30 | .cke_rtl .cke_toolbar_separator, | ||
31 | .cke_rtl .cke_combo_button, | ||
32 | .cke_rtl .cke_combo_button *, | ||
33 | .cke_rtl .cke_button, | ||
34 | .cke_rtl .cke_button_icon | ||
35 | { | ||
36 | display: inline-block; | ||
37 | vertical-align: top; | ||
38 | } | ||
39 | |||
40 | .cke_toolbox | ||
41 | { | ||
42 | display:inline-block; | ||
43 | padding-bottom: 5px; | ||
44 | height: 100%; | ||
45 | } | ||
46 | .cke_rtl .cke_toolbox | ||
47 | { | ||
48 | padding-bottom: 0; | ||
49 | } | ||
50 | |||
51 | .cke_toolbar | ||
52 | { | ||
53 | margin-bottom: 5px; | ||
54 | } | ||
55 | .cke_rtl .cke_toolbar | ||
56 | { | ||
57 | margin-bottom: 0; | ||
58 | } | ||
59 | |||
60 | /* IE7: toolgroup must be adapted to toolbar items height. */ | ||
61 | .cke_toolgroup | ||
62 | { | ||
63 | height: 26px; | ||
64 | } | ||
65 | |||
66 | /* Avoid breaking elements that use background gradient when page zoom > 1 (#9548) */ | ||
67 | .cke_toolgroup, | ||
68 | .cke_combo | ||
69 | { | ||
70 | position: relative; | ||
71 | } | ||
72 | |||
73 | a.cke_button | ||
74 | { | ||
75 | /* IE7: buttons must not float to wrap the toolbar in a whole. */ | ||
76 | float:none; | ||
77 | |||
78 | /* IE7: buttons have to be aligned to top. Otherwise, some buttons like | ||
79 | * source and scayt are displayed a few pixels below the base line. | ||
80 | */ | ||
81 | vertical-align:top; | ||
82 | } | ||
83 | |||
84 | .cke_toolbar_separator | ||
85 | { | ||
86 | display: inline-block; | ||
87 | float: none; | ||
88 | vertical-align: top; | ||
89 | background-color: #c0c0c0; | ||
90 | } | ||
91 | |||
92 | .cke_toolbox_collapser .cke_arrow | ||
93 | { | ||
94 | margin-top: 0; | ||
95 | } | ||
96 | .cke_toolbox_collapser .cke_arrow | ||
97 | { | ||
98 | border-width:4px; | ||
99 | } | ||
100 | .cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow | ||
101 | { | ||
102 | border-width:3px; | ||
103 | } | ||
104 | |||
105 | .cke_rtl .cke_button_arrow | ||
106 | { | ||
107 | padding-top: 8px; | ||
108 | margin-right: 2px; | ||
109 | } | ||
110 | |||
111 | .cke_rtl .cke_combo_inlinelabel | ||
112 | { | ||
113 | display: table-cell; | ||
114 | vertical-align: middle; | ||
115 | } | ||
116 | |||
117 | /* | ||
118 | * Editor menus are display:table-driven. IE7 doesn't support this approach, | ||
119 | * hence this position&float hybrid fall-back. | ||
120 | */ | ||
121 | .cke_menubutton | ||
122 | { | ||
123 | display: block; | ||
124 | height: 24px; | ||
125 | } | ||
126 | |||
127 | .cke_menubutton_inner | ||
128 | { | ||
129 | display: block; | ||
130 | position: relative; | ||
131 | } | ||
132 | |||
133 | .cke_menubutton_icon | ||
134 | { | ||
135 | height: 16px; | ||
136 | width: 16px; | ||
137 | } | ||
138 | |||
139 | .cke_menubutton_icon, | ||
140 | .cke_menubutton_label, | ||
141 | .cke_menuarrow | ||
142 | { | ||
143 | display: inline-block; | ||
144 | } | ||
145 | |||
146 | .cke_menubutton_label | ||
147 | { | ||
148 | width: auto; | ||
149 | vertical-align: top; | ||
150 | line-height: 24px; | ||
151 | height: 24px; | ||
152 | margin: 0 10px 0 0; | ||
153 | } | ||
154 | |||
155 | .cke_menuarrow | ||
156 | { | ||
157 | width: 5px; | ||
158 | height: 6px; | ||
159 | padding: 0; | ||
160 | position: absolute; | ||
161 | right: 8px; | ||
162 | top: 10px; | ||
163 | |||
164 | background-position: 0 0; | ||
165 | } | ||
166 | |||
167 | /* Menus in RTL mode. */ | ||
168 | .cke_rtl .cke_menubutton_icon | ||
169 | { | ||
170 | position: absolute; | ||
171 | right: 0px; | ||
172 | top: 0px; | ||
173 | } | ||
174 | |||
175 | .cke_rtl .cke_menubutton_label | ||
176 | { | ||
177 | float: right; | ||
178 | clear: both; | ||
179 | margin: 0 24px 0 10px; | ||
180 | } | ||
181 | |||
182 | .cke_hc .cke_rtl .cke_menubutton_label | ||
183 | { | ||
184 | margin-right: 0; | ||
185 | } | ||
186 | |||
187 | |||
188 | .cke_rtl .cke_menuarrow | ||
189 | { | ||
190 | left: 8px; | ||
191 | right: auto; | ||
192 | background-position: 0 -24px; | ||
193 | } | ||
194 | |||
195 | .cke_hc .cke_menuarrow | ||
196 | { | ||
197 | top: 5px; | ||
198 | padding: 0 5px; | ||
199 | } | ||
200 | |||
201 | .cke_rtl input.cke_dialog_ui_input_text, | ||
202 | .cke_rtl input.cke_dialog_ui_input_password | ||
203 | { | ||
204 | /* Positioning is required for IE7 on text inputs not to stretch dialog horizontally. (#8971)*/ | ||
205 | position: relative; | ||
206 | } | ||
207 | |||
208 | /* Reset vertical paddings which put editing area under bottom UI space. (#9721) */ | ||
209 | .cke_wysiwyg_div | ||
210 | { | ||
211 | padding-top: 0 !important; | ||
212 | padding-bottom: 0 !important; | ||
213 | } | ||
diff --git a/sources/skins/moonocolor/editor_ie8.css b/sources/skins/moonocolor/editor_ie8.css new file mode 100644 index 0000000..864a542 --- /dev/null +++ b/sources/skins/moonocolor/editor_ie8.css | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | editor_ie8.css | ||
8 | =============== | ||
9 | |||
10 | This file contains styles to used by Internet Explorer 8 only. | ||
11 | */ | ||
12 | |||
13 | /* Base it on editor_ie.css, overriding it with styles defined in this file. */ | ||
14 | @import url("editor_ie.css"); | ||
15 | |||
16 | .cke_toolbox_collapser .cke_arrow | ||
17 | { | ||
18 | border-width:4px; | ||
19 | } | ||
20 | .cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow | ||
21 | { | ||
22 | border-width:3px; | ||
23 | } | ||
24 | .cke_toolbox_collapser .cke_arrow | ||
25 | { | ||
26 | margin-top: 0; | ||
27 | } | ||
diff --git a/sources/skins/moonocolor/editor_iequirks.css b/sources/skins/moonocolor/editor_iequirks.css new file mode 100644 index 0000000..b4efa0f --- /dev/null +++ b/sources/skins/moonocolor/editor_iequirks.css | |||
@@ -0,0 +1,79 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | editor_iequirks.css | ||
8 | =============== | ||
9 | |||
10 | This file contains styles to used by all versions of Internet Explorer | ||
11 | in Quirks mode only. | ||
12 | */ | ||
13 | |||
14 | /* Base it on editor_ie.css, overriding it with styles defined in this file. */ | ||
15 | @import url("editor_ie.css"); | ||
16 | |||
17 | .cke_top, | ||
18 | .cke_contents, | ||
19 | .cke_bottom | ||
20 | { | ||
21 | width: 100%; /* hasLayout = true */ | ||
22 | } | ||
23 | |||
24 | .cke_button_arrow | ||
25 | { | ||
26 | font-size: 0; /* Set minimal font size, so arrow won't be streched by the text that doesn't exist. */ | ||
27 | } | ||
28 | |||
29 | /* Bring back toolbar buttons in RTL. */ | ||
30 | |||
31 | .cke_rtl .cke_toolgroup, | ||
32 | .cke_rtl .cke_toolbar_separator, | ||
33 | .cke_rtl .cke_button, | ||
34 | .cke_rtl .cke_button *, | ||
35 | .cke_rtl .cke_combo, | ||
36 | .cke_rtl .cke_combo *, | ||
37 | .cke_rtl .cke_path_item, | ||
38 | .cke_rtl .cke_path_item *, | ||
39 | .cke_rtl .cke_path_empty | ||
40 | { | ||
41 | float: none; | ||
42 | } | ||
43 | |||
44 | .cke_rtl .cke_toolgroup, | ||
45 | .cke_rtl .cke_toolbar_separator, | ||
46 | .cke_rtl .cke_combo_button, | ||
47 | .cke_rtl .cke_combo_button *, | ||
48 | .cke_rtl .cke_button, | ||
49 | .cke_rtl .cke_button_icon | ||
50 | { | ||
51 | display: inline-block; | ||
52 | vertical-align: top; | ||
53 | } | ||
54 | |||
55 | /* Otherwise formatting toolbar breaks when editing a mixed content (#9893). */ | ||
56 | .cke_rtl .cke_button_icon | ||
57 | { | ||
58 | float: none; | ||
59 | } | ||
60 | |||
61 | .cke_resizer | ||
62 | { | ||
63 | width: 10px; | ||
64 | } | ||
65 | |||
66 | .cke_source | ||
67 | { | ||
68 | white-space: normal; | ||
69 | } | ||
70 | |||
71 | .cke_bottom | ||
72 | { | ||
73 | position: static; /* Without this bottom space doesn't move when resizing editor. */ | ||
74 | } | ||
75 | |||
76 | .cke_colorbox | ||
77 | { | ||
78 | font-size: 0; /* Set minimal font size, so button won't be streched by the text that doesn't exist. */ | ||
79 | } | ||
diff --git a/sources/skins/moonocolor/elementspath.css b/sources/skins/moonocolor/elementspath.css new file mode 100644 index 0000000..ccf579c --- /dev/null +++ b/sources/skins/moonocolor/elementspath.css | |||
@@ -0,0 +1,76 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | elementspath.css (part of editor.css) | ||
8 | ======================================= | ||
9 | |||
10 | This file styles the "Elements Path", whith is the list of element names | ||
11 | present at the the bottom bar of the CKEditor interface. | ||
12 | |||
13 | The following is a visual representation of its main elements: | ||
14 | |||
15 | +-- .cke_path ---------------------------------------------------------------+ | ||
16 | | +-- .cke_path_item ----+ +-- .cke_path_item ----+ +-- .cke_path_empty ---+ | | ||
17 | | | | | | | | | | ||
18 | | +----------------------+ +----------------------+ +----------------------+ | | ||
19 | +----------------------------------------------------------------------------+ | ||
20 | */ | ||
21 | |||
22 | /* The box that holds the entire elements path. */ | ||
23 | .cke_path | ||
24 | { | ||
25 | float: left; | ||
26 | margin: -2px 0 2px; | ||
27 | } | ||
28 | |||
29 | /* Each item of the elements path. */ | ||
30 | a.cke_path_item, | ||
31 | /* Empty element available at the end of the elements path, to help us keeping | ||
32 | the proper box size when the elements path is empty. */ | ||
33 | span.cke_path_empty | ||
34 | { | ||
35 | display: inline-block; | ||
36 | float: left; | ||
37 | padding: 3px 4px; | ||
38 | margin-right: 2px; | ||
39 | cursor: default; | ||
40 | text-decoration: none; | ||
41 | outline: 0; | ||
42 | border: 0; | ||
43 | color: #4c4c4c; | ||
44 | text-shadow: 0 1px 0 #fff; | ||
45 | font-weight: bold; | ||
46 | font-size: 11px; | ||
47 | } | ||
48 | |||
49 | .cke_rtl .cke_path, | ||
50 | .cke_rtl .cke_path_item, | ||
51 | .cke_rtl .cke_path_empty | ||
52 | { | ||
53 | float: right; | ||
54 | } | ||
55 | |||
56 | /* The items are <a> elements, so we define its hover states here. */ | ||
57 | a.cke_path_item:hover, | ||
58 | a.cke_path_item:focus, | ||
59 | a.cke_path_item:active | ||
60 | { | ||
61 | background-color: #bfbfbf; | ||
62 | color: #333; | ||
63 | text-shadow: 0 1px 0 rgba(255,255,255,.5); | ||
64 | |||
65 | border-radius: 2px; | ||
66 | |||
67 | box-shadow: 0 0 4px rgba(0,0,0,.5) inset, 0 1px 0 rgba(255,255,255,.5); | ||
68 | } | ||
69 | |||
70 | .cke_hc a.cke_path_item:hover, | ||
71 | .cke_hc a.cke_path_item:focus, | ||
72 | .cke_hc a.cke_path_item:active | ||
73 | { | ||
74 | border: 2px solid; | ||
75 | padding: 1px 2px; | ||
76 | } | ||
diff --git a/sources/skins/moonocolor/icons/about.png b/sources/skins/moonocolor/icons/about.png new file mode 100644 index 0000000..f22c6c7 --- /dev/null +++ b/sources/skins/moonocolor/icons/about.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/anchor-rtl.png b/sources/skins/moonocolor/icons/anchor-rtl.png new file mode 100644 index 0000000..1a7faf1 --- /dev/null +++ b/sources/skins/moonocolor/icons/anchor-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/anchor.png b/sources/skins/moonocolor/icons/anchor.png new file mode 100644 index 0000000..973a518 --- /dev/null +++ b/sources/skins/moonocolor/icons/anchor.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/bgcolor.png b/sources/skins/moonocolor/icons/bgcolor.png new file mode 100644 index 0000000..07074b7 --- /dev/null +++ b/sources/skins/moonocolor/icons/bgcolor.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/bidiltr.png b/sources/skins/moonocolor/icons/bidiltr.png new file mode 100644 index 0000000..7f82bc6 --- /dev/null +++ b/sources/skins/moonocolor/icons/bidiltr.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/bidirtl.png b/sources/skins/moonocolor/icons/bidirtl.png new file mode 100644 index 0000000..ca55b06 --- /dev/null +++ b/sources/skins/moonocolor/icons/bidirtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/blockquote.png b/sources/skins/moonocolor/icons/blockquote.png new file mode 100644 index 0000000..0ab06d5 --- /dev/null +++ b/sources/skins/moonocolor/icons/blockquote.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/bold.png b/sources/skins/moonocolor/icons/bold.png new file mode 100644 index 0000000..583a622 --- /dev/null +++ b/sources/skins/moonocolor/icons/bold.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/bulletedlist-rtl.png b/sources/skins/moonocolor/icons/bulletedlist-rtl.png new file mode 100644 index 0000000..ba0246e --- /dev/null +++ b/sources/skins/moonocolor/icons/bulletedlist-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/bulletedlist.png b/sources/skins/moonocolor/icons/bulletedlist.png new file mode 100644 index 0000000..03b447e --- /dev/null +++ b/sources/skins/moonocolor/icons/bulletedlist.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/button.png b/sources/skins/moonocolor/icons/button.png new file mode 100644 index 0000000..b3f337b --- /dev/null +++ b/sources/skins/moonocolor/icons/button.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/checkbox.png b/sources/skins/moonocolor/icons/checkbox.png new file mode 100644 index 0000000..688673a --- /dev/null +++ b/sources/skins/moonocolor/icons/checkbox.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/copy-rtl.png b/sources/skins/moonocolor/icons/copy-rtl.png new file mode 100644 index 0000000..ae2424c --- /dev/null +++ b/sources/skins/moonocolor/icons/copy-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/copy.png b/sources/skins/moonocolor/icons/copy.png new file mode 100644 index 0000000..4476702 --- /dev/null +++ b/sources/skins/moonocolor/icons/copy.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/creatediv.png b/sources/skins/moonocolor/icons/creatediv.png new file mode 100644 index 0000000..6d12d33 --- /dev/null +++ b/sources/skins/moonocolor/icons/creatediv.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/cut-rtl.png b/sources/skins/moonocolor/icons/cut-rtl.png new file mode 100644 index 0000000..1505e60 --- /dev/null +++ b/sources/skins/moonocolor/icons/cut-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/cut.png b/sources/skins/moonocolor/icons/cut.png new file mode 100644 index 0000000..084196e --- /dev/null +++ b/sources/skins/moonocolor/icons/cut.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/docprops-rtl.png b/sources/skins/moonocolor/icons/docprops-rtl.png new file mode 100644 index 0000000..37641cb --- /dev/null +++ b/sources/skins/moonocolor/icons/docprops-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/docprops.png b/sources/skins/moonocolor/icons/docprops.png new file mode 100644 index 0000000..a9378ce --- /dev/null +++ b/sources/skins/moonocolor/icons/docprops.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/find-rtl.png b/sources/skins/moonocolor/icons/find-rtl.png new file mode 100644 index 0000000..915ed67 --- /dev/null +++ b/sources/skins/moonocolor/icons/find-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/find.png b/sources/skins/moonocolor/icons/find.png new file mode 100644 index 0000000..297c393 --- /dev/null +++ b/sources/skins/moonocolor/icons/find.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/flash.png b/sources/skins/moonocolor/icons/flash.png new file mode 100644 index 0000000..9332fb9 --- /dev/null +++ b/sources/skins/moonocolor/icons/flash.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/form.png b/sources/skins/moonocolor/icons/form.png new file mode 100644 index 0000000..03ee607 --- /dev/null +++ b/sources/skins/moonocolor/icons/form.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/hiddenfield.png b/sources/skins/moonocolor/icons/hiddenfield.png new file mode 100644 index 0000000..0b78e4a --- /dev/null +++ b/sources/skins/moonocolor/icons/hiddenfield.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/horizontalrule.png b/sources/skins/moonocolor/icons/horizontalrule.png new file mode 100644 index 0000000..eed81b3 --- /dev/null +++ b/sources/skins/moonocolor/icons/horizontalrule.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/iframe.png b/sources/skins/moonocolor/icons/iframe.png new file mode 100644 index 0000000..5a83d90 --- /dev/null +++ b/sources/skins/moonocolor/icons/iframe.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/image.png b/sources/skins/moonocolor/icons/image.png new file mode 100644 index 0000000..f1c3395 --- /dev/null +++ b/sources/skins/moonocolor/icons/image.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/imagebutton.png b/sources/skins/moonocolor/icons/imagebutton.png new file mode 100644 index 0000000..b91f61a --- /dev/null +++ b/sources/skins/moonocolor/icons/imagebutton.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/indent-rtl.png b/sources/skins/moonocolor/icons/indent-rtl.png new file mode 100644 index 0000000..5935830 --- /dev/null +++ b/sources/skins/moonocolor/icons/indent-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/indent.png b/sources/skins/moonocolor/icons/indent.png new file mode 100644 index 0000000..f19d778 --- /dev/null +++ b/sources/skins/moonocolor/icons/indent.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/italic.png b/sources/skins/moonocolor/icons/italic.png new file mode 100644 index 0000000..246f32a --- /dev/null +++ b/sources/skins/moonocolor/icons/italic.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/justifyblock.png b/sources/skins/moonocolor/icons/justifyblock.png new file mode 100644 index 0000000..70d09af --- /dev/null +++ b/sources/skins/moonocolor/icons/justifyblock.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/justifycenter.png b/sources/skins/moonocolor/icons/justifycenter.png new file mode 100644 index 0000000..2bf0477 --- /dev/null +++ b/sources/skins/moonocolor/icons/justifycenter.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/justifyleft.png b/sources/skins/moonocolor/icons/justifyleft.png new file mode 100644 index 0000000..a2648bb --- /dev/null +++ b/sources/skins/moonocolor/icons/justifyleft.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/justifyright.png b/sources/skins/moonocolor/icons/justifyright.png new file mode 100644 index 0000000..20878b9 --- /dev/null +++ b/sources/skins/moonocolor/icons/justifyright.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/link.png b/sources/skins/moonocolor/icons/link.png new file mode 100644 index 0000000..c72e039 --- /dev/null +++ b/sources/skins/moonocolor/icons/link.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/maximize.png b/sources/skins/moonocolor/icons/maximize.png new file mode 100644 index 0000000..4bcbc49 --- /dev/null +++ b/sources/skins/moonocolor/icons/maximize.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/newpage-rtl.png b/sources/skins/moonocolor/icons/newpage-rtl.png new file mode 100644 index 0000000..8ad1f0f --- /dev/null +++ b/sources/skins/moonocolor/icons/newpage-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/newpage.png b/sources/skins/moonocolor/icons/newpage.png new file mode 100644 index 0000000..9735c67 --- /dev/null +++ b/sources/skins/moonocolor/icons/newpage.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/numberedlist-rtl.png b/sources/skins/moonocolor/icons/numberedlist-rtl.png new file mode 100644 index 0000000..0a14688 --- /dev/null +++ b/sources/skins/moonocolor/icons/numberedlist-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/numberedlist.png b/sources/skins/moonocolor/icons/numberedlist.png new file mode 100644 index 0000000..e2279cf --- /dev/null +++ b/sources/skins/moonocolor/icons/numberedlist.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/outdent-rtl.png b/sources/skins/moonocolor/icons/outdent-rtl.png new file mode 100644 index 0000000..c007a74 --- /dev/null +++ b/sources/skins/moonocolor/icons/outdent-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/outdent.png b/sources/skins/moonocolor/icons/outdent.png new file mode 100644 index 0000000..97add27 --- /dev/null +++ b/sources/skins/moonocolor/icons/outdent.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/pagebreak-rtl.png b/sources/skins/moonocolor/icons/pagebreak-rtl.png new file mode 100644 index 0000000..f3aa92e --- /dev/null +++ b/sources/skins/moonocolor/icons/pagebreak-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/pagebreak.png b/sources/skins/moonocolor/icons/pagebreak.png new file mode 100644 index 0000000..f7bac7d --- /dev/null +++ b/sources/skins/moonocolor/icons/pagebreak.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/paste-rtl.png b/sources/skins/moonocolor/icons/paste-rtl.png new file mode 100644 index 0000000..1957cfc --- /dev/null +++ b/sources/skins/moonocolor/icons/paste-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/paste.png b/sources/skins/moonocolor/icons/paste.png new file mode 100644 index 0000000..1f0a37c --- /dev/null +++ b/sources/skins/moonocolor/icons/paste.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/pastefromword-rtl.png b/sources/skins/moonocolor/icons/pastefromword-rtl.png new file mode 100644 index 0000000..5b61874 --- /dev/null +++ b/sources/skins/moonocolor/icons/pastefromword-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/pastefromword.png b/sources/skins/moonocolor/icons/pastefromword.png new file mode 100644 index 0000000..94aa56e --- /dev/null +++ b/sources/skins/moonocolor/icons/pastefromword.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/pastetext-rtl.png b/sources/skins/moonocolor/icons/pastetext-rtl.png new file mode 100644 index 0000000..18b1424 --- /dev/null +++ b/sources/skins/moonocolor/icons/pastetext-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/pastetext.png b/sources/skins/moonocolor/icons/pastetext.png new file mode 100644 index 0000000..7b85e08 --- /dev/null +++ b/sources/skins/moonocolor/icons/pastetext.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/placeholder.png b/sources/skins/moonocolor/icons/placeholder.png new file mode 100644 index 0000000..95d7721 --- /dev/null +++ b/sources/skins/moonocolor/icons/placeholder.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/preview-rtl.png b/sources/skins/moonocolor/icons/preview-rtl.png new file mode 100644 index 0000000..bc5861e --- /dev/null +++ b/sources/skins/moonocolor/icons/preview-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/preview.png b/sources/skins/moonocolor/icons/preview.png new file mode 100644 index 0000000..345131c --- /dev/null +++ b/sources/skins/moonocolor/icons/preview.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/print.png b/sources/skins/moonocolor/icons/print.png new file mode 100644 index 0000000..11ed56a --- /dev/null +++ b/sources/skins/moonocolor/icons/print.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/radio.png b/sources/skins/moonocolor/icons/radio.png new file mode 100644 index 0000000..64e1fc9 --- /dev/null +++ b/sources/skins/moonocolor/icons/radio.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/redo-rtl.png b/sources/skins/moonocolor/icons/redo-rtl.png new file mode 100644 index 0000000..0f8bf18 --- /dev/null +++ b/sources/skins/moonocolor/icons/redo-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/redo.png b/sources/skins/moonocolor/icons/redo.png new file mode 100644 index 0000000..53db6fb --- /dev/null +++ b/sources/skins/moonocolor/icons/redo.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/removeformat.png b/sources/skins/moonocolor/icons/removeformat.png new file mode 100644 index 0000000..3473eb3 --- /dev/null +++ b/sources/skins/moonocolor/icons/removeformat.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/replace.png b/sources/skins/moonocolor/icons/replace.png new file mode 100644 index 0000000..d47bf3b --- /dev/null +++ b/sources/skins/moonocolor/icons/replace.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/save.png b/sources/skins/moonocolor/icons/save.png new file mode 100644 index 0000000..9513064 --- /dev/null +++ b/sources/skins/moonocolor/icons/save.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/scayt.png b/sources/skins/moonocolor/icons/scayt.png new file mode 100644 index 0000000..f207caa --- /dev/null +++ b/sources/skins/moonocolor/icons/scayt.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/select-rtl.png b/sources/skins/moonocolor/icons/select-rtl.png new file mode 100644 index 0000000..bdeeaf3 --- /dev/null +++ b/sources/skins/moonocolor/icons/select-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/select.png b/sources/skins/moonocolor/icons/select.png new file mode 100644 index 0000000..275d017 --- /dev/null +++ b/sources/skins/moonocolor/icons/select.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/selectall.png b/sources/skins/moonocolor/icons/selectall.png new file mode 100644 index 0000000..ae65b5e --- /dev/null +++ b/sources/skins/moonocolor/icons/selectall.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/showblocks-rtl.png b/sources/skins/moonocolor/icons/showblocks-rtl.png new file mode 100644 index 0000000..154c99b --- /dev/null +++ b/sources/skins/moonocolor/icons/showblocks-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/showblocks.png b/sources/skins/moonocolor/icons/showblocks.png new file mode 100644 index 0000000..eff2aff --- /dev/null +++ b/sources/skins/moonocolor/icons/showblocks.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/smiley.png b/sources/skins/moonocolor/icons/smiley.png new file mode 100644 index 0000000..fc76fca --- /dev/null +++ b/sources/skins/moonocolor/icons/smiley.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/source-rtl.png b/sources/skins/moonocolor/icons/source-rtl.png new file mode 100644 index 0000000..faaaba1 --- /dev/null +++ b/sources/skins/moonocolor/icons/source-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/source.png b/sources/skins/moonocolor/icons/source.png new file mode 100644 index 0000000..98c7bab --- /dev/null +++ b/sources/skins/moonocolor/icons/source.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/specialchar.png b/sources/skins/moonocolor/icons/specialchar.png new file mode 100644 index 0000000..26e958b --- /dev/null +++ b/sources/skins/moonocolor/icons/specialchar.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/spellchecker.png b/sources/skins/moonocolor/icons/spellchecker.png new file mode 100644 index 0000000..f207caa --- /dev/null +++ b/sources/skins/moonocolor/icons/spellchecker.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/strike.png b/sources/skins/moonocolor/icons/strike.png new file mode 100644 index 0000000..853240b --- /dev/null +++ b/sources/skins/moonocolor/icons/strike.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/subscript.png b/sources/skins/moonocolor/icons/subscript.png new file mode 100644 index 0000000..c614fef --- /dev/null +++ b/sources/skins/moonocolor/icons/subscript.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/superscript.png b/sources/skins/moonocolor/icons/superscript.png new file mode 100644 index 0000000..ecb9746 --- /dev/null +++ b/sources/skins/moonocolor/icons/superscript.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/table.png b/sources/skins/moonocolor/icons/table.png new file mode 100644 index 0000000..5890428 --- /dev/null +++ b/sources/skins/moonocolor/icons/table.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/templates-rtl.png b/sources/skins/moonocolor/icons/templates-rtl.png new file mode 100644 index 0000000..fdfa5d0 --- /dev/null +++ b/sources/skins/moonocolor/icons/templates-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/templates.png b/sources/skins/moonocolor/icons/templates.png new file mode 100644 index 0000000..3781b86 --- /dev/null +++ b/sources/skins/moonocolor/icons/templates.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/textarea-rtl.png b/sources/skins/moonocolor/icons/textarea-rtl.png new file mode 100644 index 0000000..135aa42 --- /dev/null +++ b/sources/skins/moonocolor/icons/textarea-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/textarea.png b/sources/skins/moonocolor/icons/textarea.png new file mode 100644 index 0000000..aac1630 --- /dev/null +++ b/sources/skins/moonocolor/icons/textarea.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/textcolor.png b/sources/skins/moonocolor/icons/textcolor.png new file mode 100644 index 0000000..6453408 --- /dev/null +++ b/sources/skins/moonocolor/icons/textcolor.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/textfield-rtl.png b/sources/skins/moonocolor/icons/textfield-rtl.png new file mode 100644 index 0000000..bab07f3 --- /dev/null +++ b/sources/skins/moonocolor/icons/textfield-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/textfield.png b/sources/skins/moonocolor/icons/textfield.png new file mode 100644 index 0000000..d366d27 --- /dev/null +++ b/sources/skins/moonocolor/icons/textfield.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/underline.png b/sources/skins/moonocolor/icons/underline.png new file mode 100644 index 0000000..f382453 --- /dev/null +++ b/sources/skins/moonocolor/icons/underline.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/undo-rtl.png b/sources/skins/moonocolor/icons/undo-rtl.png new file mode 100644 index 0000000..53db6fb --- /dev/null +++ b/sources/skins/moonocolor/icons/undo-rtl.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/undo.png b/sources/skins/moonocolor/icons/undo.png new file mode 100644 index 0000000..0f8bf18 --- /dev/null +++ b/sources/skins/moonocolor/icons/undo.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/icons/unlink.png b/sources/skins/moonocolor/icons/unlink.png new file mode 100644 index 0000000..bb6b043 --- /dev/null +++ b/sources/skins/moonocolor/icons/unlink.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/images/arrow.png b/sources/skins/moonocolor/images/arrow.png new file mode 100644 index 0000000..d72b5f3 --- /dev/null +++ b/sources/skins/moonocolor/images/arrow.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/images/close.png b/sources/skins/moonocolor/images/close.png new file mode 100644 index 0000000..6a04ab5 --- /dev/null +++ b/sources/skins/moonocolor/images/close.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/images/hidpi/close.png b/sources/skins/moonocolor/images/hidpi/close.png new file mode 100644 index 0000000..e406c2c --- /dev/null +++ b/sources/skins/moonocolor/images/hidpi/close.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/images/hidpi/lock-open.png b/sources/skins/moonocolor/images/hidpi/lock-open.png new file mode 100644 index 0000000..edbd12f --- /dev/null +++ b/sources/skins/moonocolor/images/hidpi/lock-open.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/images/hidpi/lock.png b/sources/skins/moonocolor/images/hidpi/lock.png new file mode 100644 index 0000000..1b87bbb --- /dev/null +++ b/sources/skins/moonocolor/images/hidpi/lock.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/images/hidpi/refresh.png b/sources/skins/moonocolor/images/hidpi/refresh.png new file mode 100644 index 0000000..c6c2b86 --- /dev/null +++ b/sources/skins/moonocolor/images/hidpi/refresh.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/images/lock-open.png b/sources/skins/moonocolor/images/lock-open.png new file mode 100644 index 0000000..0476987 --- /dev/null +++ b/sources/skins/moonocolor/images/lock-open.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/images/lock.png b/sources/skins/moonocolor/images/lock.png new file mode 100644 index 0000000..c5a1440 --- /dev/null +++ b/sources/skins/moonocolor/images/lock.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/images/refresh.png b/sources/skins/moonocolor/images/refresh.png new file mode 100644 index 0000000..1ff63c3 --- /dev/null +++ b/sources/skins/moonocolor/images/refresh.png | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/images/spinner.gif b/sources/skins/moonocolor/images/spinner.gif new file mode 100644 index 0000000..d898d41 --- /dev/null +++ b/sources/skins/moonocolor/images/spinner.gif | |||
Binary files differ | |||
diff --git a/sources/skins/moonocolor/mainui.css b/sources/skins/moonocolor/mainui.css new file mode 100644 index 0000000..73ab4df --- /dev/null +++ b/sources/skins/moonocolor/mainui.css | |||
@@ -0,0 +1,214 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | mainui.css (part of editor.css) | ||
8 | ================================= | ||
9 | |||
10 | This file styles the basic structure of the CKEditor user interface - the box | ||
11 | that holds everything. | ||
12 | |||
13 | CKEditor offers two main editing modes. The main UI blocks that compose these | ||
14 | modes are: | ||
15 | |||
16 | For "Theme UI" mode, the one most generally used: | ||
17 | |||
18 | +-- .cke_chrome ----------------------+ | ||
19 | |+-- .cke_inner ---------------------+| | ||
20 | || +-- .cke_top -------------------+ || | ||
21 | || | | || | ||
22 | || +-------------------------------+ || | ||
23 | || +-- .cke_contents --------------+ || | ||
24 | || | | || | ||
25 | || +-------------------------------+ || | ||
26 | || +-- .cke_bottom ----------------+ || | ||
27 | || | | || | ||
28 | || +-------------------------------+ || | ||
29 | |+-----------------------------------+| | ||
30 | +-------------------------------------+ | ||
31 | |||
32 | For "Inline Editing" mode: | ||
33 | |||
34 | +-- .cke_chrome .cke_float------------+ | ||
35 | |+-- .cke_inner ---------------------+| | ||
36 | || +-- .cke_top -------------------+ || | ||
37 | || | | || | ||
38 | || +-------------------------------+ || | ||
39 | |+-----------------------------------+| | ||
40 | +-------------------------------------+ | ||
41 | |||
42 | Special outer level classes used in this file: | ||
43 | |||
44 | .cke_hc: Available when the editor is rendered on "High Contrast". | ||
45 | |||
46 | */ | ||
47 | |||
48 | /* The outer boundary of the interface. */ | ||
49 | .cke_chrome | ||
50 | { | ||
51 | /* This is <span>, so transform it into a block.*/ | ||
52 | display: block; | ||
53 | border: 1px solid #b6b6b6; | ||
54 | padding: 0; | ||
55 | |||
56 | box-shadow: 0 0 3px rgba(0,0,0,.15); | ||
57 | } | ||
58 | |||
59 | /* The inner boundary of the interface. */ | ||
60 | .cke_inner | ||
61 | { | ||
62 | /* This is <span>, so transform it into a block.*/ | ||
63 | display: block; | ||
64 | |||
65 | -webkit-touch-callout: none; | ||
66 | |||
67 | background: #fff; | ||
68 | padding: 0; | ||
69 | } | ||
70 | |||
71 | /* Added to the outer boundary of the UI when in inline editing, | ||
72 | when the UI is floating. */ | ||
73 | .cke_float | ||
74 | { | ||
75 | /* Make white the space between the outer and the inner borders. */ | ||
76 | border: none; | ||
77 | } | ||
78 | |||
79 | .cke_float .cke_inner | ||
80 | { | ||
81 | /* As we don't have blocks following top (toolbar) we suppress the padding | ||
82 | as the toolbar defines its own margin. */ | ||
83 | padding-bottom: 0; | ||
84 | } | ||
85 | |||
86 | /* Make the main spaces enlarge to hold potentially floated content. */ | ||
87 | .cke_top, | ||
88 | .cke_contents, | ||
89 | .cke_bottom | ||
90 | { | ||
91 | /* These are <span>s, so transform them into blocks.*/ | ||
92 | display: block; | ||
93 | |||
94 | /* Ideally this should be "auto", but it shows scrollbars in IE7. */ | ||
95 | overflow: hidden; | ||
96 | } | ||
97 | |||
98 | .cke_top | ||
99 | { | ||
100 | /*border: 1px solid #b2b2b2;*/ | ||
101 | border-bottom: 1px solid #b6b6b6; | ||
102 | padding: 6px 8px 2px; | ||
103 | |||
104 | /* Allow breaking toolbars when in a narrow editor. (#9947) */ | ||
105 | white-space: normal; | ||
106 | |||
107 | box-shadow: 0 1px 0 #fff inset; | ||
108 | |||
109 | background: #cfd1cf; | ||
110 | background-image: linear-gradient(to bottom, #f5f5f5, #cfd1cf); | ||
111 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f5f5f5', endColorstr='#cfd1cf'); | ||
112 | } | ||
113 | |||
114 | .cke_float .cke_top | ||
115 | { | ||
116 | border: 1px solid #b6b6b6; | ||
117 | border-bottom-color: #999; | ||
118 | } | ||
119 | |||
120 | .cke_bottom | ||
121 | { | ||
122 | padding: 6px 8px 2px; | ||
123 | position: relative; | ||
124 | |||
125 | border-top: 1px solid #bfbfbf; | ||
126 | |||
127 | box-shadow: 0 1px 0 #fff inset; | ||
128 | |||
129 | background: #cfd1cf; | ||
130 | background-image: linear-gradient(to bottom, #ebebeb, #cfd1cf); | ||
131 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ebebeb', endColorstr='#cfd1cf'); | ||
132 | } | ||
133 | |||
134 | /* On iOS we need to manually enable scrolling in the contents block. (#9945) */ | ||
135 | .cke_browser_ios .cke_contents | ||
136 | { | ||
137 | overflow-y: auto; | ||
138 | -webkit-overflow-scrolling: touch; | ||
139 | } | ||
140 | |||
141 | /* The resizer is the small UI element that is rendered at the bottom right | ||
142 | part of the editor. It makes is possible to resize the editor UI. */ | ||
143 | .cke_resizer | ||
144 | { | ||
145 | /* To avoid using images for the resizer, we create a small triangle, | ||
146 | using some CSS magic. */ | ||
147 | width: 0; | ||
148 | height: 0; | ||
149 | overflow: hidden; | ||
150 | width: 0; | ||
151 | height: 0; | ||
152 | overflow: hidden; | ||
153 | border-width: 10px 10px 0 0; | ||
154 | border-color: transparent #666 transparent transparent; | ||
155 | border-style: dashed solid dashed dashed; | ||
156 | |||
157 | font-size: 0; | ||
158 | vertical-align: bottom; | ||
159 | |||
160 | margin-top: 6px; | ||
161 | |||
162 | /* A margin in case of no other element in the same container | ||
163 | to keep a distance to the bottom edge. */ | ||
164 | margin-bottom: 2px; | ||
165 | |||
166 | box-shadow: 0 1px 0 rgba(255,255,255,.3); | ||
167 | } | ||
168 | |||
169 | .cke_hc .cke_resizer | ||
170 | { | ||
171 | font-size: 15px; | ||
172 | width: auto; | ||
173 | height: auto; | ||
174 | border-width: 0; | ||
175 | } | ||
176 | |||
177 | .cke_resizer_ltr | ||
178 | { | ||
179 | cursor: se-resize; | ||
180 | |||
181 | float: right; | ||
182 | margin-right: -4px; | ||
183 | } | ||
184 | |||
185 | /* This class is added in RTL mode. This is a special case for the resizer | ||
186 | (usually the .cke_rtl class is used), because it may not necessarily be in | ||
187 | RTL mode if the main UI is RTL. It depends instead on the context where the | ||
188 | editor is inserted on. */ | ||
189 | .cke_resizer_rtl | ||
190 | { | ||
191 | border-width: 10px 0 0 10px; | ||
192 | border-color: transparent transparent transparent #A5A5A5; | ||
193 | border-style: dashed dashed dashed solid; | ||
194 | |||
195 | cursor: sw-resize; | ||
196 | |||
197 | float: left; | ||
198 | margin-left: -4px; | ||
199 | right: auto; | ||
200 | } | ||
201 | |||
202 | /* The editing area (where users type) can be rendered as an editable <div> | ||
203 | element (e.g. divarea plugin). In that case, this is the class applied to | ||
204 | that element. */ | ||
205 | .cke_wysiwyg_div | ||
206 | { | ||
207 | display: block; | ||
208 | height: 100%; | ||
209 | overflow: auto; | ||
210 | padding: 0 8px; | ||
211 | outline-style: none; | ||
212 | |||
213 | box-sizing: border-box; | ||
214 | } | ||
diff --git a/sources/skins/moonocolor/menu.css b/sources/skins/moonocolor/menu.css new file mode 100644 index 0000000..bbaa213 --- /dev/null +++ b/sources/skins/moonocolor/menu.css | |||
@@ -0,0 +1,201 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | menu.css (part of editor.css) | ||
8 | =============================== | ||
9 | |||
10 | This file styles menus used in the editor UI. These menus are the list of | ||
11 | options available inside some "floating panels", like menu buttons of the | ||
12 | toolbar or the context menu. | ||
13 | |||
14 | Note that the menu itself doesn't include the floating element that holds it. | ||
15 | That element is styles in the panel.css file. | ||
16 | |||
17 | The following is a visual representation of the main elements of a menu: | ||
18 | |||
19 | +-- .cke_menu -----------------+ | ||
20 | | +-- .cke_menuitem --------+ | | ||
21 | | | +-- .cke_menubutton ---+ | | | ||
22 | | | | | | | | ||
23 | | | +----------------------+ | | | ||
24 | | +--------------------------+ | | ||
25 | | +-- .cke_menuseparator ----+ | | ||
26 | | ... | | ||
27 | +------------------------------+ | ||
28 | |||
29 | This is the .cke_menubutton structure: | ||
30 | (Note that the menu button icon shares with toolbar button the common class .cke_button_icon to achieve the same outlook.) | ||
31 | |||
32 | +-- .cke_menubutton -------------------------------------------------------------------------+ | ||
33 | | +-- .cke_menubutton_inner ---------------------------------------------------------------+ | | ||
34 | | | +-- .cke_menubutton_icon ---+ +-- .cke_menubutton_label --+ +-- .cke_cke_menuarrow --+ | | | ||
35 | | | | +-- .cke_button_icon ---+ | | | | | | | | ||
36 | | | | | | | | | | | | | | ||
37 | | | | +-----------------------+ | | | | | | | | ||
38 | | | +---------------------------+ +---------------------------+ +------------------------+ | | | ||
39 | | +----------------------------------------------------------------------------------------+ | | ||
40 | +--------------------------------------------------------------------------------------------+ | ||
41 | |||
42 | Special outer level classes used in this file: | ||
43 | |||
44 | .cke_hc: Available when the editor is rendered on "High Contrast". | ||
45 | .cke_rtl: Available when the editor UI is on RTL. | ||
46 | */ | ||
47 | |||
48 | /* .cke_menuitem is the element that holds the entire structure of each of the | ||
49 | menu items. */ | ||
50 | |||
51 | .cke_menubutton | ||
52 | { | ||
53 | /* The "button" inside a menu item is a <a> element. | ||
54 | Transforms it into a block. */ | ||
55 | display: block; | ||
56 | } | ||
57 | |||
58 | .cke_menuitem span | ||
59 | { | ||
60 | /* Avoid the text selection cursor inside menu items. */ | ||
61 | cursor: default; | ||
62 | } | ||
63 | |||
64 | .cke_menubutton:hover, | ||
65 | .cke_menubutton:focus, | ||
66 | .cke_menubutton:active | ||
67 | { | ||
68 | background-color: #D3D3D3; | ||
69 | display: block; | ||
70 | } | ||
71 | |||
72 | .cke_hc .cke_menubutton | ||
73 | { | ||
74 | padding: 2px; | ||
75 | } | ||
76 | |||
77 | .cke_hc .cke_menubutton:hover, | ||
78 | .cke_hc .cke_menubutton:focus, | ||
79 | .cke_hc .cke_menubutton:active | ||
80 | { | ||
81 | border: 2px solid; | ||
82 | padding: 0; | ||
83 | } | ||
84 | |||
85 | .cke_menubutton_inner { | ||
86 | display: table-row; | ||
87 | } | ||
88 | |||
89 | .cke_menubutton_icon, | ||
90 | .cke_menubutton_label, | ||
91 | .cke_menuarrow { | ||
92 | display: table-cell; | ||
93 | } | ||
94 | |||
95 | /* The menu item icon. */ | ||
96 | .cke_menubutton_icon | ||
97 | { | ||
98 | background-color: #D7D8D7; | ||
99 | opacity: 0.70; /* Safari, Opera and Mozilla */ | ||
100 | filter: alpha(opacity=70); /* IE */ | ||
101 | padding: 4px; | ||
102 | } | ||
103 | |||
104 | .cke_hc .cke_menubutton_icon | ||
105 | { | ||
106 | height: 16px; | ||
107 | width: 0; | ||
108 | padding: 4px 0; | ||
109 | } | ||
110 | |||
111 | .cke_menubutton:hover .cke_menubutton_icon, | ||
112 | .cke_menubutton:focus .cke_menubutton_icon, | ||
113 | .cke_menubutton:active .cke_menubutton_icon | ||
114 | { | ||
115 | background-color: #D0D2D0; | ||
116 | } | ||
117 | |||
118 | .cke_menubutton_disabled:hover .cke_menubutton_icon, | ||
119 | .cke_menubutton_disabled:focus .cke_menubutton_icon, | ||
120 | .cke_menubutton_disabled:active .cke_menubutton_icon | ||
121 | { | ||
122 | /* The icon will get opacity as well when hovered. */ | ||
123 | opacity: 0.3; | ||
124 | filter: alpha(opacity=30); | ||
125 | } | ||
126 | |||
127 | /* The textual part of each menu item. */ | ||
128 | .cke_menubutton_label | ||
129 | { | ||
130 | padding: 0 5px; | ||
131 | background-color: transparent; | ||
132 | width: 100%; | ||
133 | vertical-align: middle; | ||
134 | } | ||
135 | |||
136 | .cke_menubutton_disabled .cke_menubutton_label | ||
137 | { | ||
138 | /* Greyed label text indicates a disabled menu item. */ | ||
139 | opacity: 0.3; | ||
140 | filter: alpha(opacity=30); | ||
141 | } | ||
142 | |||
143 | .cke_menubutton_on | ||
144 | { | ||
145 | border: 1px solid #dedede; | ||
146 | background-color: #f2f2f2; | ||
147 | |||
148 | box-shadow: 0 0 2px rgba(0,0,0,.1) inset; | ||
149 | } | ||
150 | |||
151 | .cke_menubutton_on .cke_menubutton_icon | ||
152 | { | ||
153 | padding-right: 3px; | ||
154 | } | ||
155 | |||
156 | .cke_menubutton:hover, | ||
157 | .cke_menubutton:focus, | ||
158 | .cke_menubutton:active | ||
159 | { | ||
160 | background-color: #EFF0EF; | ||
161 | } | ||
162 | |||
163 | .cke_panel_frame .cke_menubutton_label | ||
164 | { | ||
165 | display: none; | ||
166 | } | ||
167 | |||
168 | /* The separator used to separate menu item groups. */ | ||
169 | .cke_menuseparator | ||
170 | { | ||
171 | background-color: #D3D3D3; | ||
172 | height: 1px; | ||
173 | filter: alpha(opacity=70); /* IE */ | ||
174 | opacity: 0.70; /* Safari, Opera and Mozilla */ | ||
175 | } | ||
176 | |||
177 | /* The small arrow shown for item with sub-menus. */ | ||
178 | .cke_menuarrow | ||
179 | { | ||
180 | background-image: url(images/arrow.png); | ||
181 | background-position: 0 10px; | ||
182 | background-repeat: no-repeat; | ||
183 | padding: 0 5px; | ||
184 | } | ||
185 | |||
186 | .cke_rtl .cke_menuarrow | ||
187 | { | ||
188 | background-position: 5px -13px; | ||
189 | background-repeat: no-repeat; | ||
190 | } | ||
191 | |||
192 | .cke_menuarrow span | ||
193 | { | ||
194 | display: none; | ||
195 | } | ||
196 | |||
197 | .cke_hc .cke_menuarrow span | ||
198 | { | ||
199 | vertical-align: middle; | ||
200 | display: inline; | ||
201 | } | ||
diff --git a/sources/skins/moonocolor/notification.css b/sources/skins/moonocolor/notification.css new file mode 100644 index 0000000..c6292d3 --- /dev/null +++ b/sources/skins/moonocolor/notification.css | |||
@@ -0,0 +1,168 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /** | ||
7 | * Progress notification structure: | ||
8 | * | ||
9 | * +---div.cke_notification cke_notification_info--------------------------+ | ||
10 | * | | | ||
11 | * | +---div.cke_notification_progress-----------------------------------+ | | ||
12 | * | | | | | ||
13 | * | +-------------------------------------------------------------------+ | | ||
14 | * | | | ||
15 | * | +---p.cke_notification_message--------------------------------------+ | | ||
16 | * | | Foo | | | ||
17 | * | +-------------------------------------------------------------------+ | | ||
18 | * | | | ||
19 | * | +---a.cke_notification_close----------------------------------------+ | | ||
20 | * | | +---span.cke_label----------------------------------------------+ | | | ||
21 | * | | | X | | | | ||
22 | * | | +---------------------------------------------------------------+ | | | ||
23 | * | +-------------------------------------------------------------------+ | | ||
24 | * | | | ||
25 | * +-----------------------------------------------------------------------+ | ||
26 | * | ||
27 | * | ||
28 | * Warning notification structure: | ||
29 | * | ||
30 | * +---div.cke_notification cke_notification_warning-----------------------+ | ||
31 | * | | | ||
32 | * | +---p.cke_notification_message--------------------------------------+ | | ||
33 | * | | Foo | | | ||
34 | * | +-------------------------------------------------------------------+ | | ||
35 | * | | | ||
36 | * | +---a.cke_notification_close----------------------------------------+ | | ||
37 | * | | +---span.cke_label----------------------------------------------+ | | | ||
38 | * | | | X | | | | ||
39 | * | | +---------------------------------------------------------------+ | | | ||
40 | * | +-------------------------------------------------------------------+ | | ||
41 | * | | | ||
42 | * +-----------------------------------------------------------------------+ | ||
43 | * | ||
44 | * Success and info notifications have the same structure as warning, but use | ||
45 | * `cke_notification_success` and `cke_notification_info` instead of `cke_notification_warning`. | ||
46 | */ | ||
47 | .cke_notifications_area | ||
48 | { | ||
49 | /* Prevent notification margin capture clicking. */ | ||
50 | pointer-events: none; | ||
51 | } | ||
52 | .cke_notification | ||
53 | { | ||
54 | pointer-events: auto; | ||
55 | position: relative; | ||
56 | margin: 10px; | ||
57 | width: 300px; | ||
58 | color: white; | ||
59 | border-radius: 3px; | ||
60 | text-align: center; | ||
61 | opacity: 0.95; | ||
62 | filter: alpha(opacity = 95); | ||
63 | box-shadow: 2px 2px 3px 0px rgba(50, 50, 50, 0.3); | ||
64 | |||
65 | -webkit-animation: fadeIn 0.7s; | ||
66 | animation: fadeIn 0.7s; | ||
67 | } | ||
68 | |||
69 | .cke_notification_message a | ||
70 | { | ||
71 | color: #12306F; | ||
72 | } | ||
73 | |||
74 | @-webkit-keyframes fadeIn | ||
75 | { | ||
76 | from { opacity: 0.4; } | ||
77 | to { opacity: 0.95; } | ||
78 | } | ||
79 | |||
80 | @keyframes fadeIn | ||
81 | { | ||
82 | from { opacity: 0.4; } | ||
83 | to { opacity: 0.95; } | ||
84 | } | ||
85 | |||
86 | .cke_notification_success | ||
87 | { | ||
88 | background: #72B572; | ||
89 | border: 1px solid #63A563; | ||
90 | } | ||
91 | |||
92 | .cke_notification_warning | ||
93 | { | ||
94 | background: #C83939; | ||
95 | border: 1px solid #902B2B; | ||
96 | } | ||
97 | |||
98 | .cke_notification_info | ||
99 | { | ||
100 | background: #2E9AD0; | ||
101 | border: 1px solid #0F74A8; | ||
102 | } | ||
103 | |||
104 | .cke_notification_info span.cke_notification_progress | ||
105 | { | ||
106 | background-color: #0F74A8; | ||
107 | display: block; | ||
108 | padding: 0; | ||
109 | margin: 0; | ||
110 | height: 100%; | ||
111 | overflow: hidden; | ||
112 | position: absolute; | ||
113 | z-index: 1; | ||
114 | } | ||
115 | |||
116 | .cke_notification_message | ||
117 | { | ||
118 | position: relative; | ||
119 | margin: 4px 23px 3px; | ||
120 | font-family: Arial, Helvetica, sans-serif; | ||
121 | font-size: 12px; | ||
122 | line-height: 18px; | ||
123 | z-index: 4; | ||
124 | text-overflow: ellipsis; | ||
125 | overflow: hidden; | ||
126 | } | ||
127 | |||
128 | .cke_notification_close | ||
129 | { | ||
130 | background-image: url(images/close.png); | ||
131 | background-repeat: no-repeat; | ||
132 | background-position: 50%; | ||
133 | position: absolute; | ||
134 | cursor: pointer; | ||
135 | text-align: center; | ||
136 | height: 20px; | ||
137 | width: 20px; | ||
138 | top: 1px; | ||
139 | right: 1px; | ||
140 | padding: 0; | ||
141 | margin: 0; | ||
142 | z-index: 5; | ||
143 | opacity: 0.6; | ||
144 | filter: alpha(opacity = 60); | ||
145 | } | ||
146 | |||
147 | .cke_notification_close:hover | ||
148 | { | ||
149 | opacity: 1; | ||
150 | filter: alpha(opacity = 100); | ||
151 | } | ||
152 | |||
153 | .cke_notification_close span | ||
154 | { | ||
155 | display: none; | ||
156 | } | ||
157 | |||
158 | .cke_notification_warning a.cke_notification_close | ||
159 | { | ||
160 | opacity: 0.8; | ||
161 | filter: alpha(opacity = 80); | ||
162 | } | ||
163 | |||
164 | .cke_notification_warning a.cke_notification_close:hover | ||
165 | { | ||
166 | opacity: 1; | ||
167 | filter: alpha(opacity = 100); | ||
168 | } | ||
diff --git a/sources/skins/moonocolor/panel.css b/sources/skins/moonocolor/panel.css new file mode 100644 index 0000000..8743d19 --- /dev/null +++ b/sources/skins/moonocolor/panel.css | |||
@@ -0,0 +1,237 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | panel.css (part of editor.css) | ||
8 | ================================ | ||
9 | |||
10 | Panels are floating elements that can hold different types of contents. | ||
11 | The following are common uses of it: | ||
12 | |||
13 | - The element that toolbar combos display when opening them. | ||
14 | - The context menu. | ||
15 | - The list of items displayed by "menu buttons" (e.g. scayt). | ||
16 | - The panel shown when opening "panel buttons" (e.g. color buttons). | ||
17 | |||
18 | Panel contents are wrapped into an iframe, so it is possible to have additional | ||
19 | CSS loaded inside them (e.g. to have more accurate preview on the styles combo). | ||
20 | |||
21 | The following is a visual representation of the outer elements of a panel: | ||
22 | |||
23 | +-- .cke_panel(*) ---------------------+ | ||
24 | | +-- IFRAME.cke_panel_frame --------+ | | ||
25 | | | +-- HTML.cke_panel_container --+ | | | ||
26 | | | | +-- .cke_panel_block ------+ | | | | ||
27 | | | | | | | | | | ||
28 | | | | | (contents here) | | | | | ||
29 | | | | | | | | | | ||
30 | | | | +--------------------------+ | | | | ||
31 | | | +------------------------------+ | | | ||
32 | | +----------------------------------+ | | ||
33 | +--------------------------------------+ | ||
34 | |||
35 | (*) All kinds of panel share the above structure. Menu panels adds the | ||
36 | .cke_menu_panel class to the outer element, while toolbar combos add the | ||
37 | .cke_combopanel class. | ||
38 | |||
39 | This file also defines styles for panel lists (used by combos). For menu-like | ||
40 | panel contents and color panels check menu.css and colorpanel.css. | ||
41 | */ | ||
42 | |||
43 | /* The box that holds an IFRAME. It's inserted into a host document and positioned | ||
44 | absolutely by the application. It floats above the host document/editor. */ | ||
45 | .cke_panel | ||
46 | { | ||
47 | /* Restore the loading hide */ | ||
48 | visibility: visible; | ||
49 | width: 120px; | ||
50 | height: 100px; | ||
51 | overflow: hidden; | ||
52 | |||
53 | background-color: #fff; | ||
54 | border: 1px solid #b6b6b6; | ||
55 | border-bottom-color: #999; | ||
56 | |||
57 | border-radius: 3px; | ||
58 | |||
59 | box-shadow: 0 0 3px rgba(0,0,0,.15); | ||
60 | } | ||
61 | |||
62 | /* This class represents panels which are used as context menus. */ | ||
63 | .cke_menu_panel | ||
64 | { | ||
65 | padding: 0; | ||
66 | margin: 0; | ||
67 | } | ||
68 | |||
69 | /* This class represents panels which are used by rich combos. */ | ||
70 | .cke_combopanel | ||
71 | { | ||
72 | width: 150px; | ||
73 | height: 170px; | ||
74 | } | ||
75 | |||
76 | /* The IFRAME the panel is wrapped into. */ | ||
77 | .cke_panel_frame | ||
78 | { | ||
79 | width: 100%; | ||
80 | height: 100%; | ||
81 | font-size: 12px; | ||
82 | |||
83 | overflow: auto; | ||
84 | overflow-x: hidden; | ||
85 | } | ||
86 | |||
87 | /* The HTML document which is a direct descendant of the IFRAME */ | ||
88 | .cke_panel_container | ||
89 | { | ||
90 | overflow-y: auto; | ||
91 | overflow-x: hidden; | ||
92 | } | ||
93 | |||
94 | /* | ||
95 | Here we start the definition of panel lists (e.g. combo panels). The following | ||
96 | is its visual representation: | ||
97 | |||
98 | +-- .cke_panel_block -----------------+ | ||
99 | | +-- .cke_panel_grouptitle --------+ | | ||
100 | | | | | | ||
101 | | +---------------------------------+ | | ||
102 | | +-- .cke_panel_list --------------+ | | ||
103 | | | +-- .cke_panel_listItem ------+ | | | ||
104 | | | | +-- a --------------------+ | | | | ||
105 | | | | | +-- span -------------+ | | | | | ||
106 | | | | | | | | | | | | ||
107 | | | | | +---------------------+ | | | | | ||
108 | | | | +-------------------------+ | | | | ||
109 | | | +-----------------------------+ | | | ||
110 | | | +-- .cke_panel_listItem ------+ | | | ||
111 | | | | +-- a --------------------+ | | | | ||
112 | | | | | +-- span -------------+ | | | | | ||
113 | | | | | | | | | | | | ||
114 | | | | | +---------------------+ | | | | | ||
115 | | | | +-------------------------+ | | | | ||
116 | | | +-----------------------------+ | | | ||
117 | | | ... | | | ||
118 | | +---------------------------------+ | | ||
119 | +-------------------------------------+ | ||
120 | */ | ||
121 | |||
122 | |||
123 | /* The list of panel items. */ | ||
124 | .cke_panel_list | ||
125 | { | ||
126 | list-style-type: none; | ||
127 | margin: 3px; | ||
128 | padding: 0; | ||
129 | white-space: nowrap; | ||
130 | } | ||
131 | |||
132 | /* The item of .cke_panel_list */ | ||
133 | .cke_panel_listItem | ||
134 | { | ||
135 | margin: 0; | ||
136 | padding-bottom: 1px; | ||
137 | } | ||
138 | |||
139 | /* The child of .cke_panel_listItem. These elements contain spans which are | ||
140 | to display a real name of the property which is visible for an end-user. */ | ||
141 | .cke_panel_listItem a | ||
142 | { | ||
143 | padding: 3px 4px; | ||
144 | display: block; | ||
145 | border: 1px solid #fff; | ||
146 | color: inherit !important; | ||
147 | text-decoration: none; | ||
148 | overflow: hidden; | ||
149 | text-overflow: ellipsis; | ||
150 | |||
151 | border-radius: 2px; | ||
152 | } | ||
153 | |||
154 | /* IE6 */ | ||
155 | * html .cke_panel_listItem a | ||
156 | { | ||
157 | width : 100%; | ||
158 | |||
159 | /* IE is not able to inherit the color, so we must force it to black */ | ||
160 | color: #000; | ||
161 | } | ||
162 | |||
163 | /* IE7 */ | ||
164 | *:first-child+html .cke_panel_listItem a | ||
165 | { | ||
166 | /* IE is not able to inherit the color, so we must force it to black */ | ||
167 | color: #000; | ||
168 | } | ||
169 | |||
170 | .cke_panel_listItem.cke_selected a | ||
171 | { | ||
172 | border: 1px solid #dedede; | ||
173 | background-color: #f2f2f2; | ||
174 | |||
175 | box-shadow: 0 0 2px rgba(0,0,0,.1) inset; | ||
176 | } | ||
177 | |||
178 | .cke_panel_listItem a:hover, | ||
179 | .cke_panel_listItem a:focus, | ||
180 | .cke_panel_listItem a:active | ||
181 | { | ||
182 | border-color: #dedede; | ||
183 | background-color: #f2f2f2; | ||
184 | |||
185 | box-shadow: 0 0 2px rgba(0,0,0,.1) inset; | ||
186 | } | ||
187 | |||
188 | .cke_hc .cke_panel_listItem a | ||
189 | { | ||
190 | border-style: none; | ||
191 | } | ||
192 | |||
193 | .cke_hc .cke_panel_listItem a:hover, | ||
194 | .cke_hc .cke_panel_listItem a:focus, | ||
195 | .cke_hc .cke_panel_listItem a:active | ||
196 | { | ||
197 | border: 2px solid; | ||
198 | padding: 1px 2px; | ||
199 | } | ||
200 | |||
201 | /* The title of the entire panel which is visible on top of the list. */ | ||
202 | .cke_panel_grouptitle | ||
203 | { | ||
204 | cursor: default; | ||
205 | font-size: 11px; | ||
206 | font-weight: bold; | ||
207 | white-space: nowrap; | ||
208 | margin: 0; | ||
209 | padding: 4px 6px; | ||
210 | |||
211 | color: #474747; | ||
212 | text-shadow: 0 1px 0 rgba(255,255,255,.75); | ||
213 | border-bottom: 1px solid #b6b6b6; | ||
214 | |||
215 | border-radius: 2px 2px 0 0; | ||
216 | |||
217 | box-shadow: 0 1px 0 #fff inset; | ||
218 | |||
219 | background: #cfd1cf; | ||
220 | background-image: linear-gradient(to bottom, #f5f5f5, #cfd1cf); | ||
221 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f5f5f5', endColorstr='#cfd1cf'); | ||
222 | } | ||
223 | |||
224 | /* The following styles set defaults of the elements used by the Paragraph | ||
225 | Format panel. */ | ||
226 | .cke_panel_listItem p, | ||
227 | .cke_panel_listItem h1, | ||
228 | .cke_panel_listItem h2, | ||
229 | .cke_panel_listItem h3, | ||
230 | .cke_panel_listItem h4, | ||
231 | .cke_panel_listItem h5, | ||
232 | .cke_panel_listItem h6, | ||
233 | .cke_panel_listItem pre | ||
234 | { | ||
235 | margin-top: 0px; | ||
236 | margin-bottom: 0px; | ||
237 | } | ||
diff --git a/sources/skins/moonocolor/presets.css b/sources/skins/moonocolor/presets.css new file mode 100644 index 0000000..a4e554b --- /dev/null +++ b/sources/skins/moonocolor/presets.css | |||
@@ -0,0 +1,41 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* "Source" button label */ | ||
7 | .cke_button__source_label, | ||
8 | .cke_button__sourcedialog_label | ||
9 | { | ||
10 | display: inline; | ||
11 | } | ||
12 | |||
13 | /* "Font Size" combo width */ | ||
14 | .cke_combo__fontsize .cke_combo_text | ||
15 | { | ||
16 | width: 30px; | ||
17 | } | ||
18 | |||
19 | /* "Font Size" panel size */ | ||
20 | .cke_combopanel__fontsize | ||
21 | { | ||
22 | width: 120px; | ||
23 | } | ||
24 | |||
25 | /* Editable regions */ | ||
26 | textarea.cke_source | ||
27 | { | ||
28 | font-family: 'Courier New', Monospace; | ||
29 | font-size: small; | ||
30 | background-color: #fff; | ||
31 | white-space: pre-wrap; | ||
32 | border: none; | ||
33 | padding: 0; | ||
34 | margin: 0; | ||
35 | display: block; | ||
36 | } | ||
37 | |||
38 | .cke_wysiwyg_frame, .cke_wysiwyg_div | ||
39 | { | ||
40 | background-color: #fff; | ||
41 | } | ||
diff --git a/sources/skins/moonocolor/readme.md b/sources/skins/moonocolor/readme.md new file mode 100644 index 0000000..58290a0 --- /dev/null +++ b/sources/skins/moonocolor/readme.md | |||
@@ -0,0 +1,51 @@ | |||
1 | "Moono" Skin | ||
2 | ==================== | ||
3 | |||
4 | This skin has been chosen for the **default skin** of CKEditor 4.x, elected from the CKEditor | ||
5 | [skin contest](http://ckeditor.com/blog/new_ckeditor_4_skin) and further shaped by | ||
6 | the CKEditor team. "Moono" is maintained by the core developers. | ||
7 | |||
8 | For more information about skins, please check the [CKEditor Skin SDK](http://docs.cksource.com/CKEditor_4.x/Skin_SDK) | ||
9 | documentation. | ||
10 | |||
11 | Features | ||
12 | ------------------- | ||
13 | "Moono" is a monochromatic skin, which offers a modern look coupled with gradients and transparency. | ||
14 | It comes with the following features: | ||
15 | |||
16 | - Chameleon feature with brightness, | ||
17 | - high-contrast compatibility, | ||
18 | - graphics source provided in SVG. | ||
19 | |||
20 | Directory Structure | ||
21 | ------------------- | ||
22 | |||
23 | CSS parts: | ||
24 | - **editor.css**: the main CSS file. It's simply loading several other files, for easier maintenance, | ||
25 | - **mainui.css**: the file contains styles of entire editor outline structures, | ||
26 | - **toolbar.css**: the file contains styles of the editor toolbar space (top), | ||
27 | - **richcombo.css**: the file contains styles of the rich combo ui elements on toolbar, | ||
28 | - **panel.css**: the file contains styles of the rich combo drop-down, it's not loaded | ||
29 | until the first panel open up, | ||
30 | - **elementspath.css**: the file contains styles of the editor elements path bar (bottom), | ||
31 | - **menu.css**: the file contains styles of all editor menus including context menu and button drop-down, | ||
32 | it's not loaded until the first menu open up, | ||
33 | - **dialog.css**: the CSS files for the dialog UI, it's not loaded until the first dialog open, | ||
34 | - **reset.css**: the file defines the basis of style resets among all editor UI spaces, | ||
35 | - **preset.css**: the file defines the default styles of some UI elements reflecting the skin preference, | ||
36 | - **editor_XYZ.css** and **dialog_XYZ.css**: browser specific CSS hacks. | ||
37 | |||
38 | Other parts: | ||
39 | - **skin.js**: the only JavaScript part of the skin that registers the skin, its browser specific files and its icons and defines the Chameleon feature, | ||
40 | - **icons/**: contains all skin defined icons, | ||
41 | - **images/**: contains a fill general used images, | ||
42 | - **dev/**: contains SVG source of the skin icons. | ||
43 | |||
44 | License | ||
45 | ------- | ||
46 | |||
47 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
48 | |||
49 | Licensed under the terms of any of the following licenses at your choice: [GPL](http://www.gnu.org/licenses/gpl.html), [LGPL](http://www.gnu.org/licenses/lgpl.html) and [MPL](http://www.mozilla.org/MPL/MPL-1.1.html). | ||
50 | |||
51 | See LICENSE.md for more information. | ||
diff --git a/sources/skins/moonocolor/reset.css b/sources/skins/moonocolor/reset.css new file mode 100644 index 0000000..32ddf98 --- /dev/null +++ b/sources/skins/moonocolor/reset.css | |||
@@ -0,0 +1,115 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | reset.css (part of editor.css) | ||
8 | ================================ | ||
9 | |||
10 | This file holds the "reset" requirements of CKEditor, as well as define the | ||
11 | default interface styles. | ||
12 | |||
13 | CKEditor includes two main "reset" class names in the DOM structure created for | ||
14 | editors: | ||
15 | |||
16 | * .cke_reset: Intended to reset a specific element, but not its children. | ||
17 | Because of this, only styles that will not be inherited can be defined. | ||
18 | |||
19 | * .cke_reset_all: Intended to reset not only the element holding it, but | ||
20 | also its child elements. | ||
21 | |||
22 | To understand why "reset" is needed, check the CKEditor Skin SDK: | ||
23 | http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Reset | ||
24 | */ | ||
25 | |||
26 | /* Reset for single elements, not their children. */ | ||
27 | .cke_reset | ||
28 | { | ||
29 | /* Do not include inheritable rules here. */ | ||
30 | margin: 0; | ||
31 | padding: 0; | ||
32 | border: 0; | ||
33 | background: transparent; | ||
34 | text-decoration: none; | ||
35 | width: auto; | ||
36 | height: auto; | ||
37 | vertical-align: baseline; | ||
38 | box-sizing: content-box; | ||
39 | position: static; | ||
40 | transition: none; | ||
41 | } | ||
42 | |||
43 | /* Reset for elements and their children. */ | ||
44 | .cke_reset_all, .cke_reset_all *, | ||
45 | .cke_reset_all a, .cke_reset_all textarea | ||
46 | { | ||
47 | /* The following must be identical to .cke_reset. */ | ||
48 | margin: 0; | ||
49 | padding: 0; | ||
50 | border: 0; | ||
51 | background: transparent; | ||
52 | text-decoration: none; | ||
53 | width: auto; | ||
54 | height: auto; | ||
55 | vertical-align: baseline; | ||
56 | box-sizing: content-box; | ||
57 | position: static; | ||
58 | transition: none; | ||
59 | |||
60 | /* These are rule inherited by all children elements. */ | ||
61 | border-collapse: collapse; | ||
62 | font: normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif; | ||
63 | color: #000; | ||
64 | text-align: left; | ||
65 | white-space: nowrap; | ||
66 | cursor: auto; | ||
67 | float: none; | ||
68 | } | ||
69 | |||
70 | .cke_reset_all .cke_rtl * | ||
71 | { | ||
72 | text-align: right; | ||
73 | } | ||
74 | |||
75 | /* Defaults for some elements. */ | ||
76 | |||
77 | .cke_reset_all iframe | ||
78 | { | ||
79 | vertical-align: inherit; /** For IE */ | ||
80 | } | ||
81 | |||
82 | .cke_reset_all textarea | ||
83 | { | ||
84 | white-space: pre-wrap; | ||
85 | } | ||
86 | |||
87 | .cke_reset_all textarea, | ||
88 | .cke_reset_all input[type="text"], | ||
89 | .cke_reset_all input[type="password"] | ||
90 | { | ||
91 | cursor: text; | ||
92 | } | ||
93 | |||
94 | .cke_reset_all textarea[disabled], | ||
95 | .cke_reset_all input[type="text"][disabled], | ||
96 | .cke_reset_all input[type="password"][disabled] | ||
97 | { | ||
98 | cursor: default; | ||
99 | } | ||
100 | |||
101 | .cke_reset_all fieldset | ||
102 | { | ||
103 | padding: 10px; | ||
104 | border: 2px groove #E0DFE3; | ||
105 | } | ||
106 | |||
107 | .cke_reset_all select | ||
108 | { | ||
109 | box-sizing: border-box; | ||
110 | } | ||
111 | |||
112 | .cke_reset_all table | ||
113 | { | ||
114 | table-layout: auto; | ||
115 | } | ||
diff --git a/sources/skins/moonocolor/richcombo.css b/sources/skins/moonocolor/richcombo.css new file mode 100644 index 0000000..5887f6c --- /dev/null +++ b/sources/skins/moonocolor/richcombo.css | |||
@@ -0,0 +1,210 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | richcombo.css (part of editor.css) | ||
8 | ================================= | ||
9 | |||
10 | This file holds the style set of the "Rich Combo" widget which is commonly used | ||
11 | in the toolbar. It doesn't, however, styles the panel that is displayed when | ||
12 | clicking on the combo, which is instead styled by panel.css. | ||
13 | |||
14 | The visual representation of a rich combo widget looks as follows: | ||
15 | |||
16 | +-- .cke_combo----------------------------------------------------------------------+ | ||
17 | | +-- .cke_combo_label --+ +-- .cke_combo_button ---------------------------------+ | | ||
18 | | | | | +-- .cke_combo_text --+ +-- .cke_combo_open -------+ | | | ||
19 | | | | | | | | +-- .cke_combo_arrow --+ | | | | ||
20 | | | | | | | | | | | | | | ||
21 | | | | | | | | +----------------------+ | | | | ||
22 | | | | | +---------------------+ +--------------------------+ | | | ||
23 | | +----------------------+ +------------------------------------------------------+ | | ||
24 | +-----------------------------------------------------------------------------------+ | ||
25 | */ | ||
26 | |||
27 | /* The box that hold the entire combo widget */ | ||
28 | .cke_combo | ||
29 | { | ||
30 | display: inline-block; | ||
31 | float: left; | ||
32 | } | ||
33 | |||
34 | .cke_rtl .cke_combo | ||
35 | { | ||
36 | float: right; | ||
37 | } | ||
38 | |||
39 | .cke_hc .cke_combo | ||
40 | { | ||
41 | margin-top: -2px; | ||
42 | } | ||
43 | |||
44 | /* The label of the combo widget. It is invisible by default, yet | ||
45 | it's important for semantics and accessibility. */ | ||
46 | .cke_combo_label | ||
47 | { | ||
48 | display: none; | ||
49 | float: left; | ||
50 | line-height: 26px; | ||
51 | vertical-align: top; | ||
52 | margin-right: 5px; | ||
53 | } | ||
54 | |||
55 | .cke_rtl .cke_combo_label | ||
56 | { | ||
57 | float: right; | ||
58 | margin-left: 5px; | ||
59 | margin-right: 0; | ||
60 | } | ||
61 | |||
62 | /* The container for combo text and arrow. */ | ||
63 | a.cke_combo_button | ||
64 | { | ||
65 | cursor: default; | ||
66 | display: inline-block; | ||
67 | float: left; | ||
68 | margin: 0 6px 5px 0; | ||
69 | |||
70 | border: 1px solid #a6a6a6; | ||
71 | border-bottom-color: #979797; | ||
72 | |||
73 | border-radius: 3px; | ||
74 | |||
75 | box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset; | ||
76 | |||
77 | background: #e4e4e4; | ||
78 | background-image: linear-gradient(to bottom, #ffffff, #e4e4e4); | ||
79 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffff', endColorstr='#e4e4e4'); | ||
80 | } | ||
81 | |||
82 | /* Different states of the container. */ | ||
83 | .cke_combo_off a.cke_combo_button:hover, | ||
84 | .cke_combo_off a.cke_combo_button:focus | ||
85 | { | ||
86 | background: #ccc; | ||
87 | background-image: linear-gradient(to bottom, #f2f2f2, #ccc); | ||
88 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f2f2f2', endColorstr='#cccccc'); | ||
89 | |||
90 | outline: none; | ||
91 | } | ||
92 | |||
93 | .cke_combo_off a.cke_combo_button:active, | ||
94 | .cke_combo_on a.cke_combo_button | ||
95 | { | ||
96 | border: 1px solid #777; | ||
97 | |||
98 | box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 1px 5px rgba(0,0,0,.6) inset; | ||
99 | |||
100 | background: #b5b5b5; | ||
101 | background-image: linear-gradient(to bottom, #aaa, #cacaca); | ||
102 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#aaaaaa', endColorstr='#cacaca'); | ||
103 | } | ||
104 | |||
105 | .cke_combo_on a.cke_combo_button:hover, | ||
106 | .cke_combo_on a.cke_combo_button:focus, | ||
107 | .cke_combo_on a.cke_combo_button:active | ||
108 | { | ||
109 | box-shadow: 0 1px 6px rgba(0,0,0,.7) inset, 0 1px 0 rgba(0,0,0,.2); | ||
110 | } | ||
111 | |||
112 | .cke_rtl .cke_combo_button | ||
113 | { | ||
114 | float: right; | ||
115 | margin-left: 5px; | ||
116 | margin-right: 0; | ||
117 | } | ||
118 | |||
119 | .cke_hc a.cke_combo_button | ||
120 | { | ||
121 | padding: 3px; | ||
122 | } | ||
123 | |||
124 | .cke_hc .cke_combo_on a.cke_combo_button, | ||
125 | .cke_hc .cke_combo_off a.cke_combo_button:hover, | ||
126 | .cke_hc .cke_combo_off a.cke_combo_button:focus, | ||
127 | .cke_hc .cke_combo_off a.cke_combo_button:active | ||
128 | { | ||
129 | border-width: 3px; | ||
130 | padding: 1px; | ||
131 | } | ||
132 | |||
133 | /* The label that shows the current value of the rich combo. | ||
134 | By default, it holds the name of the property. | ||
135 | See: .cke_combo_inlinelabel */ | ||
136 | .cke_combo_text | ||
137 | { | ||
138 | line-height: 26px; | ||
139 | padding-left: 10px; | ||
140 | text-overflow: ellipsis; | ||
141 | overflow: hidden; | ||
142 | float: left; | ||
143 | cursor: default; | ||
144 | color: #474747; | ||
145 | text-shadow: 0 1px 0 rgba(255,255,255,.5); | ||
146 | width: 60px; | ||
147 | } | ||
148 | |||
149 | .cke_rtl .cke_combo_text | ||
150 | { | ||
151 | float: right; | ||
152 | text-align: right; | ||
153 | padding-left: 0; | ||
154 | padding-right: 10px; | ||
155 | } | ||
156 | |||
157 | .cke_hc .cke_combo_text | ||
158 | { | ||
159 | line-height: 18px; | ||
160 | font-size: 12px; | ||
161 | } | ||
162 | |||
163 | /* The handler which opens the panel of rich combo properties. | ||
164 | It holds an arrow as a visual indicator. */ | ||
165 | .cke_combo_open | ||
166 | { | ||
167 | cursor: default; | ||
168 | display: inline-block; | ||
169 | font-size: 0; | ||
170 | height: 19px; | ||
171 | line-height: 17px; | ||
172 | margin: 1px 7px 1px; | ||
173 | width: 5px; | ||
174 | } | ||
175 | |||
176 | .cke_hc .cke_combo_open | ||
177 | { | ||
178 | height: 12px; | ||
179 | } | ||
180 | |||
181 | /* The arrow which is displayed inside of the .cke_combo_open handler. */ | ||
182 | .cke_combo_arrow | ||
183 | { | ||
184 | cursor: default; | ||
185 | margin: 11px 0 0; | ||
186 | float: left; | ||
187 | |||
188 | /* Pure CSS Arrow */ | ||
189 | height: 0; | ||
190 | width: 0; | ||
191 | font-size: 0; | ||
192 | border-left: 3px solid transparent; | ||
193 | border-right: 3px solid transparent; | ||
194 | border-top: 3px solid #474747; | ||
195 | } | ||
196 | |||
197 | .cke_hc .cke_combo_arrow | ||
198 | { | ||
199 | font-size: 10px; | ||
200 | width: auto; | ||
201 | border: 0; | ||
202 | margin-top: 3px; | ||
203 | } | ||
204 | |||
205 | /* Disabled combo button styles. */ | ||
206 | .cke_combo_disabled .cke_combo_inlinelabel, | ||
207 | .cke_combo_disabled .cke_combo_open | ||
208 | { | ||
209 | opacity: 0.3; | ||
210 | } | ||
diff --git a/sources/skins/moonocolor/skin.js b/sources/skins/moonocolor/skin.js new file mode 100644 index 0000000..01f2de8 --- /dev/null +++ b/sources/skins/moonocolor/skin.js | |||
@@ -0,0 +1,319 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | skin.js | ||
8 | ========= | ||
9 | |||
10 | In this file we interact with the CKEditor JavaScript API to register the skin | ||
11 | and enable additional skin related features. | ||
12 | |||
13 | The level of complexity of this file depends on the features available in the | ||
14 | skin. There is only one mandatory line of code to be included here, which is | ||
15 | setting CKEDITOR.skin.name. All the rest is optional, but recommended to be | ||
16 | implemented as they make higher quality skins. | ||
17 | |||
18 | For this skin, the following tasks are achieved in this file: | ||
19 | |||
20 | 1. Register the skin. | ||
21 | 2. Register browser specific skin files. | ||
22 | 3. Define the "Chameleon" feature. | ||
23 | 4. Register the skin icons, to have them used on the development version of | ||
24 | the skin. | ||
25 | */ | ||
26 | |||
27 | // 1. Register the skin | ||
28 | // ---------------------- | ||
29 | // The CKEDITOR.skin.name property must be set to the skin name. This is a | ||
30 | // lower-cased name, which must match the skin folder name as well as the value | ||
31 | // used on config.skin to tell the editor to use the skin. | ||
32 | // | ||
33 | // This is the only mandatory property to be defined in this file. | ||
34 | CKEDITOR.skin.name = 'moonocolor'; | ||
35 | |||
36 | // 2. Register browser specific skin files | ||
37 | // ----------------------------------------- | ||
38 | // (http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Browser_Hacks) | ||
39 | // | ||
40 | // To help implementing browser specific "hacks" to the skin files and have it | ||
41 | // easy to maintain, it is possible to have dedicated files for such browsers, | ||
42 | // for both the main skin CSS files: editor.css and dialog.css. | ||
43 | // | ||
44 | // The browser files must be named after the main file names, appended by an | ||
45 | // underscore and the browser name (e.g. editor_ie.css, dialog_ie8.css). | ||
46 | // | ||
47 | // The accepted browser names must match the CKEDITOR.env properties. The most | ||
48 | // common names are: ie, webkit and gecko. Check the documentation for the complete | ||
49 | // list: | ||
50 | // http://docs.ckeditor.com/#!/api/CKEDITOR.env | ||
51 | // | ||
52 | // Internet explorer is an expection and the browser version is also accepted | ||
53 | // (ie7, ie8, ie9, ie10), as well as a special name for IE in Quirks mode (iequirks). | ||
54 | // | ||
55 | // The available browser specific files must be set separately for editor.css | ||
56 | // and dialog.css. | ||
57 | CKEDITOR.skin.ua_editor = 'ie,iequirks,ie7,ie8,gecko'; | ||
58 | CKEDITOR.skin.ua_dialog = 'ie,iequirks,ie7,ie8'; | ||
59 | |||
60 | // 3. Define the "Chameleon" feature | ||
61 | // ----------------------------------- | ||
62 | // (http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Chameleon) | ||
63 | // | ||
64 | // "Chameleon" is a unique feature available in CKEditor. It makes it possible | ||
65 | // to end users to specify which color to use as the basis for the editor UI. | ||
66 | // It is enough to set config.uiColor to any color value and voila, the UI is | ||
67 | // colored. | ||
68 | // | ||
69 | // The only detail here is that the skin itself must be compatible with the | ||
70 | // Chameleon feature. That's because the skin CSS files are the responsible to | ||
71 | // apply colors in the UI and each skin do that in different way and on | ||
72 | // different places. | ||
73 | // | ||
74 | // Implementing the Chameleon feature requires a bit of JavaScript programming. | ||
75 | // The CKEDITOR.skin.chameleon function must be defined. It must return the CSS | ||
76 | // "template" to be used to change the color of a specific CKEditor instance | ||
77 | // available in the page. When a color change is required, this template is | ||
78 | // appended to the page holding the editor, overriding styles defined in the | ||
79 | // skin files. | ||
80 | // | ||
81 | // The "$color" placeholder can be used in the returned string. It'll be | ||
82 | // replaced with the desired color. | ||
83 | CKEDITOR.skin.chameleon = ( function() { | ||
84 | // This method can be used to adjust colour brightness of various element. | ||
85 | // Colours are accepted in 7-byte hex format, for example: #00ff00. | ||
86 | // Brightness ratio must be a float number within [-1, 1], | ||
87 | // where -1 is black, 1 is white and 0 is the original colour. | ||
88 | var colorBrightness = ( function() { | ||
89 | function channelBrightness( channel, ratio ) { | ||
90 | var brighten = ratio < 0 ? ( | ||
91 | 0 | channel * ( 1 + ratio ) | ||
92 | ) : ( | ||
93 | 0 | channel + ( 255 - channel ) * ratio | ||
94 | ); | ||
95 | |||
96 | return ( '0' + brighten.toString( 16 ) ).slice( -2 ); | ||
97 | } | ||
98 | |||
99 | return function( hexColor, ratio ) { | ||
100 | var channels = hexColor.match( /[^#]./g ); | ||
101 | |||
102 | for ( var i = 0 ; i < 3 ; i++ ) | ||
103 | channels[ i ] = channelBrightness( parseInt( channels[ i ], 16 ), ratio ); | ||
104 | |||
105 | return '#' + channels.join( '' ); | ||
106 | }; | ||
107 | } )(), | ||
108 | |||
109 | // Use this function just to avoid having to repeat all these rules on | ||
110 | // several places of our template. | ||
111 | verticalGradient = ( function() { | ||
112 | var template = new CKEDITOR.template( 'background:#{to};' + | ||
113 | 'background-image:linear-gradient(to bottom,{from},{to});' + | ||
114 | 'filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr=\'{from}\',endColorstr=\'{to}\');' ); | ||
115 | |||
116 | return function( from, to ) { | ||
117 | return template.output( { from: from, to: to } ); | ||
118 | }; | ||
119 | } )(), | ||
120 | |||
121 | // Style templates for various user interface parts: | ||
122 | // * Default editor template. | ||
123 | // * Default panel template. | ||
124 | templates = { | ||
125 | editor: new CKEDITOR.template( | ||
126 | '{id}.cke_chrome [border-color:{defaultBorder};] ' + | ||
127 | '{id} .cke_top [ ' + | ||
128 | '{defaultGradient}' + | ||
129 | 'border-bottom-color:{defaultBorder};' + | ||
130 | '] ' + | ||
131 | '{id} .cke_bottom [' + | ||
132 | '{defaultGradient}' + | ||
133 | 'border-top-color:{defaultBorder};' + | ||
134 | '] ' + | ||
135 | '{id} .cke_resizer [border-right-color:{ckeResizer}] ' + | ||
136 | |||
137 | // Dialogs. | ||
138 | '{id} .cke_dialog_title [' + | ||
139 | '{defaultGradient}' + | ||
140 | 'border-bottom-color:{defaultBorder};' + | ||
141 | '] ' + | ||
142 | '{id} .cke_dialog_footer [' + | ||
143 | '{defaultGradient}' + | ||
144 | 'outline-color:{defaultBorder};' + | ||
145 | 'border-top-color:{defaultBorder};' + // IE7 doesn't use outline. | ||
146 | '] ' + | ||
147 | '{id} .cke_dialog_tab [' + | ||
148 | '{lightGradient}' + | ||
149 | 'border-color:{defaultBorder};' + | ||
150 | '] ' + | ||
151 | '{id} .cke_dialog_tab:hover [' + | ||
152 | '{mediumGradient}' + | ||
153 | '] ' + | ||
154 | '{id} .cke_dialog_contents [' + | ||
155 | 'border-top-color:{defaultBorder};' + | ||
156 | '] ' + | ||
157 | '{id} .cke_dialog_tab_selected, {id} .cke_dialog_tab_selected:hover [' + | ||
158 | 'background:{dialogTabSelected};' + | ||
159 | 'border-bottom-color:{dialogTabSelectedBorder};' + | ||
160 | '] ' + | ||
161 | '{id} .cke_dialog_body [' + | ||
162 | 'background:{dialogBody};' + | ||
163 | 'border-color:{defaultBorder};' + | ||
164 | '] ' + | ||
165 | |||
166 | // Toolbars, buttons. | ||
167 | '{id} .cke_toolgroup [' + | ||
168 | '{lightGradient}' + | ||
169 | 'border-color:{defaultBorder};' + | ||
170 | '] ' + | ||
171 | '{id} a.cke_button_off:hover, {id} a.cke_button_off:focus, {id} a.cke_button_off:active [' + | ||
172 | '{mediumGradient}' + | ||
173 | '] ' + | ||
174 | '{id} .cke_button_on [' + | ||
175 | '{ckeButtonOn}' + | ||
176 | '] ' + | ||
177 | '{id} .cke_toolbar_separator [' + | ||
178 | 'background-color: {ckeToolbarSeparator};' + | ||
179 | '] ' + | ||
180 | |||
181 | // Combo buttons. | ||
182 | '{id} .cke_combo_button [' + | ||
183 | 'border-color:{defaultBorder};' + | ||
184 | '{lightGradient}' + | ||
185 | '] ' + | ||
186 | '{id} a.cke_combo_button:hover, {id} a.cke_combo_button:focus, {id} .cke_combo_on a.cke_combo_button [' + | ||
187 | 'border-color:{defaultBorder};' + | ||
188 | '{mediumGradient}' + | ||
189 | '] ' + | ||
190 | |||
191 | // Elementspath. | ||
192 | '{id} .cke_path_item [' + | ||
193 | 'color:{elementsPathColor};' + | ||
194 | '] ' + | ||
195 | '{id} a.cke_path_item:hover, {id} a.cke_path_item:focus, {id} a.cke_path_item:active [' + | ||
196 | 'background-color:{elementsPathBg};' + | ||
197 | '] ' + | ||
198 | |||
199 | '{id}.cke_panel [' + | ||
200 | 'border-color:{defaultBorder};' + | ||
201 | '] ' | ||
202 | ), | ||
203 | panel: new CKEDITOR.template( | ||
204 | // Panel drop-downs. | ||
205 | '.cke_panel_grouptitle [' + | ||
206 | '{lightGradient}' + | ||
207 | 'border-color:{defaultBorder};' + | ||
208 | '] ' + | ||
209 | |||
210 | // Context menus. | ||
211 | '.cke_menubutton_icon [' + | ||
212 | 'background-color:{menubuttonIcon};' + | ||
213 | '] ' + | ||
214 | '.cke_menubutton:hover .cke_menubutton_icon, .cke_menubutton:focus .cke_menubutton_icon, .cke_menubutton:active .cke_menubutton_icon [' + | ||
215 | 'background-color:{menubuttonIconHover};' + | ||
216 | '] ' + | ||
217 | '.cke_menuseparator [' + | ||
218 | 'background-color:{menubuttonIcon};' + | ||
219 | '] ' + | ||
220 | |||
221 | // Color boxes. | ||
222 | 'a:hover.cke_colorbox, a:focus.cke_colorbox, a:active.cke_colorbox [' + | ||
223 | 'border-color:{defaultBorder};' + | ||
224 | '] ' + | ||
225 | 'a:hover.cke_colorauto, a:hover.cke_colormore, a:focus.cke_colorauto, a:focus.cke_colormore, a:active.cke_colorauto, a:active.cke_colormore [' + | ||
226 | 'background-color:{ckeColorauto};' + | ||
227 | 'border-color:{defaultBorder};' + | ||
228 | '] ' | ||
229 | ) | ||
230 | }; | ||
231 | |||
232 | return function( editor, part ) { | ||
233 | var uiColor = editor.uiColor, | ||
234 | // The following are CSS styles used in templates. | ||
235 | // Styles are generated according to current editor.uiColor. | ||
236 | templateStyles = { | ||
237 | // CKEditor instances have a unique ID, which is used as class name into | ||
238 | // the outer container of the editor UI (e.g. ".cke_1"). | ||
239 | // | ||
240 | // The Chameleon feature is available for each CKEditor instance, | ||
241 | // independently. Because of this, we need to prefix all CSS selectors with | ||
242 | // the unique class name of the instance. | ||
243 | id: '.' + editor.id, | ||
244 | |||
245 | // These styles are used by various UI elements. | ||
246 | defaultBorder: colorBrightness( uiColor, -0.1 ), | ||
247 | defaultGradient: verticalGradient( colorBrightness( uiColor, 0.9 ), uiColor ), | ||
248 | lightGradient: verticalGradient( colorBrightness( uiColor, 1 ), colorBrightness( uiColor, 0.7 ) ), | ||
249 | mediumGradient: verticalGradient( colorBrightness( uiColor, 0.8 ), colorBrightness( uiColor, 0.5 ) ), | ||
250 | |||
251 | // These are for specific UI elements. | ||
252 | ckeButtonOn: verticalGradient( colorBrightness( uiColor, 0.6 ), colorBrightness( uiColor, 0.7 ) ), | ||
253 | ckeResizer: colorBrightness( uiColor, -0.4 ), | ||
254 | ckeToolbarSeparator: colorBrightness( uiColor, 0.5 ), | ||
255 | ckeColorauto: colorBrightness( uiColor, 0.8 ), | ||
256 | dialogBody: colorBrightness( uiColor, 0.7 ), | ||
257 | // Use gradient instead of simple hex to avoid further filter resetting in IE. | ||
258 | dialogTabSelected: verticalGradient( '#FFFFFF', '#FFFFFF' ), | ||
259 | dialogTabSelectedBorder: '#FFF', | ||
260 | elementsPathColor: colorBrightness( uiColor, -0.6 ), | ||
261 | elementsPathBg: uiColor, | ||
262 | menubuttonIcon: colorBrightness( uiColor, 0.5 ), | ||
263 | menubuttonIconHover: colorBrightness( uiColor, 0.3 ) | ||
264 | }; | ||
265 | |||
266 | return templates[ part ] | ||
267 | .output( templateStyles ) | ||
268 | .replace( /\[/g, '{' ) // Replace brackets with braces. | ||
269 | .replace( /\]/g, '}' ); | ||
270 | }; | ||
271 | } )(); | ||
272 | |||
273 | // %REMOVE_START% | ||
274 | |||
275 | // 4. Register the skin icons for development purposes only | ||
276 | // ---------------------------------------------------------- | ||
277 | // (http://docs.cksource.com/CKEditor_4.x/Skin_SDK/Icons) | ||
278 | // | ||
279 | // Note: As "moono" is the default CKEditor skin, it provides no custom icons, | ||
280 | // thus this code is commented out. | ||
281 | // | ||
282 | // This code is here just to make the skin work fully when using its "source" | ||
283 | // version. Without this, the skin will still work, but its icons will not be | ||
284 | // used (again, on source version only). | ||
285 | // | ||
286 | // This block of code is not necessary on the release version of the skin. | ||
287 | // Because of this it is very important to include it inside the REMOVE_START | ||
288 | // and REMOVE_END comment markers, so the skin builder will properly clean | ||
289 | // things up. | ||
290 | // | ||
291 | // If a required icon is not available here, the plugin defined icon will be | ||
292 | // used instead. This means that a skin is not required to provide all icons. | ||
293 | // Actually, it is not required to provide icons at all. | ||
294 | // | ||
295 | // (function() { | ||
296 | // // The available icons. This list must match the file names (without | ||
297 | // // extension) available inside the "icons" folder. | ||
298 | // var icons = ( 'about,anchor-rtl,anchor,bgcolor,bidiltr,bidirtl,blockquote,' + | ||
299 | // 'bold,bulletedlist-rtl,bulletedlist,button,checkbox,copy-rtl,copy,' + | ||
300 | // 'creatediv,cut-rtl,cut,docprops-rtl,docprops,find-rtl,find,flash,form,' + | ||
301 | // 'hiddenfield,horizontalrule,icons,iframe,image,imagebutton,indent-rtl,' + | ||
302 | // 'indent,italic,justifyblock,justifycenter,justifyleft,justifyright,' + | ||
303 | // 'link,maximize,newpage-rtl,newpage,numberedlist-rtl,numberedlist,' + | ||
304 | // 'outdent-rtl,outdent,pagebreak-rtl,pagebreak,paste-rtl,paste,' + | ||
305 | // 'pastefromword-rtl,pastefromword,pastetext-rtl,pastetext,preview-rtl,' + | ||
306 | // 'preview,print,radio,redo-rtl,redo,removeformat,replace,save,scayt,' + | ||
307 | // 'select-rtl,select,selectall,showblocks-rtl,showblocks,smiley,' + | ||
308 | // 'source-rtl,source,specialchar,spellchecker,strike,subscript,' + | ||
309 | // 'superscript,table,templates-rtl,templates,textarea-rtl,textarea,' + | ||
310 | // 'textcolor,textfield-rtl,textfield,uicolor,underline,undo-rtl,undo,unlink' ).split( ',' ); | ||
311 | // | ||
312 | // var iconsFolder = CKEDITOR.getUrl( CKEDITOR.skin.path() + 'icons/' + ( CKEDITOR.env.hidpi ? 'hidpi/' : '' ) ); | ||
313 | // | ||
314 | // for ( var i = 0; i < icons.length; i++ ) { | ||
315 | // CKEDITOR.skin.addIcon( icons[ i ], iconsFolder + icons[ i ] + '.png' ); | ||
316 | // } | ||
317 | // })(); | ||
318 | |||
319 | // %REMOVE_END% | ||
diff --git a/sources/skins/moonocolor/toolbar.css b/sources/skins/moonocolor/toolbar.css new file mode 100644 index 0000000..afcf117 --- /dev/null +++ b/sources/skins/moonocolor/toolbar.css | |||
@@ -0,0 +1,387 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | toolbar.css (part of editor.css) | ||
8 | ================================== | ||
9 | |||
10 | This files styles the CKEditor toolbar and its buttons. For toolbar combo | ||
11 | styles, check richcombo.css. | ||
12 | |||
13 | The toolbar is rendered as a big container (called toolbox), which contains | ||
14 | smaller "toolbars". Each toolbar represents a group of items that cannot be | ||
15 | separated. The following is the visual representation of the toolbox. | ||
16 | |||
17 | +-- .cke_toolbox ----------------------------------------------------------+ | ||
18 | | +-- .cke_toolbar --+ +-- .cke_toolbar --+ ... +-- .cke_toolbar_break --+ | | ||
19 | | | | | | | | | | ||
20 | | +------------------+ +------------------+ +------------------------+ | | ||
21 | | +-- .cke_toolbar --+ +-- .cke_toolbar --+ ... | | ||
22 | | | | | | | | ||
23 | | +------------------+ +------------------+ | | ||
24 | +--------------------------------------------------------------------------+ | ||
25 | |||
26 | The following instead is the visual representation of a single toolbar: | ||
27 | |||
28 | +-- .cke_toolbar ----------------------------------------------------------------+ | ||
29 | | +-- .cke_toolbar_start --+ +-- .cke_toolgroup (*) --+ +-- .cke_toolbar_end --+ | | ||
30 | | | | | | | | | | ||
31 | | +------------------------+ +------------------------+ +----------------------+ | | ||
32 | +--------------------------------------------------------------------------------+ | ||
33 | (*) .cke_toolgroup is available only when the toolbar items can be grouped | ||
34 | (buttons). If the items can't be group (combos), this box is not available | ||
35 | and the items are rendered straight in that place. | ||
36 | |||
37 | This file also styles toolbar buttons, which are rendered inside the above | ||
38 | .cke_toolgroup containers. This is the visual representation of a button: | ||
39 | |||
40 | +-- .cke_button -------------------------------------+ | ||
41 | | +-- .cke_button_icon --+ +-- .cke_button_label --+ | | ||
42 | | | | | | | | ||
43 | | +----------------------+ +-----------------------+ | | ||
44 | +----------------------------------------------------+ | ||
45 | |||
46 | Special outer level classes used in this file: | ||
47 | |||
48 | .cke_hc: Available when the editor is rendered on "High Contrast". | ||
49 | .cke_rtl: Available when the editor UI is on RTL. | ||
50 | */ | ||
51 | |||
52 | /* The box that holds each toolbar. */ | ||
53 | .cke_toolbar | ||
54 | { | ||
55 | float: left; | ||
56 | } | ||
57 | |||
58 | .cke_rtl .cke_toolbar | ||
59 | { | ||
60 | float: right; | ||
61 | } | ||
62 | |||
63 | /* The box that holds buttons. */ | ||
64 | .cke_toolgroup | ||
65 | { | ||
66 | float: left; | ||
67 | margin: 0 6px 5px 0; | ||
68 | border: 1px solid #a6a6a6; | ||
69 | border-bottom-color: #979797; | ||
70 | |||
71 | border-radius: 3px; | ||
72 | |||
73 | box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset; | ||
74 | |||
75 | background: #e4e4e4; | ||
76 | background-image: linear-gradient(to bottom, #ffffff, #e4e4e4); | ||
77 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffff', endColorstr='#e4e4e4'); | ||
78 | } | ||
79 | |||
80 | .cke_hc .cke_toolgroup | ||
81 | { | ||
82 | border: 0; | ||
83 | margin-right: 10px; | ||
84 | margin-bottom: 10px; | ||
85 | } | ||
86 | |||
87 | .cke_rtl .cke_toolgroup | ||
88 | { | ||
89 | float: right; | ||
90 | margin-left: 6px; | ||
91 | margin-right: 0; | ||
92 | } | ||
93 | |||
94 | /* A toolbar button . */ | ||
95 | a.cke_button | ||
96 | { | ||
97 | display: inline-block; | ||
98 | height: 18px; | ||
99 | padding: 4px 6px; | ||
100 | outline: none; | ||
101 | cursor: default; | ||
102 | float: left; | ||
103 | border: 0; | ||
104 | } | ||
105 | |||
106 | .cke_ltr .cke_button:last-child, | ||
107 | .cke_rtl .cke_button:first-child | ||
108 | { | ||
109 | /* Don't distort parent's rounded border. */ | ||
110 | border-radius: 0 2px 2px 0; | ||
111 | } | ||
112 | |||
113 | .cke_ltr .cke_button:first-child, | ||
114 | .cke_rtl .cke_button:last-child | ||
115 | { | ||
116 | /* Don't distort parent's rounded border. */ | ||
117 | border-radius: 2px 0 0 2px; | ||
118 | } | ||
119 | |||
120 | .cke_rtl .cke_button | ||
121 | { | ||
122 | float: right; | ||
123 | } | ||
124 | |||
125 | .cke_hc .cke_button | ||
126 | { | ||
127 | border: 1px solid black; | ||
128 | |||
129 | /* Compensate the added border */ | ||
130 | padding: 3px 5px; | ||
131 | margin: -2px 4px 0 -2px; | ||
132 | } | ||
133 | |||
134 | /* This class is applied to the button when it is "active" (pushed). | ||
135 | This style indicates that the feature associated with the button is active | ||
136 | i.e. currently writing in bold or when spell checking is enabled. */ | ||
137 | a.cke_button_on | ||
138 | { | ||
139 | box-shadow: 0 1px 5px rgba(0,0,0,.6) inset, 0 1px 0 rgba(0,0,0,.2); | ||
140 | |||
141 | background: #b5b5b5; | ||
142 | background-image: linear-gradient(to bottom, #aaa, #cacaca); | ||
143 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#aaaaaa', endColorstr='#cacaca'); | ||
144 | } | ||
145 | |||
146 | .cke_hc .cke_button_on, | ||
147 | .cke_hc a.cke_button_off:hover, | ||
148 | .cke_hc a.cke_button_off:focus, | ||
149 | .cke_hc a.cke_button_off:active, | ||
150 | .cke_hc a.cke_button_disabled:hover, | ||
151 | .cke_hc a.cke_button_disabled:focus, | ||
152 | .cke_hc a.cke_button_disabled:active | ||
153 | { | ||
154 | border-width: 3px; | ||
155 | |||
156 | /* Compensate the border change */ | ||
157 | padding: 1px 3px; | ||
158 | } | ||
159 | |||
160 | /* This class is applied to the button when the feature associated with the | ||
161 | button cannot be used (grayed-out). | ||
162 | i.e. paste button remains disabled when there is nothing in the clipboard to | ||
163 | be pasted. */ | ||
164 | .cke_button_disabled .cke_button_icon | ||
165 | { | ||
166 | opacity: 0.3; | ||
167 | } | ||
168 | |||
169 | .cke_hc .cke_button_disabled | ||
170 | { | ||
171 | opacity: 0.5; | ||
172 | } | ||
173 | |||
174 | a.cke_button_on:hover, | ||
175 | a.cke_button_on:focus, | ||
176 | a.cke_button_on:active | ||
177 | { | ||
178 | box-shadow: 0 1px 6px rgba(0,0,0,.7) inset, 0 1px 0 rgba(0,0,0,.2); | ||
179 | } | ||
180 | |||
181 | a.cke_button_off:hover, | ||
182 | a.cke_button_off:focus, | ||
183 | a.cke_button_off:active, | ||
184 | a.cke_button_disabled:hover, | ||
185 | a.cke_button_disabled:focus, | ||
186 | a.cke_button_disabled:active | ||
187 | { | ||
188 | box-shadow: 0 0 1px rgba(0,0,0,.3) inset; | ||
189 | |||
190 | background: #ccc; | ||
191 | background-image: linear-gradient(to bottom, #f2f2f2, #ccc); | ||
192 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f2f2f2', endColorstr='#cccccc'); | ||
193 | } | ||
194 | |||
195 | /* The icon which is a visual representation of the button. */ | ||
196 | .cke_button_icon | ||
197 | { | ||
198 | cursor: inherit; | ||
199 | background-repeat: no-repeat; | ||
200 | margin-top: 1px; | ||
201 | width: 16px; | ||
202 | height: 16px; | ||
203 | float: left; | ||
204 | display: inline-block; | ||
205 | } | ||
206 | |||
207 | .cke_rtl .cke_button_icon | ||
208 | { | ||
209 | float: right; | ||
210 | } | ||
211 | |||
212 | .cke_hc .cke_button_icon | ||
213 | { | ||
214 | display: none; | ||
215 | } | ||
216 | |||
217 | /* The label of the button that stores the name of the feature. By default, | ||
218 | labels are invisible. They can be revealed on demand though. */ | ||
219 | .cke_button_label | ||
220 | { | ||
221 | display: none; | ||
222 | padding-left: 3px; | ||
223 | margin-top: 1px; | ||
224 | line-height: 17px; | ||
225 | vertical-align: middle; | ||
226 | float: left; | ||
227 | cursor: default; | ||
228 | color: #474747; | ||
229 | text-shadow: 0 1px 0 rgba(255,255,255,.5); | ||
230 | } | ||
231 | |||
232 | .cke_rtl .cke_button_label | ||
233 | { | ||
234 | padding-right: 3px; | ||
235 | padding-left: 0; | ||
236 | float: right; | ||
237 | } | ||
238 | |||
239 | .cke_hc .cke_button_label | ||
240 | { | ||
241 | padding: 0; | ||
242 | display: inline-block; | ||
243 | font-size: 12px; | ||
244 | } | ||
245 | |||
246 | /* The small arrow available on buttons that can be expanded | ||
247 | (e.g. the color buttons). */ | ||
248 | .cke_button_arrow | ||
249 | { | ||
250 | /* Arrow in CSS */ | ||
251 | display: inline-block; | ||
252 | margin: 8px 0 0 1px; | ||
253 | width: 0; | ||
254 | height: 0; | ||
255 | cursor: default; | ||
256 | vertical-align: top; | ||
257 | border-left: 3px solid transparent; | ||
258 | border-right: 3px solid transparent; | ||
259 | border-top: 3px solid #474747; | ||
260 | } | ||
261 | |||
262 | .cke_rtl .cke_button_arrow | ||
263 | { | ||
264 | margin-right: 5px; | ||
265 | margin-left: 0; | ||
266 | } | ||
267 | |||
268 | .cke_hc .cke_button_arrow | ||
269 | { | ||
270 | font-size: 10px; | ||
271 | margin: 3px -2px 0 3px; | ||
272 | width: auto; | ||
273 | border: 0; | ||
274 | } | ||
275 | |||
276 | /* The vertical separator which is used within a single toolbar to split | ||
277 | buttons into sub-groups. */ | ||
278 | .cke_toolbar_separator | ||
279 | { | ||
280 | float: left; | ||
281 | background-color: #c0c0c0; | ||
282 | background-color: rgba(0,0,0,.2); | ||
283 | margin: 5px 2px 0; | ||
284 | height: 18px; | ||
285 | width: 1px; | ||
286 | |||
287 | box-shadow: 1px 0 1px rgba(255,255,255,.5); | ||
288 | } | ||
289 | |||
290 | .cke_rtl .cke_toolbar_separator | ||
291 | { | ||
292 | float: right; | ||
293 | |||
294 | box-shadow: -1px 0 1px rgba(255,255,255,.1); | ||
295 | } | ||
296 | |||
297 | .cke_hc .cke_toolbar_separator | ||
298 | { | ||
299 | width: 0; | ||
300 | border-left: 1px solid; | ||
301 | margin: 1px 5px 0 0px; | ||
302 | } | ||
303 | |||
304 | /* The dummy element that breaks toolbars. | ||
305 | Once it is placed, the very next toolbar is moved to the new row. */ | ||
306 | .cke_toolbar_break | ||
307 | { | ||
308 | display: block; | ||
309 | clear: left; | ||
310 | } | ||
311 | |||
312 | .cke_rtl .cke_toolbar_break | ||
313 | { | ||
314 | clear: right; | ||
315 | } | ||
316 | |||
317 | /* The button, which when clicked hides (collapses) all the toolbars. */ | ||
318 | a.cke_toolbox_collapser | ||
319 | { | ||
320 | width: 12px; | ||
321 | height: 11px; | ||
322 | float: right; | ||
323 | margin: 11px 0 0; | ||
324 | font-size: 0; | ||
325 | cursor: default; | ||
326 | text-align: center; | ||
327 | |||
328 | border: 1px solid #a6a6a6; | ||
329 | border-bottom-color: #979797; | ||
330 | |||
331 | border-radius: 3px; | ||
332 | |||
333 | box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset; | ||
334 | |||
335 | background: #e4e4e4; | ||
336 | background-image: linear-gradient(to bottom, #ffffff, #e4e4e4); | ||
337 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffff', endColorstr='#e4e4e4'); | ||
338 | } | ||
339 | |||
340 | .cke_toolbox_collapser:hover | ||
341 | { | ||
342 | background: #ccc; | ||
343 | background-image: linear-gradient(to bottom, #f2f2f2, #ccc); | ||
344 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f2f2f2', endColorstr='#cccccc'); | ||
345 | } | ||
346 | |||
347 | .cke_toolbox_collapser.cke_toolbox_collapser_min | ||
348 | { | ||
349 | margin: 0 2px 4px; | ||
350 | } | ||
351 | |||
352 | .cke_rtl .cke_toolbox_collapser | ||
353 | { | ||
354 | float: left; | ||
355 | } | ||
356 | |||
357 | /* The CSS arrow, which belongs to the toolbar collapser. */ | ||
358 | .cke_toolbox_collapser .cke_arrow | ||
359 | { | ||
360 | display: inline-block; | ||
361 | |||
362 | /* Pure CSS Arrow */ | ||
363 | height: 0; | ||
364 | width: 0; | ||
365 | font-size: 0; | ||
366 | margin-top: 1px; | ||
367 | border-left: 3px solid transparent; | ||
368 | border-right: 3px solid transparent; | ||
369 | border-bottom: 3px solid #474747; | ||
370 | border-top: 3px solid transparent; | ||
371 | } | ||
372 | |||
373 | .cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow | ||
374 | { | ||
375 | margin-top: 4px; | ||
376 | border-bottom-color: transparent; | ||
377 | border-top-color: #474747; | ||
378 | } | ||
379 | |||
380 | .cke_hc .cke_toolbox_collapser .cke_arrow | ||
381 | { | ||
382 | font-size: 8px; | ||
383 | width: auto; | ||
384 | border: 0; | ||
385 | margin-top: 0; | ||
386 | margin-right: 2px; | ||
387 | } | ||