WordPress.org

Make WordPress Core

Changeset 22767


Ignore:
Timestamp:
11/21/2012 03:37:43 PM (6 years ago)
Author:
nacin
Message:

Move the admin menu icons up one pixel, to restore their 3.4 positioning. props lessbloat. fixes #22527.

Location:
trunk/wp-admin/css
Files:
2 edited

Legend:

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

    r22723 r22767  
    12051205.icon16.icon-dashboard,
    12061206#adminmenu .menu-icon-dashboard div.wp-menu-image {
    1207     background-position: -59px -33px;
     1207    background-position: -59px -34px;
    12081208}
    12091209
     
    12111211#adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image,
    12121212#adminmenu .menu-icon-dashboard.current div.wp-menu-image {
    1213     background-position: -59px -1px;
     1213    background-position: -59px -2px;
    12141214}
    12151215
    12161216.icon16.icon-post,
    12171217#adminmenu .menu-icon-post div.wp-menu-image {
    1218     background-position: -269px -33px;
     1218    background-position: -269px -34px;
    12191219}
    12201220
     
    12221222#adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image,
    12231223#adminmenu .menu-icon-post.current div.wp-menu-image {
    1224     background-position: -269px -1px;
     1224    background-position: -269px -2px;
    12251225}
    12261226
    12271227.icon16.icon-media,
    12281228#adminmenu .menu-icon-media div.wp-menu-image {
    1229     background-position: -119px -33px;
     1229    background-position: -119px -34px;
    12301230}
    12311231
     
    12331233#adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image,
    12341234#adminmenu .menu-icon-media.current div.wp-menu-image {
    1235     background-position: -119px -1px;
     1235    background-position: -119px -2px;
    12361236}
    12371237
    12381238.icon16.icon-links,
    12391239#adminmenu .menu-icon-links div.wp-menu-image {
    1240     background-position: -89px -33px;
     1240    background-position: -89px -34px;
    12411241}
    12421242
     
    12441244#adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image,
    12451245#adminmenu .menu-icon-links.current div.wp-menu-image {
    1246     background-position: -89px -1px;
     1246    background-position: -89px -2px;
    12471247}
    12481248
    12491249.icon16.icon-page,
    12501250#adminmenu .menu-icon-page div.wp-menu-image {
    1251     background-position: -149px -33px;
     1251    background-position: -149px -34px;
    12521252}
    12531253
     
    12551255#adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image,
    12561256#adminmenu .menu-icon-page.current div.wp-menu-image {
    1257     background-position: -149px -1px;
     1257    background-position: -149px -2px;
    12581258}
    12591259
    12601260.icon16.icon-comments,
    12611261#adminmenu .menu-icon-comments div.wp-menu-image {
    1262     background-position: -29px -33px;
     1262    background-position: -29px -34px;
    12631263}
    12641264
     
    12661266#adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image,
    12671267#adminmenu .menu-icon-comments.current div.wp-menu-image {
    1268     background-position: -29px -1px;
     1268    background-position: -29px -2px;
    12691269}
    12701270
    12711271.icon16.icon-appearance,
    12721272#adminmenu .menu-icon-appearance div.wp-menu-image {
    1273     background-position: 1px -33px;
     1273    background-position: 1px -34px;
    12741274}
    12751275
     
    12771277#adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image,
    12781278#adminmenu .menu-icon-appearance.current div.wp-menu-image {
    1279     background-position: 1px -1px;
     1279    background-position: 1px -2px;
    12801280}
    12811281
    12821282.icon16.icon-plugins,
    12831283#adminmenu .menu-icon-plugins div.wp-menu-image {
    1284     background-position: -179px -33px;
     1284    background-position: -179px -34px;
    12851285}
    12861286
     
    12881288#adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image,
    12891289#adminmenu .menu-icon-plugins.current div.wp-menu-image {
    1290     background-position: -179px -1px;
     1290    background-position: -179px -2px;
    12911291}
    12921292
    12931293.icon16.icon-users,
    12941294#adminmenu .menu-icon-users div.wp-menu-image {
    1295     background-position: -300px -33px;
     1295    background-position: -300px -34px;
    12961296}
    12971297
     
    12991299#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image,
    13001300#adminmenu .menu-icon-users.current div.wp-menu-image {
    1301     background-position: -300px -1px;
     1301    background-position: -300px -2px;
    13021302}
    13031303
    13041304.icon16.icon-tools,
    13051305#adminmenu .menu-icon-tools div.wp-menu-image {
    1306     background-position: -209px -33px;
     1306    background-position: -209px -34px;
    13071307}
    13081308
     
    13101310#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image,
    13111311#adminmenu .menu-icon-tools.current div.wp-menu-image {
    1312     background-position: -209px -1px;
     1312    background-position: -209px -2px;
    13131313}
    13141314
    13151315.icon16.icon-settings,
    13161316#adminmenu .menu-icon-settings div.wp-menu-image {
    1317     background-position: -239px -33px;
     1317    background-position: -239px -34px;
    13181318}
    13191319
     
    13211321#adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image,
    13221322#adminmenu .menu-icon-settings.current div.wp-menu-image {
    1323     background-position: -239px -1px;
     1323    background-position: -239px -2px;
    13241324}
    13251325
    13261326.icon16.icon-site,
    13271327#adminmenu .menu-icon-site div.wp-menu-image {
    1328     background-position: -359px -33px;
     1328    background-position: -359px -34px;
    13291329}
    13301330
     
    13321332#adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image,
    13331333#adminmenu .menu-icon-site.current div.wp-menu-image {
    1334     background-position: -359px -1px;
     1334    background-position: -359px -2px;
    13351335}
    13361336
  • trunk/wp-admin/css/colors-fresh.css

    r22723 r22767  
    10981098.icon16.icon-dashboard,
    10991099#adminmenu .menu-icon-dashboard div.wp-menu-image {
    1100     background-position: -59px -33px;
     1100    background-position: -59px -34px;
    11011101}
    11021102
     
    11041104#adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image,
    11051105#adminmenu .menu-icon-dashboard.current div.wp-menu-image {
    1106     background-position: -59px -1px;
     1106    background-position: -59px -2px;
    11071107}
    11081108
    11091109.icon16.icon-post,
    11101110#adminmenu .menu-icon-post div.wp-menu-image {
    1111     background-position: -269px -33px;
     1111    background-position: -269px -34px;
    11121112}
    11131113
     
    11151115#adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image,
    11161116#adminmenu .menu-icon-post.current div.wp-menu-image {
    1117     background-position: -269px -1px;
     1117    background-position: -269px -2px;
    11181118}
    11191119
    11201120.icon16.icon-media,
    11211121#adminmenu .menu-icon-media div.wp-menu-image {
    1122     background-position: -119px -33px;
     1122    background-position: -119px -34px;
    11231123}
    11241124
     
    11261126#adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image,
    11271127#adminmenu .menu-icon-media.current div.wp-menu-image {
    1128     background-position: -119px -1px;
     1128    background-position: -119px -2px;
    11291129}
    11301130
    11311131.icon16.icon-links,
    11321132#adminmenu .menu-icon-links div.wp-menu-image {
    1133     background-position: -89px -33px;
     1133    background-position: -89px -34px;
    11341134}
    11351135
     
    11371137#adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image,
    11381138#adminmenu .menu-icon-links.current div.wp-menu-image {
    1139     background-position: -89px -1px;
     1139    background-position: -89px -2px;
    11401140}
    11411141
    11421142.icon16.icon-page,
    11431143#adminmenu .menu-icon-page div.wp-menu-image {
    1144     background-position: -149px -33px;
     1144    background-position: -149px -34px;
    11451145}
    11461146
     
    11481148#adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image,
    11491149#adminmenu .menu-icon-page.current div.wp-menu-image {
    1150     background-position: -149px -1px;
     1150    background-position: -149px -2px;
    11511151}
    11521152
    11531153.icon16.icon-comments,
    11541154#adminmenu .menu-icon-comments div.wp-menu-image {
    1155     background-position: -29px -33px;
     1155    background-position: -29px -34px;
    11561156}
    11571157
     
    11591159#adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image,
    11601160#adminmenu .menu-icon-comments.current div.wp-menu-image {
    1161     background-position: -29px -1px;
     1161    background-position: -29px -2px;
    11621162}
    11631163
    11641164.icon16.icon-appearance,
    11651165#adminmenu .menu-icon-appearance div.wp-menu-image {
    1166     background-position: 1px -33px;
     1166    background-position: 1px -34px;
    11671167}
    11681168
     
    11701170#adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image,
    11711171#adminmenu .menu-icon-appearance.current div.wp-menu-image {
    1172     background-position: 1px -1px;
     1172    background-position: 1px -2px;
    11731173}
    11741174
    11751175.icon16.icon-plugins,
    11761176#adminmenu .menu-icon-plugins div.wp-menu-image {
    1177     background-position: -179px -33px;
     1177    background-position: -179px -34px;
    11781178}
    11791179
     
    11811181#adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image,
    11821182#adminmenu .menu-icon-plugins.current div.wp-menu-image {
    1183     background-position: -179px -1px;
     1183    background-position: -179px -2px;
    11841184}
    11851185
    11861186.icon16.icon-users,
    11871187#adminmenu .menu-icon-users div.wp-menu-image {
    1188     background-position: -300px -33px;
     1188    background-position: -300px -34px;
    11891189}
    11901190
     
    11921192#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image,
    11931193#adminmenu .menu-icon-users.current div.wp-menu-image {
    1194     background-position: -300px -1px;
     1194    background-position: -300px -2px;
    11951195}
    11961196
    11971197.icon16.icon-tools,
    11981198#adminmenu .menu-icon-tools div.wp-menu-image {
    1199     background-position: -209px -33px;
     1199    background-position: -209px -34px;
    12001200}
    12011201
     
    12031203#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image,
    12041204#adminmenu .menu-icon-tools.current div.wp-menu-image {
    1205     background-position: -209px -1px;
     1205    background-position: -209px -2px;
    12061206}
    12071207
    12081208.icon16.icon-settings,
    12091209#adminmenu .menu-icon-settings div.wp-menu-image {
    1210     background-position: -239px -33px;
     1210    background-position: -239px -34px;
    12111211}
    12121212
     
    12141214#adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image,
    12151215#adminmenu .menu-icon-settings.current div.wp-menu-image {
    1216     background-position: -239px -1px;
     1216    background-position: -239px -2px;
    12171217}
    12181218
    12191219.icon16.icon-site,
    12201220#adminmenu .menu-icon-site div.wp-menu-image {
    1221     background-position: -359px -33px;
     1221    background-position: -359px -34px;
    12221222}
    12231223
     
    12251225#adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image,
    12261226#adminmenu .menu-icon-site.current div.wp-menu-image {
    1227     background-position: -359px -1px;
     1227    background-position: -359px -2px;
    12281228}
    12291229
Note: See TracChangeset for help on using the changeset viewer.