mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Press This:
- Show a spinner while saving a post. - Do not redirect after saving a draft. - Make the unidentified error message clearer. Fixes #31875. git-svn-id: https://develop.svn.wordpress.org/trunk@31992 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1363,6 +1363,33 @@ html {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
display: inline-block;
|
||||
visibility: hidden;
|
||||
background: url(../images/spinner.gif) no-repeat center;
|
||||
-webkit-background-size: 20px 20px;
|
||||
background-size: 20px 20px;
|
||||
opacity: 0.7;
|
||||
filter: alpha(opacity=70);
|
||||
line-height: 30px;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
@media print,
|
||||
(-webkit-min-device-pixel-ratio: 1.25),
|
||||
(min-resolution: 120dpi) {
|
||||
|
||||
.spinner {
|
||||
background-image: url(../images/spinner-2x.gif);
|
||||
}
|
||||
}
|
||||
|
||||
.spinner.is-visible {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
/* Make the text inside the editor textarea white. Prevents a "flash" on loading the page */
|
||||
#pressthis {
|
||||
color: #fff;
|
||||
|
||||
Reference in New Issue
Block a user