Update styling on link pages, fix state saving for link cats, no green bg after quick editing a post fixes #8143

git-svn-id: http://svn.automattic.com/wordpress/trunk@9703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-11-14 23:58:17 +00:00
parent ae3fc05253
commit 072293c36b
6 changed files with 45 additions and 25 deletions

View File

@ -29,6 +29,10 @@ body > #upload-menu {
border-bottom-color: #fff;
}
kbd, code {
background: #eaeaea;
}
div#current-widgets,
#postcustomstuff table,
#your-profile fieldset,
@ -601,7 +605,11 @@ li.widget-list-control-item h4,
#poststuff .postbox,
#titlediv,
#poststuff .postarea,
#poststuff .stuffbox {
#poststuff .stuffbox,
.postbox input[type="text"],
.postbox textarea,
.stuffbox input[type="text"],
.stuffbox textarea {
border-color: #dfdfdf;
}

View File

@ -13,7 +13,7 @@ form .input-text-wrap {
border-color: #ccc;
}
form .input-text-wrap input {
#dashboard-widgets form .input-text-wrap input {
border: 0 none;
outline: none;
padding: 0;
@ -28,7 +28,7 @@ form .textarea-wrap {
border-color: #ccc;
}
form .textarea-wrap textarea {
#dashboard-widgets form .textarea-wrap textarea {
border: 0 none;
padding: 0;
outline: none;

View File

@ -373,24 +373,24 @@ $side_meta_boxes = do_meta_boxes( 'link', 'side', $link );
<div id="namediv" class="stuffbox">
<h3><label for="link_name"><?php _e('Name') ?></label></h3>
<div class="inside">
<input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" /><br />
<?php _e('Example: Nifty blogging software'); ?>
<input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" />
<p><?php _e('Example: Nifty blogging software'); ?></p>
</div>
</div>
<div id="addressdiv" class="stuffbox">
<h3><label for="link_url"><?php _e('Web Address') ?></label></h3>
<div class="inside">
<input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /><br />
<?php _e('Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>'); ?>
<input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" />
<p><?php _e('Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>'); ?></p>
</div>
</div>
<div id="descriptiondiv" class="stuffbox">
<h3><label for="link_description"><?php _e('Description') ?></label></h3>
<div class="inside">
<input type="text" name="link_description" size="30" tabindex="1" value="<?php echo isset($link->link_description) ? $link->link_description : ''; ?>" id="link_description" /><br />
<?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?>
<input type="text" name="link_description" size="30" tabindex="1" value="<?php echo isset($link->link_description) ? $link->link_description : ''; ?>" id="link_description" />
<p><?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?></p>
</div>
</div>

View File

@ -214,10 +214,8 @@ inlineEditPost = {
row.html($(r).html());
if ( 'draft' == $('input[name="post_status"]').val() )
row.find('td.column-comments').hide();
row.show()
.animate( { backgroundColor: '#CCEEBB' }, 500)
.animate( { backgroundColor: '#eefee7' }, 500);
inlineEditPost.addEvents(row);
row.fadeIn();
} else {
$('#edit-'+id+' .inline-edit-save').append('<span class="error">'+inlineEditL10n.error+'</span>');
}

View File

@ -42,6 +42,12 @@ jQuery(document).ready( function($) {
response: 'category-ajax-response',
addAfter: catAddAfter
} );
$('a[href="#categories-all"]').click(function(){deleteUserSetting('cats');});
$('a[href="#categories-pop"]').click(function(){setUserSetting('cats','pop');});
if ( 'pop' == getUserSetting('cats') )
$('a[href="#categories-pop"]').click();
jQuery('#category-add-toggle').click( function() {
jQuery(this).parents('div:first').toggleClass( 'wp-hidden-children' );
categoryTabs.tabsClick( 1 );

View File

@ -162,8 +162,7 @@ table#availablethemes td.bottom {
}
kbd, code {
background: #e5e5e5;
padding: 2px 3px;
padding: 1px 3px;
margin: 0 1px;
font-size: 12px;
}
@ -437,9 +436,7 @@ textarea.all-options, input.all-options {
}
#namediv input {
width: 94%;
border-style: solid;
border-width: 1px;
width: 98%;
}
#namediv p {
@ -1695,9 +1692,26 @@ table.form-table td .updated {
background-repeat: repeat-x;
}
#poststuff .inside {
.postbox table.form-table {
margin-bottom: 0;
}
.postbox input[type="text"],
.postbox textarea,
.stuffbox input[type="text"],
.stuffbox textarea {
border-width: 1px;
border-style: solid;
}
#poststuff .inside,
#poststuff .inside p {
font-size: 11px;
margin: 0 6px 6px;
margin: 2px 6px 6px;
}
#poststuff .inside .submitbox p {
margin: 1em 0;
}
#poststuff #submitdiv .inside {
@ -1750,12 +1764,6 @@ table.form-table td .updated {
margin-top: -1px;
}
#link_name, #link_url, #link_description {
font-size: 1.7em;
padding: 4px 3px;
width: 98%;
}
#edit-slug-box {
margin-top: 8px;
padding: 0 7px;