WordPress.org

Make WordPress Core

Ticket #12434: 12434.diff

File 12434.diff, 24.9 KB (added by Denis-de-Bernardy, 8 years ago)
  • wp-admin/menu.php

     
    2727
    2828if ( is_multisite() && is_super_admin() ) {
    2929        /* translators: Network menu item */
    30         $menu[0] = array(__('Network'), 'manage_network', 'ms-admin.php', '', 'menu-top menu-top-first', 'menu-site', 'div');
     30        $menu[0] = array(__('Network'), 'manage_network', 'ms-admin.php', '', 'menu-top menu-top-first menu-icon-site', 'menu-site', 'div');
    3131        $submenu[ 'ms-admin.php' ][1] = array( __('Admin'), 'manage_network', 'ms-admin.php' );
    3232        /* translators: Sites menu item */
    3333        $submenu[ 'ms-admin.php' ][5] = array( __('Sites'), 'manage_sites', 'ms-sites.php' );
     
    3838
    3939        $menu[1] = array( '', 'read', 'separator1', '', 'wp-menu-separator' );
    4040
    41         $menu[2] = array( __('Dashboard'), 'read', 'index.php', '', 'menu-top', 'menu-dashboard', 'div' );
     41        $menu[2] = array( __('Dashboard'), 'read', 'index.php', '', 'menu-top menu-icon-dashboard', 'menu-dashboard', 'div' );
    4242} else {
    43         $menu[2] = array( __('Dashboard'), 'read', 'index.php', '', 'menu-top menu-top-first', 'menu-dashboard', 'div' );
     43        $menu[2] = array( __('Dashboard'), 'read', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'div' );
    4444}
    4545
    4646if ( is_multisite() ) {
     
    5050
    5151$menu[4] = array( '', 'read', 'separator1', '', 'wp-menu-separator' );
    5252
    53 $menu[5] = array( __('Posts'), 'edit_posts', 'edit.php', '', 'open-if-no-js menu-top', 'menu-posts', 'div' );
     53$menu[5] = array( __('Posts'), 'edit_posts', 'edit.php', '', 'open-if-no-js menu-top menu-icon-posts', 'menu-posts', 'div' );
    5454        $submenu['edit.php'][5]  = array( __('Edit'), 'edit_posts', 'edit.php' );
    5555        /* translators: add new post */
    5656        $submenu['edit.php'][10]  = array( _x('Add New', 'post'), 'edit_posts', 'post-new.php' );
     
    6464        }
    6565        unset($tax);
    6666
    67 $menu[10] = array( __('Media'), 'upload_files', 'upload.php', '', 'menu-top', 'menu-media', 'div' );
     67$menu[10] = array( __('Media'), 'upload_files', 'upload.php', '', 'menu-top menu-icon-media', 'menu-media', 'div' );
    6868        $submenu['upload.php'][5] = array( __('Library'), 'upload_files', 'upload.php');
    6969        /* translators: add new file */
    7070        $submenu['upload.php'][10] = array( _x('Add New', 'file'), 'upload_files', 'media-new.php');
    7171
    72 $menu[15] = array( __('Links'), 'manage_links', 'link-manager.php', '', 'menu-top', 'menu-links', 'div' );
     72$menu[15] = array( __('Links'), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'div' );
    7373        $submenu['link-manager.php'][5] = array( __('Edit'), 'manage_links', 'link-manager.php' );
    7474        /* translators: add new links */
    7575        $submenu['link-manager.php'][10] = array( _x('Add New', 'link'), 'manage_links', 'link-add.php' );
    7676        $submenu['link-manager.php'][15] = array( __('Link Categories'), 'manage_categories', 'edit-link-categories.php' );
    7777
    78 $menu[20] = array( __('Pages'), 'edit_pages', 'edit.php?post_type=page', '', 'menu-top', 'menu-pages', 'div' );
     78$menu[20] = array( __('Pages'), 'edit_pages', 'edit.php?post_type=page', '', 'menu-top menu-icon-pages', 'menu-pages', 'div' );
    7979        $submenu['edit.php?post_type=page'][5] = array( __('Edit'), 'edit_pages', 'edit.php?post_type=page' );
    8080        /* translators: add new page */
    8181        $submenu['edit.php?post_type=page'][10] = array( _x('Add New', 'page'), 'edit_pages', 'post-new.php?post_type=page' );
    8282
    83 $menu[25] = array( sprintf( __('Comments %s'), "<span id='awaiting-mod' class='count-$awaiting_mod'><span class='pending-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'edit_posts', 'edit-comments.php', '', 'menu-top', 'menu-comments', 'div' );
     83$menu[25] = array( sprintf( __('Comments %s'), "<span id='awaiting-mod' class='count-$awaiting_mod'><span class='pending-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'edit_posts', 'edit-comments.php', '', 'menu-top menu-icon-comments', 'menu-comments', 'div' );
    8484
    8585$_wp_last_object_menu = 25; // The index of the last top-level menu in the object menu group
    8686
    8787foreach ( (array) get_post_types( array('show_ui' => true) ) as $ptype ) {
    8888        $_wp_last_object_menu++;
    8989        $ptype_obj = get_post_type_object($ptype);
    90         $menu[$_wp_last_object_menu] = array(esc_attr($ptype_obj->label), $ptype_obj->edit_type_cap, "edit.php?post_type=$ptype", '', 'menu-top', 'menu-posts', 'div');
     90       
     91        $menu[$_wp_last_object_menu] = array(esc_attr($ptype_obj->label), $ptype_obj->edit_type_cap, "edit.php?post_type=$ptype", '', 'menu-top menu-icon-posts', 'menu-' . sanitize_title_with_dashes($ptype_obj->label), 'div');
    9192        $submenu["edit.php?post_type=$ptype"][5]  = array( __('Edit'), 'edit_posts',  "edit.php?post_type=$ptype");
    9293        /* translators: add new custom post type */
    9394        $submenu["edit.php?post_type=$ptype"][10]  = array( _x('Add New', 'post'), 'edit_posts', "post-new.php?post_type=$ptype" );
     
    104105
    105106$menu[59] = array( '', 'read', 'separator2', '', 'wp-menu-separator' );
    106107
    107 $menu[60] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-top', 'menu-appearance', 'div' );
     108$menu[60] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div' );
    108109        $submenu['themes.php'][5]  = array(__('Themes'), 'switch_themes', 'themes.php');
    109110        $submenu['themes.php'][10] = array(_x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php');
    110111        $submenu['themes.php'][20] = array(__('Menus'), 'switch_themes', 'nav-menus.php');
     
    116117
    117118$menu_perms = get_site_option('menu_items', array());
    118119if ( is_super_admin() || ( is_multisite() && isset($menu_perms['plugins']) && $menu_perms['plugins'] ) ) {
    119         $menu[65] = array( sprintf( __('Plugins %s'), "<span class='update-plugins count-$update_count'><span class='plugin-count'>" . number_format_i18n($update_count) . "</span></span>" ), 'activate_plugins', 'plugins.php', '', 'menu-top', 'menu-plugins', 'div' );
     120        $menu[65] = array( sprintf( __('Plugins %s'), "<span class='update-plugins count-$update_count'><span class='plugin-count'>" . number_format_i18n($update_count) . "</span></span>" ), 'activate_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'div' );
    120121                $submenu['plugins.php'][5]  = array( __('Installed'), 'activate_plugins', 'plugins.php' );
    121122                /* translators: add new plugin */
    122123                $submenu['plugins.php'][10] = array(_x('Add New', 'plugin'), 'install_plugins', 'plugin-install.php');
     
    125126unset($menu_perms, $update_plugins, $update_count);
    126127
    127128if ( current_user_can('edit_users') )
    128         $menu[70] = array( __('Users'), 'edit_users', 'users.php', '', 'menu-top', 'menu-users', 'div' );
     129        $menu[70] = array( __('Users'), 'edit_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'div' );
    129130else
    130         $menu[70] = array( __('Profile'), 'read', 'profile.php', '', 'menu-top', 'menu-users', 'div' );
     131        $menu[70] = array( __('Profile'), 'read', 'profile.php', '', 'menu-top menu-icon-users', 'menu-users', 'div' );
    131132
    132133if ( current_user_can('edit_users') ) {
    133134        $_wp_real_parent_file['profile.php'] = 'users.php'; // Back-compat for plugins adding submenus to profile.php.
     
    140141        $submenu['profile.php'][5] = array(__('Your Profile'), 'read', 'profile.php');
    141142}
    142143
    143 $menu[75] = array( __('Tools'), 'read', 'tools.php', '', 'menu-top', 'menu-tools', 'div' );
     144$menu[75] = array( __('Tools'), 'read', 'tools.php', '', 'menu-top menu-icon-tools', 'menu-tools', 'div' );
    144145        $submenu['tools.php'][5] = array( __('Tools'), 'read', 'tools.php' );
    145146        $submenu['tools.php'][10] = array( __('Import'), 'import', 'import.php' );
    146147        $submenu['tools.php'][15] = array( __('Export'), 'import', 'export.php' );
     
    151152        if ( !is_multisite() && is_super_admin() )
    152153                $submenu['tools.php'][50] = array(__('Network'), 'manage_options', 'network.php');
    153154
    154 $menu[80] = array( __('Settings'), 'manage_options', 'options-general.php', '', 'menu-top', 'menu-settings', 'div' );
     155$menu[80] = array( __('Settings'), 'manage_options', 'options-general.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'div' );
    155156        $submenu['options-general.php'][10] = array(_x('General', 'settings screen'), 'manage_options', 'options-general.php');
    156157        $submenu['options-general.php'][15] = array(__('Writing'), 'manage_options', 'options-writing.php');
    157158        $submenu['options-general.php'][20] = array(__('Reading'), 'manage_options', 'options-reading.php');
  • wp-admin/css/colors-classic.dev.css

     
    11451145}
    11461146
    11471147/* menu icons */
    1148 #adminmenu #menu-dashboard div.wp-menu-image {
    1149         background: transparent url("../images/menu-vs.png") no-repeat scroll -61px -33px;
     1148#adminmenu .menu-icon-dashboard div.wp-menu-image {
     1149        background: transparent url('../images/menu-vs.png') no-repeat scroll -61px -33px;
    11501150}
    11511151
    1152 #adminmenu #menu-dashboard:hover div.wp-menu-image,
    1153 #adminmenu  #menu-dashboard.wp-has-current-submenu div.wp-menu-image,
    1154 #adminmenu  #menu-dashboard.current div.wp-menu-image {
    1155         background: transparent url("../images/menu-vs.png") no-repeat scroll -61px -1px;
     1152#adminmenu .menu-icon-dashboard:hover div.wp-menu-image,
     1153#adminmenu  .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image,
     1154#adminmenu  .menu-icon-dashboard.current div.wp-menu-image {
     1155        background: transparent url('../images/menu-vs.png') no-repeat scroll -61px -1px;
    11561156}
    11571157
    1158 #adminmenu #menu-posts div.wp-menu-image {
    1159         background: transparent url("../images/menu-vs.png") no-repeat scroll -272px -33px;
     1158#adminmenu .menu-icon-posts div.wp-menu-image {
     1159        background: transparent url('../images/menu-vs.png') no-repeat scroll -272px -33px;
    11601160}
    11611161
    1162 #adminmenu #menu-posts:hover div.wp-menu-image,
    1163 #adminmenu #menu-posts.wp-has-current-submenu div.wp-menu-image {
    1164         background: transparent url("../images/menu-vs.png") no-repeat scroll -272px -1px;
     1162#adminmenu .menu-icon-posts:hover div.wp-menu-image,
     1163#adminmenu .menu-icon-posts.wp-has-current-submenu div.wp-menu-image {
     1164        background: transparent url('../images/menu-vs.png') no-repeat scroll -272px -1px;
    11651165}
    11661166
    1167 #adminmenu #menu-media div.wp-menu-image {
    1168         background: transparent url("../images/menu-vs.png") no-repeat scroll -121px -33px;
     1167#adminmenu .menu-icon-media div.wp-menu-image {
     1168        background: transparent url('../images/menu-vs.png') no-repeat scroll -121px -33px;
    11691169}
    11701170
    1171 #adminmenu #menu-media:hover div.wp-menu-image,
    1172 #adminmenu #menu-media.wp-has-current-submenu div.wp-menu-image {
    1173         background: transparent url("../images/menu-vs.png") no-repeat scroll -121px -1px;
     1171#adminmenu .menu-icon-media:hover div.wp-menu-image,
     1172#adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image {
     1173        background: transparent url('../images/menu-vs.png') no-repeat scroll -121px -1px;
    11741174}
    11751175
    1176 #adminmenu #menu-links div.wp-menu-image {
    1177         background: transparent url("../images/menu-vs.png") no-repeat scroll -91px -33px;
     1176#adminmenu .menu-icon-links div.wp-menu-image {
     1177        background: transparent url('../images/menu-vs.png') no-repeat scroll -91px -33px;
    11781178}
    11791179
    1180 #adminmenu #menu-links:hover div.wp-menu-image,
    1181 #adminmenu #menu-links.wp-has-current-submenu div.wp-menu-image {
    1182         background: transparent url("../images/menu-vs.png") no-repeat scroll -91px -1px;
     1180#adminmenu .menu-icon-links:hover div.wp-menu-image,
     1181#adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image {
     1182        background: transparent url('../images/menu-vs.png') no-repeat scroll -91px -1px;
    11831183}
    11841184
    1185 #adminmenu #menu-pages div.wp-menu-image {
    1186         background: transparent url("../images/menu-vs.png") no-repeat scroll -151px -33px;
     1185#adminmenu .menu-icon-pages div.wp-menu-image {
     1186        background: transparent url('../images/menu-vs.png') no-repeat scroll -151px -33px;
    11871187}
    11881188
    1189 #adminmenu #menu-pages:hover div.wp-menu-image,
    1190 #adminmenu #menu-pages.wp-has-current-submenu div.wp-menu-image {
    1191         background: transparent url("../images/menu-vs.png") no-repeat scroll -151px -1px;
     1189#adminmenu .menu-icon-pages:hover div.wp-menu-image,
     1190#adminmenu .menu-icon-pages.wp-has-current-submenu div.wp-menu-image {
     1191        background: transparent url('../images/menu-vs.png') no-repeat scroll -151px -1px;
    11921192}
    11931193
    1194 #adminmenu #menu-comments div.wp-menu-image {
    1195         background: transparent url("../images/menu-vs.png") no-repeat scroll -31px -33px;
     1194#adminmenu .menu-icon-comments div.wp-menu-image {
     1195        background: transparent url('../images/menu-vs.png') no-repeat scroll -31px -33px;
    11961196}
    11971197
    1198 #adminmenu #menu-comments:hover div.wp-menu-image,
    1199 #adminmenu #menu-comments.wp-has-current-submenu div.wp-menu-image,
    1200 #adminmenu #menu-comments.current div.wp-menu-image {
    1201         background: transparent url("../images/menu-vs.png") no-repeat scroll -31px -1px;
     1198#adminmenu .menu-icon-comments:hover div.wp-menu-image,
     1199#adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image,
     1200#adminmenu .menu-icon-comments.current div.wp-menu-image {
     1201        background: transparent url('../images/menu-vs.png') no-repeat scroll -31px -1px;
    12021202}
    12031203
    1204 #adminmenu #menu-appearance div.wp-menu-image {
    1205         background: transparent url("../images/menu-vs.png") no-repeat scroll -1px -33px;
     1204#adminmenu .menu-icon-appearance div.wp-menu-image {
     1205        background: transparent url('../images/menu-vs.png') no-repeat scroll -1px -33px;
    12061206}
    12071207
    1208 #adminmenu #menu-appearance:hover div.wp-menu-image,
    1209 #adminmenu #menu-appearance.wp-has-current-submenu div.wp-menu-image {
    1210         background: transparent url("../images/menu-vs.png") no-repeat scroll -1px -1px;
     1208#adminmenu .menu-icon-appearance:hover div.wp-menu-image,
     1209#adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image {
     1210        background: transparent url('../images/menu-vs.png') no-repeat scroll -1px -1px;
    12111211}
    12121212
    1213 #adminmenu #menu-plugins div.wp-menu-image {
    1214         background: transparent url("../images/menu-vs.png") no-repeat scroll -181px -33px;
     1213#adminmenu .menu-icon-plugins div.wp-menu-image {
     1214        background: transparent url('../images/menu-vs.png') no-repeat scroll -181px -33px;
    12151215}
    12161216
    1217 #adminmenu #menu-plugins:hover div.wp-menu-image,
    1218 #adminmenu #menu-plugins.wp-has-current-submenu div.wp-menu-image {
    1219         background: transparent url("../images/menu-vs.png") no-repeat scroll -181px -1px;
     1217#adminmenu .menu-icon-plugins:hover div.wp-menu-image,
     1218#adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image {
     1219        background: transparent url('../images/menu-vs.png') no-repeat scroll -181px -1px;
    12201220}
    12211221
    1222 #adminmenu #menu-users div.wp-menu-image {
    1223         background: transparent url("../images/menu-vs.png") no-repeat scroll -301px -33px;
     1222#adminmenu .menu-icon-users div.wp-menu-image {
     1223        background: transparent url('../images/menu-vs.png') no-repeat scroll -301px -33px;
    12241224}
    12251225
    1226 #adminmenu #menu-users:hover div.wp-menu-image,
    1227 #adminmenu #menu-users.wp-has-current-submenu div.wp-menu-image {
    1228         background: transparent url("../images/menu-vs.png") no-repeat scroll -301px -1px;
     1226#adminmenu .menu-icon-users:hover div.wp-menu-image,
     1227#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image {
     1228        background: transparent url('../images/menu-vs.png') no-repeat scroll -301px -1px;
    12291229}
    12301230
    1231 #adminmenu #menu-tools div.wp-menu-image {
    1232         background: transparent url("../images/menu-vs.png") no-repeat scroll -211px -33px;
     1231#adminmenu .menu-icon-tools div.wp-menu-image {
     1232        background: transparent url('../images/menu-vs.png') no-repeat scroll -211px -33px;
    12331233}
    12341234
    1235 #adminmenu #menu-tools:hover div.wp-menu-image,
    1236 #adminmenu #menu-tools.wp-has-current-submenu div.wp-menu-image {
    1237         background: transparent url("../images/menu-vs.png") no-repeat scroll -211px -1px;
     1235#adminmenu .menu-icon-tools:hover div.wp-menu-image,
     1236#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image {
     1237        background: transparent url('../images/menu-vs.png') no-repeat scroll -211px -1px;
    12381238}
    12391239
    1240 #adminmenu #menu-settings div.wp-menu-image {
    1241         background: transparent url("../images/menu-vs.png") no-repeat scroll -241px -33px;
     1240#adminmenu .menu-icon-settings div.wp-menu-image {
     1241        background: transparent url('../images/menu-vs.png') no-repeat scroll -241px -33px;
    12421242}
    12431243
    1244 #adminmenu #menu-settings:hover div.wp-menu-image,
    1245 #adminmenu #menu-settings.wp-has-current-submenu div.wp-menu-image {
    1246         background: transparent url("../images/menu-vs.png") no-repeat scroll -241px -1px;
     1244#adminmenu .menu-icon-settings:hover div.wp-menu-image,
     1245#adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image {
     1246        background: transparent url('../images/menu-vs.png') no-repeat scroll -241px -1px;
    12471247}
    12481248/* end menu */
    12491249
  • wp-admin/css/colors-fresh.dev.css

     
    11401140}
    11411141
    11421142/* menu icons */
    1143 #adminmenu #menu-dashboard div.wp-menu-image {
    1144         background: transparent url("../images/menu.png") no-repeat scroll -61px -33px;
     1143#adminmenu .menu-icon-dashboard div.wp-menu-image {
     1144        background: transparent url('../images/menu.png') no-repeat scroll -61px -33px;
    11451145}
    11461146
    1147 #adminmenu #menu-dashboard:hover div.wp-menu-image,
    1148 #adminmenu  #menu-dashboard.wp-has-current-submenu div.wp-menu-image,
    1149 #adminmenu  #menu-dashboard.current div.wp-menu-image {
    1150         background: transparent url("../images/menu.png") no-repeat scroll -61px -1px;
     1147#adminmenu .menu-icon-dashboard:hover div.wp-menu-image,
     1148#adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image,
     1149#adminmenu .menu-icon-dashboard.current div.wp-menu-image {
     1150        background: transparent url('../images/menu.png') no-repeat scroll -61px -1px;
    11511151}
    11521152
    1153 #adminmenu #menu-posts div.wp-menu-image {
    1154         background: transparent url("../images/menu.png") no-repeat scroll -272px -33px;
     1153#adminmenu .menu-icon-posts div.wp-menu-image {
     1154        background: transparent url('../images/menu.png') no-repeat scroll -272px -33px;
    11551155}
    11561156
    1157 #adminmenu #menu-posts:hover div.wp-menu-image,
    1158 #adminmenu #menu-posts.wp-has-current-submenu div.wp-menu-image {
    1159         background: transparent url("../images/menu.png") no-repeat scroll -272px -1px;
     1157#adminmenu .menu-icon-posts:hover div.wp-menu-image,
     1158#adminmenu .menu-icon-posts.wp-has-current-submenu div.wp-menu-image {
     1159        background: transparent url('../images/menu.png') no-repeat scroll -272px -1px;
    11601160}
    11611161
    1162 #adminmenu #menu-media div.wp-menu-image {
    1163         background: transparent url("../images/menu.png") no-repeat scroll -121px -33px;
     1162#adminmenu .menu-icon-media div.wp-menu-image {
     1163        background: transparent url('../images/menu.png') no-repeat scroll -121px -33px;
    11641164}
    11651165
    1166 #adminmenu #menu-media:hover div.wp-menu-image,
    1167 #adminmenu #menu-media.wp-has-current-submenu div.wp-menu-image {
    1168         background: transparent url("../images/menu.png") no-repeat scroll -121px -1px;
     1166#adminmenu .menu-icon-media:hover div.wp-menu-image,
     1167#adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image {
     1168        background: transparent url('../images/menu.png') no-repeat scroll -121px -1px;
    11691169}
    11701170
    1171 #adminmenu #menu-links div.wp-menu-image {
    1172         background: transparent url("../images/menu.png") no-repeat scroll -91px -33px;
     1171#adminmenu .menu-icon-links div.wp-menu-image {
     1172        background: transparent url('../images/menu.png') no-repeat scroll -91px -33px;
    11731173}
    11741174
    1175 #adminmenu #menu-links:hover div.wp-menu-image,
    1176 #adminmenu #menu-links.wp-has-current-submenu div.wp-menu-image {
    1177         background: transparent url("../images/menu.png") no-repeat scroll -91px -1px;
     1175#adminmenu .menu-icon-links:hover div.wp-menu-image,
     1176#adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image {
     1177        background: transparent url('../images/menu.png') no-repeat scroll -91px -1px;
    11781178}
    11791179
    1180 #adminmenu #menu-pages div.wp-menu-image {
    1181         background: transparent url("../images/menu.png") no-repeat scroll -151px -33px;
     1180#adminmenu .menu-icon-pages div.wp-menu-image {
     1181        background: transparent url('../images/menu.png') no-repeat scroll -151px -33px;
    11821182}
    11831183
    1184 #adminmenu #menu-pages:hover div.wp-menu-image,
    1185 #adminmenu #menu-pages.wp-has-current-submenu div.wp-menu-image {
    1186         background: transparent url("../images/menu.png") no-repeat scroll -151px -1px;
     1184#adminmenu .menu-icon-pages:hover div.wp-menu-image,
     1185#adminmenu .menu-icon-pages.wp-has-current-submenu div.wp-menu-image {
     1186        background: transparent url('../images/menu.png') no-repeat scroll -151px -1px;
    11871187}
    11881188
    1189 #adminmenu #menu-comments div.wp-menu-image {
    1190         background: transparent url("../images/menu.png") no-repeat scroll -31px -33px;
     1189#adminmenu .menu-icon-comments div.wp-menu-image {
     1190        background: transparent url('../images/menu.png') no-repeat scroll -31px -33px;
    11911191}
    11921192
    1193 #adminmenu #menu-comments:hover div.wp-menu-image,
    1194 #adminmenu #menu-comments.wp-has-current-submenu div.wp-menu-image,
    1195 #adminmenu #menu-comments.current div.wp-menu-image {
    1196         background: transparent url("../images/menu.png") no-repeat scroll -31px -1px;
     1193#adminmenu .menu-icon-comments:hover div.wp-menu-image,
     1194#adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image,
     1195#adminmenu .menu-icon-comments.current div.wp-menu-image {
     1196        background: transparent url('../images/menu.png') no-repeat scroll -31px -1px;
    11971197}
    11981198
    1199 #adminmenu #menu-appearance div.wp-menu-image {
    1200         background: transparent url("../images/menu.png") no-repeat scroll -1px -33px;
     1199#adminmenu .menu-icon-appearance div.wp-menu-image {
     1200        background: transparent url('../images/menu.png') no-repeat scroll -1px -33px;
    12011201}
    12021202
    1203 #adminmenu #menu-appearance:hover div.wp-menu-image,
    1204 #adminmenu #menu-appearance.wp-has-current-submenu div.wp-menu-image {
    1205         background: transparent url("../images/menu.png") no-repeat scroll -1px -1px;
     1203#adminmenu .menu-icon-appearance:hover div.wp-menu-image,
     1204#adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image {
     1205        background: transparent url('../images/menu.png') no-repeat scroll -1px -1px;
    12061206}
    12071207
    1208 #adminmenu #menu-plugins div.wp-menu-image {
    1209         background: transparent url("../images/menu.png") no-repeat scroll -181px -33px;
     1208#adminmenu .menu-icon-plugins div.wp-menu-image {
     1209        background: transparent url('../images/menu.png') no-repeat scroll -181px -33px;
    12101210}
    12111211
    1212 #adminmenu #menu-plugins:hover div.wp-menu-image,
    1213 #adminmenu #menu-plugins.wp-has-current-submenu div.wp-menu-image {
    1214         background: transparent url("../images/menu.png") no-repeat scroll -181px -1px;
     1212#adminmenu .menu-icon-plugins:hover div.wp-menu-image,
     1213#adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image {
     1214        background: transparent url('../images/menu.png') no-repeat scroll -181px -1px;
    12151215}
    12161216
    1217 #adminmenu #menu-users div.wp-menu-image {
    1218         background: transparent url("../images/menu.png") no-repeat scroll -301px -33px;
     1217#adminmenu .menu-icon-users div.wp-menu-image {
     1218        background: transparent url('../images/menu.png') no-repeat scroll -301px -33px;
    12191219}
    12201220
    1221 #adminmenu #menu-users:hover div.wp-menu-image,
    1222 #adminmenu #menu-users.wp-has-current-submenu div.wp-menu-image {
    1223         background: transparent url("../images/menu.png") no-repeat scroll -301px -1px;
     1221#adminmenu .menu-icon-users:hover div.wp-menu-image,
     1222#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image {
     1223        background: transparent url('../images/menu.png') no-repeat scroll -301px -1px;
    12241224}
    12251225
    1226 #adminmenu #menu-tools div.wp-menu-image {
    1227         background: transparent url("../images/menu.png") no-repeat scroll -211px -33px;
     1226#adminmenu .menu-icon-tools div.wp-menu-image {
     1227        background: transparent url('../images/menu.png') no-repeat scroll -211px -33px;
    12281228}
    12291229
    1230 #adminmenu #menu-tools:hover div.wp-menu-image,
    1231 #adminmenu #menu-tools.wp-has-current-submenu div.wp-menu-image {
    1232         background: transparent url("../images/menu.png") no-repeat scroll -211px -1px;
     1230#adminmenu .menu-icon-tools:hover div.wp-menu-image,
     1231#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image {
     1232        background: transparent url('../images/menu.png') no-repeat scroll -211px -1px;
    12331233}
    12341234
    1235 #adminmenu #menu-settings div.wp-menu-image {
    1236         background: transparent url("../images/menu.png") no-repeat scroll -241px -33px;
     1235#adminmenu .menu-icon-settings div.wp-menu-image {
     1236        background: transparent url('../images/menu.png') no-repeat scroll -241px -33px;
    12371237}
    12381238
    1239 #adminmenu #menu-settings:hover div.wp-menu-image,
    1240 #adminmenu #menu-settings.wp-has-current-submenu div.wp-menu-image {
    1241         background: transparent url("../images/menu.png") no-repeat scroll -241px -1px;
     1239#adminmenu .menu-icon-settings:hover div.wp-menu-image,
     1240#adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image {
     1241        background: transparent url('../images/menu.png') no-repeat scroll -241px -1px;
    12421242}
    12431243/* end menu */
    12441244
  • wp-admin/css/ms.dev.css

     
    4141}
    4242
    4343/* Site Admin Menu */
    44 #adminmenu #menu-site div.wp-menu-image {
    45         background: transparent url("../images/site-admin.png") no-repeat scroll 0px -33px;
     44#adminmenu .menu-icon-site div.wp-menu-image {
     45        background: transparent url('../images/site-admin.png') no-repeat scroll 0px -33px;
    4646}
    4747
    48 #adminmenu #menu-site:hover div.wp-menu-image {
    49         background: transparent url("../images/site-admin.png") no-repeat scroll 0px -1px;
     48#adminmenu .menu-icon-site:hover div.wp-menu-image {
     49        background: transparent url('../images/site-admin.png') no-repeat scroll 0px -1px;
    5050}
    5151
    5252/* Dashboard: MU Specific Data */