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:
Andrew Nacin 2014-04-04 00:46:15 +00:00
parent b48021f65f
commit be70db8c5f
5 changed files with 13 additions and 7 deletions

View File

@ -1413,10 +1413,11 @@ body.show-upload-theme p.no-themes {
.rating-100 span.five:before {
content: "\f155";
}
.rating .votes {
.rating .ratings {
display: inline;
margin-right: 10px;
line-height: 20px;
color: #999;
}
.loading-themes .theme-browser,
.error .theme-browser {
@ -1829,7 +1830,7 @@ body.full-overlay-active {
}
#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;
background-size: 20px 20px;
}

View File

@ -1413,10 +1413,11 @@ body.show-upload-theme p.no-themes {
.rating-100 span.five:before {
content: "\f155";
}
.rating .votes {
.rating .ratings {
display: inline;
margin-left: 10px;
line-height: 20px;
color: #999;
}
.loading-themes .theme-browser,
.error .theme-browser {
@ -1829,7 +1830,7 @@ body.full-overlay-active {
}
#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;
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

View File

@ -212,7 +212,11 @@ if ( $tab ) {
<span class="three"></span>
<span class="four"></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 class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></div>
<div class="theme-description">{{ data.description }}</div>