Make WordPress Core

Ticket #34088: 34088.diff

File 34088.diff, 1.5 KB (added by coreymcollins, 9 years ago)

Changing active submenu arrow to appear based on parent menu class rather than hover state

  • wp-admin/css/admin-menu-rtl.css

     
    461461}
    462462
    463463/* flyout menu arrow */
    464 #adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
     464#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:after {
    465465        left: 0;
    466466        border: solid transparent;
     467        border-left-color: #32373c;
    467468        content: " ";
    468469        height: 0;
    469470        width: 0;
     
    480481        top: 18px;
    481482}
    482483
    483 #adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
    484         border-left-color: #32373c;
    485 }
    486 
    487484#adminmenu li.menu-top:hover .wp-menu-image img,
    488485#adminmenu li.wp-has-current-submenu .wp-menu-image img {
    489486        opacity: 1;
  • wp-admin/css/admin-menu.css

     
    461461}
    462462
    463463/* flyout menu arrow */
    464 #adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
     464#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:after {
    465465        right: 0;
    466466        border: solid transparent;
     467        border-right-color: #32373c;
    467468        content: " ";
    468469        height: 0;
    469470        width: 0;
     
    480481        top: 18px;
    481482}
    482483
    483 #adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
    484         border-right-color: #32373c;
    485 }
    486 
    487484#adminmenu li.menu-top:hover .wp-menu-image img,
    488485#adminmenu li.wp-has-current-submenu .wp-menu-image img {
    489486        opacity: 1;