Fix z-indexes as it relates to thickbox, the theme modal, and admin menu.

props ryelle, shaunandrews.
fixes #26442.


git-svn-id: https://develop.svn.wordpress.org/trunk@26701 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-12-05 23:09:23 +00:00
parent b7de614f71
commit f21d937706
2 changed files with 4 additions and 4 deletions

View File

@ -1913,7 +1913,7 @@ div.wp-menu-image:before {
.sticky-menu #adminmenuwrap {
position: fixed;
z-index: 9999; /* Match the z-index of .wp-submenu to ensure flyout menus don't appear underneath main column elements */
z-index: 99; /* Match the z-index of .wp-submenu to ensure flyout menus don't appear underneath main column elements */
}
/* A new arrow */
@ -7129,7 +7129,7 @@ body.folded .theme-overlay .theme-wrap {
left: 0;
padding: 70px 20px 20px;
border: none;
z-index: 999999999;
z-index: 500; /* should overlap #wpadminbar, which is 500 on mobile. */
position: fixed;
}

View File

@ -23,7 +23,7 @@
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
position: fixed;
z-index:100;
z-index:510; /* should overlap theme modal, which is 500 on mobile. */
top: 0px;
left: 0px;
height:100%;
@ -47,7 +47,7 @@
#TB_window {
position: fixed;
background: #ffffff;
z-index: 102;
z-index: 510; /* should overlap theme modal, which is 500 on mobile. */
color:#000000;
visibility: hidden;
text-align:left;