WordPress.org

Make WordPress Core

Changeset 36518


Ignore:
Timestamp:
02/12/2016 06:34:46 PM (4 years ago)
Author:
afercia
Message:

Customizer: reduce the spinner re-painted area to the smallest possible one.

Also, changes the "customize container" and the theme installer preview
background from white to the default body #f1f1f1 background.

Fixes #35649.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/themes.css

    r36422 r36518  
    12811281}
    12821282
    1283 #customize-preview.wp-full-overlay-main {
    1284     background: url(../images/spinner.gif) no-repeat center center;
    1285     -webkit-background-size: 20px 20px;
    1286     background-size: 20px 20px;
    1287 }
    1288 
    1289 #customize-preview.wp-full-overlay-main.iframe-ready {
    1290     background: none;
    1291 }
    1292 
    12931283.wp-full-overlay-sidebar .wp-full-overlay-header {
    12941284    position: absolute;
     
    15251515}
    15261516
    1527 .customize-loading #customize-container {
    1528     background: #fff url(../images/spinner.gif) no-repeat fixed center center;
    1529     -webkit-background-size: 20px 20px;
    1530     background-size: 20px 20px;
    1531 }
    1532 
    15331517#customize-container iframe,
    15341518.theme-install-overlay iframe {
     
    16191603    position: relative;
    16201604    z-index: 0;
    1621     background-color: #fff;
    1622 }
    1623 
     1605    background-color: #f1f1f1;
     1606}
     1607
     1608.customize-loading #customize-container {
     1609    background-color: #f1f1f1;
     1610}
     1611
     1612#customize-preview.wp-full-overlay-main:before,
     1613.customize-loading #customize-container:before,
    16241614.theme-install-overlay .wp-full-overlay-main:before {
    1625     content: '';
     1615    content: "";
    16261616    display: block;
    16271617    width: 20px;
     
    16341624    -webkit-transform: translateZ(0);
    16351625    transform: translateZ(0);
    1636     background: #fff url(../images/spinner.gif) no-repeat center center;
     1626    background: transparent url(../images/spinner.gif) no-repeat center center;
    16371627    -webkit-background-size: 20px 20px;
    16381628    background-size: 20px 20px;
    16391629}
    16401630
     1631#customize-preview.wp-full-overlay-main.iframe-ready:before,
    16411632.theme-install-overlay.iframe-ready .wp-full-overlay-main:before {
    16421633    background-image: none;
     
    16581649    }
    16591650
    1660     #customize-preview.wp-full-overlay-main,
    1661     .customize-loading #customize-container,
     1651    #customize-preview.wp-full-overlay-main:before,
     1652    .customize-loading #customize-container:before,
    16621653    .theme-install-overlay .wp-full-overlay-main:before {
    16631654        background-image: url(../images/spinner-2x.gif);
Note: See TracChangeset for help on using the changeset viewer.