Manage Themes: Improved separators (markup/styles) for current theme author/version. see #20403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ee1bfeb6ab
commit
76e5f1d012
|
@ -4315,6 +4315,7 @@ h3.available-themes {
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
#current-theme .theme-info li,
|
||||
.available-theme .action-links li {
|
||||
float: left;
|
||||
padding-right: 10px;
|
||||
|
@ -4322,6 +4323,7 @@ h3.available-themes {
|
|||
border-right: 1px solid #dfdfdf;
|
||||
}
|
||||
|
||||
#current-theme .theme-info li:last-child,
|
||||
.available-theme .action-links li:last-child {
|
||||
padding-right: 0;
|
||||
margin-right: 0;
|
||||
|
@ -4380,6 +4382,11 @@ h3.available-themes {
|
|||
border-bottom: none;
|
||||
}
|
||||
|
||||
#current-theme .theme-info {
|
||||
margin: 1em 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#current-theme .theme-description {
|
||||
margin-top: 5px;
|
||||
max-width: 600px;
|
||||
|
|
|
@ -113,11 +113,10 @@ $class = $screenshot ? 'has-screenshot' : '';
|
|||
</h4>
|
||||
|
||||
<div>
|
||||
<p>
|
||||
<span><?php printf( __('By %s'), $ct->display('Author') ); ?></span>
|
||||
|
|
||||
<span><?php printf( __('Version %s'), $ct->display('Version') ); ?></span>
|
||||
</p>
|
||||
<ul class="theme-info">
|
||||
<li><?php printf( __('By %s'), $ct->display('Author') ); ?></li>
|
||||
<li><?php printf( __('Version %s'), $ct->display('Version') ); ?></li>
|
||||
</ul>
|
||||
<p class="theme-description"><?php echo $ct->display('Description'); ?></p>
|
||||
<?php theme_update_available( $ct ); ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue