Manage Themes: Improved separators (markup/styles) for current theme author/version. see #20403.

git-svn-id: https://develop.svn.wordpress.org/trunk@20458 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith 2012-04-12 22:03:57 +00:00
parent 094fca576e
commit 8b48d30d79
2 changed files with 11 additions and 5 deletions

View File

@ -4315,6 +4315,7 @@ h3.available-themes {
overflow: hidden; overflow: hidden;
} }
#current-theme .theme-info li,
.available-theme .action-links li { .available-theme .action-links li {
float: left; float: left;
padding-right: 10px; padding-right: 10px;
@ -4322,6 +4323,7 @@ h3.available-themes {
border-right: 1px solid #dfdfdf; border-right: 1px solid #dfdfdf;
} }
#current-theme .theme-info li:last-child,
.available-theme .action-links li:last-child { .available-theme .action-links li:last-child {
padding-right: 0; padding-right: 0;
margin-right: 0; margin-right: 0;
@ -4380,6 +4382,11 @@ h3.available-themes {
border-bottom: none; border-bottom: none;
} }
#current-theme .theme-info {
margin: 1em 0;
overflow: hidden;
}
#current-theme .theme-description { #current-theme .theme-description {
margin-top: 5px; margin-top: 5px;
max-width: 600px; max-width: 600px;

View File

@ -113,11 +113,10 @@ $class = $screenshot ? 'has-screenshot' : '';
</h4> </h4>
<div> <div>
<p> <ul class="theme-info">
<span><?php printf( __('By %s'), $ct->display('Author') ); ?></span> <li><?php printf( __('By %s'), $ct->display('Author') ); ?></li>
| <li><?php printf( __('Version %s'), $ct->display('Version') ); ?></li>
<span><?php printf( __('Version %s'), $ct->display('Version') ); ?></span> </ul>
</p>
<p class="theme-description"><?php echo $ct->display('Description'); ?></p> <p class="theme-description"><?php echo $ct->display('Description'); ?></p>
<?php theme_update_available( $ct ); ?> <?php theme_update_available( $ct ); ?>
</div> </div>