Revisions: Properly position the spinner on Compare Revisions screen.
props vinod dalvi for initial patch. fixes #28590. Built from https://develop.svn.wordpress.org/trunk@29054 git-svn-id: http://core.svn.wordpress.org/trunk@28842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b46ab8d896
commit
a1be1de583
|
@ -73,12 +73,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.revisions .loading-indicator {
|
.revisions .loading-indicator {
|
||||||
position: fixed;
|
position: absolute;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
width: -webkit-calc( 100% - 30px );
|
||||||
|
width: calc( 100% - 30px );
|
||||||
top: 50%;
|
top: 50%;
|
||||||
margin-right: -90px;
|
top: -webkit-calc( 50% - 10px );
|
||||||
|
top: calc( 50% - 10px );
|
||||||
-webkit-transition: opacity 0.5s;
|
-webkit-transition: opacity 0.5s;
|
||||||
transition: opacity 0.5s;
|
transition: opacity 0.5s;
|
||||||
filter: alpha(opacity=0); /* ie8 and earlier */
|
filter: alpha(opacity=0); /* ie8 and earlier */
|
||||||
|
|
|
@ -73,12 +73,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.revisions .loading-indicator {
|
.revisions .loading-indicator {
|
||||||
position: fixed;
|
position: absolute;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
width: -webkit-calc( 100% - 30px );
|
||||||
|
width: calc( 100% - 30px );
|
||||||
top: 50%;
|
top: 50%;
|
||||||
margin-left: -90px;
|
top: -webkit-calc( 50% - 10px );
|
||||||
|
top: calc( 50% - 10px );
|
||||||
-webkit-transition: opacity 0.5s;
|
-webkit-transition: opacity 0.5s;
|
||||||
transition: opacity 0.5s;
|
transition: opacity 0.5s;
|
||||||
filter: alpha(opacity=0); /* ie8 and earlier */
|
filter: alpha(opacity=0); /* ie8 and earlier */
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue