Limit the drag/drop upload only to newer browsers (IE10+), add a fullscreen dropzone in DFW mode, props kovshenin, see #19845

git-svn-id: https://develop.svn.wordpress.org/trunk@27464 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2014-03-08 01:34:04 +00:00
parent 28b34b3811
commit 53c76ed168
2 changed files with 34 additions and 8 deletions
+6 -3
View File
@@ -612,6 +612,12 @@ span.wp-media-buttons-icon:before {
text-align: center;
}
.wp-fullscreen-wrap .uploader-editor {
background: rgba( 0, 86, 132, 0.9 );
position: fixed;
z-index: 100050; /* above the editor toolbar */
}
.uploader-editor-content {
border: 1px dashed #fff;
position: absolute;
@@ -619,11 +625,9 @@ span.wp-media-buttons-icon:before {
left: 10px;
right: 10px;
bottom: 10px;
pointer-events: none;
}
#poststuff .uploader-editor-content h3 {
margin: -0.5em 0 0;
position: absolute;
top: 50%;
left: 0;
@@ -635,7 +639,6 @@ span.wp-media-buttons-icon:before {
color: #fff;
padding: 0;
display: none;
pointer-events: none;
}
.uploader-editor.droppable {