Theme Installer: Center spinner, remove plural string.
fixes #27581. see #27055. Built from https://develop.svn.wordpress.org/trunk@27940 git-svn-id: http://core.svn.wordpress.org/trunk@27770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b48021f65f
commit
be70db8c5f
|
@ -1413,10 +1413,11 @@ body.show-upload-theme p.no-themes {
|
||||||
.rating-100 span.five:before {
|
.rating-100 span.five:before {
|
||||||
content: "\f155";
|
content: "\f155";
|
||||||
}
|
}
|
||||||
.rating .votes {
|
.rating .ratings {
|
||||||
display: inline;
|
display: inline;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
color: #999;
|
||||||
}
|
}
|
||||||
.loading-themes .theme-browser,
|
.loading-themes .theme-browser,
|
||||||
.error .theme-browser {
|
.error .theme-browser {
|
||||||
|
@ -1829,7 +1830,7 @@ body.full-overlay-active {
|
||||||
}
|
}
|
||||||
|
|
||||||
#theme-installer .wp-full-overlay-main {
|
#theme-installer .wp-full-overlay-main {
|
||||||
background: #fff url(../images/spinner.gif) no-repeat fixed center center;
|
background: #fff url(../images/spinner.gif) no-repeat center center;
|
||||||
-webkit-background-size: 20px 20px;
|
-webkit-background-size: 20px 20px;
|
||||||
background-size: 20px 20px;
|
background-size: 20px 20px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1413,10 +1413,11 @@ body.show-upload-theme p.no-themes {
|
||||||
.rating-100 span.five:before {
|
.rating-100 span.five:before {
|
||||||
content: "\f155";
|
content: "\f155";
|
||||||
}
|
}
|
||||||
.rating .votes {
|
.rating .ratings {
|
||||||
display: inline;
|
display: inline;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
color: #999;
|
||||||
}
|
}
|
||||||
.loading-themes .theme-browser,
|
.loading-themes .theme-browser,
|
||||||
.error .theme-browser {
|
.error .theme-browser {
|
||||||
|
@ -1829,7 +1830,7 @@ body.full-overlay-active {
|
||||||
}
|
}
|
||||||
|
|
||||||
#theme-installer .wp-full-overlay-main {
|
#theme-installer .wp-full-overlay-main {
|
||||||
background: #fff url(../images/spinner.gif) no-repeat fixed center center;
|
background: #fff url(../images/spinner.gif) no-repeat center center;
|
||||||
-webkit-background-size: 20px 20px;
|
-webkit-background-size: 20px 20px;
|
||||||
background-size: 20px 20px;
|
background-size: 20px 20px;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -212,7 +212,11 @@ if ( $tab ) {
|
||||||
<span class="three"></span>
|
<span class="three"></span>
|
||||||
<span class="four"></span>
|
<span class="four"></span>
|
||||||
<span class="five"></span>
|
<span class="five"></span>
|
||||||
<p class="votes"><?php printf( __( 'Based on %s ratings.' ), '{{ data.num_ratings }}' ); ?></p>
|
<# if ( data.num_ratings ) { #>
|
||||||
|
<p class="ratings">({{ data.num_ratings }})</p>
|
||||||
|
<# } else { #>
|
||||||
|
<p class="ratings"><?php _e( 'No ratings.' ); ?></p>
|
||||||
|
<# } #>
|
||||||
</div>
|
</div>
|
||||||
<div class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></div>
|
<div class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></div>
|
||||||
<div class="theme-description">{{ data.description }}</div>
|
<div class="theme-description">{{ data.description }}</div>
|
||||||
|
|
Loading…
Reference in New Issue