0
|
1 |
/** |
|
2 |
* Base Styles |
|
3 |
*/ |
5
|
4 |
.media-modal * { |
|
5 |
-webkit-box-sizing: content-box; |
|
6 |
-moz-box-sizing: content-box; |
|
7 |
box-sizing: content-box; |
|
8 |
} |
|
9 |
|
|
10 |
.media-frame input, |
|
11 |
.media-frame select, |
|
12 |
.media-frame textarea { |
|
13 |
-webkit-box-sizing: border-box; |
|
14 |
-moz-box-sizing: border-box; |
|
15 |
box-sizing: border-box; |
|
16 |
} |
|
17 |
|
0
|
18 |
.media-modal, |
|
19 |
.media-frame { |
5
|
20 |
font-family: "Open Sans", sans-serif; |
0
|
21 |
font-size: 12px; |
5
|
22 |
-webkit-overflow-scrolling: touch; |
0
|
23 |
} |
|
24 |
|
|
25 |
.media-frame input, |
|
26 |
.media-frame textarea { |
|
27 |
padding: 6px 8px; |
|
28 |
} |
|
29 |
|
|
30 |
.media-frame select, |
|
31 |
.wp-admin .media-frame select { |
|
32 |
line-height: 28px; |
|
33 |
margin-top: 3px; |
|
34 |
} |
|
35 |
|
|
36 |
.media-frame a { |
|
37 |
border-bottom: none; |
|
38 |
color: #21759b; |
|
39 |
} |
|
40 |
|
|
41 |
.media-frame a:hover { |
|
42 |
color: #d54e21; |
|
43 |
} |
|
44 |
|
|
45 |
.media-frame a.button { |
5
|
46 |
color: #32373c; |
0
|
47 |
} |
|
48 |
|
|
49 |
.media-frame a.button:hover { |
5
|
50 |
color: #23282d; |
0
|
51 |
} |
|
52 |
|
|
53 |
.media-frame a.button-primary, |
|
54 |
.media-frame a.button-primary:hover { |
|
55 |
color: #fff; |
|
56 |
} |
|
57 |
|
|
58 |
.media-frame input[type="text"], |
|
59 |
.media-frame input[type="password"], |
|
60 |
.media-frame input[type="number"], |
|
61 |
.media-frame input[type="search"], |
|
62 |
.media-frame input[type="email"], |
|
63 |
.media-frame input[type="url"], |
|
64 |
.media-frame textarea, |
|
65 |
.media-frame select { |
5
|
66 |
font-family: "Open Sans", sans-serif; |
0
|
67 |
font-size: 12px; |
|
68 |
border-width: 1px; |
|
69 |
border-style: solid; |
|
70 |
border-color: #dfdfdf; |
|
71 |
} |
|
72 |
|
5
|
73 |
.media-frame input[type="text"]:focus, |
|
74 |
.media-frame input[type="password"]:focus, |
|
75 |
.media-frame input[type="number"]:focus, |
|
76 |
.media-frame input[type="search"]:focus, |
|
77 |
.media-frame input[type="email"]:focus, |
|
78 |
.media-frame input[type="url"]:focus, |
|
79 |
.media-frame textarea:focus, |
|
80 |
.media-frame select:focus { |
|
81 |
border-color: #5b9dd9; |
|
82 |
} |
|
83 |
|
0
|
84 |
.media-frame select { |
|
85 |
height: 24px; |
|
86 |
padding: 2px; |
|
87 |
} |
|
88 |
|
|
89 |
.media-frame input:disabled, |
|
90 |
.media-frame textarea:disabled, |
|
91 |
.media-frame input[readonly], |
|
92 |
.media-frame textarea[readonly] { |
|
93 |
background-color: #eee; |
|
94 |
} |
|
95 |
|
|
96 |
.media-frame input[type="search"] { |
|
97 |
-webkit-appearance: textfield; |
|
98 |
} |
|
99 |
|
|
100 |
.media-frame :-moz-placeholder { |
|
101 |
color: #a9a9a9; |
|
102 |
} |
|
103 |
|
5
|
104 |
.media-frame .hidden { |
|
105 |
display: none; |
|
106 |
} |
|
107 |
|
|
108 |
/*! |
|
109 |
* jQuery UI Draggable/Sortable 1.11.4 |
|
110 |
* http://jqueryui.com |
|
111 |
* |
|
112 |
* Copyright jQuery Foundation and other contributors |
|
113 |
* Released under the MIT license. |
|
114 |
* http://jquery.org/license |
|
115 |
*/ |
|
116 |
.ui-draggable-handle, |
|
117 |
.ui-sortable-handle { |
0
|
118 |
-ms-touch-action: none; |
5
|
119 |
touch-action: none; |
0
|
120 |
} |
|
121 |
|
|
122 |
/** |
|
123 |
* Modal |
|
124 |
*/ |
|
125 |
.media-modal { |
|
126 |
position: fixed; |
|
127 |
top: 30px; |
|
128 |
left: 30px; |
|
129 |
right: 30px; |
|
130 |
bottom: 30px; |
|
131 |
z-index: 160000; |
|
132 |
} |
|
133 |
|
5
|
134 |
.wp-customizer .media-modal { |
|
135 |
z-index: 560000; |
|
136 |
} |
|
137 |
|
0
|
138 |
.media-modal-backdrop { |
|
139 |
position: fixed; |
|
140 |
top: 0; |
|
141 |
left: 0; |
|
142 |
right: 0; |
|
143 |
bottom: 0; |
|
144 |
min-height: 360px; |
|
145 |
background: #000; |
|
146 |
opacity: 0.7; |
|
147 |
z-index: 159900; |
|
148 |
} |
|
149 |
|
5
|
150 |
.wp-customizer .media-modal-backdrop { |
|
151 |
z-index: 559900; |
|
152 |
} |
|
153 |
|
0
|
154 |
.media-modal-close { |
|
155 |
position: absolute; |
5
|
156 |
text-decoration: none; |
|
157 |
top: 10px; |
|
158 |
right: 10px; |
0
|
159 |
width: 30px; |
|
160 |
height: 30px; |
|
161 |
z-index: 1000; |
5
|
162 |
-webkit-transition: color .1s ease-in-out, background .1s ease-in-out; |
|
163 |
transition: color .1s ease-in-out, background .1s ease-in-out; |
0
|
164 |
} |
5
|
165 |
|
|
166 |
.media-modal-close:active { |
|
167 |
-webkit-box-shadow: none; |
|
168 |
box-shadow: none; |
|
169 |
} |
|
170 |
|
|
171 |
.media-modal-close span.media-modal-icon { |
0
|
172 |
display: block; |
5
|
173 |
margin-top: 5px; |
|
174 |
width: 30px; |
0
|
175 |
height: 15px; |
5
|
176 |
background-image: none; |
|
177 |
text-align: center; |
|
178 |
} |
|
179 |
|
|
180 |
.media-modal-close .media-modal-icon:before { |
|
181 |
content: '\f158'; |
|
182 |
font: normal 20px/1 'dashicons'; |
|
183 |
speak: none; |
|
184 |
vertical-align: middle; |
|
185 |
-webkit-font-smoothing: antialiased; |
|
186 |
-moz-osx-font-smoothing: grayscale; |
|
187 |
color: #666; |
|
188 |
} |
|
189 |
|
|
190 |
.media-modal-close:hover .media-modal-icon:before { |
|
191 |
color: #00a0d2; |
0
|
192 |
} |
|
193 |
|
|
194 |
.media-modal-close:active { |
|
195 |
outline: 0; |
|
196 |
} |
|
197 |
|
|
198 |
.media-modal-content { |
|
199 |
position: absolute; |
|
200 |
top: 0; |
|
201 |
left: 0; |
|
202 |
right: 0; |
|
203 |
bottom: 0; |
|
204 |
overflow: auto; |
|
205 |
min-height: 300px; |
5
|
206 |
-webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.7); |
|
207 |
box-shadow: 0 5px 15px rgba(0,0,0,0.7); |
|
208 |
background: #fcfcfc; |
|
209 |
-webkit-font-smoothing: subpixel-antialiased; |
0
|
210 |
} |
|
211 |
|
|
212 |
.media-modal-icon { |
|
213 |
background-image: url(../images/uploader-icons.png); |
|
214 |
background-repeat: no-repeat; |
|
215 |
} |
|
216 |
|
|
217 |
/** |
|
218 |
* Toolbar |
|
219 |
*/ |
|
220 |
.media-toolbar { |
|
221 |
position: absolute; |
|
222 |
top: 0; |
|
223 |
left: 0; |
|
224 |
right: 0; |
|
225 |
z-index: 100; |
|
226 |
height: 60px; |
|
227 |
padding: 0 16px; |
|
228 |
border: 0 solid #dfdfdf; |
|
229 |
overflow: hidden; |
|
230 |
} |
|
231 |
|
|
232 |
.media-toolbar-primary { |
|
233 |
float: right; |
|
234 |
height: 100%; |
|
235 |
} |
|
236 |
|
|
237 |
.media-toolbar-secondary { |
|
238 |
float: left; |
|
239 |
height: 100%; |
|
240 |
} |
|
241 |
|
|
242 |
.media-toolbar-primary > .media-button, |
|
243 |
.media-toolbar-primary > .media-button-group { |
|
244 |
margin-left: 10px; |
|
245 |
float: left; |
|
246 |
margin-top: 15px; |
|
247 |
} |
|
248 |
|
|
249 |
.media-toolbar-secondary > .media-button, |
|
250 |
.media-toolbar-secondary > .media-button-group { |
|
251 |
margin-right: 10px; |
|
252 |
margin-top: 15px; |
|
253 |
} |
|
254 |
|
|
255 |
/** |
|
256 |
* Sidebar |
|
257 |
*/ |
|
258 |
.media-sidebar { |
|
259 |
position: absolute; |
|
260 |
top: 0; |
|
261 |
right: 0; |
|
262 |
bottom: 0; |
|
263 |
width: 267px; |
|
264 |
padding: 0 16px 24px; |
|
265 |
z-index: 75; |
5
|
266 |
background: #f3f3f3; |
|
267 |
border-left: 1px solid #ddd; |
0
|
268 |
overflow: auto; |
|
269 |
-webkit-overflow-scrolling: touch; |
|
270 |
} |
|
271 |
|
|
272 |
.hide-toolbar .media-sidebar { |
|
273 |
bottom: 0; |
|
274 |
} |
|
275 |
|
|
276 |
.media-sidebar .sidebar-title { |
|
277 |
font-size: 20px; |
|
278 |
margin: 0; |
|
279 |
padding: 12px 10px 10px; |
|
280 |
line-height: 28px; |
|
281 |
} |
|
282 |
|
|
283 |
.media-sidebar .sidebar-content { |
|
284 |
padding: 0 10px; |
|
285 |
margin-bottom: 130px; |
|
286 |
} |
|
287 |
|
|
288 |
.media-sidebar .search { |
|
289 |
display: block; |
|
290 |
width: 100%; |
|
291 |
} |
|
292 |
|
5
|
293 |
.media-sidebar h3, |
|
294 |
.image-details h3 { |
0
|
295 |
position: relative; |
|
296 |
font-weight: bold; |
|
297 |
text-transform: uppercase; |
|
298 |
font-size: 12px; |
5
|
299 |
color: #666; |
0
|
300 |
margin: 24px 0 8px; |
|
301 |
} |
|
302 |
|
5
|
303 |
.media-sidebar .setting, |
|
304 |
.attachment-details .setting { |
0
|
305 |
display: block; |
|
306 |
float: left; |
|
307 |
width: 100%; |
|
308 |
margin: 1px 0; |
|
309 |
} |
|
310 |
|
5
|
311 |
.media-sidebar .setting label, |
|
312 |
.attachment-details .setting label { |
0
|
313 |
display: block; |
|
314 |
} |
|
315 |
|
5
|
316 |
.media-sidebar .setting .link-to-custom, |
|
317 |
.attachment-details .setting .link-to-custom { |
|
318 |
margin: 3px 2px 0; |
0
|
319 |
} |
|
320 |
|
5
|
321 |
.media-sidebar .setting span, |
|
322 |
.attachment-details .setting span { |
0
|
323 |
min-width: 30%; |
|
324 |
margin-right: 4%; |
|
325 |
font-size: 12px; |
5
|
326 |
text-align: right; |
|
327 |
word-wrap: break-word; |
0
|
328 |
} |
|
329 |
|
5
|
330 |
.media-sidebar .setting .name { |
|
331 |
max-width: 80px; |
|
332 |
} |
|
333 |
|
|
334 |
.media-sidebar .setting select, |
|
335 |
.attachment-details .setting select { |
0
|
336 |
max-width: 65%; |
|
337 |
} |
|
338 |
|
5
|
339 |
.media-sidebar .setting input[type="checkbox"], |
|
340 |
.media-sidebar .field input[type="checkbox"], |
|
341 |
.media-sidebar .setting input[type="radio"], |
|
342 |
.media-sidebar .field input[type="radio"], |
|
343 |
.attachment-details .setting input[type="checkbox"], |
|
344 |
.attachment-details .field input[type="checkbox"], |
|
345 |
.attachment-details .setting input[type="radio"], |
|
346 |
.attachment-details .field input[type="radio"] { |
0
|
347 |
float: none; |
5
|
348 |
margin: 8px 3px 0; |
0
|
349 |
padding: 0; |
|
350 |
} |
|
351 |
|
|
352 |
.media-sidebar .setting span, |
5
|
353 |
.attachment-details .setting span, |
0
|
354 |
.compat-item label span { |
|
355 |
float: left; |
|
356 |
min-height: 22px; |
|
357 |
padding-top: 8px; |
|
358 |
line-height: 16px; |
5
|
359 |
font-weight: normal; |
|
360 |
color: #666; |
|
361 |
} |
|
362 |
|
|
363 |
.compat-item label span { |
0
|
364 |
text-align: right; |
|
365 |
} |
|
366 |
|
5
|
367 |
.media-sidebar .setting input[type="text"], |
|
368 |
.media-sidebar .setting input[type="password"], |
|
369 |
.media-sidebar .setting input[type="email"], |
|
370 |
.media-sidebar .setting input[type="number"], |
|
371 |
.media-sidebar .setting input[type="search"], |
|
372 |
.media-sidebar .setting input[type="tel"], |
|
373 |
.media-sidebar .setting input[type="url"], |
|
374 |
.media-sidebar .setting textarea, |
|
375 |
.media-sidebar .setting .value, |
|
376 |
.attachment-details .setting input[type="text"], |
|
377 |
.attachment-details .setting input[type="password"], |
|
378 |
.attachment-details .setting input[type="email"], |
|
379 |
.attachment-details .setting input[type="number"], |
|
380 |
.attachment-details .setting input[type="search"], |
|
381 |
.attachment-details .setting input[type="tel"], |
|
382 |
.attachment-details .setting input[type="url"], |
|
383 |
.attachment-details .setting textarea, |
|
384 |
.attachment-details .setting .value { |
|
385 |
-webkit-box-sizing: border-box; |
|
386 |
-moz-box-sizing: border-box; |
|
387 |
box-sizing: border-box; |
|
388 |
margin: 1px; |
0
|
389 |
width: 65%; |
|
390 |
float: right; |
|
391 |
} |
|
392 |
|
5
|
393 |
.media-sidebar .setting .value, |
|
394 |
.attachment-details .setting .value { |
|
395 |
margin: 0 1px; |
|
396 |
text-align: left; |
|
397 |
} |
|
398 |
|
0
|
399 |
.media-sidebar .setting textarea, |
5
|
400 |
.attachment-details .setting textarea, |
0
|
401 |
.compat-item .field textarea { |
|
402 |
height: 62px; |
|
403 |
resize: vertical; |
|
404 |
} |
|
405 |
|
5
|
406 |
.media-sidebar select, |
|
407 |
.attachment-details select { |
0
|
408 |
margin-top: 3px; |
|
409 |
} |
|
410 |
|
|
411 |
.compat-item { |
|
412 |
float: left; |
|
413 |
width: 100%; |
|
414 |
overflow: hidden; |
|
415 |
} |
|
416 |
|
|
417 |
.compat-item table { |
|
418 |
width: 100%; |
|
419 |
table-layout: fixed; |
|
420 |
border-spacing: 0; |
|
421 |
border: 0; |
|
422 |
} |
|
423 |
|
|
424 |
.compat-item tr { |
|
425 |
padding: 2px 0; |
|
426 |
display: block; |
|
427 |
overflow: hidden; |
|
428 |
} |
|
429 |
|
|
430 |
.compat-item .label, |
|
431 |
.compat-item .field { |
|
432 |
display: block; |
|
433 |
margin: 0; |
|
434 |
padding: 0; |
|
435 |
} |
|
436 |
|
|
437 |
.compat-item .label { |
|
438 |
min-width: 30%; |
|
439 |
margin-right: 4%; |
|
440 |
float: left; |
|
441 |
text-align: right; |
|
442 |
} |
|
443 |
|
|
444 |
.compat-item .label span { |
|
445 |
display: block; |
|
446 |
width: 100%; |
|
447 |
} |
|
448 |
|
|
449 |
.compat-item .field { |
|
450 |
float: right; |
|
451 |
width: 65%; |
5
|
452 |
margin: 1px; |
0
|
453 |
} |
|
454 |
|
5
|
455 |
.compat-item .field input[type="text"], |
|
456 |
.compat-item .field input[type="password"], |
|
457 |
.compat-item .field input[type="email"], |
|
458 |
.compat-item .field input[type="number"], |
|
459 |
.compat-item .field input[type="search"], |
|
460 |
.compat-item .field input[type="tel"], |
|
461 |
.compat-item .field input[type="url"], |
|
462 |
.compat-item .field textarea { |
0
|
463 |
width: 100%; |
|
464 |
margin: 0; |
5
|
465 |
-webkit-box-sizing: border-box; |
|
466 |
-moz-box-sizing: border-box; |
|
467 |
box-sizing: border-box; |
0
|
468 |
} |
|
469 |
|
5
|
470 |
.sidebar-for-errors .attachment-details, |
|
471 |
.sidebar-for-errors .compat-item, |
|
472 |
.sidebar-for-errors .media-sidebar .media-progress-bar, |
|
473 |
.sidebar-for-errors .upload-details { |
|
474 |
display: none !important; |
|
475 |
} |
0
|
476 |
|
|
477 |
/** |
|
478 |
* Menu |
|
479 |
*/ |
|
480 |
.media-menu { |
|
481 |
position: absolute; |
|
482 |
top: 0; |
|
483 |
left: 0; |
|
484 |
right: 0; |
|
485 |
bottom: 0; |
|
486 |
margin: 0; |
5
|
487 |
padding: 10px 0; |
|
488 |
background: #f3f3f3; |
|
489 |
border-right-width: 1px; |
|
490 |
border-right-style: solid; |
|
491 |
border-right-color: #ccc; |
0
|
492 |
-webkit-user-select: none; |
|
493 |
-moz-user-select: none; |
|
494 |
-ms-user-select: none; |
|
495 |
user-select: none; |
|
496 |
} |
|
497 |
|
|
498 |
.media-menu > a { |
|
499 |
display: block; |
|
500 |
position: relative; |
5
|
501 |
padding: 8px 20px; |
0
|
502 |
margin: 0; |
|
503 |
line-height: 18px; |
|
504 |
font-size: 14px; |
5
|
505 |
color: #0073aa; |
0
|
506 |
text-decoration: none; |
|
507 |
} |
|
508 |
|
|
509 |
.media-menu > a:hover { |
|
510 |
color: #21759B; |
|
511 |
background: rgba( 0, 0, 0, 0.04 ); |
|
512 |
} |
|
513 |
|
|
514 |
.media-menu > a:active { |
|
515 |
outline: none; |
|
516 |
} |
|
517 |
|
|
518 |
.media-menu .active, |
|
519 |
.media-menu .active:hover { |
5
|
520 |
color: #23282d; |
0
|
521 |
font-weight: bold; |
|
522 |
} |
|
523 |
|
|
524 |
.media-menu .separator { |
|
525 |
height: 0; |
|
526 |
margin: 12px 20px; |
|
527 |
padding: 0; |
5
|
528 |
border-top: 1px solid #ddd; |
0
|
529 |
} |
|
530 |
|
|
531 |
/** |
|
532 |
* Menu |
|
533 |
*/ |
|
534 |
.media-router { |
|
535 |
position: relative; |
|
536 |
padding: 0 6px; |
|
537 |
margin: 0; |
|
538 |
clear: both; |
|
539 |
-webkit-user-select: none; |
|
540 |
-moz-user-select: none; |
|
541 |
-ms-user-select: none; |
|
542 |
user-select: none; |
|
543 |
} |
|
544 |
|
5
|
545 |
.media-router a { |
|
546 |
-webkit-transition: none; |
|
547 |
transition: none; |
|
548 |
} |
|
549 |
|
0
|
550 |
.media-router > a { |
|
551 |
position: relative; |
|
552 |
float: left; |
5
|
553 |
padding: 8px 10px 9px; |
0
|
554 |
margin: 0; |
|
555 |
height: 18px; |
|
556 |
line-height: 18px; |
|
557 |
font-size: 14px; |
|
558 |
text-decoration: none; |
|
559 |
} |
|
560 |
|
|
561 |
.media-router > a:last-child { |
|
562 |
border-right: 0; |
|
563 |
} |
|
564 |
|
5
|
565 |
.media-router > a:active { |
0
|
566 |
outline: none; |
|
567 |
} |
|
568 |
|
|
569 |
.media-router .active, |
|
570 |
.media-router .active:hover { |
5
|
571 |
color: #32373c; |
|
572 |
} |
|
573 |
|
|
574 |
.media-router .active, |
|
575 |
.media-router > a.active:last-child { |
|
576 |
margin: -1px -1px 0; |
|
577 |
background: #fff; |
|
578 |
border: 1px solid #ddd; |
|
579 |
border-bottom: none; |
0
|
580 |
} |
|
581 |
|
|
582 |
.media-router .active:after { |
5
|
583 |
display: none; |
0
|
584 |
} |
|
585 |
|
|
586 |
/** |
|
587 |
* Frame |
|
588 |
*/ |
|
589 |
.media-frame { |
|
590 |
overflow: hidden; |
|
591 |
position: absolute; |
|
592 |
top: 0; |
|
593 |
left: 0; |
|
594 |
right: 0; |
|
595 |
bottom: 0; |
|
596 |
} |
|
597 |
|
|
598 |
.media-frame-menu { |
|
599 |
position: absolute; |
|
600 |
top: 0; |
|
601 |
left: 0; |
|
602 |
bottom: 0; |
5
|
603 |
width: 200px; |
0
|
604 |
z-index: 150; |
|
605 |
} |
|
606 |
|
|
607 |
.media-frame-title { |
|
608 |
position: absolute; |
|
609 |
top: 0; |
|
610 |
left: 200px; |
|
611 |
right: 0; |
5
|
612 |
height: 50px; |
0
|
613 |
z-index: 200; |
|
614 |
} |
|
615 |
|
|
616 |
.media-frame-router { |
|
617 |
position: absolute; |
5
|
618 |
top: 50px; |
0
|
619 |
left: 200px; |
|
620 |
right: 0; |
5
|
621 |
height: 36px; |
0
|
622 |
z-index: 200; |
|
623 |
} |
|
624 |
|
|
625 |
.media-frame-content { |
|
626 |
position: absolute; |
5
|
627 |
top: 84px; |
0
|
628 |
left: 200px; |
|
629 |
right: 0; |
|
630 |
bottom: 61px; |
|
631 |
height: auto; |
|
632 |
width: auto; |
|
633 |
margin: 0; |
|
634 |
overflow: auto; |
5
|
635 |
background: #fff; |
|
636 |
border-top: 1px solid #ddd; |
|
637 |
border-bottom: 1px solid #ddd; |
0
|
638 |
} |
|
639 |
|
|
640 |
.media-frame-toolbar { |
|
641 |
position: absolute; |
|
642 |
left: 200px; |
|
643 |
right: 0; |
|
644 |
bottom: 0; |
|
645 |
height: 60px; |
|
646 |
z-index: 100; |
|
647 |
} |
|
648 |
|
|
649 |
.media-frame.hide-menu .media-frame-title, |
|
650 |
.media-frame.hide-menu .media-frame-router, |
|
651 |
.media-frame.hide-menu .media-frame-toolbar, |
|
652 |
.media-frame.hide-menu .media-frame-content { |
|
653 |
left: 0; |
|
654 |
} |
|
655 |
|
|
656 |
.media-frame.hide-menu .media-frame-menu { |
|
657 |
left: -200px; |
|
658 |
} |
|
659 |
|
|
660 |
.media-frame.hide-toolbar .media-frame-content { |
|
661 |
bottom: 0; |
|
662 |
} |
|
663 |
|
|
664 |
.media-frame.hide-toolbar .media-frame-toolbar { |
|
665 |
bottom: -61px; |
|
666 |
} |
|
667 |
|
|
668 |
.media-frame.hide-router .media-frame-content { |
5
|
669 |
top: 50px; |
0
|
670 |
} |
|
671 |
|
|
672 |
.media-frame.hide-router .media-frame-router { |
|
673 |
display: none; |
|
674 |
} |
|
675 |
|
|
676 |
.media-frame.hide-router .media-frame-title { |
|
677 |
border-bottom: 1px solid #dfdfdf; |
5
|
678 |
-webkit-box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 ); |
0
|
679 |
box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 ); |
|
680 |
} |
|
681 |
|
5
|
682 |
.media-frame-title .dashicons { |
0
|
683 |
display: none; |
|
684 |
} |
|
685 |
|
|
686 |
.media-frame-title h1 { |
|
687 |
padding: 0 16px; |
|
688 |
font-size: 22px; |
5
|
689 |
line-height: 50px; |
0
|
690 |
margin: 0; |
|
691 |
} |
|
692 |
|
5
|
693 |
.media-frame-title .suggested-dimensions { |
|
694 |
font-size: 14px; |
|
695 |
float: right; |
|
696 |
margin-right: 20px; |
|
697 |
} |
|
698 |
|
|
699 |
.media-frame-content .crop-content { |
|
700 |
height: 100%; |
|
701 |
} |
|
702 |
|
|
703 |
.media-frame-content .crop-content .crop-image { |
|
704 |
display: block; |
|
705 |
margin: auto; |
|
706 |
max-width: 100%; |
|
707 |
max-height: 100%; |
|
708 |
} |
|
709 |
|
|
710 |
.media-frame-content .crop-content .upload-errors |
|
711 |
{ |
|
712 |
position: absolute; |
|
713 |
width: 300px; |
|
714 |
top: 50%; |
|
715 |
left: 50%; |
|
716 |
margin-left: -150px; |
|
717 |
margin-right: -150px; |
|
718 |
z-index: 600000; |
|
719 |
} |
|
720 |
|
0
|
721 |
/** |
|
722 |
* Iframes |
|
723 |
*/ |
|
724 |
.media-frame .media-iframe { |
|
725 |
overflow: hidden; |
|
726 |
} |
|
727 |
|
|
728 |
.media-frame .media-iframe, |
|
729 |
.media-frame .media-iframe iframe { |
|
730 |
height: 100%; |
|
731 |
width: 100%; |
|
732 |
border: 0; |
|
733 |
} |
|
734 |
|
|
735 |
/** |
|
736 |
* Attachment Browser Filters |
|
737 |
*/ |
|
738 |
.media-frame select.attachment-filters { |
|
739 |
margin-top: 11px; |
5
|
740 |
margin-right: 2%; |
|
741 |
max-width: 42%; |
|
742 |
max-width: -webkit-calc(48% - 12px); |
|
743 |
max-width: calc(48% - 12px); |
|
744 |
} |
|
745 |
|
|
746 |
.media-frame select.attachment-filters:last-of-type { |
|
747 |
margin-right: 0; |
0
|
748 |
} |
|
749 |
|
|
750 |
/** |
|
751 |
* Search |
|
752 |
*/ |
|
753 |
.media-frame .search { |
|
754 |
margin-top: 11px; |
|
755 |
padding: 4px; |
|
756 |
font-size: 13px; |
|
757 |
color: #464646; |
5
|
758 |
font-family: "Open Sans", sans-serif; |
0
|
759 |
-webkit-appearance: none; |
|
760 |
} |
|
761 |
|
5
|
762 |
.media-toolbar-primary .search { |
|
763 |
max-width: 100%; |
0
|
764 |
} |
|
765 |
|
|
766 |
/** |
|
767 |
* Attachments |
|
768 |
*/ |
5
|
769 |
.wp-core-ui .attachments { |
0
|
770 |
margin: 0; |
|
771 |
-webkit-overflow-scrolling: touch; |
|
772 |
} |
|
773 |
|
|
774 |
/** |
|
775 |
* Attachment |
|
776 |
*/ |
5
|
777 |
.wp-core-ui .attachment { |
0
|
778 |
position: relative; |
|
779 |
float: left; |
5
|
780 |
padding: 8px; |
|
781 |
margin: 0; |
0
|
782 |
color: #464646; |
5
|
783 |
cursor: pointer; |
0
|
784 |
list-style: none; |
|
785 |
text-align: center; |
|
786 |
-webkit-user-select: none; |
5
|
787 |
-moz-user-select: none; |
|
788 |
-ms-user-select: none; |
|
789 |
user-select: none; |
|
790 |
width: 25%; |
|
791 |
-webkit-box-sizing: border-box; |
|
792 |
-moz-box-sizing: border-box; |
|
793 |
box-sizing: border-box; |
0
|
794 |
} |
|
795 |
|
5
|
796 |
.wp-core-ui .attachment:focus, |
|
797 |
.wp-core-ui .selected.attachment:focus, |
|
798 |
.wp-core-ui .attachment.details:focus { |
|
799 |
-webkit-box-shadow: |
|
800 |
inset 0 0 2px 3px #fff, |
|
801 |
inset 0 0 0 7px #5b9dd9; |
0
|
802 |
box-shadow: |
5
|
803 |
inset 0 0 2px 3px #fff, |
|
804 |
inset 0 0 0 7px #5b9dd9; |
|
805 |
outline: none; |
0
|
806 |
} |
|
807 |
|
5
|
808 |
.wp-core-ui .selected.attachment { |
|
809 |
-webkit-box-shadow: |
|
810 |
inset 0 0 0 5px #fff, |
|
811 |
inset 0 0 0 7px #ccc; |
0
|
812 |
box-shadow: |
5
|
813 |
inset 0 0 0 5px #fff, |
|
814 |
inset 0 0 0 7px #ccc; |
0
|
815 |
} |
|
816 |
|
5
|
817 |
.wp-core-ui .attachment.details { |
|
818 |
-webkit-box-shadow: |
|
819 |
inset 0 0 0 3px #fff, |
|
820 |
inset 0 0 0 7px #1e8cbe; |
|
821 |
box-shadow: |
|
822 |
inset 0 0 0 3px #fff, |
|
823 |
inset 0 0 0 7px #1e8cbe; |
|
824 |
} |
|
825 |
|
|
826 |
.wp-core-ui .attachment-preview { |
0
|
827 |
position: relative; |
5
|
828 |
-webkit-box-shadow: |
|
829 |
inset 0 0 15px rgba( 0, 0, 0, 0.1 ), |
|
830 |
inset 0 0 0 1px rgba( 0, 0, 0, 0.05 ); |
0
|
831 |
box-shadow: |
|
832 |
inset 0 0 15px rgba( 0, 0, 0, 0.1 ), |
|
833 |
inset 0 0 0 1px rgba( 0, 0, 0, 0.05 ); |
|
834 |
background: #eee; |
|
835 |
cursor: pointer; |
|
836 |
} |
|
837 |
|
5
|
838 |
.wp-core-ui .attachment-preview:before { |
|
839 |
content: ''; |
|
840 |
display: block; |
|
841 |
padding-top: 100%; |
|
842 |
} |
|
843 |
|
|
844 |
.wp-core-ui .attachment .icon { |
0
|
845 |
margin: 0 auto; |
|
846 |
overflow: hidden; |
|
847 |
} |
|
848 |
|
5
|
849 |
.wp-core-ui .attachment .thumbnail { |
|
850 |
overflow: hidden; |
0
|
851 |
position: absolute; |
|
852 |
top: 0; |
5
|
853 |
right: 0; |
|
854 |
bottom: 0; |
0
|
855 |
left: 0; |
5
|
856 |
opacity: 1; |
|
857 |
-webkit-transition: opacity .1s; |
|
858 |
transition: opacity .1s; |
|
859 |
} |
|
860 |
|
|
861 |
.wp-core-ui .attachment .portrait img { |
0
|
862 |
max-width: 100%; |
5
|
863 |
} |
|
864 |
|
|
865 |
.wp-core-ui .attachment .landscape img { |
0
|
866 |
max-height: 100%; |
|
867 |
} |
|
868 |
|
5
|
869 |
.wp-core-ui .attachment .thumbnail:after { |
0
|
870 |
content: ''; |
|
871 |
display: block; |
|
872 |
position: absolute; |
|
873 |
top: 0; |
|
874 |
left: 0; |
|
875 |
right: 0; |
|
876 |
bottom: 0; |
5
|
877 |
-webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); |
0
|
878 |
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); |
|
879 |
overflow: hidden; |
|
880 |
} |
|
881 |
|
5
|
882 |
.wp-core-ui .attachment .thumbnail img { |
0
|
883 |
top: 0; |
|
884 |
left: 0; |
|
885 |
} |
|
886 |
|
5
|
887 |
.wp-core-ui .attachment .thumbnail .centered { |
0
|
888 |
position: absolute; |
|
889 |
top: 0; |
|
890 |
left: 0; |
|
891 |
width: 100%; |
|
892 |
height: 100%; |
|
893 |
-webkit-transform: translate( 50%, 50% ); |
5
|
894 |
-ms-transform: translate(50%,50%); /* Fails with spaces?? Weird! */ |
|
895 |
transform: translate( 50%, 50% ); |
|
896 |
} |
|
897 |
|
|
898 |
.wp-core-ui .attachment .thumbnail .centered img { |
|
899 |
-webkit-transform: translate( -50%, -50% ); |
|
900 |
-ms-transform: translate(-50%,-50%); |
|
901 |
transform: translate( -50%, -50% ); |
0
|
902 |
} |
|
903 |
|
5
|
904 |
.wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon { |
|
905 |
-webkit-transform: translate( -50%, -70% ); |
|
906 |
-ms-transform: translate(-50%,-70%); |
|
907 |
transform: translate( -50%, -70% ); |
0
|
908 |
} |
|
909 |
|
5
|
910 |
.ie8 .wp-core-ui .attachment img.icon { |
|
911 |
top: 20%; |
|
912 |
position: relative; |
|
913 |
} |
|
914 |
|
|
915 |
.wp-core-ui .attachment .filename { |
0
|
916 |
position: absolute; |
|
917 |
left: 0; |
|
918 |
right: 0; |
|
919 |
bottom: 0; |
|
920 |
overflow: hidden; |
|
921 |
max-height: 100%; |
|
922 |
word-wrap: break-word; |
|
923 |
text-align: center; |
|
924 |
font-weight: bold; |
|
925 |
background: rgba( 255, 255, 255, 0.8 ); |
5
|
926 |
-webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); |
0
|
927 |
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); |
|
928 |
} |
|
929 |
|
5
|
930 |
.wp-core-ui .attachment .filename div { |
0
|
931 |
padding: 5px 10px; |
|
932 |
} |
|
933 |
|
5
|
934 |
.wp-core-ui .attachment .thumbnail img { |
0
|
935 |
position: absolute; |
|
936 |
} |
|
937 |
|
5
|
938 |
.wp-core-ui .attachment .close { |
|
939 |
display: block; |
0
|
940 |
position: absolute; |
|
941 |
top: 5px; |
|
942 |
right: 5px; |
|
943 |
height: 22px; |
|
944 |
width: 22px; |
|
945 |
padding: 0; |
|
946 |
font-size: 20px; |
|
947 |
line-height: 20px; |
|
948 |
text-align: center; |
|
949 |
text-decoration: none; |
|
950 |
color: #464646; |
|
951 |
background-color: #fff; |
|
952 |
background-position: -96px 4px; |
|
953 |
border-width: 0; |
5
|
954 |
-webkit-border-radius: 3px; |
0
|
955 |
border-radius: 3px; |
5
|
956 |
-webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 ); |
0
|
957 |
box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 ); |
5
|
958 |
-webkit-transition-duration: none; |
|
959 |
transition-duration: none; |
|
960 |
-webkit-transition-property: none; |
|
961 |
transition-property: none; |
0
|
962 |
} |
|
963 |
|
5
|
964 |
.wp-core-ui .attachment a.close:hover, |
|
965 |
.wp-core-ui .attachment a.close:focus { |
|
966 |
-webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 ); |
0
|
967 |
box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 ); |
5
|
968 |
background-position: -36px 4px; |
|
969 |
|
0
|
970 |
} |
|
971 |
|
5
|
972 |
.wp-core-ui .attachment .check { |
0
|
973 |
display: none; |
|
974 |
height: 24px; |
|
975 |
width: 24px; |
|
976 |
position: absolute; |
5
|
977 |
z-index: 10; |
|
978 |
top: 0; |
|
979 |
right: 0; |
0
|
980 |
outline: none; |
5
|
981 |
background: #eee; |
|
982 |
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 ); |
|
983 |
box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 ); |
0
|
984 |
} |
|
985 |
|
5
|
986 |
.wp-core-ui .attachment .check div { |
0
|
987 |
background-position: -1px 0; |
|
988 |
height: 15px; |
|
989 |
width: 15px; |
|
990 |
margin: 5px; |
|
991 |
} |
|
992 |
|
5
|
993 |
.wp-core-ui .attachment .check:hover div { |
0
|
994 |
background-position: -40px 0; |
|
995 |
} |
|
996 |
|
5
|
997 |
.wp-core-ui .attachment.selected .check { |
0
|
998 |
display: block; |
|
999 |
} |
|
1000 |
|
5
|
1001 |
.wp-core-ui .attachment.details .check, |
|
1002 |
.wp-core-ui .attachment.selected .check:focus, |
|
1003 |
.wp-core-ui .media-frame.mode-grid .attachment.selected .check { |
|
1004 |
background-color: #1e8cbe; |
|
1005 |
-webkit-box-shadow: |
|
1006 |
0 0 0 1px #fff, |
|
1007 |
0 0 0 2px #1e8cbe; |
|
1008 |
box-shadow: |
|
1009 |
0 0 0 1px #fff, |
|
1010 |
0 0 0 2px #1e8cbe; |
0
|
1011 |
} |
|
1012 |
|
5
|
1013 |
.wp-core-ui .attachment.details .check div, |
|
1014 |
.wp-core-ui .media-frame.mode-grid .attachment.selected .check div { |
0
|
1015 |
background-position: -21px 0; |
|
1016 |
} |
|
1017 |
|
5
|
1018 |
.wp-core-ui .attachment.details .check:hover div, |
|
1019 |
.wp-core-ui .attachment.selected .check:focus div, |
|
1020 |
.wp-core-ui .media-frame.mode-grid .attachment.selected .check:hover div { |
0
|
1021 |
background-position: -60px 0; |
|
1022 |
} |
|
1023 |
|
5
|
1024 |
.wp-core-ui .media-frame .attachment .describe { |
0
|
1025 |
position: relative; |
|
1026 |
display: block; |
|
1027 |
width: 100%; |
5
|
1028 |
margin: 0; |
0
|
1029 |
padding: 8px; |
|
1030 |
font-size: 12px; |
5
|
1031 |
-webkit-border-radius: 0; |
0
|
1032 |
border-radius: 0; |
|
1033 |
} |
|
1034 |
|
|
1035 |
/** |
|
1036 |
* Attachments Browser |
|
1037 |
*/ |
|
1038 |
.media-frame .attachments-browser { |
|
1039 |
position: relative; |
|
1040 |
width: 100%; |
|
1041 |
height: 100%; |
|
1042 |
overflow: hidden; |
|
1043 |
} |
|
1044 |
|
|
1045 |
.attachments-browser .media-toolbar { |
|
1046 |
right: 300px; |
|
1047 |
height: 50px; |
|
1048 |
} |
|
1049 |
|
5
|
1050 |
.attachments-browser.hide-sidebar .media-toolbar { |
|
1051 |
right: 0; |
|
1052 |
} |
|
1053 |
|
0
|
1054 |
.attachments-browser .media-toolbar-primary > .media-button, |
|
1055 |
.attachments-browser .media-toolbar-primary > .media-button-group, |
|
1056 |
.attachments-browser .media-toolbar-secondary > .media-button, |
|
1057 |
.attachments-browser .media-toolbar-secondary > .media-button-group { |
5
|
1058 |
margin: 11px 0; |
|
1059 |
} |
|
1060 |
|
|
1061 |
.attachments-browser .attachments { |
|
1062 |
padding: 2px 8px 8px; |
0
|
1063 |
} |
|
1064 |
|
|
1065 |
.attachments-browser .attachments, |
|
1066 |
.attachments-browser .uploader-inline { |
|
1067 |
position: absolute; |
|
1068 |
top: 50px; |
|
1069 |
left: 0; |
|
1070 |
right: 300px; |
|
1071 |
bottom: 0; |
|
1072 |
overflow: auto; |
5
|
1073 |
outline: none; |
|
1074 |
} |
|
1075 |
|
|
1076 |
.attachments-browser .uploader-inline.hidden { |
|
1077 |
display: none; |
|
1078 |
} |
|
1079 |
|
|
1080 |
.attachments-browser .media-toolbar-primary { |
|
1081 |
max-width: 33%; |
|
1082 |
} |
|
1083 |
|
|
1084 |
.attachments-browser .media-toolbar-secondary { |
|
1085 |
max-width: 66%; |
|
1086 |
} |
|
1087 |
|
|
1088 |
.uploader-inline .close { |
|
1089 |
background-color: transparent; |
|
1090 |
border: 0; |
|
1091 |
cursor: pointer; |
|
1092 |
height: 48px; |
|
1093 |
position: absolute; |
|
1094 |
right: 0; |
|
1095 |
text-align: center; |
|
1096 |
top: 0; |
|
1097 |
width: 50px; |
|
1098 |
z-index: 1; |
|
1099 |
} |
|
1100 |
|
|
1101 |
.uploader-inline .close:before { |
|
1102 |
font: normal 30px/50px 'dashicons' !important; |
|
1103 |
color: #777; |
|
1104 |
display: inline-block; |
|
1105 |
content: '\f335'; |
|
1106 |
font-weight: 300; |
|
1107 |
} |
|
1108 |
|
|
1109 |
.attachments-browser.hide-sidebar .attachments, |
|
1110 |
.attachments-browser.hide-sidebar .uploader-inline { |
|
1111 |
right: 0; |
|
1112 |
margin-right: 0; |
0
|
1113 |
} |
|
1114 |
|
|
1115 |
.attachments-browser .instructions { |
|
1116 |
display: inline-block; |
|
1117 |
margin-top: 16px; |
|
1118 |
line-height: 18px; |
|
1119 |
font-size: 13px; |
5
|
1120 |
color: #666; |
|
1121 |
margin-right: 0.5em; |
|
1122 |
} |
|
1123 |
|
|
1124 |
.attachments-browser .no-media { |
|
1125 |
padding: 2em 0 0 2em; |
0
|
1126 |
} |
|
1127 |
|
|
1128 |
/** |
|
1129 |
* Progress Bar |
|
1130 |
*/ |
|
1131 |
.media-progress-bar { |
|
1132 |
position: relative; |
|
1133 |
height: 10px; |
|
1134 |
width: 70%; |
|
1135 |
margin: 10px auto; |
5
|
1136 |
-webkit-border-radius: 10px; |
0
|
1137 |
border-radius: 10px; |
|
1138 |
background: #dfdfdf; |
|
1139 |
background: rgba( 0, 0, 0, 0.1 ); |
|
1140 |
} |
|
1141 |
|
|
1142 |
.media-progress-bar div { |
|
1143 |
height: 10px; |
|
1144 |
min-width: 20px; |
|
1145 |
width: 0; |
5
|
1146 |
background: #1e8cbe; |
|
1147 |
-webkit-border-radius: 10px; |
0
|
1148 |
border-radius: 10px; |
|
1149 |
-webkit-transition: width 300ms; |
5
|
1150 |
transition: width 300ms; |
0
|
1151 |
} |
|
1152 |
|
|
1153 |
.media-uploader-status .media-progress-bar { |
|
1154 |
display: none; |
|
1155 |
width: 100%; |
|
1156 |
} |
|
1157 |
|
|
1158 |
.uploading.media-uploader-status .media-progress-bar { |
|
1159 |
display: block; |
|
1160 |
} |
|
1161 |
|
|
1162 |
.attachment-preview .media-progress-bar { |
|
1163 |
position: absolute; |
|
1164 |
top: 50%; |
|
1165 |
left: 15%; |
|
1166 |
width: 70%; |
|
1167 |
margin: -5px 0 0 0; |
|
1168 |
} |
|
1169 |
|
|
1170 |
.media-uploader-status { |
|
1171 |
position: relative; |
|
1172 |
margin: 0 auto; |
|
1173 |
padding-bottom: 10px; |
|
1174 |
max-width: 400px; |
|
1175 |
} |
|
1176 |
|
|
1177 |
.media-sidebar .media-uploader-status { |
|
1178 |
border-bottom: 1px solid #dfdfdf; |
|
1179 |
} |
|
1180 |
|
|
1181 |
.uploader-inline .media-uploader-status h3 { |
|
1182 |
display: none; |
|
1183 |
} |
|
1184 |
|
|
1185 |
.media-uploader-status .upload-details { |
|
1186 |
display: none; |
|
1187 |
font-size: 12px; |
|
1188 |
color: #666; |
|
1189 |
} |
|
1190 |
|
|
1191 |
.uploading.media-uploader-status .upload-details { |
|
1192 |
display: block; |
|
1193 |
} |
|
1194 |
|
|
1195 |
.media-uploader-status .upload-detail-separator { |
|
1196 |
padding: 0 4px; |
|
1197 |
} |
|
1198 |
|
|
1199 |
.media-uploader-status .upload-count { |
|
1200 |
color: #464646; |
|
1201 |
} |
|
1202 |
|
|
1203 |
.media-uploader-status .upload-dismiss-errors, |
|
1204 |
.media-uploader-status .upload-errors { |
|
1205 |
display: none; |
|
1206 |
} |
|
1207 |
|
|
1208 |
.errors.media-uploader-status .upload-dismiss-errors, |
|
1209 |
.errors.media-uploader-status .upload-errors { |
|
1210 |
display: block; |
|
1211 |
} |
|
1212 |
|
|
1213 |
.media-uploader-status .upload-dismiss-errors { |
|
1214 |
text-decoration: none; |
|
1215 |
} |
|
1216 |
|
|
1217 |
.media-sidebar .media-uploader-status .upload-dismiss-errors { |
|
1218 |
position: absolute; |
|
1219 |
top: 0; |
|
1220 |
right: 0; |
|
1221 |
} |
|
1222 |
|
|
1223 |
.upload-errors .upload-error { |
|
1224 |
margin: 8px auto 0 auto; |
|
1225 |
padding: 8px; |
|
1226 |
border: 1px #c00 solid; |
|
1227 |
background: #ffebe8; |
5
|
1228 |
-webkit-border-radius: 3px; |
0
|
1229 |
border-radius: 3px; |
|
1230 |
} |
|
1231 |
|
|
1232 |
.upload-errors .upload-error-label { |
|
1233 |
padding: 2px 4px; |
|
1234 |
margin-right: 8px; |
|
1235 |
font-weight: bold; |
|
1236 |
color: #fff; |
|
1237 |
background: #e00; |
|
1238 |
background-image: -webkit-gradient(linear, left top, left bottom, from(#e00), to(#a00)); |
|
1239 |
background-image: -webkit-linear-gradient(top, #e00, #a00); |
5
|
1240 |
background-image: linear-gradient(to bottom, #e00, #a00); |
|
1241 |
-webkit-border-radius: 3px; |
0
|
1242 |
border-radius: 3px; |
|
1243 |
} |
|
1244 |
|
|
1245 |
.upload-errors .upload-error-message { |
|
1246 |
display: block; |
|
1247 |
padding-top: 8px; |
|
1248 |
color: #b44; |
|
1249 |
word-wrap: break-word; |
|
1250 |
} |
|
1251 |
|
|
1252 |
.uploader-window { |
|
1253 |
position: fixed; |
|
1254 |
top: 0; |
|
1255 |
left: 0; |
|
1256 |
right: 0; |
|
1257 |
bottom: 0; |
|
1258 |
background: rgba( 0, 86, 132, 0.9 ); |
|
1259 |
z-index: 250000; |
|
1260 |
display: none; |
|
1261 |
text-align: center; |
|
1262 |
opacity: 0; |
|
1263 |
-webkit-transition: opacity 250ms; |
5
|
1264 |
transition: opacity 250ms; |
0
|
1265 |
} |
|
1266 |
|
|
1267 |
.uploader-window-content { |
|
1268 |
position: absolute; |
|
1269 |
top: 10px; |
|
1270 |
left: 10px; |
|
1271 |
right: 10px; |
|
1272 |
bottom: 10px; |
|
1273 |
border: 1px dashed #fff; |
|
1274 |
} |
|
1275 |
|
|
1276 |
.uploader-window h3 { |
5
|
1277 |
margin: -0.5em 0 0; |
0
|
1278 |
position: absolute; |
|
1279 |
top: 50%; |
|
1280 |
left: 0; |
|
1281 |
right: 0; |
|
1282 |
-webkit-transform: translateY( -50% ); |
5
|
1283 |
-ms-transform: translateY(-50%); |
|
1284 |
transform: translateY( -50% ); |
|
1285 |
font-size: 40px; |
0
|
1286 |
color: #fff; |
|
1287 |
padding: 0; |
|
1288 |
} |
|
1289 |
|
|
1290 |
.uploader-window .media-progress-bar { |
|
1291 |
margin-top: 20px; |
|
1292 |
max-width: 300px; |
|
1293 |
background: transparent; |
|
1294 |
border-color: #fff; |
|
1295 |
display: none; |
|
1296 |
} |
|
1297 |
|
|
1298 |
.uploader-window .media-progress-bar div { |
|
1299 |
background: #fff; |
|
1300 |
} |
|
1301 |
|
|
1302 |
.uploading .uploader-window .media-progress-bar { |
|
1303 |
display: block; |
|
1304 |
} |
|
1305 |
|
|
1306 |
.media-frame .uploader-inline { |
5
|
1307 |
margin-bottom: 20px; |
|
1308 |
padding: 0; |
0
|
1309 |
text-align: center; |
|
1310 |
} |
|
1311 |
|
|
1312 |
.uploader-inline-content { |
|
1313 |
position: absolute; |
|
1314 |
top: 30%; |
|
1315 |
left: 0; |
|
1316 |
right: 0; |
|
1317 |
} |
|
1318 |
|
|
1319 |
.uploader-inline-content .upload-ui { |
5
|
1320 |
margin: 2em 0; |
0
|
1321 |
} |
|
1322 |
|
|
1323 |
.uploader-inline-content .post-upload-ui { |
|
1324 |
margin-bottom: 2em; |
|
1325 |
} |
|
1326 |
|
|
1327 |
.uploader-inline .has-upload-message .upload-ui { |
|
1328 |
margin: 0 0 4em; |
|
1329 |
} |
|
1330 |
|
|
1331 |
.uploader-inline h3 { |
|
1332 |
font-size: 20px; |
|
1333 |
line-height: 28px; |
5
|
1334 |
font-weight: 400; |
|
1335 |
margin: 0; |
0
|
1336 |
} |
|
1337 |
|
|
1338 |
.uploader-inline .has-upload-message .upload-instructions { |
|
1339 |
font-size: 14px; |
|
1340 |
color: #464646; |
|
1341 |
font-weight: normal; |
|
1342 |
} |
|
1343 |
|
|
1344 |
.uploader-inline .drop-instructions { |
|
1345 |
display: none; |
|
1346 |
} |
|
1347 |
|
|
1348 |
.supports-drag-drop .uploader-inline .drop-instructions { |
|
1349 |
display: block; |
|
1350 |
} |
|
1351 |
|
|
1352 |
.uploader-inline p { |
|
1353 |
font-size: 12px; |
5
|
1354 |
margin: 0.5em 0; |
0
|
1355 |
} |
|
1356 |
|
|
1357 |
.uploader-inline .media-progress-bar { |
|
1358 |
display: none; |
|
1359 |
} |
|
1360 |
|
|
1361 |
.uploading.uploader-inline .media-progress-bar { |
|
1362 |
display: block; |
|
1363 |
} |
|
1364 |
|
|
1365 |
.uploader-inline .browser { |
|
1366 |
display: inline-block !important; |
|
1367 |
} |
|
1368 |
|
|
1369 |
/** |
|
1370 |
* Selection |
|
1371 |
*/ |
|
1372 |
.media-selection { |
|
1373 |
position: absolute; |
|
1374 |
top: 0; |
|
1375 |
left: 0; |
|
1376 |
right: 350px; |
|
1377 |
height: 60px; |
|
1378 |
padding: 0 0 0 16px; |
|
1379 |
overflow: hidden; |
|
1380 |
white-space: nowrap; |
|
1381 |
} |
|
1382 |
|
|
1383 |
.media-selection .selection-info { |
|
1384 |
display: inline-block; |
|
1385 |
font-size: 12px; |
|
1386 |
height: 60px; |
|
1387 |
margin-right: 10px; |
|
1388 |
vertical-align: top; |
|
1389 |
} |
|
1390 |
|
|
1391 |
.media-selection.empty, |
|
1392 |
.media-selection.editing { |
|
1393 |
display: none; |
|
1394 |
} |
|
1395 |
|
|
1396 |
.media-selection.one .edit-selection { |
|
1397 |
display: none; |
|
1398 |
} |
|
1399 |
|
|
1400 |
.media-selection .count { |
|
1401 |
display: block; |
|
1402 |
padding-top: 12px; |
|
1403 |
font-size: 14px; |
|
1404 |
line-height: 20px; |
|
1405 |
font-weight: bold; |
|
1406 |
} |
|
1407 |
|
|
1408 |
.media-selection .selection-info a { |
|
1409 |
display: block; |
|
1410 |
float: left; |
|
1411 |
padding: 1px 8px; |
|
1412 |
margin: 1px 8px 1px -8px; |
|
1413 |
line-height: 16px; |
|
1414 |
text-decoration: none; |
|
1415 |
border-right: 1px solid #dfdfdf; |
|
1416 |
color: #21759B; |
|
1417 |
} |
|
1418 |
|
|
1419 |
.media-selection .selection-info a:hover { |
|
1420 |
background: #21759B; |
|
1421 |
color: #fff; |
|
1422 |
border-color: transparent; |
|
1423 |
} |
|
1424 |
|
|
1425 |
.media-selection .selection-info a:last-child { |
|
1426 |
border-right: 0; |
|
1427 |
margin-right: 0; |
|
1428 |
} |
|
1429 |
|
|
1430 |
.media-selection .selection-info .clear-selection { |
|
1431 |
color: red; |
|
1432 |
} |
|
1433 |
|
|
1434 |
.media-selection .selection-info .clear-selection:hover { |
|
1435 |
background: red; |
|
1436 |
} |
|
1437 |
|
|
1438 |
.media-selection .selection-view { |
|
1439 |
display: inline-block; |
|
1440 |
vertical-align: top; |
|
1441 |
} |
|
1442 |
|
|
1443 |
.media-selection .attachments { |
|
1444 |
display: inline-block; |
|
1445 |
height: 48px; |
5
|
1446 |
margin: 6px; |
|
1447 |
padding: 0; |
0
|
1448 |
overflow: hidden; |
|
1449 |
vertical-align: top; |
|
1450 |
} |
|
1451 |
|
5
|
1452 |
.media-selection .attachment { |
|
1453 |
width: 40px; |
|
1454 |
padding: 0; |
|
1455 |
margin: 4px; |
|
1456 |
} |
|
1457 |
|
|
1458 |
.media-selection .attachment .thumbnail { |
|
1459 |
top: 0; |
|
1460 |
right: 0; |
|
1461 |
bottom: 0; |
|
1462 |
left: 0; |
|
1463 |
} |
|
1464 |
|
0
|
1465 |
.media-selection .attachment .icon { |
|
1466 |
width: 50%; |
|
1467 |
} |
|
1468 |
|
5
|
1469 |
.media-selection .attachment-preview { |
|
1470 |
-webkit-box-shadow: none; |
|
1471 |
box-shadow: none; |
|
1472 |
background: none; |
|
1473 |
} |
|
1474 |
|
|
1475 |
.wp-core-ui .media-selection .attachment:focus, |
|
1476 |
.wp-core-ui .media-selection .selected.attachment:focus, |
|
1477 |
.wp-core-ui .media-selection .attachment.details:focus { |
|
1478 |
-webkit-box-shadow: |
|
1479 |
0 0 0 1px #fff, |
|
1480 |
0 0 2px 3px #5b9dd9; |
|
1481 |
box-shadow: |
|
1482 |
0 0 0 1px #fff, |
|
1483 |
0 0 2px 3px #5b9dd9; |
|
1484 |
} |
|
1485 |
|
|
1486 |
.wp-core-ui .media-selection .selected.attachment { |
|
1487 |
-webkit-box-shadow: none; |
0
|
1488 |
box-shadow: none; |
|
1489 |
} |
|
1490 |
|
5
|
1491 |
.wp-core-ui .media-selection .attachment.details { |
|
1492 |
-webkit-box-shadow: |
0
|
1493 |
0 0 0 1px #fff, |
5
|
1494 |
0 0 0 3px #1e8cbe; |
0
|
1495 |
box-shadow: |
|
1496 |
0 0 0 1px #fff, |
|
1497 |
0 0 0 3px #1e8cbe; |
|
1498 |
} |
|
1499 |
|
|
1500 |
.media-selection:after { |
|
1501 |
content: ''; |
|
1502 |
display: block; |
|
1503 |
position: absolute; |
|
1504 |
top: 0; |
|
1505 |
right: 0; |
|
1506 |
bottom: 0; |
|
1507 |
width: 25px; |
5
|
1508 |
background-image: -webkit-gradient(linear, right top, left top, from(rgba( 255, 255, 255, 1 )), to(rgba( 255, 255, 255, 0 ))); |
|
1509 |
background-image: -webkit-linear-gradient(right, rgba( 255, 255, 255, 1 ), rgba( 255, 255, 255, 0 )); |
|
1510 |
background-image: linear-gradient(to left, rgba( 255, 255, 255, 1 ) , rgba( 255, 255, 255, 0 ) ); |
0
|
1511 |
} |
|
1512 |
|
|
1513 |
.media-selection .attachment .filename { |
|
1514 |
display: none; |
|
1515 |
} |
|
1516 |
|
|
1517 |
/** |
|
1518 |
* Spinner |
|
1519 |
*/ |
|
1520 |
.media-frame .spinner { |
5
|
1521 |
background: url(../images/spinner.gif) no-repeat; |
|
1522 |
-webkit-background-size: 20px 20px; |
|
1523 |
background-size: 20px 20px; |
|
1524 |
float: right; |
|
1525 |
display: inline-block; |
|
1526 |
visibility: hidden; |
0
|
1527 |
opacity: 0.7; |
|
1528 |
filter: alpha(opacity=70); |
5
|
1529 |
width: 20px; |
|
1530 |
height: 20px; |
0
|
1531 |
margin: 0; |
5
|
1532 |
vertical-align: middle; |
0
|
1533 |
} |
|
1534 |
|
5
|
1535 |
.media-frame .spinner.is-active { |
|
1536 |
visibility: visible; |
0
|
1537 |
} |
|
1538 |
|
5
|
1539 |
.media-toolbar .spinner { |
|
1540 |
margin-top: 14px; |
0
|
1541 |
} |
|
1542 |
|
|
1543 |
/** |
|
1544 |
* Attachment Details |
|
1545 |
*/ |
|
1546 |
.attachment-details { |
|
1547 |
position: relative; |
|
1548 |
overflow: auto; |
|
1549 |
} |
|
1550 |
|
5
|
1551 |
.attachment-details .settings-save-status { |
|
1552 |
float: right; |
|
1553 |
text-transform: none; |
|
1554 |
z-index: 10; |
|
1555 |
} |
|
1556 |
|
|
1557 |
.attachment-details .settings-save-status .spinner { |
|
1558 |
margin-left: 5px; |
|
1559 |
} |
|
1560 |
|
|
1561 |
.attachment-details .settings-save-status .saved { |
|
1562 |
float: right; |
|
1563 |
display: none; |
|
1564 |
} |
|
1565 |
|
|
1566 |
.attachment-details.save-waiting .settings-save-status .spinner { |
|
1567 |
visibility: visible; |
|
1568 |
} |
|
1569 |
|
|
1570 |
.attachment-details.save-complete .settings-save-status .saved { |
|
1571 |
display: block; |
|
1572 |
} |
|
1573 |
|
0
|
1574 |
.attachment-info { |
|
1575 |
overflow: hidden; |
|
1576 |
min-height: 60px; |
|
1577 |
margin-bottom: 16px; |
|
1578 |
line-height: 18px; |
5
|
1579 |
color: #666; |
|
1580 |
border-bottom: 1px solid #ddd; |
0
|
1581 |
padding-bottom: 11px; |
|
1582 |
} |
|
1583 |
|
|
1584 |
.attachment-info .filename { |
|
1585 |
font-weight: bold; |
|
1586 |
color: #464646; |
|
1587 |
word-wrap: break-word; |
|
1588 |
} |
|
1589 |
|
|
1590 |
.attachment-info .thumbnail { |
|
1591 |
position: relative; |
|
1592 |
float: left; |
|
1593 |
max-width: 120px; |
|
1594 |
max-height: 120px; |
|
1595 |
margin-top: 5px; |
|
1596 |
margin-right: 10px; |
|
1597 |
margin-bottom: 5px; |
|
1598 |
} |
|
1599 |
|
|
1600 |
.uploading .attachment-info .thumbnail { |
|
1601 |
width: 120px; |
|
1602 |
height: 80px; |
5
|
1603 |
-webkit-box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 ); |
0
|
1604 |
box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 ); |
|
1605 |
} |
|
1606 |
|
|
1607 |
.uploading .attachment-info .media-progress-bar { |
|
1608 |
margin-top: 35px; |
|
1609 |
} |
|
1610 |
|
5
|
1611 |
.attachment-info .thumbnail-image:after { |
0
|
1612 |
content: ''; |
|
1613 |
display: block; |
|
1614 |
position: absolute; |
|
1615 |
top: 0; |
|
1616 |
left: 0; |
|
1617 |
right: 0; |
|
1618 |
bottom: 0; |
5
|
1619 |
-webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); |
0
|
1620 |
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); |
|
1621 |
overflow: hidden; |
|
1622 |
} |
|
1623 |
|
|
1624 |
.attachment-info .thumbnail img { |
|
1625 |
display: block; |
|
1626 |
max-width: 120px; |
|
1627 |
max-height: 120px; |
|
1628 |
margin: 0 auto; |
|
1629 |
} |
|
1630 |
|
|
1631 |
.attachment-info .details { |
|
1632 |
float: left; |
|
1633 |
font-size: 12px; |
|
1634 |
max-width: 100%; |
|
1635 |
} |
|
1636 |
|
|
1637 |
.attachment-info .edit-attachment, |
|
1638 |
.attachment-info .refresh-attachment, |
5
|
1639 |
.attachment-info .delete-attachment, |
|
1640 |
.attachment-info .trash-attachment, |
|
1641 |
.attachment-info .untrash-attachment { |
0
|
1642 |
display: block; |
|
1643 |
text-decoration: none; |
|
1644 |
white-space: nowrap; |
|
1645 |
} |
|
1646 |
|
|
1647 |
.attachment-info .refresh-attachment, |
|
1648 |
.attachment-details.needs-refresh .attachment-info .edit-attachment { |
|
1649 |
display: none; |
|
1650 |
} |
|
1651 |
|
|
1652 |
.attachment-details.needs-refresh .attachment-info .refresh-attachment, |
|
1653 |
.attachment-info .edit-attachment { |
|
1654 |
display: block; |
|
1655 |
} |
|
1656 |
|
5
|
1657 |
.media-modal .delete-attachment, |
|
1658 |
.media-modal .trash-attachment, |
|
1659 |
.media-modal .untrash-attachment { |
0
|
1660 |
color: #bc0b0b; |
|
1661 |
} |
|
1662 |
|
5
|
1663 |
.media-modal .delete-attachment:hover, |
|
1664 |
.media-modal .trash-attachment:hover, |
|
1665 |
.media-modal .untrash-attachment:hover { |
0
|
1666 |
color: red; |
|
1667 |
} |
|
1668 |
|
|
1669 |
/** |
|
1670 |
* Attachment Display Settings |
|
1671 |
*/ |
|
1672 |
.attachment-display-settings { |
|
1673 |
width: 100%; |
|
1674 |
float: left; |
|
1675 |
overflow: hidden; |
|
1676 |
} |
|
1677 |
|
|
1678 |
.attachment-display-settings h4 { |
|
1679 |
margin: 1.4em 0 0.4em; |
|
1680 |
} |
|
1681 |
|
5
|
1682 |
.collection-settings { |
0
|
1683 |
overflow: hidden; |
|
1684 |
} |
|
1685 |
|
5
|
1686 |
.collection-settings .setting input[type="checkbox"] { |
|
1687 |
float: left; |
|
1688 |
margin-right: 8px; |
|
1689 |
} |
|
1690 |
|
|
1691 |
.collection-settings .setting span { |
|
1692 |
min-width: inherit; |
|
1693 |
} |
|
1694 |
|
0
|
1695 |
/** |
5
|
1696 |
* Image Editor |
|
1697 |
*/ |
|
1698 |
.media-modal .imgedit-wrap { |
|
1699 |
position: static; |
|
1700 |
} |
|
1701 |
|
|
1702 |
.media-modal .imgedit-wait { |
|
1703 |
height: auto !important; |
|
1704 |
right: 0; |
|
1705 |
bottom: 0; |
|
1706 |
left: 0; |
|
1707 |
} |
|
1708 |
|
|
1709 |
.media-modal .imgedit-wrap .imgedit-panel-content { |
|
1710 |
padding: 16px; |
|
1711 |
position: absolute; |
|
1712 |
top: 0; |
|
1713 |
right: 282px; |
|
1714 |
bottom: 0; |
|
1715 |
left: 0; |
|
1716 |
overflow: auto; |
|
1717 |
} |
|
1718 |
|
|
1719 |
.media-modal .imgedit-wrap .imgedit-settings { |
|
1720 |
background: #f3f3f3; |
|
1721 |
border-left: 1px solid #ddd; |
|
1722 |
padding: 0 16px 16px; |
|
1723 |
position: absolute; |
|
1724 |
top: 0; |
|
1725 |
right: 0; |
|
1726 |
bottom: 0; |
|
1727 |
width: 250px; |
|
1728 |
overflow: auto; |
|
1729 |
} |
|
1730 |
|
|
1731 |
.media-modal .imgedit-group { |
|
1732 |
background: none; |
|
1733 |
border: none; |
|
1734 |
border-bottom: 1px solid #ddd; |
|
1735 |
-webkit-box-shadow: none; |
|
1736 |
box-shadow: none; |
|
1737 |
margin: 0; |
|
1738 |
margin-bottom: 16px; |
|
1739 |
padding: 0; |
|
1740 |
padding-bottom: 16px; |
|
1741 |
position: relative; /* RTL fix, #WP29352 */ |
|
1742 |
} |
|
1743 |
|
|
1744 |
.media-modal .imgedit-group:last-of-type { |
|
1745 |
border: none; |
|
1746 |
margin: 0; |
|
1747 |
padding: 0; |
|
1748 |
} |
|
1749 |
|
|
1750 |
.media-modal .imgedit-group-top h3 { |
|
1751 |
text-transform: uppercase; |
|
1752 |
font-size: 12px; |
|
1753 |
color: #666; |
|
1754 |
margin: 0; |
|
1755 |
margin-top: 24px; |
|
1756 |
} |
|
1757 |
|
|
1758 |
.media-modal .imgedit-group-top h3 a { |
|
1759 |
text-decoration: none; |
|
1760 |
color: #666; |
|
1761 |
} |
|
1762 |
|
|
1763 |
.media-modal .imgedit-help-toggle { |
|
1764 |
margin-top: -2px; |
|
1765 |
cursor: pointer; |
|
1766 |
color: #666; |
|
1767 |
} |
|
1768 |
|
|
1769 |
.media-modal .imgedit-help-toggled span.dashicons:before { |
|
1770 |
content: '\f142'; |
|
1771 |
} |
|
1772 |
|
|
1773 |
.media-modal .imgedit-group img { |
|
1774 |
margin-top: 5px; |
|
1775 |
} |
|
1776 |
|
|
1777 |
.media-modal .imgedit-wrap div.updated { |
|
1778 |
margin: 0; |
|
1779 |
margin-bottom: 16px; |
|
1780 |
} |
|
1781 |
|
|
1782 |
|
|
1783 |
/** |
|
1784 |
* Embed from URL and Image Details |
0
|
1785 |
*/ |
|
1786 |
.embed-url { |
|
1787 |
display: block; |
|
1788 |
position: relative; |
5
|
1789 |
padding: 16px; |
0
|
1790 |
margin: 0; |
|
1791 |
z-index: 250; |
|
1792 |
background: #fff; |
|
1793 |
font-size: 18px; |
|
1794 |
} |
|
1795 |
|
|
1796 |
.media-frame .embed-url input { |
|
1797 |
font-size: 18px; |
|
1798 |
padding: 12px 14px; |
|
1799 |
width: 100%; |
|
1800 |
min-width: 200px; |
5
|
1801 |
-webkit-box-shadow: inset 2px 2px 4px -2px rgba( 0, 0, 0, 0.1 ); |
0
|
1802 |
box-shadow: inset 2px 2px 4px -2px rgba( 0, 0, 0, 0.1 ); |
|
1803 |
} |
|
1804 |
|
|
1805 |
.media-frame .embed-url .spinner { |
|
1806 |
position: absolute; |
5
|
1807 |
top: 32px; |
0
|
1808 |
right: 26px; |
|
1809 |
} |
|
1810 |
|
|
1811 |
.media-frame .embed-loading .embed-url .spinner { |
5
|
1812 |
visibility: visible; |
0
|
1813 |
} |
|
1814 |
|
|
1815 |
.embed-link-settings, |
5
|
1816 |
.embed-media-settings { |
0
|
1817 |
position: absolute; |
5
|
1818 |
top: 70px; |
0
|
1819 |
left: 0; |
|
1820 |
right: 0; |
|
1821 |
bottom: 0; |
|
1822 |
padding: 16px 16px 32px; |
|
1823 |
overflow: auto; |
|
1824 |
} |
|
1825 |
|
5
|
1826 |
.embed-preview img, |
|
1827 |
.embed-preview iframe, |
|
1828 |
.embed-preview embed { |
|
1829 |
max-width: 100%; |
|
1830 |
} |
|
1831 |
|
|
1832 |
.embed-preview a { |
|
1833 |
display: inline-block; |
|
1834 |
} |
|
1835 |
|
|
1836 |
.embed-preview img { |
|
1837 |
display: block; |
|
1838 |
height: auto; |
|
1839 |
} |
|
1840 |
|
|
1841 |
.image-details .media-modal { |
|
1842 |
left: 140px; |
|
1843 |
right: 140px; |
|
1844 |
} |
|
1845 |
|
|
1846 |
.image-details .media-frame-title, |
|
1847 |
.image-details .media-frame-content, |
|
1848 |
.image-details .media-frame-router { |
|
1849 |
left: 0; |
|
1850 |
} |
|
1851 |
|
|
1852 |
.image-details .embed-media-settings { |
|
1853 |
top: 0; |
|
1854 |
overflow: visible; |
|
1855 |
padding: 0; |
|
1856 |
} |
|
1857 |
|
|
1858 |
.image-details .embed-media-settings, |
|
1859 |
.image-details .embed-media-settings div { |
|
1860 |
-webkit-box-sizing: border-box; |
|
1861 |
-moz-box-sizing: border-box; |
|
1862 |
box-sizing: border-box; |
|
1863 |
} |
|
1864 |
|
|
1865 |
.image-details .column-settings { |
|
1866 |
background: #f3f3f3; |
|
1867 |
border-right: 1px solid #ddd; |
|
1868 |
min-height: 100%; |
|
1869 |
width: 55%; |
|
1870 |
position: absolute; |
|
1871 |
top: 0; |
|
1872 |
left: 0; |
|
1873 |
} |
|
1874 |
|
|
1875 |
.image-details .column-settings h3 { |
|
1876 |
margin: 20px; |
|
1877 |
padding-top: 20px; |
|
1878 |
border-top: 1px solid #ddd; |
|
1879 |
} |
|
1880 |
|
|
1881 |
.image-details .column-image { |
|
1882 |
width: 45%; |
|
1883 |
position: absolute; |
|
1884 |
left: 55%; |
|
1885 |
top: 0; |
|
1886 |
} |
|
1887 |
|
|
1888 |
.image-details .image { |
|
1889 |
margin: 20px; |
|
1890 |
} |
|
1891 |
|
|
1892 |
.image-details .image img { |
|
1893 |
max-width: 100%; |
|
1894 |
max-height: 500px; |
|
1895 |
} |
|
1896 |
|
|
1897 |
.image-details .advanced-toggle { |
|
1898 |
color: #666; |
|
1899 |
text-decoration: none; |
|
1900 |
display: block; |
|
1901 |
} |
|
1902 |
|
|
1903 |
.image-details .advanced-toggle:after { |
|
1904 |
font: normal 20px/1 'dashicons'; |
|
1905 |
speak: none; |
|
1906 |
vertical-align: top; |
|
1907 |
-webkit-font-smoothing: antialiased; |
|
1908 |
-moz-osx-font-smoothing: grayscale; |
|
1909 |
content: '\f140'; |
|
1910 |
display: inline-block; |
|
1911 |
margin-top: -2px; |
|
1912 |
} |
|
1913 |
|
|
1914 |
.image-details .advanced-visible .advanced-toggle:after { |
|
1915 |
content: '\f142'; |
|
1916 |
} |
|
1917 |
|
|
1918 |
.image-details .embed-media-settings .size { |
|
1919 |
margin-bottom: 4px; |
|
1920 |
} |
|
1921 |
|
|
1922 |
.image-details .custom-size span { |
|
1923 |
display: block; |
|
1924 |
} |
|
1925 |
|
|
1926 |
.image-details .custom-size label { |
|
1927 |
display: block; |
|
1928 |
float: left; |
|
1929 |
} |
|
1930 |
|
|
1931 |
.image-details .custom-size span small { |
|
1932 |
color: #999; |
|
1933 |
font-size: inherit; |
|
1934 |
} |
|
1935 |
|
|
1936 |
.image-details .custom-size input { |
|
1937 |
width: 5em; |
|
1938 |
} |
|
1939 |
|
|
1940 |
.image-details .custom-size .sep { |
|
1941 |
float: left; |
|
1942 |
margin: 26px 6px 0 6px; |
|
1943 |
} |
|
1944 |
|
|
1945 |
.image-details .custom-size:after { |
|
1946 |
content: ''; |
|
1947 |
display: table; |
|
1948 |
clear: both; |
|
1949 |
} |
|
1950 |
|
0
|
1951 |
.media-embed .thumbnail { |
|
1952 |
max-width: 100%; |
|
1953 |
max-height: 200px; |
|
1954 |
position: relative; |
|
1955 |
float: left; |
|
1956 |
} |
|
1957 |
|
|
1958 |
.media-embed .thumbnail img { |
|
1959 |
max-height: 200px; |
|
1960 |
display: block; |
|
1961 |
} |
|
1962 |
|
|
1963 |
.media-embed .thumbnail:after { |
|
1964 |
content: ''; |
|
1965 |
display: block; |
|
1966 |
position: absolute; |
|
1967 |
top: 0; |
|
1968 |
left: 0; |
|
1969 |
right: 0; |
|
1970 |
bottom: 0; |
5
|
1971 |
-webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); |
0
|
1972 |
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 ); |
|
1973 |
overflow: hidden; |
|
1974 |
} |
|
1975 |
|
|
1976 |
.media-embed .setting { |
|
1977 |
width: 100%; |
5
|
1978 |
margin: 10px 0; |
0
|
1979 |
float: left; |
|
1980 |
display: block; |
|
1981 |
clear: both; |
|
1982 |
} |
|
1983 |
|
5
|
1984 |
.image-details .embed-media-settings .setting { |
|
1985 |
float: none; |
|
1986 |
width: auto; |
|
1987 |
} |
|
1988 |
|
|
1989 |
.image-details .actions { |
|
1990 |
margin: 10px 0; |
|
1991 |
} |
|
1992 |
|
|
1993 |
.image-details .hidden { |
|
1994 |
display: none; |
|
1995 |
} |
|
1996 |
|
|
1997 |
.media-embed .setting input[type="text"], |
|
1998 |
.media-embed .setting textarea { |
|
1999 |
display: block; |
|
2000 |
width: 100%; |
|
2001 |
max-width: 400px; |
|
2002 |
margin: 1px 0; |
|
2003 |
} |
|
2004 |
|
|
2005 |
.image-details .embed-media-settings .setting input[type="text"], |
|
2006 |
.image-details .embed-media-settings .setting textarea { |
|
2007 |
max-width: inherit; |
|
2008 |
width: 70%; |
|
2009 |
} |
|
2010 |
|
|
2011 |
.image-details .embed-media-settings .setting input.link-to-custom, |
|
2012 |
.image-details .embed-media-settings .link-target, |
|
2013 |
.image-details .embed-media-settings .custom-size { |
|
2014 |
margin-left: 27%; |
|
2015 |
width: 70%; |
|
2016 |
} |
|
2017 |
|
|
2018 |
.image-details .embed-media-settings .link-target { |
|
2019 |
margin-top: 24px; |
|
2020 |
} |
|
2021 |
|
|
2022 |
.media-embed .setting input.hidden, |
|
2023 |
.media-embed .setting textarea.hidden { |
|
2024 |
display: none; |
|
2025 |
} |
|
2026 |
|
0
|
2027 |
.media-embed .setting span { |
|
2028 |
display: block; |
|
2029 |
width: 200px; |
|
2030 |
font-size: 13px; |
|
2031 |
line-height: 24px; |
5
|
2032 |
color: #666; |
|
2033 |
} |
|
2034 |
|
|
2035 |
.image-details .embed-media-settings .setting span { |
|
2036 |
float: left; |
|
2037 |
width: 25%; |
|
2038 |
text-align: right; |
|
2039 |
margin: 8px 1% 0 1%; |
|
2040 |
line-height: 1.1; |
0
|
2041 |
} |
|
2042 |
|
|
2043 |
.media-embed .setting .button-group { |
|
2044 |
margin: 2px 0; |
|
2045 |
} |
|
2046 |
|
5
|
2047 |
.media-embed-sidebar { |
|
2048 |
position: absolute; |
|
2049 |
top: 0; |
|
2050 |
left: 440px; |
|
2051 |
} |
|
2052 |
|
|
2053 |
.advanced-section, |
|
2054 |
.link-settings { |
|
2055 |
margin-top: 10px; |
|
2056 |
} |
|
2057 |
|
|
2058 |
/* Drag & drop on the editor upload */ |
|
2059 |
#wp-fullscreen-body .uploader-editor, |
|
2060 |
.wp-editor-wrap .uploader-editor { |
|
2061 |
background: rgba( 150, 150, 150, 0.9 ); |
|
2062 |
position: absolute; |
|
2063 |
top: 0; |
|
2064 |
left: 0; |
|
2065 |
width: 100%; |
|
2066 |
height: 100%; |
|
2067 |
z-index: 99998; /* under the toolbar */ |
|
2068 |
display: none; |
|
2069 |
text-align: center; |
|
2070 |
} |
|
2071 |
|
|
2072 |
#wp-fullscreen-body .uploader-editor { |
|
2073 |
background: rgba( 0, 86, 132, 0.9 ); |
|
2074 |
position: fixed; |
|
2075 |
z-index: 100050; /* above the editor toolbar */ |
|
2076 |
} |
|
2077 |
|
|
2078 |
.wp-editor-wrap.wp-fullscreen-wrap .uploader-editor { |
|
2079 |
opacity: 0; |
|
2080 |
} |
|
2081 |
|
|
2082 |
#wp-fullscreen-body .uploader-editor-content, |
|
2083 |
.wp-editor-wrap .uploader-editor-content { |
|
2084 |
border: 1px dashed #fff; |
|
2085 |
position: absolute; |
|
2086 |
top: 10px; |
|
2087 |
left: 10px; |
|
2088 |
right: 10px; |
|
2089 |
bottom: 10px; |
|
2090 |
} |
|
2091 |
|
|
2092 |
#wp-fullscreen-body .uploader-editor .uploader-editor-title, |
|
2093 |
.wp-editor-wrap .uploader-editor .uploader-editor-title { |
|
2094 |
position: absolute; |
|
2095 |
top: 50%; |
|
2096 |
left: 0; |
|
2097 |
right: 0; |
|
2098 |
-webkit-transform: translateY( -50% ); |
|
2099 |
-ms-transform: translateY(-50%); |
|
2100 |
transform: translateY( -50% ); |
|
2101 |
font-size: 3em; |
|
2102 |
line-height: 1.3; |
|
2103 |
font-weight: bold; |
|
2104 |
color: #fff; |
|
2105 |
padding: 0; |
|
2106 |
margin: 0; |
|
2107 |
display: none; |
|
2108 |
} |
|
2109 |
|
|
2110 |
.wp-editor-wrap .uploader-editor.droppable { |
|
2111 |
background: rgba( 0, 86, 132, 0.9 ); |
|
2112 |
} |
|
2113 |
|
|
2114 |
#wp-fullscreen-body .uploader-editor .uploader-editor-title, |
|
2115 |
.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title { |
0
|
2116 |
display: block; |
|
2117 |
} |
|
2118 |
|
|
2119 |
/** |
|
2120 |
* IE7 Fixes |
|
2121 |
*/ |
|
2122 |
.ie7 .media-frame .attachments-browser { |
|
2123 |
position: static; |
|
2124 |
} |
|
2125 |
|
|
2126 |
.ie7 .media-frame .embed-url input { |
|
2127 |
margin-top: 4px; |
|
2128 |
width: 90%; |
|
2129 |
} |
|
2130 |
|
|
2131 |
.ie7 .compat-item { |
|
2132 |
width: 99%; |
|
2133 |
} |
|
2134 |
|
|
2135 |
.ie7 .attachment-display-settings { |
|
2136 |
width: auto; |
|
2137 |
} |
|
2138 |
|
|
2139 |
.ie7 .attachment-preview, |
|
2140 |
.ie7 .attachment-preview .thumbnail { |
|
2141 |
width: 120px; |
|
2142 |
height: 120px; |
|
2143 |
} |
|
2144 |
|
|
2145 |
.ie7 .media-frame .attachment .describe { |
|
2146 |
width: 102px; |
|
2147 |
} |
|
2148 |
|
|
2149 |
.ie7 .media-sidebar .setting select { |
|
2150 |
max-width: 55%; |
|
2151 |
} |
|
2152 |
|
5
|
2153 |
.ie7 .media-sidebar .setting input[type="text"], |
|
2154 |
.ie7 .media-sidebar .setting input[type="password"], |
|
2155 |
.ie7 .media-sidebar .setting input[type="email"], |
|
2156 |
.ie7 .media-sidebar .setting input[type="number"], |
|
2157 |
.ie7 .media-sidebar .setting input[type="search"], |
|
2158 |
.ie7 .media-sidebar .setting input[type="tel"], |
|
2159 |
.ie7 .media-sidebar .setting input[type="url"], |
0
|
2160 |
.ie7 .media-sidebar .setting textarea { |
|
2161 |
width: 55%; |
|
2162 |
} |
|
2163 |
|
|
2164 |
.ie7 .media-sidebar .setting .link-to-custom { |
|
2165 |
float: left; |
|
2166 |
} |
|
2167 |
|
5
|
2168 |
/** |
|
2169 |
* Localization |
|
2170 |
*/ |
|
2171 |
.rtl .media-modal, |
|
2172 |
.rtl .media-frame, |
|
2173 |
.rtl .media-frame .search, |
|
2174 |
.rtl .media-frame input[type="text"], |
|
2175 |
.rtl .media-frame input[type="password"], |
|
2176 |
.rtl .media-frame input[type="number"], |
|
2177 |
.rtl .media-frame input[type="search"], |
|
2178 |
.rtl .media-frame input[type="email"], |
|
2179 |
.rtl .media-frame input[type="url"], |
|
2180 |
.rtl .media-frame input[type="tel"], |
|
2181 |
.rtl .media-frame textarea, |
|
2182 |
.rtl .media-frame select { |
|
2183 |
font-family: Tahoma, sans-serif; |
|
2184 |
} |
|
2185 |
|
|
2186 |
:lang(he-il) .rtl .media-modal, |
|
2187 |
:lang(he-il) .rtl .media-frame, |
|
2188 |
:lang(he-il) .rtl .media-frame .search, |
|
2189 |
:lang(he-il) .rtl .media-frame input[type="text"], |
|
2190 |
:lang(he-il) .rtl .media-frame input[type="password"], |
|
2191 |
:lang(he-il) .rtl .media-frame input[type="number"], |
|
2192 |
:lang(he-il) .rtl .media-frame input[type="search"], |
|
2193 |
:lang(he-il) .rtl .media-frame input[type="email"], |
|
2194 |
:lang(he-il) .rtl .media-frame input[type="url"], |
|
2195 |
:lang(he-il) .rtl .media-frame textarea, |
|
2196 |
:lang(he-il) .rtl .media-frame select { |
|
2197 |
font-family: Arial, sans-serif; |
0
|
2198 |
} |
|
2199 |
|
|
2200 |
/** |
|
2201 |
* Responsive layout |
|
2202 |
*/ |
|
2203 |
@media only screen and (max-width: 900px) { |
5
|
2204 |
|
|
2205 |
/* Drop-down menu */ |
|
2206 |
.media-frame:not(.hide-menu) .media-frame-title, |
|
2207 |
.media-frame:not(.hide-menu) .media-frame-router, |
|
2208 |
.media-frame:not(.hide-menu) .media-frame-content, |
|
2209 |
.media-frame:not(.hide-menu) .media-frame-toolbar { |
|
2210 |
left: 0; |
|
2211 |
} |
|
2212 |
|
|
2213 |
.media-frame:not(.hide-menu) .media-frame-menu { |
|
2214 |
position: static; |
|
2215 |
width: 0; |
0
|
2216 |
} |
|
2217 |
|
5
|
2218 |
.media-frame:not(.hide-menu) .media-menu { |
|
2219 |
width: auto; |
|
2220 |
max-width: 80%; |
|
2221 |
overflow: auto; |
|
2222 |
z-index: 2000; |
|
2223 |
top: 50px; |
|
2224 |
left: -300px; |
|
2225 |
right: auto; |
|
2226 |
bottom: auto; |
|
2227 |
padding: 5px 0; |
|
2228 |
border: 1px solid #ccc; |
|
2229 |
} |
|
2230 |
|
|
2231 |
.media-frame:not(.hide-menu) .media-menu.visible { |
|
2232 |
left: 0; |
0
|
2233 |
} |
|
2234 |
|
5
|
2235 |
.media-frame:not(.hide-menu) .media-menu > a { |
|
2236 |
padding: 12px 16px; |
|
2237 |
font-size: 16px; |
|
2238 |
} |
|
2239 |
|
|
2240 |
.media-frame:not(.hide-menu) .media-menu > a.active { |
|
2241 |
display: none; |
|
2242 |
} |
|
2243 |
|
|
2244 |
.media-frame:not(.hide-menu) .media-menu .separator { |
|
2245 |
margin: 5px 10px; |
0
|
2246 |
} |
|
2247 |
|
5
|
2248 |
.media-frame:not(.hide-menu) .media-frame-title { |
|
2249 |
left: 0; |
|
2250 |
color: #21759b; |
|
2251 |
} |
|
2252 |
|
|
2253 |
.media-frame:not(.hide-menu) .media-frame-title .dashicons { |
|
2254 |
display: inline-block; |
|
2255 |
line-height: 50px; |
|
2256 |
} |
|
2257 |
|
|
2258 |
.media-frame:not(.hide-menu) .media-frame-title h1 { |
|
2259 |
line-height: 3; |
|
2260 |
font-size: 18px; |
|
2261 |
float: left; |
|
2262 |
cursor: pointer; |
|
2263 |
} |
|
2264 |
/* End drop-down menu */ |
|
2265 |
|
0
|
2266 |
.media-sidebar { |
5
|
2267 |
width: 230px; |
0
|
2268 |
} |
|
2269 |
|
|
2270 |
.attachments-browser .attachments, |
|
2271 |
.attachments-browser .uploader-inline, |
|
2272 |
.attachments-browser .media-toolbar { |
5
|
2273 |
right: 262px; |
|
2274 |
} |
|
2275 |
|
|
2276 |
.media-sidebar .setting, |
|
2277 |
.attachment-details .setting { |
|
2278 |
margin: 6px 0px; |
0
|
2279 |
} |
|
2280 |
|
|
2281 |
.media-sidebar .setting input, |
|
2282 |
.media-sidebar .setting textarea, |
|
2283 |
.media-sidebar .setting span, |
5
|
2284 |
.attachment-details .setting input, |
|
2285 |
.attachment-details .setting textarea, |
|
2286 |
.attachment-details .setting span, |
0
|
2287 |
.compat-item label span { |
|
2288 |
float: none; |
|
2289 |
} |
|
2290 |
|
|
2291 |
.media-sidebar .setting span, |
5
|
2292 |
.attachment-details .setting span, |
0
|
2293 |
.compat-item label span { |
|
2294 |
text-align: inherit; |
|
2295 |
min-height: 16px; |
|
2296 |
margin: 0; |
|
2297 |
padding: 8px 2px 0; |
|
2298 |
} |
|
2299 |
|
5
|
2300 |
.media-sidebar .setting .value, |
|
2301 |
.attachment-details .setting .value { |
|
2302 |
float: none; |
|
2303 |
width: auto; |
|
2304 |
} |
|
2305 |
|
|
2306 |
.media-sidebar .setting input[type="text"], |
|
2307 |
.media-sidebar .setting input[type="password"], |
|
2308 |
.media-sidebar .setting input[type="email"], |
|
2309 |
.media-sidebar .setting input[type="number"], |
|
2310 |
.media-sidebar .setting input[type="search"], |
|
2311 |
.media-sidebar .setting input[type="tel"], |
|
2312 |
.media-sidebar .setting input[type="url"], |
0
|
2313 |
.media-sidebar .setting textarea, |
5
|
2314 |
.media-sidebar .setting select, |
|
2315 |
.attachment-details .setting input[type="text"], |
|
2316 |
.attachment-details .setting input[type="password"], |
|
2317 |
.attachment-details .setting input[type="email"], |
|
2318 |
.attachment-details .setting input[type="number"], |
|
2319 |
.attachment-details .setting input[type="search"], |
|
2320 |
.attachment-details .setting input[type="tel"], |
|
2321 |
.attachment-details .setting input[type="url"], |
|
2322 |
.attachment-details .setting textarea, |
|
2323 |
.attachment-details .setting select { |
|
2324 |
float: none; |
0
|
2325 |
width: 98%; |
|
2326 |
max-width: none; |
5
|
2327 |
height: auto; |
0
|
2328 |
} |
|
2329 |
|
5
|
2330 |
.media-sidebar .setting select.columns, |
|
2331 |
.attachment-details .setting select.columns { |
0
|
2332 |
width: auto; |
|
2333 |
} |
|
2334 |
|
|
2335 |
.media-frame input, |
|
2336 |
.media-frame textarea, |
|
2337 |
.media-frame .search { |
|
2338 |
padding: 3px 6px; |
|
2339 |
} |
|
2340 |
|
5
|
2341 |
.image-details .column-image { |
|
2342 |
width: 30%; |
|
2343 |
left: 70%; |
|
2344 |
} |
|
2345 |
|
|
2346 |
.image-details .column-settings { |
|
2347 |
width: 70%; |
|
2348 |
} |
|
2349 |
|
|
2350 |
.image-details .media-modal { |
|
2351 |
left: 30px; |
|
2352 |
right: 30px; |
|
2353 |
} |
|
2354 |
|
|
2355 |
.image-details .embed-media-settings .setting { |
|
2356 |
margin: 20px; |
|
2357 |
} |
|
2358 |
|
|
2359 |
.image-details .embed-media-settings .setting span { |
|
2360 |
float: none; |
|
2361 |
text-align: left; |
|
2362 |
width: 100%; |
|
2363 |
margin-bottom: 4px; |
|
2364 |
} |
|
2365 |
|
|
2366 |
.image-details .embed-media-settings .setting input.link-to-custom, |
|
2367 |
.image-details .embed-media-settings .setting input[type="text"], |
|
2368 |
.image-details .embed-media-settings .setting textarea { |
|
2369 |
width: 100%; |
|
2370 |
margin-left: 0; |
|
2371 |
} |
|
2372 |
|
|
2373 |
.image-details .embed-media-settings .custom-size { |
|
2374 |
margin-left: 20px; |
|
2375 |
} |
|
2376 |
|
|
2377 |
.collection-settings .setting input[type="checkbox"] { |
|
2378 |
margin-top: 0; |
0
|
2379 |
} |
|
2380 |
|
|
2381 |
.media-selection { |
|
2382 |
min-width: 120px; |
|
2383 |
} |
|
2384 |
|
|
2385 |
.media-selection:after { |
|
2386 |
background: none; |
|
2387 |
} |
|
2388 |
|
|
2389 |
.media-selection .attachments { |
|
2390 |
display: none; |
|
2391 |
} |
|
2392 |
|
5
|
2393 |
.media-modal .attachments-browser .media-toolbar .search { |
|
2394 |
max-width: 100%; |
|
2395 |
height: auto; |
|
2396 |
float: right; |
|
2397 |
} |
|
2398 |
|
|
2399 |
.media-modal .attachments-browser .media-toolbar .attachment-filters { |
|
2400 |
height: auto; |
|
2401 |
} |
|
2402 |
|
|
2403 |
.media-modal .attachments-browser .media-toolbar .spinner { |
|
2404 |
margin: 14px 2px 0; |
|
2405 |
} |
|
2406 |
|
|
2407 |
/* Text inputs need to be 16px, or they force zooming on iOS */ |
|
2408 |
.media-frame input[type="text"], |
|
2409 |
.media-frame input[type="password"], |
|
2410 |
.media-frame input[type="number"], |
|
2411 |
.media-frame input[type="search"], |
|
2412 |
.media-frame input[type="email"], |
|
2413 |
.media-frame input[type="url"], |
|
2414 |
.media-frame textarea, |
|
2415 |
.media-frame select { |
|
2416 |
font-size: 16px; |
0
|
2417 |
} |
|
2418 |
} |
|
2419 |
|
5
|
2420 |
/* Responsive on portrait and landscape */ |
|
2421 |
@media only screen and (max-width: 640px), screen and (max-height: 400px) { |
|
2422 |
/* Full-bleed modal */ |
|
2423 |
.media-modal, |
|
2424 |
.image-details .media-modal { |
|
2425 |
position: fixed; |
|
2426 |
top: 0; |
|
2427 |
left: 0; |
|
2428 |
right: 0; |
|
2429 |
bottom: 0; |
|
2430 |
} |
|
2431 |
|
|
2432 |
.media-modal-backdrop { |
|
2433 |
position: fixed; |
|
2434 |
} |
|
2435 |
|
|
2436 |
.media-sidebar { |
|
2437 |
z-index: 1900; |
|
2438 |
max-width: 70%; |
|
2439 |
bottom: 120%; |
|
2440 |
-webkit-box-sizing: border-box; |
|
2441 |
-moz-box-sizing: border-box; |
|
2442 |
box-sizing: border-box; |
|
2443 |
padding-bottom: 0; |
|
2444 |
} |
|
2445 |
|
|
2446 |
.media-sidebar.visible { |
|
2447 |
bottom: 0; |
|
2448 |
} |
|
2449 |
|
|
2450 |
.attachments-browser .attachments, |
|
2451 |
.attachments-browser .uploader-inline, |
|
2452 |
.attachments-browser .media-toolbar { |
|
2453 |
right: 0; |
|
2454 |
} |
|
2455 |
|
|
2456 |
.image-details .media-frame-title { |
|
2457 |
display: block; |
|
2458 |
top: 0; |
|
2459 |
font-size: 14px; |
|
2460 |
} |
|
2461 |
|
|
2462 |
.image-details .column-image, |
|
2463 |
.image-details .column-settings { |
|
2464 |
width: 100%; |
|
2465 |
position: relative; |
|
2466 |
left: 0; |
|
2467 |
} |
|
2468 |
|
|
2469 |
.image-details .column-settings { |
|
2470 |
padding: 4px 0; |
|
2471 |
} |
|
2472 |
|
|
2473 |
/* Media tabs on the top */ |
0
|
2474 |
.media-frame-content .media-toolbar .instructions { |
|
2475 |
display: none; |
|
2476 |
} |
|
2477 |
} |
|
2478 |
|
5
|
2479 |
/* Landscape specific header override */ |
|
2480 |
@media screen and (max-height: 400px) { |
|
2481 |
.media-menu { |
|
2482 |
padding: 0; |
|
2483 |
} |
|
2484 |
|
|
2485 |
.media-frame-router { |
|
2486 |
top: 44px; |
|
2487 |
} |
|
2488 |
|
|
2489 |
.media-frame-content { |
|
2490 |
top: 78px; |
|
2491 |
} |
|
2492 |
|
|
2493 |
.attachments-browser .attachments { |
|
2494 |
top: 40px; |
|
2495 |
} |
|
2496 |
|
|
2497 |
/* Prevent unnecessary scrolling on title input */ |
|
2498 |
.embed-link-settings { |
|
2499 |
overflow: visible; |
0
|
2500 |
} |
|
2501 |
} |
|
2502 |
|
5
|
2503 |
@media only screen and (max-width: 480px) { |
|
2504 |
.media-modal-close { |
|
2505 |
top: 5px; |
|
2506 |
right: 5px; |
|
2507 |
} |
|
2508 |
|
|
2509 |
.media-modal .media-frame-title { |
|
2510 |
height: 40px; |
|
2511 |
} |
|
2512 |
|
|
2513 |
.media-modal .media-frame-title h1, |
|
2514 |
.media-frame:not(.hide-menu) .media-frame-title h1 { |
|
2515 |
font-size: 18px; |
|
2516 |
line-height: 40px; |
0
|
2517 |
} |
|
2518 |
|
5
|
2519 |
.media-frame:not(.hide-menu) .media-frame-title .dashicons { |
|
2520 |
line-height: 40px; |
|
2521 |
} |
|
2522 |
|
|
2523 |
.media-frame-router, |
|
2524 |
.media-frame:not(.hide-menu) .media-menu { |
|
2525 |
top: 40px; |
|
2526 |
} |
|
2527 |
|
|
2528 |
.media-frame-content { |
|
2529 |
top: 74px; |
|
2530 |
} |
|
2531 |
|
|
2532 |
.media-frame.hide-router .media-frame-content { |
|
2533 |
top: 40px; |
0
|
2534 |
} |
|
2535 |
} |
|
2536 |
|
|
2537 |
/** |
|
2538 |
* HiDPI Displays |
|
2539 |
*/ |
|
2540 |
@media print, |
|
2541 |
(-webkit-min-device-pixel-ratio: 1.25), |
|
2542 |
(min-resolution: 120dpi) { |
5
|
2543 |
|
|
2544 |
.media-modal-icon { |
|
2545 |
background-image: url(../images/uploader-icons-2x.png); |
|
2546 |
-webkit-background-size: 134px 15px; |
|
2547 |
background-size: 134px 15px; |
|
2548 |
} |
|
2549 |
|
|
2550 |
.media-frame .spinner { |
|
2551 |
background-image: url(../images/spinner-2x.gif); |
|
2552 |
} |
|
2553 |
} |
|
2554 |
|
|
2555 |
.media-frame-content[data-columns="1"] .attachment { |
|
2556 |
width: 100%; |
|
2557 |
} |
|
2558 |
|
|
2559 |
.media-frame-content[data-columns="2"] .attachment { |
|
2560 |
width: 50%; |
|
2561 |
} |
|
2562 |
|
|
2563 |
.media-frame-content[data-columns="3"] .attachment { |
|
2564 |
width: 33.33%; |
|
2565 |
} |
|
2566 |
|
|
2567 |
.media-frame-content[data-columns="4"] .attachment { |
|
2568 |
width: 25%; |
|
2569 |
} |
0
|
2570 |
|
5
|
2571 |
.media-frame-content[data-columns="5"] .attachment { |
|
2572 |
width: 20%; |
|
2573 |
} |
|
2574 |
|
|
2575 |
.media-frame-content[data-columns="6"] .attachment { |
|
2576 |
width: 16.66%; |
|
2577 |
} |
|
2578 |
|
|
2579 |
.media-frame-content[data-columns="7"] .attachment { |
|
2580 |
width: 14.28%; |
|
2581 |
} |
|
2582 |
|
|
2583 |
.media-frame-content[data-columns="8"] .attachment { |
|
2584 |
width: 12.5%; |
|
2585 |
} |
|
2586 |
|
|
2587 |
.media-frame-content[data-columns="9"] .attachment { |
|
2588 |
width: 11.11%; |
|
2589 |
} |
|
2590 |
|
|
2591 |
.media-frame-content[data-columns="10"] .attachment { |
|
2592 |
width: 10%; |
|
2593 |
} |
|
2594 |
|
|
2595 |
.media-frame-content[data-columns="11"] .attachment { |
|
2596 |
width: 9.09%; |
|
2597 |
} |
|
2598 |
|
|
2599 |
.media-frame-content[data-columns="12"] .attachment { |
|
2600 |
width: 8.33%; |
|
2601 |
} |