Make WordPress Core

Changeset 26701


Ignore:
Timestamp:
12/05/2013 11:09:23 PM (11 years ago)
Author:
nacin
Message:

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

props ryelle, shaunandrews.
fixes #26442.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/wp-admin.css

    r26688 r26701  
    19141914.sticky-menu #adminmenuwrap {
    19151915    position: fixed;
    1916     z-index: 9999; /* Match the z-index of .wp-submenu to ensure flyout menus don't appear underneath main column elements */
     1916    z-index: 99; /* Match the z-index of .wp-submenu to ensure flyout menus don't appear underneath main column elements */
    19171917}
    19181918
     
    71307130        padding: 70px 20px 20px;
    71317131        border: none;
    7132         z-index: 999999999;
     7132        z-index: 500; /* should overlap #wpadminbar, which is 500 on mobile. */
    71337133        position: fixed;
    71347134    }
  • trunk/src/wp-includes/js/thickbox/thickbox.css

    r26395 r26701  
    2424#TB_overlay {
    2525    position: fixed;
    26     z-index:100;
     26    z-index:510; /* should overlap theme modal, which is 500 on mobile. */
    2727    top: 0px;
    2828    left: 0px;
     
    4848    position: fixed;
    4949    background: #ffffff;
    50     z-index: 102;
     50    z-index: 510; /* should overlap theme modal, which is 500 on mobile. */
    5151    color:#000000;
    5252    visibility: hidden;
Note: See TracChangeset for help on using the changeset viewer.