mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-09-06 09:00:28 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user