Customizer: Add loading indicators for the Customizer preview.

props Fab1en, westonruter.
fixes #31196.
Built from https://develop.svn.wordpress.org/trunk@31697


git-svn-id: http://core.svn.wordpress.org/trunk@31678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling
2015-03-10 15:56:26 +00:00
parent 13ad2d4e16
commit 3349b7d25b
10 changed files with 72 additions and 8 deletions

View File

@@ -1352,6 +1352,16 @@ body.full-overlay-active {
height: 100%;
}
#customize-preview.wp-full-overlay-main {
background: url(../images/spinner.gif) no-repeat center center;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
}
#customize-preview.wp-full-overlay-main.iframe-ready {
background: none;
}
.wp-full-overlay-sidebar .wp-full-overlay-header {
position: absolute;
right: 0;
@@ -1710,6 +1720,7 @@ body.full-overlay-active {
background-size: 15px 123px;
}
#customize-preview.wp-full-overlay-main,
.customize-loading #customize-container,
.theme-install-overlay .wp-full-overlay-main {
background-image: url(../images/spinner-2x.gif);

View File

@@ -1352,6 +1352,16 @@ body.full-overlay-active {
height: 100%;
}
#customize-preview.wp-full-overlay-main {
background: url(../images/spinner.gif) no-repeat center center;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
}
#customize-preview.wp-full-overlay-main.iframe-ready {
background: none;
}
.wp-full-overlay-sidebar .wp-full-overlay-header {
position: absolute;
left: 0;
@@ -1710,6 +1720,7 @@ body.full-overlay-active {
background-size: 15px 123px;
}
#customize-preview.wp-full-overlay-main,
.customize-loading #customize-container,
.theme-install-overlay .wp-full-overlay-main {
background-image: url(../images/spinner-2x.gif);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long