-
Notifications
You must be signed in to change notification settings - Fork 1
/
dialog.styl
394 lines (335 loc) · 7.26 KB
/
dialog.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
@require "node_modules/stylobate"
rem = rem_px;
@require "node_modules/stylobate-islands"
set-skin-namespace("islands");
@require "src/_globals"
.cke_dialog
visibility visible
strong
font-weight: bold
.cke_resizer
margin-top: 33px
.cke_resizer_rtl
margin-left: 5px
.cke_resizer_ltr
margin-right: 5px
.cke_dark_background
background-color: #DEDEDE
.cke_light_background
background-color: #EBEBEB
.cke_centered
text-align: center
a
&.cke_btn_reset
float right
background url("src-images/cke_svgicon/refresh.svg") top left no-repeat
width 16px
height 16px
border 1px none
font-size 1px
&.cke_btn_locked
background-image url("src-images/lock.png")
.cke_icon
display none
&.cke_btn_unlocked
background-image url("src-images/lock-open.png")
.cke_btn_over
border outset 1px
cursor pointer
.ImagePreviewBox
border 2px ridge black
overflow scroll
height 200px
width 300px
padding 2px
background-color white
table
td
white-space normal
.ImagePreviewLoader
position absolute
white-space normal
overflow hidden
height 160px
width 230px
margin 2px
padding 2px
opacity 0.9
background-color #e4e4e4
.FlashPreviewBox
white-space normal
border 2px ridge black
overflow auto
height 160px
width 390px
padding 2px
background-color white
.cke_pastetext
width 346px
height 170px
textarea
width 340px
height 170px
resize none
iframe
&.cke_pasteframe
width 346px
height 130px
background-color white
border 1px solid #aeb3b9
border-radius 3px
.cke_hand
cursor pointer
.cke_dialog_body
skin: popup
z-index: 1
.cke_label
display none
label
display inline
margin-bottom auto
cursor default
&.cke_required
font-weight bold
.cke_dialog_title
font: $font-h3
padding: $islands_s
display: block
overflow: hidden
text-overflow: ellipsis
white-space: nowrap
cursor: move
position: relative
.cke_dialog_spinner
border-radius 50%
width 12px
height 12px
overflow hidden
text-indent -9999em
border-top 2px solid rgba(102, 102, 102, 0.2)
border-right 2px solid rgba(102, 102, 102, 0.2)
border-bottom 2px solid rgba(102, 102, 102, 0.2)
border-left 2px solid rgba(102, 102, 102, 1)
animation dialog_spinner 1s infinite linear
@keyframes dialog_spinner {
0% {
transform rotate(0deg)
}
100% {
transform rotate(360deg)
}
}
.cke_dialog_contents
overflow: auto
padding: 15px 10px 5px 10px
margin-top: 30px
border-top: 1px solid #bfbfbf
.cke_dialog_contents_body
skin: popup-content
overflow: auto
.cke_dialog_footer
text-align: right
position: relative
border: none
.cke_rtl
.cke_dialog_footer
text-align left
.cke_dialog_tabs
right 10px
a
&.cke_dialog_tab
margin-right 0
margin-left 3px
.cke_dialog
a
&.cke_btn_reset
float left
.cke_dialog_contents
a
&.colorChooser
margin-right 10px
.cke_dialog_tabs
height 24px
display inline-block
margin 5px 0 0
position absolute
z-index 2
left 10px
a
&.cke_dialog_tab
height 16px
padding 4px 8px
margin-right 3px
display inline-block
cursor pointer
line-height 16px
outline none
color #595959
border 1px solid #bfbfbf
border-radius 3px 3px 0 0
background #d4d4d4
background-image linear-gradient(to bottom, #fafafa, #ededed)
&.cke_dialog_tab_selected
background #fff
color #383838
border-bottom-color #fff
cursor default
&.cke_dialog_tab_disabled
color #bababa
cursor default
&.cke_dialog_close_button
skin: popup-close
width: 24px
height: 24px
top: 2px
right: 2px
&.cke_dialog_ui_button
kind: button
skin: button small
position: relative
text-align: center
& > span
position: relative
&.cke_disabled
kind: disabled 0.4
&.cke_dialog_ui_button_ok
skin: action-button small
&.cke_smile
overflow hidden
display block
text-align center
padding 0.3em 0
img
vertical-align middle
&.cke_specialchar
cursor inherit
display block
height 1.25em
padding 0.2em 0.3em
text-align center
a.cke_dialog_tab:hover,
a.cke_dialog_tab:focus
background #ebebeb
background linear-gradient(to bottom, #ebebeb 0%,#dfdfdf 100%)
a.cke_dialog_tab_selected:hover,
a.cke_dialog_tab_selected:focus,
background #ededed
background linear-gradient(to bottom, #ededed 0%,#ffffff 100%)
.cke_single_page
.cke_dialog_tabs
display none
.cke_dialog_contents
padding-top 5px
margin-top 0
border-top none
div
&.cke_disabled
.cke_dialog_ui_labeled_content
div
*
background-color #ddd
cursor default
&.cke_dialog_ui_input_select
display table
.cke_dialog_ui_vbox table,
.cke_dialog_ui_hbox table
margin auto
.cke_dialog_ui_vbox_child
padding 5px 0px
.cke_dialog_ui_hbox
width 100%
.cke_dialog_ui_hbox_first,
.cke_dialog_ui_hbox_child,
.cke_dialog_ui_hbox_last
vertical-align top
.cke_ltr .cke_dialog_ui_hbox_first,
.cke_ltr .cke_dialog_ui_hbox_child
padding-right 10px
.cke_rtl .cke_dialog_ui_hbox_first,
.cke_rtl .cke_dialog_ui_hbox_child
padding-left 10px
.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,
.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child
padding-right 5px
.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,
.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child
padding-left 5px
padding-right 0
input.cke_dialog_ui_input_text,
input.cke_dialog_ui_input_password,
textarea.cke_dialog_ui_input_textarea
kind: input
skin: input small
font-family: $fontFamily
-webkit-appearance: textfield
width: 100%
*width: 95%
resize: none
select.cke_dialog_ui_input_select
min-height: 28px
height: 28px
border: 1px solid rgba(#000, .27)
.cke_dialog_footer_buttons
display: inline-table
margin: 10px 5px
width: auto
position: relative
vertical-align: middle
.cke_dialog_ui_input_file
width 100%
height 25px
.cke_dialog a.cke_btn_locked,
.cke_dialog a.cke_btn_unlocked
float left
width 16px
height 16px
background-repeat no-repeat
border none 1px
font-size 1px
.cke_rtl .cke_dialog a.cke_btn_locked,
.cke_rtl .cke_dialog a.cke_btn_unlocked
float right
.cke_hidpi .cke_dialog a.cke_btn_unlocked,
.cke_hidpi .cke_dialog a.cke_btn_locked
background-size 16px
.cke_disabled
color #a0a0a0
a.cke_smile,
a.cke_specialchar
border 1px solid transparent
a.cke_smile:hover,
a.cke_smile:focus,
a.cke_smile:active,
a.cke_specialchar:hover,
a.cke_specialchar:focus,
a.cke_specialchar:active
background #fff
outline 0
a.cke_smile:hover,
a.cke_specialchar:hover
border-color #888
a.cke_smile:focus,
a.cke_smile:active,
a.cke_specialchar:focus,
a.cke_specialchar:active
border-color #139FF7
.cke_dialog_contents
a
&.colorChooser
display block
margin-top 6px
margin-left 10px
width 80px
.cke_dialog_ui_checkbox_input:focus,
.cke_dialog_ui_radio_input:focus,
.cke_btn_over
outline 1px dotted #696969
.cke_iframe_shim
display block
position absolute
top 0
left 0
z-index -1
opacity: 0
width 100%
height 100%