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