[wp-trac] [WordPress Trac] #26280: Z-index of the submenu not applied correctly in WP 3.8 Beta 1
WordPress Trac
noreply at wordpress.org
Wed Dec 11 01:37:10 UTC 2013
#26280: Z-index of the submenu not applied correctly in WP 3.8 Beta 1
----------------------------+----------------------------
Reporter: dennis_f | Owner: iammattthomas
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.8
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: ui-focus |
----------------------------+----------------------------
Changes (by dennis_f):
* status: closed => reopened
* resolution: fixed =>
Comment:
I just noticed that this issue still exists, but with elements with
z-index greater than '''100'''.
I can see that now the #adminmenuwrap element z-index is set to '''99'''
(wp-admin/css/wp-admin.css:
[http://core.trac.wordpress.org/browser/trunk/src/wp-admin/css/wp-
admin.css#L1923]):
{{{
.sticky-menu #adminmenuwrap {
position: fixed;
z-index: 99; /* Match the z-index of .wp-submenu to ensure flyout
menus don't appear underneath main column elements */
}
}}}
and '''99''' is the z-index applied to the .wp-submenu element, instead of
the '''9999''' set on the element here:
[http://core.trac.wordpress.org/browser/trunk/src/wp-admin/css/wp-
admin.css#L1762]
{{{
#adminmenu .wp-submenu,
.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
padding: 7px 0 8px;
z-index: 9999;
}
}}}
So, any element inserted into the content with z-index of 100 or greater
will be displayed over the submenu element.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26280#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list