mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Move the styling of drag/drop on the editor uploading to media-views.css, see #27465
git-svn-id: https://develop.svn.wordpress.org/trunk@27656 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1578,6 +1578,57 @@
|
||||
margin: 1px 0;
|
||||
}
|
||||
|
||||
/* Drag & drop on the editor upload */
|
||||
.wp-editor-wrap .uploader-editor {
|
||||
background: rgba( 150, 150, 150, 0.9 );
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 99998; /* under the toolbar */
|
||||
display: none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-editor-wrap.wp-fullscreen-wrap .uploader-editor {
|
||||
background: rgba( 0, 86, 132, 0.9 );
|
||||
position: fixed;
|
||||
z-index: 100050; /* above the editor toolbar */
|
||||
}
|
||||
|
||||
.wp-editor-wrap .uploader-editor-content {
|
||||
border: 1px dashed #fff;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
}
|
||||
|
||||
.wp-editor-wrap .uploader-editor .uploader-editor-title {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
-webkit-transform: translateY( -50% );
|
||||
-ms-transform: translateY( -50% );
|
||||
transform: translateY( -50% );
|
||||
font-size: 3em;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
padding: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.wp-editor-wrap .uploader-editor.droppable {
|
||||
background: rgba( 0, 86, 132, 0.9 );
|
||||
}
|
||||
|
||||
.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* IE7 Fixes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user