Ticket #27438: 27438.2.diff
File 27438.2.diff, 1.9 KB (added by , 11 years ago) |
---|
-
src/wp-includes/css/media-views.css
1646 1646 } 1647 1647 1648 1648 /* Drag & drop on the editor upload */ 1649 #wp-fullscreen-body .uploader-editor, 1649 1650 .wp-editor-wrap .uploader-editor { 1650 1651 background: rgba( 150, 150, 150, 0.9 ); 1651 1652 position: absolute; … … 1658 1659 text-align: center; 1659 1660 } 1660 1661 1661 .wp-editor-wrap.wp-fullscreen-wrap.uploader-editor {1662 #wp-fullscreen-body .uploader-editor { 1662 1663 background: rgba( 0, 86, 132, 0.9 ); 1663 1664 position: fixed; 1664 1665 z-index: 100050; /* above the editor toolbar */ 1665 1666 } 1666 1667 1668 .wp-editor-wrap.wp-fullscreen-wrap .uploader-editor { 1669 opacity: 0; 1670 } 1671 1672 #wp-fullscreen-body .uploader-editor-content, 1667 1673 .wp-editor-wrap .uploader-editor-content { 1668 1674 border: 1px dashed #fff; 1669 1675 position: absolute; … … 1673 1679 bottom: 10px; 1674 1680 } 1675 1681 1682 #wp-fullscreen-body .uploader-editor .uploader-editor-title, 1676 1683 .wp-editor-wrap .uploader-editor .uploader-editor-title { 1677 1684 position: absolute; 1678 1685 top: 50%; … … 1686 1693 font-weight: bold; 1687 1694 color: #fff; 1688 1695 padding: 0; 1696 margin: 0; 1689 1697 display: none; 1690 1698 } 1691 1699 … … 1693 1701 background: rgba( 0, 86, 132, 0.9 ); 1694 1702 } 1695 1703 1704 #wp-fullscreen-body .uploader-editor .uploader-editor-title, 1696 1705 .wp-editor-wrap .uploader-editor.droppable .uploader-editor-title { 1697 1706 display: block; 1698 1707 } -
src/wp-includes/js/media-views.js
3136 3136 } 3137 3137 3138 3138 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 ) ); 3140 3140 return this; 3141 3141 }, 3142 3142