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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user