author | ymh <ymh.work@gmail.com> |
Tue, 15 Oct 2019 15:48:13 +0200 | |
changeset 13 | d255fe9cd479 |
parent 9 | 177826044cd9 |
child 16 | a86126ab1dd4 |
permissions | -rw-r--r-- |
5 | 1 |
/*------------------------------------------------------------------------------ |
2 |
14.0 - Media Screen |
|
3 |
------------------------------------------------------------------------------*/ |
|
4 |
||
5 |
.media-item .describe { |
|
6 |
border-collapse: collapse; |
|
7 |
width: 100%; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
8 |
border-top: 1px solid #ddd; |
5 | 9 |
clear: both; |
10 |
cursor: default; |
|
11 |
} |
|
12 |
||
13 |
.media-item.media-blank .describe { |
|
14 |
border: 0; |
|
15 |
} |
|
16 |
||
17 |
.media-item .describe th { |
|
18 |
vertical-align: top; |
|
19 |
text-align: right; |
|
20 |
padding: 5px 10px 10px; |
|
21 |
width: 140px; |
|
22 |
} |
|
23 |
||
24 |
.media-item .describe .align th { |
|
25 |
padding-top: 0; |
|
26 |
} |
|
27 |
||
28 |
.media-item .media-item-info tr { |
|
29 |
background-color: transparent; |
|
0 | 30 |
} |
5 | 31 |
|
32 |
.media-item .describe td { |
|
33 |
padding: 0 0 8px 8px; |
|
34 |
vertical-align: top; |
|
35 |
} |
|
36 |
||
37 |
.media-item thead.media-item-info td { |
|
38 |
padding: 4px 10px 0; |
|
39 |
} |
|
40 |
||
41 |
.media-item .media-item-info .A1B1 { |
|
42 |
padding: 0 10px 0 0; |
|
43 |
} |
|
44 |
||
45 |
.media-item td.savesend { |
|
46 |
padding-bottom: 15px; |
|
0 | 47 |
} |
5 | 48 |
|
49 |
.media-item .thumbnail { |
|
50 |
max-height: 128px; |
|
51 |
max-width: 128px; |
|
52 |
} |
|
53 |
||
54 |
#wpbody-content #async-upload-wrap a { |
|
55 |
display: none; |
|
56 |
} |
|
57 |
||
58 |
.media-upload-form { |
|
59 |
margin-top: 20px; |
|
60 |
} |
|
61 |
||
62 |
.media-upload-form td label { |
|
63 |
margin-left: 6px; |
|
64 |
margin-right: 2px; |
|
65 |
} |
|
66 |
||
67 |
.media-upload-form .align .field label { |
|
68 |
display: inline; |
|
0 | 69 |
padding: 0 23px 0 0; |
70 |
margin: 0 3px 0 1em; |
|
5 | 71 |
font-weight: 600; |
0 | 72 |
} |
5 | 73 |
|
74 |
.media-upload-form tr.image-size label { |
|
75 |
margin: 0 5px 0 0; |
|
76 |
font-weight: 600; |
|
77 |
} |
|
78 |
||
79 |
.media-upload-form th.label label { |
|
80 |
font-weight: 600; |
|
81 |
margin: 0.5em; |
|
82 |
font-size: 13px; |
|
83 |
} |
|
84 |
||
85 |
.media-upload-form th.label label span { |
|
86 |
padding: 0 5px; |
|
87 |
} |
|
88 |
||
89 |
.media-item .describe input[type="text"], |
|
90 |
.media-item .describe textarea { |
|
91 |
width: 460px; |
|
92 |
} |
|
93 |
||
94 |
.media-item .describe p.help { |
|
95 |
margin: 0; |
|
96 |
padding: 0 5px 0 0; |
|
97 |
} |
|
98 |
||
99 |
.media-item .edit-attachment, |
|
100 |
.describe-toggle-on, |
|
101 |
.describe-toggle-off { |
|
102 |
display: block; |
|
103 |
line-height: 36px; |
|
104 |
float: left; |
|
105 |
margin-left: 10px; |
|
106 |
} |
|
107 |
||
108 |
.media-item .describe-toggle-off, |
|
109 |
.media-item.open .describe-toggle-on { |
|
110 |
display: none; |
|
111 |
} |
|
112 |
||
113 |
.media-item.open .describe-toggle-off { |
|
114 |
display: block; |
|
115 |
} |
|
116 |
||
117 |
.media-upload-form .media-item { |
|
118 |
min-height: 36px; |
|
119 |
margin-bottom: 1px; |
|
120 |
position: relative; |
|
121 |
width: 100%; |
|
122 |
background: #fff; |
|
123 |
} |
|
124 |
||
125 |
.media-upload-form .media-item, |
|
126 |
.media-upload-form .media-item .error { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
127 |
box-shadow: 0 1px 0 #ddd; |
5 | 128 |
} |
129 |
||
130 |
#media-items:empty { |
|
131 |
border: 0 none; |
|
132 |
} |
|
133 |
||
134 |
.media-item .filename { |
|
135 |
line-height: 36px; |
|
136 |
overflow: hidden; |
|
137 |
margin-right: 6px; |
|
138 |
} |
|
139 |
||
140 |
.media-item .pinkynail { |
|
141 |
float: right; |
|
142 |
margin: 2px 3px 0 10px; |
|
143 |
max-width: 40px; |
|
144 |
max-height: 32px; |
|
145 |
} |
|
146 |
||
147 |
.media-item .startopen, |
|
148 |
.media-item .startclosed { |
|
149 |
display: none; |
|
150 |
} |
|
151 |
||
152 |
.media-item .original { |
|
153 |
position: relative; |
|
154 |
height: 34px; |
|
155 |
} |
|
156 |
||
157 |
.media-item .progress { |
|
158 |
float: left; |
|
159 |
height: 22px; |
|
160 |
margin: 7px 6px; |
|
161 |
width: 200px; |
|
162 |
line-height: 2em; |
|
163 |
padding: 0; |
|
164 |
overflow: hidden; |
|
165 |
border-radius: 22px; |
|
166 |
background: #ddd; |
|
9 | 167 |
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); |
5 | 168 |
} |
169 |
||
170 |
.media-item .bar { |
|
171 |
z-index: 9; |
|
172 |
width: 0; |
|
173 |
height: 100%; |
|
174 |
margin-top: -22px; |
|
175 |
border-radius: 22px; |
|
176 |
background-color: #0073aa; |
|
9 | 177 |
box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3); |
5 | 178 |
} |
179 |
||
180 |
.media-item .progress .percent { |
|
181 |
z-index: 10; |
|
182 |
position: relative; |
|
183 |
width: 200px; |
|
184 |
padding: 0; |
|
185 |
color: #fff; |
|
186 |
text-align: center; |
|
187 |
line-height: 22px; |
|
188 |
font-weight: 400; |
|
9 | 189 |
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); |
0 | 190 |
} |
5 | 191 |
|
192 |
.upload-php .fixed .column-parent { |
|
193 |
width: 15%; |
|
194 |
} |
|
195 |
||
196 |
.js .html-uploader #plupload-upload-ui { |
|
197 |
display: none; |
|
198 |
} |
|
199 |
||
200 |
.js .html-uploader #html-upload-ui { |
|
201 |
display: block; |
|
202 |
} |
|
203 |
||
204 |
.media-upload-form .media-item.error, |
|
205 |
.media-upload-form .media-item .error { |
|
206 |
width: auto; |
|
207 |
margin: 0 0 1px 0; |
|
208 |
} |
|
209 |
||
210 |
.media-upload-form .media-item .error { |
|
211 |
padding: 10px 14px 10px 0; |
|
212 |
} |
|
213 |
||
9 | 214 |
.media-item .error-div button.dismiss { |
5 | 215 |
float: left; |
216 |
margin: 0 15px 0 10px; |
|
217 |
} |
|
218 |
||
219 |
/*------------------------------------------------------------------------------ |
|
220 |
14.1 - Media Library |
|
221 |
------------------------------------------------------------------------------*/ |
|
222 |
||
223 |
.find-box { |
|
224 |
background-color: #fff; |
|
9 | 225 |
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); |
5 | 226 |
width: 600px; |
227 |
overflow: hidden; |
|
228 |
margin-right: -300px; |
|
229 |
position: fixed; |
|
230 |
top: 30px; |
|
231 |
bottom: 30px; |
|
232 |
right: 50%; |
|
233 |
z-index: 100105; |
|
234 |
} |
|
235 |
||
236 |
.find-box-head { |
|
237 |
background: #fcfcfc; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
238 |
border-bottom: 1px solid #ddd; |
5 | 239 |
height: 36px; |
240 |
font-size: 18px; |
|
241 |
font-weight: 600; |
|
242 |
line-height: 36px; |
|
243 |
padding: 0 16px 0 36px; |
|
244 |
position: absolute; |
|
245 |
top: 0; |
|
246 |
right: 0; |
|
247 |
left: 0; |
|
248 |
} |
|
249 |
||
250 |
.find-box-inside { |
|
251 |
overflow: auto; |
|
252 |
padding: 16px; |
|
253 |
background-color: #fff; |
|
254 |
position: absolute; |
|
255 |
top: 37px; |
|
256 |
bottom: 45px; |
|
257 |
overflow-y: scroll; |
|
258 |
width: 100%; |
|
259 |
box-sizing: border-box; |
|
260 |
} |
|
261 |
||
262 |
.find-box-search { |
|
263 |
padding-bottom: 16px; |
|
264 |
} |
|
265 |
||
266 |
.find-box-search .spinner { |
|
267 |
float: none; |
|
268 |
right: 105px; |
|
269 |
position: absolute; |
|
270 |
} |
|
271 |
||
272 |
.find-box-search, |
|
273 |
#find-posts-response { |
|
274 |
position: relative; /* RTL fix, #WP28010 */ |
|
275 |
} |
|
276 |
||
277 |
#find-posts-input, |
|
278 |
#find-posts-search { |
|
279 |
float: right; |
|
280 |
} |
|
281 |
||
282 |
#find-posts-input { |
|
283 |
width: 140px; |
|
284 |
height: 28px; |
|
285 |
margin: 0 0 0 4px; |
|
286 |
} |
|
287 |
||
288 |
.widefat .found-radio { |
|
289 |
padding-left: 0; |
|
290 |
width: 16px; |
|
291 |
} |
|
292 |
||
293 |
#find-posts-close { |
|
294 |
width: 36px; |
|
295 |
height: 36px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
296 |
border: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
297 |
padding: 0; |
5 | 298 |
position: absolute; |
299 |
top: 0; |
|
300 |
left: 0; |
|
301 |
cursor: pointer; |
|
302 |
text-align: center; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
303 |
background: none; |
5 | 304 |
color: #666; |
305 |
} |
|
306 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
307 |
#find-posts-close:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
308 |
#find-posts-close:focus { |
5 | 309 |
color: #00a0d2; |
310 |
} |
|
311 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
312 |
#find-posts-close:focus { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
313 |
box-shadow: |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
314 |
0 0 0 1px #5b9dd9, |
9 | 315 |
0 0 2px 1px rgba(30, 140, 190, 0.8); |
316 |
/* Only visible in Windows High Contrast mode */ |
|
317 |
outline: 2px solid transparent; |
|
318 |
outline-offset: -2px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
319 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
320 |
|
5 | 321 |
#find-posts-close:before { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
322 |
font: normal 20px/36px dashicons; |
5 | 323 |
vertical-align: top; |
324 |
speak: none; |
|
325 |
-webkit-font-smoothing: antialiased; |
|
326 |
-moz-osx-font-smoothing: grayscale; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
327 |
content: "\f158"; |
0 | 328 |
} |
5 | 329 |
|
330 |
.find-box-buttons { |
|
331 |
padding: 8px 16px; |
|
332 |
background: #fcfcfc; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
333 |
border-top: 1px solid #ddd; |
5 | 334 |
position: absolute; |
335 |
bottom: 0; |
|
336 |
right: 0; |
|
337 |
left: 0; |
|
338 |
} |
|
339 |
||
9 | 340 |
@media screen and (max-width: 782px) { |
5 | 341 |
.find-box-inside { |
342 |
bottom: 57px; |
|
343 |
} |
|
344 |
} |
|
345 |
||
9 | 346 |
@media screen and (max-width: 660px) { |
5 | 347 |
|
348 |
.find-box { |
|
349 |
top: 0; |
|
350 |
bottom: 0; |
|
351 |
right: 0; |
|
352 |
left: 0; |
|
353 |
margin: 0; |
|
354 |
width: 100%; |
|
355 |
} |
|
356 |
||
357 |
} |
|
358 |
||
359 |
.ui-find-overlay { |
|
360 |
position: fixed; |
|
361 |
top: 0; |
|
362 |
right: 0; |
|
363 |
left: 0; |
|
364 |
bottom: 0; |
|
365 |
background: #000; |
|
366 |
opacity: 0.7; |
|
367 |
filter: alpha(opacity=70); |
|
368 |
z-index: 100100; |
|
369 |
} |
|
370 |
||
371 |
ul#dismissed-updates { |
|
372 |
display: none; |
|
373 |
} |
|
374 |
||
375 |
form.upgrade { |
|
376 |
margin-top: 8px; |
|
377 |
} |
|
378 |
||
379 |
form.upgrade .hint { |
|
380 |
font-style: italic; |
|
381 |
font-size: 85%; |
|
382 |
margin: -0.5em 0 2em 0; |
|
383 |
} |
|
384 |
||
385 |
#poststuff .inside .the-tagcloud { |
|
386 |
margin: 5px 0 10px; |
|
387 |
padding: 8px; |
|
388 |
border: 1px solid #ddd; |
|
389 |
line-height: 1.8em; |
|
390 |
word-spacing: 3px; |
|
391 |
} |
|
392 |
||
393 |
.drag-drop #drag-drop-area { |
|
394 |
border: 4px dashed #b4b9be; |
|
395 |
height: 200px; |
|
396 |
} |
|
397 |
||
398 |
.drag-drop .drag-drop-inside { |
|
399 |
margin: 70px auto 0; |
|
400 |
width: 250px; |
|
401 |
} |
|
402 |
||
403 |
.drag-drop-inside p { |
|
404 |
color: #a0a5aa; |
|
405 |
font-size: 14px; |
|
406 |
margin: 5px 0; |
|
407 |
display: none; |
|
408 |
} |
|
409 |
||
410 |
.drag-drop .drag-drop-inside p { |
|
411 |
text-align: center; |
|
412 |
} |
|
413 |
||
414 |
.drag-drop-inside p.drag-drop-info { |
|
415 |
font-size: 20px; |
|
0 | 416 |
} |
5 | 417 |
|
418 |
.drag-drop .drag-drop-inside p, |
|
419 |
.drag-drop-inside p.drag-drop-buttons { |
|
420 |
display: block; |
|
421 |
} |
|
422 |
||
423 |
/* |
|
424 |
#drag-drop-area:-moz-drag-over { |
|
425 |
border-color: #83b4d8; |
|
426 |
} |
|
427 |
border color while dragging a file over the uploader drop area */ |
|
428 |
.drag-drop.drag-over #drag-drop-area { |
|
429 |
border-color: #83b4d8; |
|
430 |
} |
|
431 |
||
432 |
#plupload-upload-ui { |
|
433 |
position: relative; |
|
434 |
} |
|
435 |
||
436 |
/** |
|
437 |
* Media Library grid view |
|
438 |
*/ |
|
439 |
||
440 |
.media-frame.mode-grid, |
|
441 |
.media-frame.mode-grid .media-frame-content, |
|
442 |
.media-frame.mode-grid .attachments-browser .attachments, |
|
443 |
.media-frame.mode-grid .uploader-inline-content { |
|
444 |
position: static; |
|
445 |
} |
|
446 |
||
447 |
/* Regions we don't use at all */ |
|
448 |
.media-frame.mode-grid .media-frame-title, |
|
449 |
.media-frame.mode-grid .media-frame-router, |
|
450 |
.media-frame.mode-grid .media-frame-menu { |
|
451 |
display: none; |
|
452 |
} |
|
453 |
||
454 |
.media-frame.mode-grid .media-frame-content { |
|
455 |
background-color: transparent; |
|
456 |
border: none; |
|
457 |
} |
|
458 |
||
459 |
.upload-php .mode-grid .media-sidebar { |
|
460 |
position: relative; |
|
461 |
width: auto; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
462 |
margin-top: 12px; |
5 | 463 |
padding: 0 16px; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
464 |
border-right: 4px solid #dd3d36; |
9 | 465 |
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
466 |
background-color: #fff; |
5 | 467 |
} |
468 |
||
469 |
.upload-php .mode-grid .hide-sidebar .media-sidebar { |
|
470 |
display: none; |
|
471 |
} |
|
472 |
||
473 |
.upload-php .mode-grid .media-sidebar .media-uploader-status { |
|
474 |
border-bottom: none; |
|
475 |
padding-bottom: 0; |
|
476 |
max-width: 100%; |
|
477 |
} |
|
478 |
||
479 |
.upload-php .mode-grid .media-sidebar .upload-error { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
480 |
margin: 12px 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
481 |
padding: 4px 0 0; |
5 | 482 |
border: none; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
483 |
box-shadow: none; |
5 | 484 |
background: none; |
485 |
} |
|
486 |
||
487 |
.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
488 |
top: -10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
489 |
left: -14px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
490 |
padding: 10px; |
5 | 491 |
} |
492 |
||
493 |
.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
494 |
content: "\f153"; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
495 |
display: block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
496 |
font: normal 16px/1 dashicons; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
497 |
color: #72777c; |
5 | 498 |
} |
499 |
||
500 |
.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before, |
|
501 |
.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
502 |
color: #c00; |
5 | 503 |
} |
504 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
505 |
.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3, /* Back-compat for pre-4.4 */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
506 |
.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 { |
5 | 507 |
display: none; |
508 |
} |
|
509 |
||
510 |
.media-frame.mode-grid .uploader-inline { |
|
511 |
position: relative; |
|
512 |
top: auto; |
|
0 | 513 |
left: auto; |
5 | 514 |
right: auto; |
515 |
bottom: auto; |
|
516 |
padding-top: 0; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
517 |
margin-top: 20px; |
5 | 518 |
border: 4px dashed #b4b9be; |
519 |
} |
|
520 |
||
521 |
.media-frame.mode-select .attachments-browser.fixed .attachments { |
|
522 |
position: relative; |
|
523 |
top: 94px; /* prevent jumping up when the toolbar becomes fixed */ |
|
524 |
padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */ |
|
525 |
} |
|
526 |
||
527 |
.media-frame.mode-grid .attachment:focus, |
|
528 |
.media-frame.mode-grid .selected.attachment:focus, |
|
529 |
.media-frame.mode-grid .attachment.details:focus { |
|
530 |
box-shadow: |
|
531 |
inset 0 0 2px 3px #f1f1f1, |
|
532 |
inset 0 0 0 7px #5b9dd9; |
|
9 | 533 |
/* Only visible in Windows High Contrast mode */ |
534 |
outline: 2px solid transparent; |
|
535 |
outline-offset: -6px; |
|
5 | 536 |
} |
537 |
||
538 |
.media-frame.mode-grid .selected.attachment { |
|
539 |
box-shadow: |
|
540 |
inset 0 0 0 5px #f1f1f1, |
|
541 |
inset 0 0 0 7px #ccc; |
|
0 | 542 |
} |
5 | 543 |
|
544 |
.media-frame.mode-grid .attachment.details { |
|
545 |
box-shadow: |
|
546 |
inset 0 0 0 3px #f1f1f1, |
|
547 |
inset 0 0 0 7px #1e8cbe; |
|
548 |
} |
|
549 |
||
550 |
.media-frame.mode-grid.mode-select .attachment .thumbnail { |
|
551 |
opacity: 0.65; |
|
552 |
} |
|
553 |
||
554 |
.media-frame.mode-select .attachment.selected .thumbnail { |
|
555 |
opacity: 1; |
|
556 |
} |
|
557 |
||
558 |
.media-frame.mode-grid .media-toolbar { |
|
559 |
margin-bottom: 15px; |
|
560 |
height: auto; |
|
561 |
} |
|
562 |
||
563 |
.media-frame.mode-grid .media-toolbar select { |
|
564 |
margin: 0 0 0 10px; |
|
565 |
font-size: 14px; |
|
566 |
} |
|
567 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
568 |
.media-frame.mode-grid.mode-edit .media-toolbar-secondary > .select-mode-toggle-button { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
569 |
margin: 0 0 0 8px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
570 |
vertical-align: middle; |
5 | 571 |
} |
572 |
||
573 |
.media-frame.mode-grid .attachments-browser .bulk-select { |
|
574 |
display: inline-block; |
|
575 |
margin: 0 0 0 10px; |
|
576 |
} |
|
577 |
||
578 |
.media-frame.mode-grid .search { |
|
579 |
margin-top: 0; |
|
580 |
} |
|
581 |
||
582 |
.media-frame.mode-grid .spinner { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
583 |
margin-top: 16px; |
5 | 584 |
} |
585 |
||
586 |
.attachments-browser .media-toolbar-secondary > .media-button { |
|
587 |
margin-left: 10px; |
|
0 | 588 |
} |
589 |
||
5 | 590 |
.media-frame.mode-select .attachments-browser.fixed .media-toolbar { |
591 |
position: fixed; |
|
592 |
top: 32px; |
|
593 |
right: auto; |
|
594 |
left: 20px; |
|
595 |
margin-top: 0; |
|
596 |
} |
|
597 |
||
598 |
.media-frame.mode-grid .attachments-browser { |
|
599 |
padding: 0; |
|
600 |
} |
|
601 |
||
602 |
.media-frame.mode-grid .attachments-browser .attachments { |
|
603 |
padding: 2px; |
|
604 |
} |
|
605 |
||
606 |
.media-frame.mode-grid .attachments-browser .no-media { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
607 |
color: #666; /* same as no plugins and no themes */ |
5 | 608 |
font-size: 18px; |
609 |
font-style: normal; |
|
610 |
margin: 0; |
|
611 |
padding: 100px 0 0; |
|
612 |
text-align: center; |
|
613 |
} |
|
614 |
||
615 |
/** |
|
616 |
* Attachment details modal |
|
617 |
*/ |
|
618 |
||
619 |
.edit-attachment-frame { |
|
620 |
display: block; |
|
621 |
height: 100%; |
|
622 |
width: 100%; |
|
623 |
} |
|
624 |
||
625 |
.edit-attachment-frame .edit-media-header { |
|
626 |
overflow: hidden; |
|
627 |
} |
|
628 |
||
629 |
.upload-php .media-modal-close .media-modal-icon:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
630 |
content: "\f335"; |
5 | 631 |
font-size: 22px; |
632 |
} |
|
633 |
||
634 |
.upload-php .media-modal-close, |
|
635 |
.edit-attachment-frame .edit-media-header .left, |
|
636 |
.edit-attachment-frame .edit-media-header .right { |
|
637 |
cursor: pointer; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
638 |
color: #72777c; |
5 | 639 |
background-color: transparent; |
640 |
height: 50px; |
|
641 |
width: 50px; |
|
642 |
padding: 0; |
|
643 |
position: absolute; |
|
644 |
text-align: center; |
|
645 |
border: 0; |
|
646 |
border-right: 1px solid #ddd; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
647 |
transition: color .1s ease-in-out, background .1s ease-in-out; |
5 | 648 |
} |
649 |
||
650 |
.upload-php .media-modal-close { |
|
651 |
top: 0; |
|
652 |
left: 0; |
|
653 |
} |
|
654 |
||
655 |
.edit-attachment-frame .edit-media-header .left { |
|
656 |
left: 102px; |
|
0 | 657 |
} |
5 | 658 |
|
659 |
.edit-attachment-frame .edit-media-header .right { |
|
660 |
left: 51px; |
|
661 |
} |
|
662 |
||
663 |
.edit-attachment-frame .media-frame-title { |
|
664 |
right: 0; |
|
665 |
left: 150px; /* leave space for prev/next/close */ |
|
666 |
} |
|
667 |
||
668 |
.edit-attachment-frame .edit-media-header .right:before, |
|
669 |
.edit-attachment-frame .edit-media-header .left:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
670 |
font: normal 20px/50px dashicons !important; |
5 | 671 |
display: inline; |
672 |
font-weight: 300; |
|
673 |
} |
|
674 |
||
675 |
.upload-php .media-modal-close:hover, |
|
676 |
.upload-php .media-modal-close:focus, |
|
677 |
.edit-attachment-frame .edit-media-header .left:hover, |
|
678 |
.edit-attachment-frame .edit-media-header .right:hover, |
|
679 |
.edit-attachment-frame .edit-media-header .left:focus, |
|
680 |
.edit-attachment-frame .edit-media-header .right:focus { |
|
681 |
background: #ddd; |
|
682 |
border-color: #ccc; |
|
683 |
color: #000; |
|
684 |
outline: none; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
685 |
box-shadow: none; |
5 | 686 |
} |
687 |
||
9 | 688 |
.upload-php .media-modal-close:focus, |
689 |
.edit-attachment-frame .edit-media-header .left:focus, |
|
690 |
.edit-attachment-frame .edit-media-header .right:focus { |
|
691 |
/* Only visible in Windows High Contrast mode */ |
|
692 |
outline: 2px solid transparent; |
|
693 |
outline-offset: -2px; |
|
694 |
} |
|
695 |
||
5 | 696 |
.upload-php .media-modal-close:focus .media-modal-icon:before, |
697 |
.upload-php .media-modal-close:hover .media-modal-icon:before { |
|
698 |
color: #000; |
|
0 | 699 |
} |
5 | 700 |
|
9 | 701 |
.edit-attachment-frame .edit-media-header .left:before { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
702 |
content: "\f345"; |
5 | 703 |
} |
704 |
||
9 | 705 |
.edit-attachment-frame .edit-media-header .right:before { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
706 |
content: "\f341"; |
5 | 707 |
} |
708 |
||
709 |
.edit-attachment-frame .edit-media-header .left.disabled, |
|
710 |
.edit-attachment-frame .edit-media-header .right.disabled, |
|
711 |
.edit-attachment-frame .edit-media-header .left.disabled:hover, |
|
712 |
.edit-attachment-frame .edit-media-header .right.disabled:hover { |
|
713 |
color: #ccc; |
|
714 |
background: inherit; |
|
715 |
cursor: default; |
|
716 |
pointer-events: none; |
|
0 | 717 |
} |
5 | 718 |
|
719 |
.edit-attachment-frame .media-frame-content, |
|
720 |
.edit-attachment-frame .media-frame-router { |
|
721 |
right: 0; |
|
722 |
} |
|
723 |
||
724 |
.edit-attachment-frame .media-frame-content { |
|
725 |
border-bottom: none; |
|
726 |
bottom: 0; |
|
727 |
top: 50px; |
|
728 |
} |
|
729 |
||
730 |
.edit-attachment-frame .attachment-details { |
|
731 |
position: absolute; |
|
732 |
overflow: auto; |
|
733 |
top: 0; |
|
734 |
bottom: 0; |
|
735 |
left: 0; |
|
736 |
right: 0; |
|
737 |
box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1); |
|
0 | 738 |
} |
5 | 739 |
|
740 |
.edit-attachment-frame .attachment-media-view { |
|
741 |
float: right; |
|
742 |
width: 65%; |
|
743 |
height: 100%; |
|
744 |
} |
|
745 |
||
746 |
.edit-attachment-frame .attachment-media-view .thumbnail { |
|
747 |
box-sizing: border-box; |
|
748 |
padding: 16px; |
|
749 |
height: 100%; |
|
750 |
} |
|
751 |
||
752 |
.edit-attachment-frame .attachment-media-view .details-image { |
|
753 |
display: block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
754 |
margin: 0 auto 16px; |
5 | 755 |
max-width: 100%; |
756 |
max-height: 90%; |
|
757 |
max-height: calc( 100% - 42px ); /* leave space for actions underneath */ |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
758 |
background-image: linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
759 |
background-position: 100% 0, 10px 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
760 |
background-size: 20px 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
761 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
762 |
|
9 | 763 |
.edit-attachment-frame .attachment-media-view .details-image.icon { |
764 |
background: none; |
|
765 |
} |
|
766 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
767 |
.edit-attachment-frame .attachment-media-view .attachment-actions { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
768 |
text-align: center; |
5 | 769 |
} |
770 |
||
771 |
.edit-attachment-frame .wp-media-wrapper { |
|
772 |
margin-bottom: 12px; |
|
773 |
} |
|
774 |
||
775 |
.edit-attachment-frame input, |
|
776 |
.edit-attachment-frame textarea { |
|
777 |
padding: 6px 8px; |
|
778 |
line-height: 16px; |
|
0 | 779 |
} |
5 | 780 |
|
781 |
.edit-attachment-frame .attachment-info { |
|
782 |
overflow: auto; |
|
783 |
box-sizing: border-box; |
|
784 |
margin-bottom: 0; |
|
785 |
padding: 12px 16px 0; |
|
786 |
width: 35%; |
|
787 |
height: 100%; |
|
788 |
box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1); |
|
789 |
border-bottom: 0; |
|
790 |
border-right: 1px solid #ddd; |
|
791 |
background: #f3f3f3; |
|
792 |
} |
|
793 |
||
794 |
.edit-attachment-frame .attachment-info .details, |
|
795 |
.edit-attachment-frame .attachment-info .settings { |
|
796 |
position: relative; /* RTL fix, #WP29352 */ |
|
797 |
overflow: hidden; |
|
798 |
float: none; |
|
799 |
margin-bottom: 15px; |
|
800 |
padding-bottom: 15px; |
|
801 |
border-bottom: 1px solid #ddd; |
|
802 |
} |
|
803 |
||
804 |
.edit-attachment-frame .attachment-info .filename { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
805 |
font-weight: 400; |
5 | 806 |
color: #666; |
807 |
} |
|
808 |
||
809 |
.edit-attachment-frame .attachment-info .thumbnail { |
|
810 |
margin-bottom: 12px; |
|
811 |
} |
|
812 |
||
813 |
.attachment-info .actions { |
|
814 |
margin-bottom: 16px; |
|
0 | 815 |
} |
5 | 816 |
|
817 |
.attachment-info .actions a { |
|
818 |
display: inline; |
|
819 |
text-decoration: none; |
|
820 |
} |
|
821 |
||
822 |
||
823 |
/*------------------------------------------------------------------------------ |
|
824 |
14.2 - Image Editor |
|
825 |
------------------------------------------------------------------------------*/ |
|
9 | 826 |
.wp_attachment_details .attachment-alt-text { |
827 |
margin-bottom: 5px; |
|
828 |
} |
|
829 |
||
830 |
.wp_attachment_details .attachment-alt-text-description { |
|
831 |
margin-top: 5px; |
|
832 |
} |
|
5 | 833 |
|
834 |
.wp_attachment_details label[for="content"] { |
|
835 |
font-size: 13px; |
|
836 |
line-height: 1.5; |
|
837 |
margin: 1em 0; |
|
838 |
} |
|
839 |
||
840 |
.wp_attachment_details #attachment_caption { |
|
841 |
height: 4em; |
|
842 |
} |
|
843 |
||
844 |
.describe .image-editor { |
|
845 |
vertical-align: top; |
|
846 |
} |
|
847 |
||
848 |
.imgedit-wrap { |
|
849 |
position: relative; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
850 |
padding-top: 10px; |
5 | 851 |
} |
852 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
853 |
.imgedit-settings p, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
854 |
.imgedit-settings fieldset { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
855 |
margin: 8px 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
856 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
857 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
858 |
.imgedit-settings legend { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
859 |
margin-bottom: 5px; |
5 | 860 |
} |
861 |
||
862 |
.describe .imgedit-wrap .imgedit-settings { |
|
863 |
padding: 0 5px; |
|
0 | 864 |
} |
5 | 865 |
|
866 |
.wp_attachment_holder div.updated { |
|
867 |
margin-top: 0; |
|
868 |
} |
|
869 |
||
870 |
.wp_attachment_holder .imgedit-wrap > div { |
|
871 |
height: auto; |
|
872 |
} |
|
873 |
||
874 |
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
875 |
padding: 3px 0 0 16px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
876 |
float: right; |
5 | 877 |
} |
878 |
||
879 |
.wp_attachment_holder .imgedit-wrap .imgedit-settings { |
|
880 |
float: left; |
|
881 |
width: 250px; |
|
0 | 882 |
} |
5 | 883 |
|
884 |
.imgedit-settings input { |
|
885 |
margin-top: 0; |
|
886 |
vertical-align: middle; |
|
887 |
} |
|
888 |
||
889 |
.imgedit-wait { |
|
890 |
position: absolute; |
|
891 |
top: 0; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
892 |
bottom: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
893 |
width: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
894 |
background: #fff; |
5 | 895 |
opacity: 0.7; |
896 |
filter: alpha(opacity=70); |
|
897 |
display: none; |
|
898 |
} |
|
899 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
900 |
.imgedit-wait:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
901 |
content: ""; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
902 |
display: block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
903 |
width: 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
904 |
height: 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
905 |
position: absolute; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
906 |
right: 50%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
907 |
top: 50%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
908 |
margin: -10px -10px 0 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
909 |
background: transparent url(../images/spinner.gif) no-repeat center; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
910 |
background-size: 20px 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
911 |
transform: translateZ(0); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
912 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
913 |
|
5 | 914 |
.no-float { |
915 |
float: none; |
|
0 | 916 |
} |
917 |
||
5 | 918 |
.media-disabled, |
919 |
.imgedit-settings .disabled { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
920 |
/* WCAG 1.4.3 Text or images of text that are part of an inactive user |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
921 |
interface component ... have no contrast requirement. */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
922 |
color: #a0a5aa; |
5 | 923 |
} |
924 |
||
925 |
.A1B1 { |
|
926 |
overflow: hidden; |
|
927 |
} |
|
928 |
||
929 |
.wp_attachment_image .button, |
|
930 |
.A1B1 .button { |
|
931 |
float: right; |
|
932 |
} |
|
933 |
||
934 |
.no-js .wp_attachment_image .button { |
|
935 |
display: none; |
|
936 |
} |
|
937 |
||
938 |
.wp_attachment_image .spinner, |
|
939 |
.A1B1 .spinner { |
|
940 |
float: right; |
|
941 |
} |
|
942 |
||
943 |
.imgedit-menu { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
944 |
min-width: 300px; |
5 | 945 |
margin: 0 0 12px; |
946 |
} |
|
947 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
948 |
.imgedit-menu .note-no-rotate { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
949 |
clear: both; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
950 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
951 |
padding: 1em 0 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
952 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
953 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
954 |
.image-editor .imgedit-menu .button { |
5 | 955 |
float: right; |
956 |
width: 32px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
957 |
height: 32px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
958 |
margin: 0 0 0 8px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
959 |
padding: 0; |
5 | 960 |
background: #f1f1f1; |
961 |
-webkit-font-smoothing: antialiased; |
|
962 |
-moz-osx-font-smoothing: grayscale; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
963 |
line-height: 16px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
964 |
color: #72777c; |
5 | 965 |
} |
966 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
967 |
.imgedit-menu .button:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
968 |
font: normal 20px/1 dashicons; |
5 | 969 |
speak: none; |
970 |
vertical-align: middle; |
|
971 |
} |
|
972 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
973 |
.imgedit-menu .button.disabled { |
5 | 974 |
border-color: #ccc; |
975 |
background-color: #ddd; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
976 |
color: #72777c; |
5 | 977 |
filter: alpha(opacity=50); |
978 |
opacity: 0.5; |
|
979 |
cursor: default; |
|
980 |
} |
|
981 |
||
982 |
.imgedit-crop:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
983 |
content: "\f165"; |
5 | 984 |
} |
985 |
||
986 |
.imgedit-rleft:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
987 |
content: "\f166"; |
5 | 988 |
} |
989 |
||
990 |
.imgedit-rright:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
991 |
content: "\f167"; |
5 | 992 |
} |
993 |
||
994 |
.imgedit-flipv:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
995 |
content: "\f168"; |
5 | 996 |
} |
997 |
||
998 |
.imgedit-fliph:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
999 |
content: "\f169"; |
5 | 1000 |
} |
1001 |
||
1002 |
.imgedit-undo:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1003 |
content: "\f171"; |
5 | 1004 |
} |
1005 |
||
1006 |
.imgedit-redo:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1007 |
content: "\f172"; |
5 | 1008 |
} |
1009 |
||
1010 |
.imgedit-crop-wrap { |
|
1011 |
position: relative; |
|
1012 |
} |
|
1013 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1014 |
.imgedit-crop-wrap img { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1015 |
background-image: linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1016 |
background-position: 100% 0, 10px 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1017 |
background-size: 20px 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1018 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1019 |
|
5 | 1020 |
.imgedit-crop { |
1021 |
margin: 0 0 0 8px; |
|
1022 |
} |
|
1023 |
||
1024 |
.imgedit-rleft { |
|
1025 |
margin: 0 3px; |
|
1026 |
} |
|
1027 |
||
1028 |
.imgedit-rright { |
|
1029 |
margin: 0 3px 0 8px; |
|
1030 |
} |
|
1031 |
||
1032 |
.imgedit-flipv { |
|
1033 |
margin: 0 3px; |
|
1034 |
} |
|
1035 |
||
1036 |
.imgedit-fliph { |
|
1037 |
margin: 0 3px 0 8px; |
|
1038 |
} |
|
1039 |
||
1040 |
.imgedit-undo { |
|
1041 |
margin: 0 3px; |
|
1042 |
} |
|
1043 |
||
1044 |
.imgedit-redo { |
|
1045 |
margin: 0 3px 0 8px; |
|
1046 |
} |
|
1047 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1048 |
.imgedit-thumbnail-preview { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1049 |
margin: 10px 0 0 8px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1050 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1051 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1052 |
.imgedit-thumbnail-preview-caption { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1053 |
display: block; |
5 | 1054 |
} |
1055 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1056 |
#poststuff .imgedit-group-top h3, /* Back-compat for pre-4.4 */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1057 |
#poststuff .imgedit-group-top h2 { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1058 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1059 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1060 |
padding: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1061 |
font-size: 14px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1062 |
line-height: 1.4; |
5 | 1063 |
} |
1064 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1065 |
#poststuff .imgedit-group-top .button-link { |
5 | 1066 |
text-decoration: none; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1067 |
color: #23282d; |
5 | 1068 |
} |
1069 |
||
1070 |
.imgedit-applyto .imgedit-label { |
|
1071 |
display: block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1072 |
padding: .5em 0 0; |
5 | 1073 |
} |
1074 |
||
1075 |
.imgedit-help { |
|
1076 |
display: none; |
|
1077 |
font-style: italic; |
|
0 | 1078 |
} |
1079 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1080 |
/* higher specificity than buttons */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1081 |
.image-editor .imgedit-settings .imgedit-help-toggle, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1082 |
.image-editor .imgedit-settings .imgedit-help-toggle:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1083 |
.image-editor .imgedit-settings .imgedit-help-toggle:active { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1084 |
border: 1px solid transparent; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1085 |
margin: -1px -1px 0 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1086 |
padding: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1087 |
background: transparent; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1088 |
color: #0074a2; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1089 |
font-size: 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1090 |
line-height: 1; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1091 |
cursor: pointer; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1092 |
box-sizing: content-box; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1093 |
box-shadow: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1094 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1095 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1096 |
.image-editor .imgedit-settings .imgedit-help-toggle:focus { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1097 |
color: #0074a2; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1098 |
border-color: #5b9dd9; |
9 | 1099 |
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); |
1100 |
/* Only visible in Windows High Contrast mode */ |
|
1101 |
outline: 2px solid transparent; |
|
5 | 1102 |
} |
1103 |
||
1104 |
.form-table td.imgedit-response { |
|
1105 |
padding: 0; |
|
1106 |
} |
|
1107 |
||
1108 |
.imgedit-submit { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1109 |
margin: 8px 0 0; |
5 | 1110 |
} |
1111 |
||
1112 |
.imgedit-submit-btn { |
|
1113 |
margin-right: 20px; |
|
1114 |
} |
|
1115 |
||
1116 |
.imgedit-wrap .nowrap { |
|
1117 |
white-space: nowrap; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1118 |
font-size: 12px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1119 |
line-height: inherit; |
5 | 1120 |
} |
1121 |
||
1122 |
span.imgedit-scale-warn { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1123 |
color: #dc3232; |
5 | 1124 |
font-size: 20px; |
1125 |
font-style: normal; |
|
1126 |
visibility: hidden; |
|
1127 |
vertical-align: middle; |
|
1128 |
} |
|
1129 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1130 |
.imgedit-save-target { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1131 |
margin: 8px 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1132 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1133 |
|
5 | 1134 |
.imgedit-group { |
1135 |
margin-bottom: 8px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1136 |
padding: 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1137 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1138 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1139 |
.imgedit-settings .imgedit-scale input[type="text"], |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1140 |
.imgedit-settings .imgedit-crop-ratio input[type="text"], |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1141 |
.imgedit-settings .imgedit-crop-sel input[type="text"] { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1142 |
width: 50px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1143 |
font-size: 14px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1144 |
padding: 5px 8px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1145 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1146 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1147 |
.imgedit-separator { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1148 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1149 |
width: 7px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1150 |
text-align: center; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1151 |
vertical-align: middle; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1152 |
font-size: 13px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1153 |
color: #444; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1154 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1155 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1156 |
.imgedit-settings .imgedit-scale .button { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1157 |
margin-bottom: 0; |
5 | 1158 |
} |
1159 |
||
1160 |
audio, video { |
|
1161 |
display: inline-block; |
|
1162 |
max-width: 100%; |
|
1163 |
} |
|
1164 |
||
1165 |
.mejs-container { |
|
1166 |
width: 100%; |
|
1167 |
max-width: 100%; |
|
1168 |
} |
|
1169 |
||
1170 |
/* =Media Queries |
|
1171 |
-------------------------------------------------------------- */ |
|
1172 |
||
1173 |
/** |
|
1174 |
* HiDPI Displays |
|
1175 |
*/ |
|
1176 |
@media print, |
|
1177 |
(-webkit-min-device-pixel-ratio: 1.25), |
|
1178 |
(min-resolution: 120dpi) { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1179 |
.imgedit-wait:before { |
5 | 1180 |
background-image: url(../images/spinner-2x.gif); |
1181 |
} |
|
0 | 1182 |
} |
5 | 1183 |
|
9 | 1184 |
@media screen and (max-width: 782px) { |
5 | 1185 |
.wp_attachment_details label[for="content"] { |
1186 |
font-size: 14px; |
|
1187 |
line-height: 1.5em; |
|
1188 |
} |
|
1189 |
||
1190 |
.media-upload-form .media-item.error, |
|
1191 |
.media-upload-form .media-item .error { |
|
1192 |
font-size: 13px; |
|
1193 |
line-height: 1.5; |
|
1194 |
} |
|
1195 |
||
1196 |
.media-upload-form .media-item.error { |
|
1197 |
padding: 1px 10px; |
|
1198 |
} |
|
1199 |
||
1200 |
.media-upload-form .media-item .error { |
|
1201 |
padding: 10px 12px 10px 0; |
|
1202 |
} |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1203 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1204 |
.imgedit-settings .imgedit-scale input[type="text"], |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1205 |
.imgedit-settings .imgedit-crop-ratio input[type="text"], |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1206 |
.imgedit-settings .imgedit-crop-sel input[type="text"] { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1207 |
width: 60px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1208 |
font-size: 16px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1209 |
padding: 6px 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1210 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1211 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1212 |
.imgedit-applyto .imgedit-label { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1213 |
vertical-align: middle; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1214 |
} |
5 | 1215 |
} |
1216 |
||
1217 |
/** |
|
1218 |
* Media queries for media grid. |
|
1219 |
*/ |
|
1220 |
||
1221 |
@media only screen and (max-width: 1120px) { |
|
1222 |
/* override for media-views.css */ |
|
1223 |
#wp-media-grid .wp-filter .attachment-filters { |
|
1224 |
max-width: 100%; |
|
1225 |
} |
|
1226 |
} |
|
1227 |
||
9 | 1228 |
@media only screen and (max-width: 782px) { |
5 | 1229 |
.media-frame.mode-select .attachments-browser.fixed .media-toolbar { |
1230 |
top: 46px; |
|
1231 |
left: 10px; |
|
1232 |
} |
|
1233 |
} |
|
1234 |
||
1235 |
@media only screen and (max-width: 600px) { |
|
1236 |
.media-frame.mode-select .attachments-browser.fixed .media-toolbar { |
|
1237 |
top: 0; |
|
1238 |
} |
|
1239 |
} |
|
1240 |
||
1241 |
@media only screen and (max-width: 480px) { |
|
1242 |
.edit-attachment-frame .media-frame-title { |
|
1243 |
left: 110px; |
|
1244 |
} |
|
1245 |
||
1246 |
.upload-php .media-modal-close, |
|
1247 |
.edit-attachment-frame .edit-media-header .left, |
|
1248 |
.edit-attachment-frame .edit-media-header .right { |
|
1249 |
width: 40px; |
|
1250 |
height: 40px; |
|
1251 |
} |
|
1252 |
||
1253 |
.upload-php .media-modal-close .media-modal-icon { |
|
1254 |
margin: 9px 10px; |
|
1255 |
} |
|
1256 |
||
1257 |
.edit-attachment-frame .edit-media-header .right:before, |
|
1258 |
.edit-attachment-frame .edit-media-header .left:before { |
|
1259 |
line-height: 40px !important; |
|
1260 |
} |
|
1261 |
||
1262 |
.edit-attachment-frame .edit-media-header .left { |
|
1263 |
left: 82px; |
|
1264 |
} |
|
1265 |
||
1266 |
.edit-attachment-frame .edit-media-header .right { |
|
1267 |
left: 41px; |
|
1268 |
} |
|
1269 |
||
1270 |
.edit-attachment-frame .media-frame-content { |
|
1271 |
top: 40px; |
|
1272 |
} |
|
1273 |
||
1274 |
.edit-attachment-frame .attachment-media-view { |
|
1275 |
float: none; |
|
1276 |
height: auto; |
|
1277 |
width: 100%; |
|
1278 |
} |
|
1279 |
||
1280 |
.edit-attachment-frame .attachment-info { |
|
1281 |
height: auto; |
|
1282 |
width: 100%; |
|
1283 |
} |
|
1284 |
} |
|
1285 |
||
1286 |
@media only screen and (max-width: 640px), screen and (max-height: 400px) { |
|
1287 |
.upload-php .mode-grid .media-sidebar{ |
|
1288 |
max-width: 100%; |
|
1289 |
} |
|
1290 |
} |