author | ymh <ymh.work@gmail.com> |
Thu, 29 Sep 2022 08:06:27 +0200 | |
changeset 20 | 7b1b88e27a20 |
parent 19 | 3d72ae0968f4 |
child 21 | 48c4eec2b7e6 |
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; |
|
19 | 251 |
margin: 0 0 1px; |
5 | 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 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
510 |
.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 { |
5 | 511 |
display: none; |
512 |
} |
|
513 |
||
514 |
.media-frame.mode-grid .uploader-inline { |
|
515 |
position: relative; |
|
516 |
top: auto; |
|
517 |
right: auto; |
|
518 |
left: auto; |
|
519 |
bottom: auto; |
|
520 |
padding-top: 0; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
521 |
margin-top: 20px; |
18 | 522 |
border: 4px dashed #c3c4c7; |
5 | 523 |
} |
524 |
||
18 | 525 |
.media-frame.mode-select .attachments-browser.fixed:not(.has-load-more) .attachments, |
526 |
.media-frame.mode-select .attachments-browser.has-load-more.fixed .attachments-wrapper { |
|
5 | 527 |
position: relative; |
528 |
top: 94px; /* prevent jumping up when the toolbar becomes fixed */ |
|
529 |
padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */ |
|
530 |
} |
|
531 |
||
532 |
.media-frame.mode-grid .attachment:focus, |
|
533 |
.media-frame.mode-grid .selected.attachment:focus, |
|
534 |
.media-frame.mode-grid .attachment.details:focus { |
|
535 |
box-shadow: |
|
18 | 536 |
inset 0 0 2px 3px #f0f0f1, |
537 |
inset 0 0 0 7px #4f94d4; |
|
9 | 538 |
/* Only visible in Windows High Contrast mode */ |
539 |
outline: 2px solid transparent; |
|
540 |
outline-offset: -6px; |
|
5 | 541 |
} |
542 |
||
543 |
.media-frame.mode-grid .selected.attachment { |
|
544 |
box-shadow: |
|
18 | 545 |
inset 0 0 0 5px #f0f0f1, |
546 |
inset 0 0 0 7px #c3c4c7; |
|
5 | 547 |
} |
548 |
||
549 |
.media-frame.mode-grid .attachment.details { |
|
550 |
box-shadow: |
|
18 | 551 |
inset 0 0 0 3px #f0f0f1, |
552 |
inset 0 0 0 7px #4f94d4; |
|
5 | 553 |
} |
554 |
||
555 |
.media-frame.mode-grid.mode-select .attachment .thumbnail { |
|
556 |
opacity: 0.65; |
|
557 |
} |
|
558 |
||
559 |
.media-frame.mode-select .attachment.selected .thumbnail { |
|
560 |
opacity: 1; |
|
561 |
} |
|
562 |
||
563 |
.media-frame.mode-grid .media-toolbar { |
|
564 |
margin-bottom: 15px; |
|
565 |
height: auto; |
|
566 |
} |
|
567 |
||
568 |
.media-frame.mode-grid .media-toolbar select { |
|
569 |
margin: 0 10px 0 0; |
|
570 |
} |
|
571 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
572 |
.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
|
573 |
margin: 0 8px 0 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
574 |
vertical-align: middle; |
5 | 575 |
} |
576 |
||
577 |
.media-frame.mode-grid .attachments-browser .bulk-select { |
|
578 |
display: inline-block; |
|
579 |
margin: 0 10px 0 0; |
|
580 |
} |
|
581 |
||
582 |
.media-frame.mode-grid .search { |
|
583 |
margin-top: 0; |
|
584 |
} |
|
585 |
||
16 | 586 |
.media-search-input-label { |
587 |
margin: 0 .2em 0 0; |
|
588 |
vertical-align: baseline; |
|
589 |
} |
|
590 |
||
591 |
.media-frame.mode-grid .media-search-input-label { |
|
592 |
position: static; |
|
593 |
margin: 0 .5em 0 0; |
|
5 | 594 |
} |
595 |
||
596 |
.attachments-browser .media-toolbar-secondary > .media-button { |
|
597 |
margin-right: 10px; |
|
598 |
} |
|
599 |
||
600 |
.media-frame.mode-select .attachments-browser.fixed .media-toolbar { |
|
601 |
position: fixed; |
|
602 |
top: 32px; |
|
603 |
left: auto; |
|
604 |
right: 20px; |
|
605 |
margin-top: 0; |
|
606 |
} |
|
607 |
||
608 |
.media-frame.mode-grid .attachments-browser { |
|
0 | 609 |
padding: 0; |
610 |
} |
|
611 |
||
5 | 612 |
.media-frame.mode-grid .attachments-browser .attachments { |
613 |
padding: 2px; |
|
614 |
} |
|
615 |
||
616 |
.media-frame.mode-grid .attachments-browser .no-media { |
|
18 | 617 |
color: #646970; /* same as no plugins and no themes */ |
5 | 618 |
font-size: 18px; |
619 |
font-style: normal; |
|
620 |
margin: 0; |
|
621 |
padding: 100px 0 0; |
|
622 |
text-align: center; |
|
623 |
} |
|
624 |
||
625 |
/** |
|
626 |
* Attachment details modal |
|
627 |
*/ |
|
628 |
||
629 |
.edit-attachment-frame { |
|
630 |
display: block; |
|
631 |
height: 100%; |
|
632 |
width: 100%; |
|
633 |
} |
|
634 |
||
635 |
.edit-attachment-frame .edit-media-header { |
|
636 |
overflow: hidden; |
|
637 |
} |
|
638 |
||
639 |
.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
|
640 |
content: "\f335"; |
5 | 641 |
font-size: 22px; |
642 |
} |
|
643 |
||
644 |
.upload-php .media-modal-close, |
|
645 |
.edit-attachment-frame .edit-media-header .left, |
|
646 |
.edit-attachment-frame .edit-media-header .right { |
|
647 |
cursor: pointer; |
|
18 | 648 |
color: #787c82; |
5 | 649 |
background-color: transparent; |
650 |
height: 50px; |
|
651 |
width: 50px; |
|
652 |
padding: 0; |
|
653 |
position: absolute; |
|
654 |
text-align: center; |
|
655 |
border: 0; |
|
18 | 656 |
border-left: 1px solid #dcdcde; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
657 |
transition: color .1s ease-in-out, background .1s ease-in-out; |
5 | 658 |
} |
659 |
||
660 |
.upload-php .media-modal-close { |
|
661 |
top: 0; |
|
662 |
right: 0; |
|
663 |
} |
|
664 |
||
665 |
.edit-attachment-frame .edit-media-header .left { |
|
666 |
right: 102px; |
|
667 |
} |
|
668 |
||
669 |
.edit-attachment-frame .edit-media-header .right { |
|
670 |
right: 51px; |
|
671 |
} |
|
672 |
||
673 |
.edit-attachment-frame .media-frame-title { |
|
674 |
left: 0; |
|
675 |
right: 150px; /* leave space for prev/next/close */ |
|
676 |
} |
|
677 |
||
678 |
.edit-attachment-frame .edit-media-header .right:before, |
|
679 |
.edit-attachment-frame .edit-media-header .left:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
680 |
font: normal 20px/50px dashicons !important; |
5 | 681 |
display: inline; |
682 |
font-weight: 300; |
|
683 |
} |
|
684 |
||
685 |
.upload-php .media-modal-close:hover, |
|
686 |
.upload-php .media-modal-close:focus, |
|
687 |
.edit-attachment-frame .edit-media-header .left:hover, |
|
688 |
.edit-attachment-frame .edit-media-header .right:hover, |
|
689 |
.edit-attachment-frame .edit-media-header .left:focus, |
|
690 |
.edit-attachment-frame .edit-media-header .right:focus { |
|
18 | 691 |
background: #dcdcde; |
692 |
border-color: #c3c4c7; |
|
5 | 693 |
color: #000; |
694 |
outline: none; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
695 |
box-shadow: none; |
5 | 696 |
} |
697 |
||
9 | 698 |
.upload-php .media-modal-close:focus, |
699 |
.edit-attachment-frame .edit-media-header .left:focus, |
|
700 |
.edit-attachment-frame .edit-media-header .right:focus { |
|
701 |
/* Only visible in Windows High Contrast mode */ |
|
702 |
outline: 2px solid transparent; |
|
703 |
outline-offset: -2px; |
|
704 |
} |
|
705 |
||
5 | 706 |
.upload-php .media-modal-close:focus .media-modal-icon:before, |
707 |
.upload-php .media-modal-close:hover .media-modal-icon:before { |
|
708 |
color: #000; |
|
709 |
} |
|
710 |
||
9 | 711 |
.edit-attachment-frame .edit-media-header .left:before { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
712 |
content: "\f341"; |
5 | 713 |
} |
714 |
||
9 | 715 |
.edit-attachment-frame .edit-media-header .right:before { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
716 |
content: "\f345"; |
0 | 717 |
} |
718 |
||
16 | 719 |
.edit-attachment-frame .edit-media-header [disabled], |
720 |
.edit-attachment-frame .edit-media-header [disabled]:hover { |
|
18 | 721 |
color: #c3c4c7; |
5 | 722 |
background: inherit; |
723 |
cursor: default; |
|
724 |
} |
|
725 |
||
726 |
.edit-attachment-frame .media-frame-content, |
|
727 |
.edit-attachment-frame .media-frame-router { |
|
728 |
left: 0; |
|
729 |
} |
|
730 |
||
731 |
.edit-attachment-frame .media-frame-content { |
|
732 |
border-bottom: none; |
|
733 |
bottom: 0; |
|
734 |
top: 50px; |
|
0 | 735 |
} |
736 |
||
5 | 737 |
.edit-attachment-frame .attachment-details { |
738 |
position: absolute; |
|
739 |
overflow: auto; |
|
740 |
top: 0; |
|
741 |
bottom: 0; |
|
742 |
right: 0; |
|
743 |
left: 0; |
|
19 | 744 |
box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1); |
5 | 745 |
} |
746 |
||
747 |
.edit-attachment-frame .attachment-media-view { |
|
748 |
float: left; |
|
749 |
width: 65%; |
|
750 |
height: 100%; |
|
751 |
} |
|
752 |
||
753 |
.edit-attachment-frame .attachment-media-view .thumbnail { |
|
754 |
box-sizing: border-box; |
|
755 |
padding: 16px; |
|
756 |
height: 100%; |
|
0 | 757 |
} |
758 |
||
5 | 759 |
.edit-attachment-frame .attachment-media-view .details-image { |
760 |
display: block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
761 |
margin: 0 auto 16px; |
5 | 762 |
max-width: 100%; |
763 |
max-height: 90%; |
|
764 |
max-height: calc( 100% - 42px ); /* leave space for actions underneath */ |
|
18 | 765 |
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
|
766 |
background-position: 0 0, 10px 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
767 |
background-size: 20px 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
768 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
769 |
|
9 | 770 |
.edit-attachment-frame .attachment-media-view .details-image.icon { |
771 |
background: none; |
|
772 |
} |
|
773 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
774 |
.edit-attachment-frame .attachment-media-view .attachment-actions { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
775 |
text-align: center; |
5 | 776 |
} |
777 |
||
778 |
.edit-attachment-frame .wp-media-wrapper { |
|
779 |
margin-bottom: 12px; |
|
780 |
} |
|
781 |
||
782 |
.edit-attachment-frame input, |
|
783 |
.edit-attachment-frame textarea { |
|
784 |
padding: 6px 8px; |
|
16 | 785 |
line-height: 1.14285714; |
0 | 786 |
} |
787 |
||
5 | 788 |
.edit-attachment-frame .attachment-info { |
789 |
overflow: auto; |
|
790 |
box-sizing: border-box; |
|
791 |
margin-bottom: 0; |
|
792 |
padding: 12px 16px 0; |
|
793 |
width: 35%; |
|
794 |
height: 100%; |
|
19 | 795 |
box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1); |
5 | 796 |
border-bottom: 0; |
18 | 797 |
border-left: 1px solid #dcdcde; |
798 |
background: #f6f7f7; |
|
5 | 799 |
} |
800 |
||
801 |
.edit-attachment-frame .attachment-info .details, |
|
802 |
.edit-attachment-frame .attachment-info .settings { |
|
803 |
position: relative; /* RTL fix, #WP29352 */ |
|
804 |
overflow: hidden; |
|
805 |
float: none; |
|
806 |
margin-bottom: 15px; |
|
807 |
padding-bottom: 15px; |
|
18 | 808 |
border-bottom: 1px solid #dcdcde; |
5 | 809 |
} |
810 |
||
811 |
.edit-attachment-frame .attachment-info .filename { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
812 |
font-weight: 400; |
18 | 813 |
color: #646970; |
5 | 814 |
} |
815 |
||
816 |
.edit-attachment-frame .attachment-info .thumbnail { |
|
817 |
margin-bottom: 12px; |
|
818 |
} |
|
819 |
||
820 |
.attachment-info .actions { |
|
821 |
margin-bottom: 16px; |
|
822 |
} |
|
823 |
||
824 |
.attachment-info .actions a { |
|
825 |
display: inline; |
|
0 | 826 |
text-decoration: none; |
827 |
} |
|
828 |
||
16 | 829 |
.copy-to-clipboard-container { |
830 |
display: flex; |
|
831 |
align-items: center; |
|
832 |
margin-top: 8px; |
|
833 |
clear: both; |
|
834 |
} |
|
835 |
||
18 | 836 |
.copy-to-clipboard-container .copy-attachment-url { |
837 |
white-space: normal; |
|
838 |
} |
|
839 |
||
16 | 840 |
.copy-to-clipboard-container .success { |
18 | 841 |
color: #008a20; |
16 | 842 |
margin-left: 8px; |
843 |
} |
|
5 | 844 |
|
845 |
/*------------------------------------------------------------------------------ |
|
846 |
14.2 - Image Editor |
|
847 |
------------------------------------------------------------------------------*/ |
|
9 | 848 |
.wp_attachment_details .attachment-alt-text { |
849 |
margin-bottom: 5px; |
|
850 |
} |
|
851 |
||
852 |
.wp_attachment_details .attachment-alt-text-description { |
|
853 |
margin-top: 5px; |
|
854 |
} |
|
5 | 855 |
|
856 |
.wp_attachment_details label[for="content"] { |
|
857 |
font-size: 13px; |
|
858 |
line-height: 1.5; |
|
859 |
margin: 1em 0; |
|
860 |
} |
|
861 |
||
862 |
.wp_attachment_details #attachment_caption { |
|
863 |
height: 4em; |
|
864 |
} |
|
865 |
||
866 |
.describe .image-editor { |
|
867 |
vertical-align: top; |
|
868 |
} |
|
869 |
||
870 |
.imgedit-wrap { |
|
871 |
position: relative; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
872 |
padding-top: 10px; |
5 | 873 |
} |
874 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
875 |
.imgedit-settings p, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
876 |
.imgedit-settings fieldset { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
877 |
margin: 8px 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
878 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
879 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
880 |
.imgedit-settings legend { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
881 |
margin-bottom: 5px; |
5 | 882 |
} |
883 |
||
884 |
.describe .imgedit-wrap .imgedit-settings { |
|
885 |
padding: 0 5px; |
|
886 |
} |
|
887 |
||
888 |
.wp_attachment_holder div.updated { |
|
889 |
margin-top: 0; |
|
890 |
} |
|
891 |
||
892 |
.wp_attachment_holder .imgedit-wrap > div { |
|
893 |
height: auto; |
|
0 | 894 |
} |
895 |
||
5 | 896 |
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content { |
16 | 897 |
float: left; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
898 |
padding: 3px 16px 0 0; |
16 | 899 |
min-width: 400px; |
900 |
max-width: calc( 100% - 266px ); |
|
5 | 901 |
} |
902 |
||
903 |
.wp_attachment_holder .imgedit-wrap .imgedit-settings { |
|
904 |
float: right; |
|
905 |
width: 250px; |
|
906 |
} |
|
907 |
||
908 |
.imgedit-settings input { |
|
909 |
margin-top: 0; |
|
910 |
vertical-align: middle; |
|
0 | 911 |
} |
912 |
||
5 | 913 |
.imgedit-wait { |
914 |
position: absolute; |
|
915 |
top: 0; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
916 |
bottom: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
917 |
width: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
918 |
background: #fff; |
5 | 919 |
opacity: 0.7; |
920 |
filter: alpha(opacity=70); |
|
921 |
display: none; |
|
922 |
} |
|
923 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
924 |
.imgedit-wait:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
925 |
content: ""; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
926 |
display: block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
927 |
width: 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
928 |
height: 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
929 |
position: absolute; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
930 |
left: 50%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
931 |
top: 50%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
932 |
margin: -10px 0 0 -10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
933 |
background: transparent url(../images/spinner.gif) no-repeat center; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
934 |
background-size: 20px 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
935 |
transform: translateZ(0); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
936 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
937 |
|
5 | 938 |
.no-float { |
939 |
float: none; |
|
0 | 940 |
} |
941 |
||
5 | 942 |
.media-disabled, |
943 |
.imgedit-settings .disabled { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
944 |
/* 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
|
945 |
interface component ... have no contrast requirement. */ |
18 | 946 |
color: #a7aaad; |
5 | 947 |
} |
948 |
||
949 |
.A1B1 { |
|
950 |
overflow: hidden; |
|
951 |
} |
|
952 |
||
953 |
.wp_attachment_image .button, |
|
954 |
.A1B1 .button { |
|
955 |
float: left; |
|
956 |
} |
|
957 |
||
958 |
.no-js .wp_attachment_image .button { |
|
0 | 959 |
display: none; |
960 |
} |
|
961 |
||
5 | 962 |
.wp_attachment_image .spinner, |
963 |
.A1B1 .spinner { |
|
964 |
float: left; |
|
965 |
} |
|
966 |
||
967 |
.imgedit-menu { |
|
968 |
margin: 0 0 12px; |
|
969 |
} |
|
970 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
971 |
.imgedit-menu .note-no-rotate { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
972 |
clear: both; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
973 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
974 |
padding: 1em 0 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
975 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
976 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
977 |
.image-editor .imgedit-menu .button { |
16 | 978 |
display: inline-block; |
979 |
width: auto; |
|
980 |
min-height: 28px; |
|
981 |
font-size: 13px; |
|
982 |
line-height: 2; |
|
983 |
margin: 0 8px 8px 0; |
|
984 |
padding: 0 10px; |
|
5 | 985 |
} |
986 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
987 |
.imgedit-menu .button:before { |
16 | 988 |
font: normal 16px/1 dashicons; |
989 |
margin-right: 8px; |
|
18 | 990 |
speak: never; |
5 | 991 |
vertical-align: middle; |
16 | 992 |
position: relative; |
993 |
top: -2px; |
|
994 |
-webkit-font-smoothing: antialiased; |
|
995 |
-moz-osx-font-smoothing: grayscale; |
|
5 | 996 |
} |
997 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
998 |
.imgedit-menu .button.disabled { |
18 | 999 |
color: #a7aaad; |
1000 |
border-color: #dcdcde; |
|
1001 |
background: #f6f7f7; |
|
16 | 1002 |
box-shadow: none; |
1003 |
text-shadow: 0 1px 0 #fff; |
|
5 | 1004 |
cursor: default; |
16 | 1005 |
transform: none; |
5 | 1006 |
} |
1007 |
||
1008 |
.imgedit-crop:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1009 |
content: "\f165"; |
5 | 1010 |
} |
1011 |
||
1012 |
.imgedit-rleft:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1013 |
content: "\f166"; |
5 | 1014 |
} |
1015 |
||
1016 |
.imgedit-rright:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1017 |
content: "\f167"; |
5 | 1018 |
} |
1019 |
||
1020 |
.imgedit-flipv:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1021 |
content: "\f168"; |
5 | 1022 |
} |
1023 |
||
1024 |
.imgedit-fliph:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1025 |
content: "\f169"; |
5 | 1026 |
} |
1027 |
||
1028 |
.imgedit-undo:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1029 |
content: "\f171"; |
5 | 1030 |
} |
1031 |
||
1032 |
.imgedit-redo:before { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1033 |
content: "\f172"; |
5 | 1034 |
} |
1035 |
||
1036 |
.imgedit-crop-wrap { |
|
1037 |
position: relative; |
|
1038 |
} |
|
1039 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1040 |
.imgedit-crop-wrap img { |
18 | 1041 |
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
|
1042 |
background-position: 0 0, 10px 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1043 |
background-size: 20px 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1044 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1045 |
|
5 | 1046 |
.imgedit-crop { |
1047 |
margin: 0 8px 0 0; |
|
1048 |
} |
|
1049 |
||
1050 |
.imgedit-rleft { |
|
1051 |
margin: 0 3px; |
|
0 | 1052 |
} |
1053 |
||
5 | 1054 |
.imgedit-rright { |
1055 |
margin: 0 8px 0 3px; |
|
1056 |
} |
|
1057 |
||
1058 |
.imgedit-flipv { |
|
1059 |
margin: 0 3px; |
|
1060 |
} |
|
1061 |
||
1062 |
.imgedit-fliph { |
|
1063 |
margin: 0 8px 0 3px; |
|
1064 |
} |
|
1065 |
||
1066 |
.imgedit-undo { |
|
1067 |
margin: 0 3px; |
|
1068 |
} |
|
1069 |
||
1070 |
.imgedit-redo { |
|
1071 |
margin: 0 8px 0 3px; |
|
1072 |
} |
|
1073 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1074 |
.imgedit-thumbnail-preview { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1075 |
margin: 10px 8px 0 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1076 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1077 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1078 |
.imgedit-thumbnail-preview-caption { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1079 |
display: block; |
5 | 1080 |
} |
1081 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1082 |
#poststuff .imgedit-group-top h2 { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1083 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1084 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1085 |
padding: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1086 |
font-size: 14px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1087 |
line-height: 1.4; |
5 | 1088 |
} |
1089 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1090 |
#poststuff .imgedit-group-top .button-link { |
5 | 1091 |
text-decoration: none; |
18 | 1092 |
color: #1d2327; |
5 | 1093 |
} |
1094 |
||
1095 |
.imgedit-applyto .imgedit-label { |
|
1096 |
display: block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1097 |
padding: .5em 0 0; |
5 | 1098 |
} |
1099 |
||
1100 |
.imgedit-help { |
|
0 | 1101 |
display: none; |
16 | 1102 |
padding-bottom: 8px; |
1103 |
} |
|
1104 |
||
1105 |
.imgedit-help.imgedit-restore { |
|
1106 |
padding-bottom: 0; |
|
0 | 1107 |
} |
1108 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1109 |
/* higher specificity than buttons */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1110 |
.image-editor .imgedit-settings .imgedit-help-toggle, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1111 |
.image-editor .imgedit-settings .imgedit-help-toggle:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1112 |
.image-editor .imgedit-settings .imgedit-help-toggle:active { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1113 |
border: 1px solid transparent; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1114 |
margin: -1px 0 0 -1px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1115 |
padding: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1116 |
background: transparent; |
18 | 1117 |
color: #2271b1; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1118 |
font-size: 20px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1119 |
line-height: 1; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1120 |
cursor: pointer; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1121 |
box-sizing: content-box; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1122 |
box-shadow: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1123 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1124 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1125 |
.image-editor .imgedit-settings .imgedit-help-toggle:focus { |
18 | 1126 |
color: #2271b1; |
1127 |
border-color: #4f94d4; |
|
1128 |
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); |
|
9 | 1129 |
/* Only visible in Windows High Contrast mode */ |
1130 |
outline: 2px solid transparent; |
|
5 | 1131 |
} |
1132 |
||
1133 |
.form-table td.imgedit-response { |
|
1134 |
padding: 0; |
|
1135 |
} |
|
1136 |
||
1137 |
.imgedit-submit { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1138 |
margin: 8px 0 0; |
5 | 1139 |
} |
1140 |
||
1141 |
.imgedit-submit-btn { |
|
1142 |
margin-left: 20px; |
|
1143 |
} |
|
1144 |
||
1145 |
.imgedit-wrap .nowrap { |
|
1146 |
white-space: nowrap; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1147 |
font-size: 12px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1148 |
line-height: inherit; |
5 | 1149 |
} |
1150 |
||
1151 |
span.imgedit-scale-warn { |
|
18 | 1152 |
color: #d63638; |
5 | 1153 |
font-size: 20px; |
1154 |
font-style: normal; |
|
1155 |
visibility: hidden; |
|
1156 |
vertical-align: middle; |
|
1157 |
} |
|
1158 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1159 |
.imgedit-save-target { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1160 |
margin: 8px 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1161 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1162 |
|
16 | 1163 |
.imgedit-save-target legend { |
1164 |
font-weight: 600; |
|
1165 |
} |
|
1166 |
||
5 | 1167 |
.imgedit-group { |
1168 |
margin-bottom: 8px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1169 |
padding: 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1170 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1171 |
|
16 | 1172 |
.imgedit-settings .imgedit-original-dimensions { |
1173 |
display: inline-block; |
|
1174 |
} |
|
1175 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1176 |
.imgedit-settings .imgedit-scale input[type="text"], |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1177 |
.imgedit-settings .imgedit-crop-ratio input[type="text"], |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1178 |
.imgedit-settings .imgedit-crop-sel input[type="text"] { |
16 | 1179 |
width: 80px; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1180 |
font-size: 14px; |
16 | 1181 |
padding: 0 8px; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1182 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1183 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1184 |
.imgedit-separator { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1185 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1186 |
width: 7px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1187 |
text-align: center; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1188 |
font-size: 13px; |
18 | 1189 |
color: #3c434a; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1190 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1191 |
|
16 | 1192 |
.imgedit-settings .imgedit-scale-button-wrapper { |
1193 |
margin-top: 0.3077em; |
|
1194 |
display: block; |
|
1195 |
} |
|
1196 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1197 |
.imgedit-settings .imgedit-scale .button { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1198 |
margin-bottom: 0; |
5 | 1199 |
} |
1200 |
||
1201 |
audio, video { |
|
1202 |
display: inline-block; |
|
1203 |
max-width: 100%; |
|
1204 |
} |
|
1205 |
||
18 | 1206 |
.wp-core-ui .mejs-container { |
5 | 1207 |
width: 100%; |
1208 |
max-width: 100%; |
|
1209 |
} |
|
1210 |
||
18 | 1211 |
.wp-core-ui .mejs-container * { |
16 | 1212 |
box-sizing: border-box; |
1213 |
} |
|
1214 |
||
18 | 1215 |
.wp-core-ui .mejs-time { |
1216 |
box-sizing: content-box; |
|
1217 |
} |
|
1218 |
||
5 | 1219 |
/* =Media Queries |
1220 |
-------------------------------------------------------------- */ |
|
1221 |
||
0 | 1222 |
/** |
1223 |
* HiDPI Displays |
|
1224 |
*/ |
|
1225 |
@media print, |
|
1226 |
(-webkit-min-device-pixel-ratio: 1.25), |
|
1227 |
(min-resolution: 120dpi) { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1228 |
.imgedit-wait:before { |
5 | 1229 |
background-image: url(../images/spinner-2x.gif); |
1230 |
} |
|
1231 |
} |
|
0 | 1232 |
|
9 | 1233 |
@media screen and (max-width: 782px) { |
5 | 1234 |
.wp_attachment_details label[for="content"] { |
1235 |
font-size: 14px; |
|
16 | 1236 |
line-height: 1.5; |
5 | 1237 |
} |
1238 |
||
1239 |
.media-upload-form .media-item.error, |
|
1240 |
.media-upload-form .media-item .error { |
|
1241 |
font-size: 13px; |
|
1242 |
line-height: 1.5; |
|
1243 |
} |
|
1244 |
||
1245 |
.media-upload-form .media-item.error { |
|
1246 |
padding: 1px 10px; |
|
0 | 1247 |
} |
1248 |
||
5 | 1249 |
.media-upload-form .media-item .error { |
1250 |
padding: 10px 0 10px 12px; |
|
1251 |
} |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1252 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1253 |
.imgedit-settings .imgedit-scale input[type="text"], |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1254 |
.imgedit-settings .imgedit-crop-ratio input[type="text"], |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1255 |
.imgedit-settings .imgedit-crop-sel input[type="text"] { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1256 |
font-size: 16px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1257 |
padding: 6px 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1258 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1259 |
|
16 | 1260 |
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content, |
1261 |
.wp_attachment_holder .imgedit-wrap .imgedit-settings { |
|
1262 |
float: none; |
|
1263 |
width: auto; |
|
1264 |
max-width: none; |
|
1265 |
padding-bottom: 16px; |
|
1266 |
} |
|
1267 |
||
1268 |
.copy-to-clipboard-container .success { |
|
1269 |
font-size: 14px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
1270 |
} |
19 | 1271 |
|
1272 |
/* Restructure image editor on narrow viewports. */ |
|
1273 |
.imgedit-crop-wrap img{ |
|
1274 |
width: 100%; |
|
1275 |
} |
|
1276 |
||
1277 |
.media-modal .imgedit-wrap .imgedit-panel-content, |
|
1278 |
.media-modal .imgedit-wrap .imgedit-settings { |
|
1279 |
position: initial !important; |
|
1280 |
} |
|
1281 |
||
1282 |
.media-modal .imgedit-wrap .imgedit-settings { |
|
1283 |
box-sizing: border-box; |
|
1284 |
width: 100% !important; |
|
1285 |
} |
|
1286 |
||
1287 |
.imgedit-settings .imgedit-scale-button-wrapper { |
|
1288 |
display: inline-block; |
|
1289 |
} |
|
5 | 1290 |
} |
1291 |
||
18 | 1292 |
@media only screen and (max-width: 600px) { |
1293 |
.media-item-wrapper { |
|
1294 |
grid-template-columns: 1fr; |
|
1295 |
} |
|
1296 |
} |
|
1297 |
||
5 | 1298 |
/** |
1299 |
* Media queries for media grid. |
|
1300 |
*/ |
|
1301 |
||
1302 |
@media only screen and (max-width: 1120px) { |
|
1303 |
/* override for media-views.css */ |
|
1304 |
#wp-media-grid .wp-filter .attachment-filters { |
|
1305 |
max-width: 100%; |
|
1306 |
} |
|
1307 |
} |
|
1308 |
||
9 | 1309 |
@media only screen and (max-width: 782px) { |
5 | 1310 |
.media-frame.mode-select .attachments-browser.fixed .media-toolbar { |
1311 |
top: 46px; |
|
1312 |
right: 10px; |
|
1313 |
} |
|
1314 |
} |
|
1315 |
||
1316 |
@media only screen and (max-width: 600px) { |
|
1317 |
.media-frame.mode-select .attachments-browser.fixed .media-toolbar { |
|
1318 |
top: 0; |
|
1319 |
} |
|
1320 |
} |
|
1321 |
||
1322 |
@media only screen and (max-width: 480px) { |
|
1323 |
.edit-attachment-frame .media-frame-title { |
|
1324 |
right: 110px; |
|
0 | 1325 |
} |
1326 |
||
5 | 1327 |
.upload-php .media-modal-close, |
1328 |
.edit-attachment-frame .edit-media-header .left, |
|
1329 |
.edit-attachment-frame .edit-media-header .right { |
|
1330 |
width: 40px; |
|
1331 |
height: 40px; |
|
1332 |
} |
|
1333 |
||
1334 |
.edit-attachment-frame .edit-media-header .right:before, |
|
1335 |
.edit-attachment-frame .edit-media-header .left:before { |
|
1336 |
line-height: 40px !important; |
|
1337 |
} |
|
1338 |
||
1339 |
.edit-attachment-frame .edit-media-header .left { |
|
1340 |
right: 82px; |
|
0 | 1341 |
} |
1342 |
||
5 | 1343 |
.edit-attachment-frame .edit-media-header .right { |
1344 |
right: 41px; |
|
1345 |
} |
|
1346 |
||
1347 |
.edit-attachment-frame .media-frame-content { |
|
1348 |
top: 40px; |
|
1349 |
} |
|
1350 |
||
1351 |
.edit-attachment-frame .attachment-media-view { |
|
1352 |
float: none; |
|
1353 |
height: auto; |
|
1354 |
width: 100%; |
|
1355 |
} |
|
1356 |
||
1357 |
.edit-attachment-frame .attachment-info { |
|
1358 |
height: auto; |
|
1359 |
width: 100%; |
|
0 | 1360 |
} |
1361 |
} |
|
5 | 1362 |
|
1363 |
@media only screen and (max-width: 640px), screen and (max-height: 400px) { |
|
1364 |
.upload-php .mode-grid .media-sidebar{ |
|
1365 |
max-width: 100%; |
|
1366 |
} |
|
1367 |
} |