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