Make WordPress Core

Ticket #27438: 27438.2.diff

File 27438.2.diff, 1.9 KB (added by kovshenin, 10 years ago)
  • src/wp-includes/css/media-views.css

     
    16461646}
    16471647
    16481648/* Drag & drop on the editor upload */
     1649#wp-fullscreen-body .uploader-editor,
    16491650.wp-editor-wrap .uploader-editor {
    16501651        background: rgba( 150, 150, 150, 0.9 );
    16511652        position: absolute;
     
    16581659        text-align: center;
    16591660}
    16601661
    1661 .wp-editor-wrap.wp-fullscreen-wrap .uploader-editor {
     1662#wp-fullscreen-body .uploader-editor {
    16621663        background: rgba( 0, 86, 132, 0.9 );
    16631664        position: fixed;
    16641665        z-index: 100050; /* above the editor toolbar */
    16651666}
    16661667
     1668.wp-editor-wrap.wp-fullscreen-wrap .uploader-editor {
     1669        opacity: 0;
     1670}
     1671
     1672#wp-fullscreen-body .uploader-editor-content,
    16671673.wp-editor-wrap .uploader-editor-content {
    16681674        border: 1px dashed #fff;
    16691675        position: absolute;
     
    16731679        bottom: 10px;
    16741680}
    16751681
     1682#wp-fullscreen-body .uploader-editor .uploader-editor-title,
    16761683.wp-editor-wrap .uploader-editor .uploader-editor-title {
    16771684        position: absolute;
    16781685        top: 50%;
     
    16861693        font-weight: bold;
    16871694        color: #fff;
    16881695        padding: 0;
     1696        margin: 0;
    16891697        display: none;
    16901698}
    16911699
     
    16931701        background: rgba( 0, 86, 132, 0.9 );
    16941702}
    16951703
     1704#wp-fullscreen-body .uploader-editor .uploader-editor-title,
    16961705.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title {
    16971706        display: block;
    16981707}
  • src/wp-includes/js/media-views.js

     
    31363136                        }
    31373137
    31383138                        media.View.prototype.render.apply( this, arguments );
    3139                         $( '.wp-editor-wrap' ).each( _.bind( this.attach, this ) );
     3139                        $( '.wp-editor-wrap, #wp-fullscreen-body' ).each( _.bind( this.attach, this ) );
    31403140                        return this;
    31413141                },
    31423142