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