WordPress.org

Make WordPress Core

Ticket #21019: HiDPI-wp-admin_css.diff

File HiDPI-wp-admin_css.diff, 3.6 KB (added by taylorde, 7 years ago)

Media Queries for HiDPI files added to wp-admin.css

  • wp-admin/css/wp-admin.dev.css

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    10411041        padding-left: 5px;
    10421042}
    10431043
    1044 
    1045 /*------------------------------------------------------------------------------
    1046   4.0 - Notifications
    1047 ------------------------------------------------------------------------------*/
     1044        /*------------------------------------------------------------------------------
     1045         4.0 - Notifications
     1046 ------------------------------------------------------------------------------*/
    10481047
    10491048#update-nag,
    10501049.update-nag {
     
    23432342}
    23442343
    23452344
     2345/**
     2346 * HiDPI graphics
     2347 */
     2348@media
     2349only screen and (-webkit-min-device-pixel-ratio: 1.5),
     2350only screen and (min-resolution: 150dpi) {
     2351
     2352        .welcome-panel .welcome-panel-close:before {
     2353                background-image: url("../images/xit-2x.gif");
     2354                background-size: 20px auto;
     2355        }
     2356
     2357}
     2358
    23462359/*------------------------------------------------------------------------------
    23472360  10.0 - List Posts (/Pages/etc)
    23482361------------------------------------------------------------------------------*/
     
    41924205        padding: 2px 10px;
    41934206}
    41944207
    4195 @media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     4208@media
     4209only screen and (-webkit-min-device-pixel-ratio: 1.5),
     4210only screen and (min-resolution: 150dpi) {
     4211
    41964212        .imgedit-crop,
    41974213        .imgedit-rleft,
    41984214        .imgedit-rright,
     
    42004216        .imgedit-fliph,
    42014217        .imgedit-undo,
    42024218        .imgedit-redo {
    4203                 background-image: url('../images/imgedit-icons-2x.png');
     4219                background-image: url("../images/imgedit-icons-2x.png");
    42044220                background-size: 260px 64px;
    42054221        }
    4206 }
     4222
     4223        .imgedit-wait {
     4224                background-image: url("../images/wpspin_light-2x.gif");
     4225                background-size: 16px 16px;
     4226        }
    42074227
     4228}
     4229
    42084230/*------------------------------------------------------------------------------
    42094231  15.0 - Comments Screen
    42104232------------------------------------------------------------------------------*/
     
    54505472        transition-duration:         0.2s;
    54515473}
    54525474
     5475@media
     5476only screen and (-webkit-min-device-pixel-ratio: 1.5),
     5477only screen and (min-resolution: 150dpi) {
     5478
     5479        .wp-full-overlay .collapse-sidebar-arrow {
     5480                background-image: url("../images/arrows-2x.png");
     5481                background-size: 15px 123px;
     5482        }
     5483
     5484}
     5485
    54535486/*------------------------------------------------------------------------------
    54545487  24.0 - Customize Loader
    54555488------------------------------------------------------------------------------*/
     
    55595592        line-height: 20px;
    55605593}
    55615594
     5595@media
     5596only screen and (-webkit-min-device-pixel-ratio: 1.5),
     5597only screen and (min-resolution: 150dpi) {
     5598
     5599        .customize-loading #customize-container {
     5600                background-image: url("../images/wpspin_light.gif");
     5601                background-size: 16px 16px;
     5602        }
     5603
     5604}
     5605
    55625606/*------------------------------------------------------------------------------
    55635607  25.0 - Misc
    55645608------------------------------------------------------------------------------*/
     
    81608204                max-width: 400px;
    81618205                width: auto;
    81628206        }
     8207}
     8208
     8209@media
     8210only screen and (-webkit-min-device-pixel-ratio: 1.5),
     8211only screen and (min-resolution: 150dpi) {
     8212
     8213        .press-this .tagchecklist span a {
     8214                background-image: url("../images/xit-2x.gif");
     8215                background-size: 20px auto;
     8216        }
     8217
     8218        .postbox:hover .handlediv,
     8219        .stuffbox:hover .handlediv,
     8220        .widget-top a.widget-action {
     8221                background-image: url("../images/arrows-2x.png");
     8222                background-size: 15px 123px;
     8223        }
     8224
     8225        .widget-top a.widget-action:hover {
     8226                background-image: url("../images/arrows-dark-2x.png");
     8227                background-size: 15px 123px;
     8228        }
     8229
    81638230}
    81648231
    81658232/* =Localized CSS