Theme Customizer: Add basic loading indicator when loading the customizer inside an iframe. see #19910.

git-svn-id: https://develop.svn.wordpress.org/trunk@20743 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-05-08 23:37:05 +00:00
parent 9116865432
commit e1e949728c
2 changed files with 20 additions and 1 deletions

View File

@@ -5324,11 +5324,25 @@ body.full-overlay-active {
display: block;
}
.customize-loading #customize-container iframe {
opacity: 0;
}
.customize-loading #customize-container {
background: #fff url("../images/wpspin_light.gif") no-repeat fixed center center;
}
#customize-container iframe,
#theme-installer iframe {
height: 100%;
width: 100%;
z-index: 20;
-webkit-transition: opacity 0.3s;
-moz-transition: opacity 0.3s;
-ms-transition: opacity 0.3s;
-o-transition: opacity 0.3s;
transition: opacity 0.3s;
}
#customize-container .collapse-sidebar {