Theme install:

* Move the "based on" string below the rating to avoid wrapping to a second line.
* Reduce the gap between the theme screenshot and description.
* Fix Install button height on mobile.

props obenland, ocean90.
fixes #28148. see #29556.

git-svn-id: https://develop.svn.wordpress.org/trunk@29959 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-10-18 19:42:12 +00:00
parent a1b5440d4b
commit d7955317f3
2 changed files with 9 additions and 5 deletions

View File

@ -1166,7 +1166,7 @@ body.show-upload-theme p.no-themes {
} }
.rating { .rating {
margin: 30px 0; margin: 15px 0 0;
} }
.rating span:before { .rating span:before {
color: #e6b800; color: #e6b800;
@ -1221,8 +1221,7 @@ body.show-upload-theme p.no-themes {
content: "\f155"; content: "\f155";
} }
.rating .ratings { .rating .ratings {
display: inline; display: block;
margin-left: 10px;
line-height: 20px; line-height: 20px;
color: #999; color: #999;
} }
@ -1739,4 +1738,9 @@ body.full-overlay-active {
.broken-themes table { .broken-themes table {
width: 100%; width: 100%;
} }
.theme-install-overlay .wp-full-overlay-header .theme-install {
margin-top: 6px;
line-height: normal;
}
} }

View File

@ -243,9 +243,9 @@ if ( $tab ) {
<span class="four"></span> <span class="four"></span>
<span class="five"></span> <span class="five"></span>
<# if ( data.num_ratings ) { #> <# if ( data.num_ratings ) { #>
<p class="ratings">{{ data.num_ratings }}</p> <small class="ratings">{{ data.num_ratings }}</small>
<# } else { #> <# } else { #>
<p class="ratings"><?php _e( 'No ratings.' ); ?></p> <small class="ratings"><?php _e( 'No ratings.' ); ?></small>
<# } #> <# } #>
</div> </div>
<div class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></div> <div class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></div>