Revisions: Loading indicator, cleanup, bug fixes.
* Loading indicator when the user is waiting for a trip to the server. * Bug fixes for diff priming. * Fix the date display. * Forget about local comparator, instead order by `modified` on the server. * Initialize the frame model before the view (this was the source of a LOT of heartache). git-svn-id: http://core.svn.wordpress.org/trunk@24667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -3538,6 +3538,39 @@ td.plugin-title p {
|
||||
height: 140px;
|
||||
}
|
||||
|
||||
.revisions .loading-indicator {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
opacity: 0;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
height: 32px;
|
||||
top: 3em;
|
||||
background: #fff url(../images/wpspin_light-2x.gif) no-repeat center top;
|
||||
-webkit-transition: opacity 0.5s;
|
||||
-moz-transition: opacity 0.5s;
|
||||
-ms-transition: opacity 0.5s;
|
||||
-o-transition: opacity 0.5s;
|
||||
transition: opacity 0.5s;
|
||||
}
|
||||
|
||||
.revisions.loading .loading-indicator {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.revisions .diff {
|
||||
-webkit-transition: opacity 0.5s;
|
||||
-moz-transition: opacity 0.5s;
|
||||
-ms-transition: opacity 0.5s;
|
||||
-o-transition: opacity 0.5s;
|
||||
transition: opacity 0.5s;
|
||||
}
|
||||
|
||||
.revisions.loading .diff {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.revisions-meta {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user