WordPress.org

Make WordPress Core

Changeset 21246


Ignore:
Timestamp:
07/09/2012 06:53:43 AM (7 years ago)
Author:
azaozz
Message:

Add 2x icons for the list/excerpt switch on the Posts screen, props empireoflight, see #21019

Location:
trunk/wp-admin
Files:
1 added
2 edited

Legend:

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

    r21188 r21246  
    20572057}
    20582058
     2059.view-switch #view-switch-list,
     2060.view-switch #view-switch-excerpt {
     2061    background-color: transparent;
     2062    background-image: url('../images/list.png');
     2063    background-repeat: no-repeat;
     2064}
     2065
    20592066.view-switch #view-switch-list {
    2060     background: transparent url(../images/list.png) no-repeat 0 0;
     2067    background-position: 0 0;
    20612068}
    20622069
    20632070.view-switch .current #view-switch-list {
    2064     background: transparent url(../images/list.png) no-repeat -40px 0;
     2071    background-position: -40px 0;
    20652072}
    20662073
    20672074.view-switch #view-switch-excerpt {
    2068     background: transparent url(../images/list.png) no-repeat -20px 0;
     2075    background-position: -20px 0;
    20692076}
    20702077
    20712078.view-switch .current #view-switch-excerpt {
    2072     background: transparent url(../images/list.png) no-repeat -60px 0;
     2079    background-position: -60px 0;
     2080}
     2081
     2082@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     2083    .view-switch #view-switch-list,
     2084    .view-switch #view-switch-excerpt {
     2085        background-image: url('../images/list-2x.png');
     2086        background-size: 80px 20px;
     2087    }
    20732088}
    20742089
  • trunk/wp-admin/css/colors-fresh.dev.css

    r21188 r21246  
    16731673}
    16741674
     1675.view-switch #view-switch-list,
     1676.view-switch #view-switch-excerpt {
     1677    background-color: transparent;
     1678    background-image: url('../images/list.png');
     1679    background-repeat: no-repeat;
     1680}
     1681
    16751682.view-switch #view-switch-list {
    1676     background: transparent url(../images/list.png) no-repeat 0 0;
     1683    background-position: 0 0;
    16771684}
    16781685
    16791686.view-switch .current #view-switch-list {
    1680     background: transparent url(../images/list.png) no-repeat -40px 0;
     1687    background-position: -40px 0;
    16811688}
    16821689
    16831690.view-switch #view-switch-excerpt {
    1684     background: transparent url(../images/list.png) no-repeat -20px 0;
     1691    background-position: -20px 0;
    16851692}
    16861693
    16871694.view-switch .current #view-switch-excerpt {
    1688     background: transparent url(../images/list.png) no-repeat -60px 0;
     1695    background-position: -60px 0;
     1696}
     1697
     1698@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     1699    .view-switch #view-switch-list,
     1700    .view-switch #view-switch-excerpt {
     1701        background-image: url('../images/list-2x.png');
     1702        background-size: 80px 20px;
     1703    }
    16891704}
    16901705
Note: See TracChangeset for help on using the changeset viewer.