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