1 | /* |
---|
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. |
---|
3 | For licensing, see LICENSE.md or http://ckeditor.com/license |
---|
4 | */ |
---|
5 | /* |
---|
6 | dialog.css |
---|
7 | ============ |
---|
8 | This file styles dialogs and all widgets available inside of it (tabs, buttons, |
---|
9 | fields, etc.). |
---|
10 | Dialogs are a complex system because they're very flexible. The CKEditor API |
---|
11 | makes it easy to create and customize dialogs by code, by making use of several |
---|
12 | different widgets inside its contents. |
---|
13 | All dialogs share a main dialog strucuture, which can be visually represented |
---|
14 | as follows: |
---|
15 | +-- .cke_dialog -------------------------------------------------+ |
---|
16 | | +-- .cke_dialog_body ----------------------------------------+ | |
---|
17 | | | +-- .cke_dialog_title --+ +-- .cke_dialog_close_button --+ | | |
---|
18 | | | | | | | | | |
---|
19 | | | +-----------------------+ +------------------------------+ | | |
---|
20 | | | +-- .cke_dialog_tabs ------------------------------------+ | | |
---|
21 | | | | | | | |
---|
22 | | | +--------------------------------------------------------+ | | |
---|
23 | | | +-- .cke_dialog_contents --------------------------------+ | | |
---|
24 | | | | +-- .cke_dialog_contents_body -----------------------+ | | | |
---|
25 | | | | | | | | | |
---|
26 | | | | +----------------------------------------------------+ | | | |
---|
27 | | | | +-- .cke_dialog_footer ------------------------------+ | | | |
---|
28 | | | | | | | | | |
---|
29 | | | | +----------------------------------------------------+ | | | |
---|
30 | | | +--------------------------------------------------------+ | | |
---|
31 | | +------------------------------------------------------------+ | |
---|
32 | +----------------------------------------------------------------+ |
---|
33 | Comments in this file will give more details about each of the above blocks. |
---|
34 | */ |
---|
35 | /* The outer container of the dialog. */ |
---|
36 | .cke_dialog |
---|
37 | { |
---|
38 | /* Mandatory: Because the dialog.css file is loaded on demand, we avoid |
---|
39 | showing an unstyled dialog by hidding it. Here, we restore its visibility. */ |
---|
40 | visibility: visible; |
---|
41 | } |
---|
42 | /* The inner boundary container. */ |
---|
43 | .cke_dialog_body |
---|
44 | { |
---|
45 | z-index: 1; |
---|
46 | background: #eaeaea; |
---|
47 | border: 1px solid #b2b2b2; |
---|
48 | border-bottom-color: #999; |
---|
49 | border-radius: 3px; |
---|
50 | box-shadow: 0 0 3px rgba(0, 0, 0, .15); |
---|
51 | } |
---|
52 | /* Due to our reset we have to recover the styles of some elements. */ |
---|
53 | .cke_dialog strong |
---|
54 | { |
---|
55 | font-weight: bold; |
---|
56 | } |
---|
57 | /* The dialog title. */ |
---|
58 | .cke_dialog_title |
---|
59 | { |
---|
60 | font-weight: bold; |
---|
61 | font-size: 13px; |
---|
62 | cursor: move; |
---|
63 | position: relative; |
---|
64 | color: #474747; |
---|
65 | text-shadow: 0 1px 0 rgba(255,255,255,.75); |
---|
66 | border-bottom: 1px solid #999; |
---|
67 | padding: 6px 10px; |
---|
68 | border-radius: 2px 2px 0 0; |
---|
69 | box-shadow: 0 1px 0 #fff inset; |
---|
70 | background: #cfd1cf; |
---|
71 | background-image: linear-gradient(to bottom, #f5f5f5, #cfd1cf); |
---|
72 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f5f5f5', endColorstr='#cfd1cf'); |
---|
73 | } |
---|
74 | .cke_dialog_spinner |
---|
75 | { |
---|
76 | border-radius: 50%; |
---|
77 | width: 12px; |
---|
78 | height: 12px; |
---|
79 | overflow: hidden; |
---|
80 | text-indent: -9999em; |
---|
81 | border-top: 2px solid rgba(102, 102, 102, 0.2); |
---|
82 | border-right: 2px solid rgba(102, 102, 102, 0.2); |
---|
83 | border-bottom: 2px solid rgba(102, 102, 102, 0.2); |
---|
84 | border-left: 2px solid rgba(102, 102, 102, 1); |
---|
85 | -webkit-animation: dialog_spinner 1s infinite linear; |
---|
86 | animation: dialog_spinner 1s infinite linear; |
---|
87 | } |
---|
88 | /* A GIF fallback for IE8 and IE9 which does not support CSS animations. */ |
---|
89 | .cke_browser_ie8 .cke_dialog_spinner, |
---|
90 | .cke_browser_ie9 .cke_dialog_spinner |
---|
91 | { |
---|
92 | background: url('index.php?pf=dcCKEditor/js/ckeditor-skins/dotclear/images/spinner.gif') center top no-repeat; |
---|
93 | width: 16px; |
---|
94 | height: 16px; |
---|
95 | border: 0; |
---|
96 | } |
---|
97 | @-webkit-keyframes dialog_spinner |
---|
98 | { |
---|
99 | 0% { |
---|
100 | -webkit-transform: rotate(0deg); |
---|
101 | transform: rotate(0deg); |
---|
102 | } |
---|
103 | 100% { |
---|
104 | -webkit-transform: rotate(360deg); |
---|
105 | transform: rotate(360deg); |
---|
106 | } |
---|
107 | } |
---|
108 | @keyframes dialog_spinner |
---|
109 | { |
---|
110 | 0% { |
---|
111 | -webkit-transform: rotate(0deg); |
---|
112 | transform: rotate(0deg); |
---|
113 | } |
---|
114 | 100% { |
---|
115 | -webkit-transform: rotate(360deg); |
---|
116 | transform: rotate(360deg); |
---|
117 | } |
---|
118 | } |
---|
119 | /* The outer part of the dialog contants, which contains the contents body |
---|
120 | and the footer. */ |
---|
121 | .cke_dialog_contents |
---|
122 | { |
---|
123 | background-color: #fff; |
---|
124 | overflow: auto; |
---|
125 | padding: 15px 10px 5px 10px; |
---|
126 | margin-top: 30px; |
---|
127 | border-top: 1px solid #bfbfbf; |
---|
128 | border-radius: 0 0 3px 3px; |
---|
129 | } |
---|
130 | /* The contents body part, which will hold all elements available in the dialog. */ |
---|
131 | .cke_dialog_contents_body |
---|
132 | { |
---|
133 | overflow: auto; |
---|
134 | padding: 17px 10px 5px 10px; |
---|
135 | margin-top: 22px; |
---|
136 | } |
---|
137 | /* The dialog footer, which usually contains the "Ok" and "Cancel" buttons as |
---|
138 | well as a resize handler. */ |
---|
139 | .cke_dialog_footer |
---|
140 | { |
---|
141 | text-align: right; |
---|
142 | position: relative; |
---|
143 | border: none; |
---|
144 | outline: 1px solid #bfbfbf; |
---|
145 | box-shadow: 0 1px 0 #fff inset; |
---|
146 | border-radius: 0 0 2px 2px; |
---|
147 | background: #cfd1cf; |
---|
148 | background-image: linear-gradient(to bottom, #ebebeb, #cfd1cf); |
---|
149 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ebebeb', endColorstr='#cfd1cf'); |
---|
150 | } |
---|
151 | .cke_rtl .cke_dialog_footer |
---|
152 | { |
---|
153 | text-align: left; |
---|
154 | } |
---|
155 | .cke_hc .cke_dialog_footer |
---|
156 | { |
---|
157 | outline: none; |
---|
158 | border-top: 1px solid #fff; |
---|
159 | } |
---|
160 | .cke_dialog .cke_resizer |
---|
161 | { |
---|
162 | margin-top: 22px; |
---|
163 | } |
---|
164 | .cke_dialog .cke_resizer_rtl |
---|
165 | { |
---|
166 | margin-left: 5px; |
---|
167 | } |
---|
168 | .cke_dialog .cke_resizer_ltr |
---|
169 | { |
---|
170 | margin-right: 5px; |
---|
171 | } |
---|
172 | /* |
---|
173 | Dialog tabs |
---|
174 | ------------- |
---|
175 | Tabs are presented on some of the dialogs to make it possible to have its |
---|
176 | contents split on different groups, visible one after the other. |
---|
177 | The main element that holds the tabs can be made hidden, in case of no tabs |
---|
178 | available. |
---|
179 | The following is the visual representation of the tabs block: |
---|
180 | +-- .cke_dialog_tabs ------------------------------------+ |
---|
181 | | +-- .cke_dialog_tab --+ +-- .cke_dialog_tab --+ ... | |
---|
182 | | | | | | | |
---|
183 | | +---------------------+ +---------------------+ | |
---|
184 | +--------------------------------------------------------+ |
---|
185 | The .cke_dialog_tab_selected class is appended to the active tab. |
---|
186 | */ |
---|
187 | /* The main tabs container. */ |
---|
188 | .cke_dialog_tabs |
---|
189 | { |
---|
190 | height: 24px; |
---|
191 | display: inline-block; |
---|
192 | margin: 5px 0 0; |
---|
193 | position: absolute; |
---|
194 | z-index: 2; |
---|
195 | left: 10px; |
---|
196 | } |
---|
197 | .cke_rtl .cke_dialog_tabs |
---|
198 | { |
---|
199 | right: 10px; |
---|
200 | } |
---|
201 | /* A single tab (an <a> element). */ |
---|
202 | a.cke_dialog_tab |
---|
203 | { |
---|
204 | height: 16px; |
---|
205 | padding: 4px 8px; |
---|
206 | margin-right: 3px; |
---|
207 | display: inline-block; |
---|
208 | cursor: pointer; |
---|
209 | line-height: 16px; |
---|
210 | outline: none; |
---|
211 | color: #595959; |
---|
212 | border: 1px solid #bfbfbf; |
---|
213 | border-radius: 3px 3px 0 0; |
---|
214 | background: #d4d4d4; |
---|
215 | background-image: linear-gradient(to bottom, #fafafa, #ededed); |
---|
216 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#fafafa', endColorstr='#ededed'); |
---|
217 | } |
---|
218 | .cke_rtl a.cke_dialog_tab |
---|
219 | { |
---|
220 | margin-right: 0; |
---|
221 | margin-left: 3px; |
---|
222 | } |
---|
223 | /* A hover state of a regular inactive tab. */ |
---|
224 | a.cke_dialog_tab:hover, |
---|
225 | a.cke_dialog_tab:focus |
---|
226 | { |
---|
227 | background: #ebebeb; |
---|
228 | background: linear-gradient(to bottom, #ebebeb 0%,#dfdfdf 100%); |
---|
229 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebebeb', endColorstr='#dfdfdf',GradientType=0 ); |
---|
230 | } |
---|
231 | a.cke_dialog_tab_selected |
---|
232 | { |
---|
233 | background: #fff; |
---|
234 | color: #383838; |
---|
235 | border-bottom-color: #fff; |
---|
236 | cursor: default; |
---|
237 | filter: none; |
---|
238 | } |
---|
239 | /* A hover state for selected tab. */ |
---|
240 | a.cke_dialog_tab_selected:hover, |
---|
241 | a.cke_dialog_tab_selected:focus |
---|
242 | { |
---|
243 | background: #ededed; |
---|
244 | background: linear-gradient(to bottom, #ededed 0%,#ffffff 100%); |
---|
245 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ffffff',GradientType=0 ); |
---|
246 | } |
---|
247 | .cke_hc a.cke_dialog_tab:hover, |
---|
248 | .cke_hc a.cke_dialog_tab:focus, |
---|
249 | .cke_hc a.cke_dialog_tab_selected |
---|
250 | { |
---|
251 | border: 3px solid; |
---|
252 | padding: 2px 6px; |
---|
253 | } |
---|
254 | a.cke_dialog_tab_disabled |
---|
255 | { |
---|
256 | color: #bababa; |
---|
257 | cursor: default; |
---|
258 | } |
---|
259 | /* The .cke_single_page class is appended to the dialog outer element in case |
---|
260 | of dialogs that has no tabs. */ |
---|
261 | .cke_single_page .cke_dialog_tabs |
---|
262 | { |
---|
263 | display: none; |
---|
264 | } |
---|
265 | .cke_single_page .cke_dialog_contents |
---|
266 | { |
---|
267 | padding-top: 5px; |
---|
268 | margin-top: 0; |
---|
269 | border-top: none; |
---|
270 | } |
---|
271 | /* The close button at the top of the dialog. */ |
---|
272 | a.cke_dialog_close_button |
---|
273 | { |
---|
274 | background-image: url('index.php?pf=dcCKEditor/js/ckeditor-skins/dotclear/images/close.png'); |
---|
275 | background-repeat: no-repeat; |
---|
276 | background-position: 50%; |
---|
277 | position: absolute; |
---|
278 | cursor: pointer; |
---|
279 | text-align: center; |
---|
280 | height: 20px; |
---|
281 | width: 20px; |
---|
282 | top: 4px; |
---|
283 | z-index: 5; |
---|
284 | opacity: 0.8; |
---|
285 | filter: alpha(opacity = 80); |
---|
286 | } |
---|
287 | .cke_dialog_close_button:hover |
---|
288 | { |
---|
289 | opacity: 1; |
---|
290 | filter: alpha(opacity = 100); |
---|
291 | } |
---|
292 | .cke_hidpi .cke_dialog_close_button |
---|
293 | { |
---|
294 | background-image: url('index.php?pf=dcCKEditor/js/ckeditor-skins/dotclear/images/hidpi/close.png'); |
---|
295 | background-size: 16px; |
---|
296 | } |
---|
297 | .cke_dialog_close_button span |
---|
298 | { |
---|
299 | display: none; |
---|
300 | } |
---|
301 | .cke_hc .cke_dialog_close_button span |
---|
302 | { |
---|
303 | display: inline; |
---|
304 | cursor: pointer; |
---|
305 | font-weight: bold; |
---|
306 | position: relative; |
---|
307 | top: 3px; |
---|
308 | } |
---|
309 | .cke_ltr .cke_dialog_close_button |
---|
310 | { |
---|
311 | right: 5px; |
---|
312 | } |
---|
313 | .cke_rtl .cke_dialog_close_button |
---|
314 | { |
---|
315 | left: 6px; |
---|
316 | } |
---|
317 | .cke_dialog_close_button |
---|
318 | { |
---|
319 | top: 4px; |
---|
320 | } |
---|
321 | /* |
---|
322 | Dialog UI Elements |
---|
323 | -------------------- |
---|
324 | The remaining styles define the UI elements that can be used inside dialog |
---|
325 | contents. |
---|
326 | Most of the UI elements on dialogs contain a textual label. All of them share |
---|
327 | the same labelling structure, having the label text inside an element with |
---|
328 | .cke_dialog_ui_labeled_label and the element specific part inside the |
---|
329 | .cke_dialog_ui_labeled_content class. |
---|
330 | */ |
---|
331 | /* If an element is supposed to be disabled, the .cke_disabled class is |
---|
332 | appended to it. */ |
---|
333 | div.cke_disabled .cke_dialog_ui_labeled_content div * |
---|
334 | { |
---|
335 | background-color: #ddd; |
---|
336 | cursor: default; |
---|
337 | } |
---|
338 | /* |
---|
339 | Horizontal-Box and Vertical-Box |
---|
340 | --------------------------------- |
---|
341 | There are basic layou element used by the editor to properly align elements in |
---|
342 | the dialog. They're basically tables that have each cell filled by UI elements. |
---|
343 | The following is the visual representation of a H-Box: |
---|
344 | +-- .cke_dialog_ui_hbox --------------------------------------------------------------------------------+ |
---|
345 | | +-- .cke_dialog_ui_hbox_first --+ +-- .cke_dialog_ui_hbox_child --+ +-- .cke_dialog_ui_hbox_last --+ | |
---|
346 | | + + + + + + | |
---|
347 | | +-------------------------------+ +-------------------------------+ +------------------------------+ | |
---|
348 | +-------------------------------------------------------------------------------------------------------+ |
---|
349 | It is possible to have nested V/H-Boxes. |
---|
350 | */ |
---|
351 | .cke_dialog_ui_vbox table, |
---|
352 | .cke_dialog_ui_hbox table |
---|
353 | { |
---|
354 | margin: auto; |
---|
355 | } |
---|
356 | .cke_dialog_ui_vbox_child |
---|
357 | { |
---|
358 | padding: 5px 0px; |
---|
359 | } |
---|
360 | .cke_dialog_ui_hbox |
---|
361 | { |
---|
362 | width: 100%; |
---|
363 | } |
---|
364 | .cke_dialog_ui_hbox_first, |
---|
365 | .cke_dialog_ui_hbox_child, |
---|
366 | .cke_dialog_ui_hbox_last |
---|
367 | { |
---|
368 | vertical-align: top; |
---|
369 | } |
---|
370 | .cke_ltr .cke_dialog_ui_hbox_first, |
---|
371 | .cke_ltr .cke_dialog_ui_hbox_child |
---|
372 | { |
---|
373 | padding-right: 10px; |
---|
374 | } |
---|
375 | .cke_rtl .cke_dialog_ui_hbox_first, |
---|
376 | .cke_rtl .cke_dialog_ui_hbox_child |
---|
377 | { |
---|
378 | padding-left: 10px; |
---|
379 | } |
---|
380 | .cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first, |
---|
381 | .cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child |
---|
382 | { |
---|
383 | padding-right: 5px; |
---|
384 | } |
---|
385 | .cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first, |
---|
386 | .cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child |
---|
387 | { |
---|
388 | padding-left: 5px; |
---|
389 | padding-right: 0; |
---|
390 | } |
---|
391 | /* Applies to all labeled dialog fields */ |
---|
392 | .cke_hc div.cke_dialog_ui_input_text, |
---|
393 | .cke_hc div.cke_dialog_ui_input_password, |
---|
394 | .cke_hc div.cke_dialog_ui_input_textarea, |
---|
395 | .cke_hc div.cke_dialog_ui_input_select, |
---|
396 | .cke_hc div.cke_dialog_ui_input_file |
---|
397 | { |
---|
398 | border: 1px solid; |
---|
399 | } |
---|
400 | /* |
---|
401 | Text Input |
---|
402 | ------------ |
---|
403 | The basic text field to input text. |
---|
404 | +-- .cke_dialog_ui_text --------------------------+ |
---|
405 | | +-- .cke_dialog_ui_labeled_label ------------+ | |
---|
406 | | | | | |
---|
407 | | +--------------------------------------------+ | |
---|
408 | | +-- .cke_dialog_ui_labeled_content ----------+ | |
---|
409 | | | +-- div.cke_dialog_ui_input_text --------+ | | |
---|
410 | | | | +-- input.cke_dialog_ui_input_text --+ | | | |
---|
411 | | | | | | | | | |
---|
412 | | | | +------------------------------------+ | | | |
---|
413 | | | +----------------------------------------+ | | |
---|
414 | | +--------------------------------------------+ | |
---|
415 | +-------------------------------------------------+ |
---|
416 | */ |
---|
417 | /* |
---|
418 | Textarea |
---|
419 | ---------- |
---|
420 | The textarea field to input larger text. |
---|
421 | +-- .cke_dialog_ui_textarea --------------------------+ |
---|
422 | | +-- .cke_dialog_ui_labeled_label ----------------+ | |
---|
423 | | | | | |
---|
424 | | +------------------------------------------------+ | |
---|
425 | | +-- .cke_dialog_ui_labeled_content --------------+ | |
---|
426 | | | +-- div.cke_dialog_ui_input_textarea --------+ | | |
---|
427 | | | | +-- input.cke_dialog_ui_input_textarea --+ | | | |
---|
428 | | | | | | | | | |
---|
429 | | | | +----------------------------------------+ | | | |
---|
430 | | | +--------------------------------------------+ | | |
---|
431 | | +------------------------------------------------+ | |
---|
432 | +-----------------------------------------------------+ |
---|
433 | */ |
---|
434 | textarea.cke_dialog_ui_input_textarea |
---|
435 | { |
---|
436 | overflow: auto; |
---|
437 | resize: none; |
---|
438 | } |
---|
439 | input.cke_dialog_ui_input_text, |
---|
440 | input.cke_dialog_ui_input_password, |
---|
441 | textarea.cke_dialog_ui_input_textarea |
---|
442 | { |
---|
443 | background-color: #fff; |
---|
444 | border: 1px solid #c9cccf; |
---|
445 | border-top-color: #aeb3b9; |
---|
446 | padding: 4px 6px; |
---|
447 | outline: none; |
---|
448 | width: 100%; |
---|
449 | *width: 95%; |
---|
450 | box-sizing: border-box; |
---|
451 | border-radius: 3px; |
---|
452 | box-shadow: 0 1px 2px rgba(0,0,0,.15) inset; |
---|
453 | } |
---|
454 | input.cke_dialog_ui_input_text:hover, |
---|
455 | input.cke_dialog_ui_input_password:hover, |
---|
456 | textarea.cke_dialog_ui_input_textarea:hover |
---|
457 | { |
---|
458 | border: 1px solid #aeb3b9; |
---|
459 | border-top-color: #a0a6ad; |
---|
460 | } |
---|
461 | input.cke_dialog_ui_input_text:focus, |
---|
462 | input.cke_dialog_ui_input_password:focus, |
---|
463 | textarea.cke_dialog_ui_input_textarea:focus, |
---|
464 | select.cke_dialog_ui_input_select:focus |
---|
465 | { |
---|
466 | outline: none; |
---|
467 | border: 1px solid #139ff7; |
---|
468 | border-top-color: #1392e9; |
---|
469 | } |
---|
470 | /* |
---|
471 | Button |
---|
472 | -------- |
---|
473 | The buttons used in the dialog footer or inside the contents. |
---|
474 | +-- a.cke_dialog_ui_button -----------+ |
---|
475 | | +-- span.cke_dialog_ui_button --+ | |
---|
476 | | | | | |
---|
477 | | +-------------------------------+ | |
---|
478 | +-------------------------------------+ |
---|
479 | */ |
---|
480 | /* The outer part of the button. */ |
---|
481 | a.cke_dialog_ui_button |
---|
482 | { |
---|
483 | display: inline-block; |
---|
484 | *display: inline; |
---|
485 | *zoom: 1; |
---|
486 | padding: 4px 0; |
---|
487 | margin: 0; |
---|
488 | text-align: center; |
---|
489 | color: #333; |
---|
490 | vertical-align: middle; |
---|
491 | cursor: pointer; |
---|
492 | border: 1px solid #b6b6b6; |
---|
493 | border-bottom-color: #999; |
---|
494 | border-radius: 3px; |
---|
495 | 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; |
---|
496 | background: #e4e4e4; |
---|
497 | background-image: linear-gradient(to bottom, #ffffff, #e4e4e4); |
---|
498 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffff', endColorstr='#e4e4e4'); |
---|
499 | } |
---|
500 | span.cke_dialog_ui_button |
---|
501 | { |
---|
502 | padding: 0 10px; |
---|
503 | } |
---|
504 | a.cke_dialog_ui_button:hover |
---|
505 | { |
---|
506 | border-color: #9e9e9e; |
---|
507 | background: #ccc; |
---|
508 | background-image: linear-gradient(to bottom, #f2f2f2, #ccc); |
---|
509 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f2f2f2', endColorstr='#cccccc'); |
---|
510 | } |
---|
511 | /* :focus/:active styles for dialog buttons: regular and footer. */ |
---|
512 | a.cke_dialog_ui_button:focus, |
---|
513 | a.cke_dialog_ui_button:active |
---|
514 | { |
---|
515 | border-color: #969696; |
---|
516 | outline: none; |
---|
517 | box-shadow: 0 0 6px rgba(0,0,0,.4) inset; |
---|
518 | } |
---|
519 | .cke_hc a.cke_dialog_ui_button:hover, |
---|
520 | .cke_hc a.cke_dialog_ui_button:focus, |
---|
521 | .cke_hc a.cke_dialog_ui_button:active |
---|
522 | { |
---|
523 | border: 3px solid; |
---|
524 | padding-top: 1px; |
---|
525 | padding-bottom: 1px; |
---|
526 | } |
---|
527 | .cke_hc a.cke_dialog_ui_button:hover span, |
---|
528 | .cke_hc a.cke_dialog_ui_button:focus span, |
---|
529 | .cke_hc a.cke_dialog_ui_button:active span |
---|
530 | { |
---|
531 | padding-left: 10px; |
---|
532 | padding-right: 10px; |
---|
533 | } |
---|
534 | /* |
---|
535 | a.cke_dialog_ui_button[style*="width"] |
---|
536 | { |
---|
537 | display: block !important; |
---|
538 | width: auto !important; |
---|
539 | } |
---|
540 | */ |
---|
541 | /* The inner part of the button (both in dialog tabs and dialog footer). */ |
---|
542 | .cke_dialog_footer_buttons a.cke_dialog_ui_button span |
---|
543 | { |
---|
544 | color: inherit; |
---|
545 | font-size: 12px; |
---|
546 | font-weight: bold; |
---|
547 | line-height: 18px; |
---|
548 | padding: 0 12px; |
---|
549 | } |
---|
550 | /* Special class appended to the Ok button. */ |
---|
551 | a.cke_dialog_ui_button_ok |
---|
552 | { |
---|
553 | color: #fff; |
---|
554 | text-shadow: 0 -1px 0 #55830c; |
---|
555 | border-color: #62a60a #62a60a #4d9200; |
---|
556 | background: #69b10b; |
---|
557 | background-image: linear-gradient(to bottom, #9ad717, #69b10b); |
---|
558 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#9ad717', endColorstr='#69b10b'); |
---|
559 | } |
---|
560 | a.cke_dialog_ui_button_ok:hover |
---|
561 | { |
---|
562 | border-color: #5b9909 #5b9909 #478500; |
---|
563 | background: #88be14; |
---|
564 | background: linear-gradient(to bottom, #88be14 0%,#5d9c0a 100%); |
---|
565 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88be14', endColorstr='#5d9c0a',GradientType=0 ); |
---|
566 | } |
---|
567 | a.cke_dialog_ui_button_ok.cke_disabled { |
---|
568 | border-color: #7D9F51; |
---|
569 | background: #8DAD62; |
---|
570 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#B3D271), to(#8DAD62)); |
---|
571 | background-image: -webkit-linear-gradient(top, #B3D271, #8DAD62); |
---|
572 | background-image: -o-linear-gradient(top, #B3D271, #8DAD62); |
---|
573 | background-image: linear-gradient(to bottom, #B3D271, #8DAD62); |
---|
574 | background-image: -moz-linear-gradient(top, #B3D271, #8DAD62); |
---|
575 | filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#B3D271', endColorstr='#8DAD62'); |
---|
576 | } |
---|
577 | a.cke_dialog_ui_button_ok.cke_disabled span { |
---|
578 | color: #E0E8D1; |
---|
579 | } |
---|
580 | /* Default text shadow used for inner parts of all dialog buttons (both in dialog tabs and dialog footer). */ |
---|
581 | a.cke_dialog_ui_button span |
---|
582 | { |
---|
583 | text-shadow: 0 1px 0 #fff; |
---|
584 | } |
---|
585 | /* Text shadow used for inner part of OK dialog button in footer. */ |
---|
586 | a.cke_dialog_ui_button_ok span |
---|
587 | { |
---|
588 | text-shadow: 0 -1px 0 #55830c; |
---|
589 | } |
---|
590 | span.cke_dialog_ui_button |
---|
591 | { |
---|
592 | cursor: pointer; |
---|
593 | } |
---|
594 | /* :focus/:active styles for dialog footer buttons (ok & cancel) */ |
---|
595 | a.cke_dialog_ui_button_ok:focus, |
---|
596 | a.cke_dialog_ui_button_ok:active, |
---|
597 | a.cke_dialog_ui_button_cancel:focus, |
---|
598 | a.cke_dialog_ui_button_cancel:active |
---|
599 | { |
---|
600 | border-width: 2px; |
---|
601 | padding: 3px 0; |
---|
602 | } |
---|
603 | a.cke_dialog_ui_button_ok:focus, |
---|
604 | a.cke_dialog_ui_button_ok:active |
---|
605 | { |
---|
606 | border-color: #568C0A; |
---|
607 | } |
---|
608 | a.cke_dialog_ui_button_ok.cke_disabled:focus, |
---|
609 | a.cke_dialog_ui_button_ok.cke_disabled:active |
---|
610 | { |
---|
611 | border-color: #6F8C49; |
---|
612 | } |
---|
613 | /* :focus/:active styles for dialog footer buttons (ok & cancel) spans */ |
---|
614 | a.cke_dialog_ui_button_ok:focus span, |
---|
615 | a.cke_dialog_ui_button_ok:active span, |
---|
616 | a.cke_dialog_ui_button_cancel:focus span, |
---|
617 | a.cke_dialog_ui_button_cancel:active span |
---|
618 | { |
---|
619 | padding: 0 11px; /* Thick button border must be compensated. */ |
---|
620 | } |
---|
621 | /* A special container that holds the footer buttons. */ |
---|
622 | .cke_dialog_footer_buttons |
---|
623 | { |
---|
624 | display: inline-table; |
---|
625 | margin: 5px; |
---|
626 | width: auto; |
---|
627 | position: relative; |
---|
628 | vertical-align: middle; |
---|
629 | } |
---|
630 | /* |
---|
631 | Styles for other dialog element types. |
---|
632 | */ |
---|
633 | div.cke_dialog_ui_input_select |
---|
634 | { |
---|
635 | display: table; |
---|
636 | } |
---|
637 | select.cke_dialog_ui_input_select |
---|
638 | { |
---|
639 | height: 25px; |
---|
640 | line-height: 25px; |
---|
641 | background-color: #fff; |
---|
642 | border: 1px solid #c9cccf; |
---|
643 | border-top-color: #aeb3b9; |
---|
644 | padding: 3px 3px 3px 6px; |
---|
645 | outline: none; |
---|
646 | border-radius: 3px; |
---|
647 | box-shadow: 0 1px 2px rgba(0,0,0,.15) inset; |
---|
648 | } |
---|
649 | .cke_dialog_ui_input_file |
---|
650 | { |
---|
651 | width: 100%; |
---|
652 | height: 25px; |
---|
653 | } |
---|
654 | .cke_hc .cke_dialog_ui_labeled_content input:focus, |
---|
655 | .cke_hc .cke_dialog_ui_labeled_content select:focus, |
---|
656 | .cke_hc .cke_dialog_ui_labeled_content textarea:focus |
---|
657 | { |
---|
658 | outline: 1px dotted; |
---|
659 | } |
---|
660 | /* |
---|
661 | * Some utility CSS classes for dialog authors. |
---|
662 | */ |
---|
663 | .cke_dialog .cke_dark_background |
---|
664 | { |
---|
665 | background-color: #DEDEDE; |
---|
666 | } |
---|
667 | .cke_dialog .cke_light_background |
---|
668 | { |
---|
669 | background-color: #EBEBEB; |
---|
670 | } |
---|
671 | .cke_dialog .cke_centered |
---|
672 | { |
---|
673 | text-align: center; |
---|
674 | } |
---|
675 | .cke_dialog a.cke_btn_reset |
---|
676 | { |
---|
677 | float: right; |
---|
678 | background: url('index.php?pf=dcCKEditor/js/ckeditor-skins/dotclear/images/refresh.png') top left no-repeat; |
---|
679 | width: 16px; |
---|
680 | height: 16px; |
---|
681 | border: 1px none; |
---|
682 | font-size: 1px; |
---|
683 | } |
---|
684 | .cke_hidpi .cke_dialog a.cke_btn_reset { |
---|
685 | background-size: 16px; |
---|
686 | background-image: url('index.php?pf=dcCKEditor/js/ckeditor-skins/dotclear/images/hidpi/refresh.png'); |
---|
687 | } |
---|
688 | .cke_rtl .cke_dialog a.cke_btn_reset |
---|
689 | { |
---|
690 | float: left; |
---|
691 | } |
---|
692 | .cke_dialog a.cke_btn_locked, |
---|
693 | .cke_dialog a.cke_btn_unlocked |
---|
694 | { |
---|
695 | float: left; |
---|
696 | width: 16px; |
---|
697 | height: 16px; |
---|
698 | background-repeat: no-repeat; |
---|
699 | border: none 1px; |
---|
700 | font-size: 1px; |
---|
701 | } |
---|
702 | .cke_dialog a.cke_btn_locked .cke_icon |
---|
703 | { |
---|
704 | display: none; |
---|
705 | } |
---|
706 | .cke_rtl .cke_dialog a.cke_btn_locked, |
---|
707 | .cke_rtl .cke_dialog a.cke_btn_unlocked |
---|
708 | { |
---|
709 | float: right; |
---|
710 | } |
---|
711 | .cke_dialog a.cke_btn_locked |
---|
712 | { |
---|
713 | background-image: url('index.php?pf=dcCKEditor/js/ckeditor-skins/dotclear/images/lock.png'); |
---|
714 | } |
---|
715 | .cke_dialog a.cke_btn_unlocked |
---|
716 | { |
---|
717 | background-image: url('index.php?pf=dcCKEditor/js/ckeditor-skins/dotclear/images/lock-open.png'); |
---|
718 | } |
---|
719 | .cke_hidpi .cke_dialog a.cke_btn_unlocked, |
---|
720 | .cke_hidpi .cke_dialog a.cke_btn_locked { |
---|
721 | background-size: 16px; |
---|
722 | } |
---|
723 | .cke_hidpi .cke_dialog a.cke_btn_locked { |
---|
724 | background-image: url('index.php?pf=dcCKEditor/js/ckeditor-skins/dotclear/images/hidpi/lock.png'); |
---|
725 | } |
---|
726 | .cke_hidpi .cke_dialog a.cke_btn_unlocked { |
---|
727 | background-image: url('index.php?pf=dcCKEditor/js/ckeditor-skins/dotclear/images/hidpi/lock-open.png'); |
---|
728 | } |
---|
729 | .cke_dialog .cke_btn_over |
---|
730 | { |
---|
731 | border: outset 1px; |
---|
732 | cursor: pointer; |
---|
733 | } |
---|
734 | /* |
---|
735 | The rest of the file contains style used on several common plugins. There is a |
---|
736 | tendency that these will be moved to the plugins code in the future. |
---|
737 | */ |
---|
738 | .cke_dialog .ImagePreviewBox |
---|
739 | { |
---|
740 | border: 2px ridge black; |
---|
741 | overflow: scroll; |
---|
742 | height: 200px; |
---|
743 | width: 300px; |
---|
744 | padding: 2px; |
---|
745 | background-color: white; |
---|
746 | } |
---|
747 | .cke_dialog .ImagePreviewBox table td |
---|
748 | { |
---|
749 | white-space: normal; |
---|
750 | } |
---|
751 | .cke_dialog .ImagePreviewLoader |
---|
752 | { |
---|
753 | position: absolute; |
---|
754 | white-space: normal; |
---|
755 | overflow: hidden; |
---|
756 | height: 160px; |
---|
757 | width: 230px; |
---|
758 | margin: 2px; |
---|
759 | padding: 2px; |
---|
760 | opacity: 0.9; |
---|
761 | filter: alpha(opacity = 90); |
---|
762 | background-color: #e4e4e4; |
---|
763 | } |
---|
764 | .cke_dialog .FlashPreviewBox |
---|
765 | { |
---|
766 | white-space: normal; |
---|
767 | border: 2px ridge black; |
---|
768 | overflow: auto; |
---|
769 | height: 160px; |
---|
770 | width: 390px; |
---|
771 | padding: 2px; |
---|
772 | background-color: white; |
---|
773 | } |
---|
774 | .cke_dialog .cke_pastetext |
---|
775 | { |
---|
776 | width: 346px; |
---|
777 | height: 170px; |
---|
778 | } |
---|
779 | .cke_dialog .cke_pastetext textarea |
---|
780 | { |
---|
781 | width: 340px; |
---|
782 | height: 170px; |
---|
783 | resize: none; |
---|
784 | } |
---|
785 | .cke_dialog iframe.cke_pasteframe |
---|
786 | { |
---|
787 | width: 346px; |
---|
788 | height: 130px; |
---|
789 | background-color: white; |
---|
790 | border: 1px solid #aeb3b9; |
---|
791 | border-radius: 3px; |
---|
792 | } |
---|
793 | .cke_dialog .cke_hand |
---|
794 | { |
---|
795 | cursor: pointer; |
---|
796 | } |
---|
797 | .cke_disabled |
---|
798 | { |
---|
799 | color: #a0a0a0; |
---|
800 | } |
---|
801 | .cke_dialog_body .cke_label |
---|
802 | { |
---|
803 | display: none; |
---|
804 | } |
---|
805 | .cke_dialog_body label |
---|
806 | { |
---|
807 | display: inline; |
---|
808 | margin-bottom: auto; |
---|
809 | cursor: default; |
---|
810 | } |
---|
811 | .cke_dialog_body label.cke_required |
---|
812 | { |
---|
813 | font-weight: bold; |
---|
814 | } |
---|
815 | a.cke_smile |
---|
816 | { |
---|
817 | overflow: hidden; |
---|
818 | display: block; |
---|
819 | text-align: center; |
---|
820 | padding: 0.3em 0; |
---|
821 | } |
---|
822 | a.cke_smile img |
---|
823 | { |
---|
824 | vertical-align: middle; |
---|
825 | } |
---|
826 | a.cke_specialchar |
---|
827 | { |
---|
828 | cursor: inherit; |
---|
829 | display: block; |
---|
830 | height: 1.25em; |
---|
831 | padding: 0.2em 0.3em; |
---|
832 | text-align: center; |
---|
833 | } |
---|
834 | a.cke_smile, |
---|
835 | a.cke_specialchar |
---|
836 | { |
---|
837 | border: 1px solid transparent; |
---|
838 | } |
---|
839 | a.cke_smile:hover, |
---|
840 | a.cke_smile:focus, |
---|
841 | a.cke_smile:active, |
---|
842 | a.cke_specialchar:hover, |
---|
843 | a.cke_specialchar:focus, |
---|
844 | a.cke_specialchar:active |
---|
845 | { |
---|
846 | background: #fff; |
---|
847 | outline: 0; |
---|
848 | } |
---|
849 | a.cke_smile:hover, |
---|
850 | a.cke_specialchar:hover |
---|
851 | { |
---|
852 | border-color: #888; |
---|
853 | } |
---|
854 | a.cke_smile:focus, |
---|
855 | a.cke_smile:active, |
---|
856 | a.cke_specialchar:focus, |
---|
857 | a.cke_specialchar:active |
---|
858 | { |
---|
859 | border-color: #139FF7; |
---|
860 | } |
---|
861 | /** |
---|
862 | * Styles specific to "cellProperties" dialog. |
---|
863 | */ |
---|
864 | .cke_dialog_contents a.colorChooser |
---|
865 | { |
---|
866 | display: block; |
---|
867 | margin-top: 6px; |
---|
868 | margin-left: 10px; |
---|
869 | width: 80px; |
---|
870 | } |
---|
871 | .cke_rtl .cke_dialog_contents a.colorChooser |
---|
872 | { |
---|
873 | margin-right: 10px; |
---|
874 | } |
---|
875 | /* Compensate focus outline for some input elements. (#6200) */ |
---|
876 | .cke_dialog_ui_checkbox_input:focus, |
---|
877 | .cke_dialog_ui_radio_input:focus, |
---|
878 | .cke_btn_over |
---|
879 | { |
---|
880 | outline: 1px dotted #696969; |
---|
881 | } |
---|
882 | .cke_iframe_shim |
---|
883 | { |
---|
884 | display: block; |
---|
885 | position: absolute; |
---|
886 | top: 0; |
---|
887 | left: 0; |
---|
888 | z-index: -1; |
---|
889 | filter: alpha(opacity = 0); |
---|
890 | width: 100%; |
---|
891 | height: 100%; |
---|
892 | } |
---|