Make WordPress Core

Changeset 20364


Ignore:
Timestamp:
04/05/2012 01:30:06 AM (13 years ago)
Author:
azaozz
Message:

More specific selectors for the 2x images take 2, don't specify background-size for the 1x background, see #20293

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

Legend:

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

    r20362 r20364  
    14211421}
    14221422
    1423 .icon16,
    1424 div.wp-menu-image {
     1423.icon16.icon-post,
     1424.menu-icon-post div.wp-menu-image,
     1425.icon16.icon-media,
     1426.menu-icon-media div.wp-menu-image,
     1427.icon16.icon-links,
     1428.menu-icon-links div.wp-menu-image,
     1429.icon16.icon-page,
     1430.menu-icon-page div.wp-menu-image,
     1431.icon16.icon-comments,
     1432.menu-icon-comments div.wp-menu-image,
     1433.icon16.icon-appearance,
     1434.menu-icon-appearance div.wp-menu-image,
     1435.icon16.icon-plugins,
     1436.menu-icon-plugins div.wp-menu-image,
     1437.icon16.icon-users,
     1438.menu-icon-users div.wp-menu-image,
     1439.icon16.icon-tools,
     1440.menu-icon-tools div.wp-menu-image,
     1441.icon16.icon-settings,
     1442.menu-icon-settings div.wp-menu-image,
     1443.icon16.icon-site,
     1444.menu-icon-site div.wp-menu-image {
    14251445    background-image: url('../images/menu-vs.png?ver=20120201');
    1426     background-size: 390px 64px;
    14271446}
    14281447
     
    15611580
    15621581/* Screen Icons */
    1563 div.icon32 {
     1582.icon32.icon-post,
     1583#icon-edit,
     1584#icon-post,
     1585.icon32.icon-dashboard,
     1586#icon-index,
     1587.icon32.icon-media,
     1588#icon-upload,
     1589.icon32.icon-links,
     1590#icon-link-manager,
     1591#icon-link,
     1592#icon-link-category,
     1593.icon32.icon-page,
     1594#icon-edit-pages,
     1595#icon-page,
     1596.icon32.icon-comments,
     1597#icon-edit-comments,
     1598.icon32.icon-appearance,
     1599#icon-themes,
     1600.icon32.icon-plugins,
     1601#icon-plugins,
     1602.icon32.icon-users,
     1603#icon-users,
     1604#icon-profile,
     1605#icon-user-edit,
     1606.icon32.icon-tools,
     1607#icon-tools,
     1608#icon-admin,
     1609.icon32.icon-settings,
     1610#icon-options-general,
     1611.icon32.icon-site,
     1612#icon-ms-admin {
    15641613    background-image: url(../images/icons32-vs.png?ver=20111206);
    1565     background-size: 708px 45px;
    15661614}
    15671615
     
    16341682
    16351683@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
    1636     div.icon32 {
     1684    .icon32.icon-post,
     1685    #icon-edit,
     1686    #icon-post,
     1687    .icon32.icon-dashboard,
     1688    #icon-index,
     1689    .icon32.icon-media,
     1690    #icon-upload,
     1691    .icon32.icon-links,
     1692    #icon-link-manager,
     1693    #icon-link,
     1694    #icon-link-category,
     1695    .icon32.icon-page,
     1696    #icon-edit-pages,
     1697    #icon-page,
     1698    .icon32.icon-comments,
     1699    #icon-edit-comments,
     1700    .icon32.icon-appearance,
     1701    #icon-themes,
     1702    .icon32.icon-plugins,
     1703    #icon-plugins,
     1704    .icon32.icon-users,
     1705    #icon-users,
     1706    #icon-profile,
     1707    #icon-user-edit,
     1708    .icon32.icon-tools,
     1709    #icon-tools,
     1710    #icon-admin,
     1711    .icon32.icon-settings,
     1712    #icon-options-general,
     1713    .icon32.icon-site,
     1714    #icon-ms-admin {
    16371715        background-image: url(../images/icons32-2x.png?ver=20120412);
    16381716        background-size: 708px 45px;
  • trunk/wp-admin/css/colors-fresh.dev.css

    r20362 r20364  
    11121112}
    11131113
    1114 .icon16,
    1115 div.wp-menu-image {
     1114.icon16.icon-post,
     1115.menu-icon-post div.wp-menu-image,
     1116.icon16.icon-media,
     1117.menu-icon-media div.wp-menu-image,
     1118.icon16.icon-links,
     1119.menu-icon-links div.wp-menu-image,
     1120.icon16.icon-page,
     1121.menu-icon-page div.wp-menu-image,
     1122.icon16.icon-comments,
     1123.menu-icon-comments div.wp-menu-image,
     1124.icon16.icon-appearance,
     1125.menu-icon-appearance div.wp-menu-image,
     1126.icon16.icon-plugins,
     1127.menu-icon-plugins div.wp-menu-image,
     1128.icon16.icon-users,
     1129.menu-icon-users div.wp-menu-image,
     1130.icon16.icon-tools,
     1131.menu-icon-tools div.wp-menu-image,
     1132.icon16.icon-settings,
     1133.menu-icon-settings div.wp-menu-image,
     1134.icon16.icon-site,
     1135.menu-icon-site div.wp-menu-image {
    11161136    background-image: url('../images/menu.png?ver=20120201');
    1117     background-size: 390px 64px;
    11181137}
    11191138
     
    12521271
    12531272/* Screen Icons */
    1254 div.icon32 {
     1273.icon32.icon-post,
     1274#icon-edit,
     1275#icon-post,
     1276.icon32.icon-dashboard,
     1277#icon-index,
     1278.icon32.icon-media,
     1279#icon-upload,
     1280.icon32.icon-links,
     1281#icon-link-manager,
     1282#icon-link,
     1283#icon-link-category,
     1284.icon32.icon-page,
     1285#icon-edit-pages,
     1286#icon-page,
     1287.icon32.icon-comments,
     1288#icon-edit-comments,
     1289.icon32.icon-appearance,
     1290#icon-themes,
     1291.icon32.icon-plugins,
     1292#icon-plugins,
     1293.icon32.icon-users,
     1294#icon-users,
     1295#icon-profile,
     1296#icon-user-edit,
     1297.icon32.icon-tools,
     1298#icon-tools,
     1299#icon-admin,
     1300.icon32.icon-settings,
     1301#icon-options-general,
     1302.icon32.icon-site,
     1303#icon-ms-admin {
    12551304    background-image: url(../images/icons32.png?ver=20111206);
    1256     background-size: 708px 45px;
    12571305}
    12581306
     
    13251373
    13261374@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
    1327     div.icon32 {
     1375    .icon32.icon-post,
     1376    #icon-edit,
     1377    #icon-post,
     1378    .icon32.icon-dashboard,
     1379    #icon-index,
     1380    .icon32.icon-media,
     1381    #icon-upload,
     1382    .icon32.icon-links,
     1383    #icon-link-manager,
     1384    #icon-link,
     1385    #icon-link-category,
     1386    .icon32.icon-page,
     1387    #icon-edit-pages,
     1388    #icon-page,
     1389    .icon32.icon-comments,
     1390    #icon-edit-comments,
     1391    .icon32.icon-appearance,
     1392    #icon-themes,
     1393    .icon32.icon-plugins,
     1394    #icon-plugins,
     1395    .icon32.icon-users,
     1396    #icon-users,
     1397    #icon-profile,
     1398    #icon-user-edit,
     1399    .icon32.icon-tools,
     1400    #icon-tools,
     1401    #icon-admin,
     1402    .icon32.icon-settings,
     1403    #icon-options-general,
     1404    .icon32.icon-site,
     1405    #icon-ms-admin {
    13281406        background-image: url(../images/icons32-2x.png?ver=20120412);
    13291407        background-size: 708px 45px;
Note: See TracChangeset for help on using the changeset viewer.