WordPress.org

Make WordPress Core

Ticket #32579: 32579.2.diff

File 32579.2.diff, 2.4 KB (added by afercia, 5 years ago)
  • src/wp-admin/css/admin-menu.css

     
    197197        word-wrap: break-word;
    198198}
    199199
    200 #adminmenu .wp-submenu,
    201 .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
    202 .folded #adminmenu .wp-has-current-submenu .wp-submenu {
     200#adminmenu .wp-submenu {
    203201        padding: 7px 0 8px;
    204202        z-index: 9999;
    205203        background-color: #32373c;
     204}
     205
     206#adminmenu a.wp-has-submenu:focus + .wp-submenu,
     207#adminmenu .wp-has-submenu.opensub .wp-submenu {
    206208        -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    207209        box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    208210}
     
    227229        bottom: auto;
    228230        border: 0 none;
    229231        margin-top: 0;
    230         -webkit-box-shadow: none;
    231         box-shadow: none;
    232232        background-color: #32373c;
    233233}
    234234
     
    450450        margin-top: -8px;
    451451}
    452452
    453 .folded ul#adminmenu li:hover a.wp-has-current-submenu:after {
     453.folded ul#adminmenu li:hover a.wp-has-current-submenu:after,
     454.folded ul#adminmenu .opensub a.wp-has-current-submenu:after,
     455.folded ul#adminmenu li > a.menu-top.wp-has-current-submenu:focus:after {
    454456        display: none;
    455457}
    456458
     
    709711                margin-bottom: 0;
    710712        }
    711713
    712         .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
     714        .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,
     715        .auto-fold ul#adminmenu .opensub a.wp-has-current-submenu:after,
     716        .auto-fold ul#adminmenu li > a.menu-top.wp-has-current-submenu:focus:after {
    713717                display: none;
    714718        }
    715719
     
    829833                display: block;
    830834                top: 0;
    831835                left: -1px;
     836        }
     837
     838        .auto-fold #adminmenu .wp-menu-open .wp-submenu,
     839        .auto-fold #adminmenu a.wp-has-submenu:focus + .wp-submenu {
    832840                -webkit-box-shadow: none;
    833841                box-shadow: none;
    834842        }
  • src/wp-admin/css/colors/_admin.scss

     
    146146#adminmenu .wp-has-current-submenu .wp-submenu,
    147147#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
    148148.folded #adminmenu .wp-has-current-submenu .wp-submenu,
    149 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
     149#adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
     150.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
    150151        background: $menu-submenu-background;
    151152}
    152153