Make WordPress Core

Changeset 27832


Ignore:
Timestamp:
03/29/2014 02:46:04 AM (11 years ago)
Author:
helen
Message:

Correct cascade issues and remove some unused CSS for the admin menu. see #18380.

File:
1 edited

Legend:

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

    r27418 r27832  
    165165}
    166166
     167#adminmenu .wp-submenu a {
     168    color: #bbb;
     169}
     170
    167171#adminmenu a:hover,
    168172#adminmenu li.menu-top > a:focus,
     
    195199    -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    196200    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    197 }
    198 
    199 #adminmenu .wp-submenu a,
    200 .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
    201 .folded #adminmenu .wp-has-current-submenu .wp-submenu a {
    202     color: #bbb;
    203 }
    204 
    205 #adminmenu .wp-submenu a:hover,
    206 #adminmenu .wp-submenu a:focus {
    207     background: none;
    208201}
    209202
     
    233226}
    234227
     228/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */
     229#adminmenu li.menu-top:hover,
     230#adminmenu li.opensub > a.menu-top,
     231#adminmenu li > a.menu-top:focus {
     232    position: relative;
     233    background-color: #111;
     234}
     235
     236.folded #adminmenu li.menu-top:hover,
     237.folded #adminmenu li.opensub > a.menu-top,
     238.folded #adminmenu li > a.menu-top:focus {
     239    z-index: 10000;
     240}
     241
    235242#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
    236243#adminmenu li.current a.menu-top,
     
    454461#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
    455462    border-right-color: #333;
    456 }
    457 
    458 /* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */
    459 #adminmenu li.menu-top:hover,
    460 #adminmenu li.opensub > a.menu-top,
    461 #adminmenu li > a.menu-top:focus {
    462     position: relative;
    463     background-color: #111;
    464 }
    465 
    466 .folded #adminmenu li.menu-top:hover,
    467 .folded #adminmenu li.opensub > a.menu-top,
    468 .folded #adminmenu li > a.menu-top:focus {
    469     z-index: 10000;
    470463}
    471464
Note: See TracChangeset for help on using the changeset viewer.