Make WordPress Core

Changeset 24753


Ignore:
Timestamp:
07/19/2013 03:47:04 PM (13 years ago)
Author:
markjaquith
Message:

WORLD WAR Z-INDEX: Restoration of sanity to revisions/slider/menu z-index values.

The year is 2013. It is a period of DOM unrest. Sliders have hoarded
all available z-index, leading to an arms race. What started as a local
squabble soon escalated into a global conflict. The flyout menus were
the first of the collateral damage, trodden underfoot by mighty warring
enemies they couldn't effectively challenge. It was said they were
betrayed by one of their own: the z-index-power-hungry non-active
currently-hovered submenu, whose z-index-power level was over 9000!

But there is hope. A small band of heroes has emerged. Using their
powers of "what were you thinking?" and "chill, no one needs a z-index
THAT high", they have begun to restore order and harmony to the DOM.

See #24736. Props markjaquith, aaroncampbell, helen.

File:
1 edited

Legend:

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

    r24751 r24753  
    14591459#adminmenu .wp-has-current-submenu.opensub .wp-submenu {
    14601460        position: relative;
    1461         z-index: 2;
     1461        z-index: 3;
    14621462        top: auto;
    14631463        left: auto;
     
    35323532        margin: 0 auto;
    35333533        height: 0.8em;
    3534         z-index: 2;
    35353534        top: 7px;
    35363535        width: 100%;
     
    35453544        height: 100%;
    35463545        float: left;
    3547         z-index: 3;
    35483546        border-style: solid;
    35493547        border-width: 0 1px 0 0;
     
    36333631.revisions-next {
    36343632        position: relative;
    3635         z-index: 4;
     3633        z-index: 1;
    36363634}
    36373635
     
    37443742        margin-left: -70px;
    37453743        line-height: 28px;
    3746         z-index: 9999;
     3744        z-index: 1;
    37473745        max-width: 350px;
    37483746        min-width: 130px;
     
    38583856.wp-slider .ui-slider-range {
    38593857        position: absolute;
    3860         z-index: 1;
    38613858        font-size: .7em;
    38623859        display: block;
     
    38683865.wp-slider.ui-slider-horizontal {
    38693866        height: .8em;
    3870         z-index: 10001;
    38713867}
    38723868
Note: See TracChangeset for help on using the changeset viewer.