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.
Built from https://develop.svn.wordpress.org/trunk@29959


git-svn-id: http://core.svn.wordpress.org/trunk@29706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-10-18 19:43:18 +00:00
parent beca5ad5a3
commit d37ce0b0e5
5 changed files with 18 additions and 10 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-right: 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

@ -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;
}
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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>