Media: zIndex peace was only temporary.
Revert [22611] in favor of using plupload's `container` setting. Turns out, plupload's flash shim is forced to the exact same index as the admin bar, so balancing the two is better solved by nesting the shim. see #22441, #22446, #21390. git-svn-id: https://develop.svn.wordpress.org/trunk@22612 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
17ae09a2d4
commit
e36ce9af8e
@ -24,7 +24,7 @@
|
|||||||
left: 40px;
|
left: 40px;
|
||||||
right: 40px;
|
right: 40px;
|
||||||
bottom: 40px;
|
bottom: 40px;
|
||||||
z-index: 50000;
|
z-index: 125000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.media-modal-backdrop {
|
.media-modal-backdrop {
|
||||||
@ -35,7 +35,7 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
background: #000;
|
background: #000;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
z-index: 40000;
|
z-index: 120000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.media-modal-backdrop div {
|
.media-modal-backdrop div {
|
||||||
@ -671,7 +671,7 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
background: rgba( 0, 86, 132, 0.9 );
|
background: rgba( 0, 86, 132, 0.9 );
|
||||||
|
|
||||||
z-index: 200000;
|
z-index: 250000;
|
||||||
display: none;
|
display: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
@ -659,7 +659,8 @@
|
|||||||
if ( this.options.uploader ) {
|
if ( this.options.uploader ) {
|
||||||
this.uploader = new media.view.UploaderWindow({
|
this.uploader = new media.view.UploaderWindow({
|
||||||
uploader: {
|
uploader: {
|
||||||
dropzone: this.modal ? this.modal.$el : this.$el
|
dropzone: this.modal ? this.modal.$el : this.$el,
|
||||||
|
container: this.$el
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user