Make deletes hover red, rawr.

git-svn-id: http://svn.automattic.com/wordpress/trunk@7184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2008-03-07 18:35:24 +00:00
parent df492283e6
commit c9b93dc282
12 changed files with 16 additions and 16 deletions

View File

@ -135,7 +135,7 @@ endif; ?>
<div class="tablenav">
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<?php wp_nonce_field('bulk-categories'); ?>
</div>

View File

@ -15,10 +15,6 @@ div#current-widgets, #postcustom table, #your-profile fieldset, a.page-numbers,
border-color: #ccc;
}
div#media-upload-error, .file-error, .required abbr, .widget-control-remove:hover {
color: #f00;
}
div.dashboard-widget-error {
background-color: #c43;
}
@ -182,7 +178,7 @@ ul.widget-control-list .sorthelper {
border-bottom-color: #dadada;
}
.side-info ul, a.delete {
.side-info ul {
color: #666;
}
@ -493,3 +489,7 @@ ul.widget-control-list .sorthelper {
#wphead h1, #dashmenu a.current:hover {
color: #555;
}
div#media-upload-error, .file-error, .required abbr, .widget-control-remove:hover, .delete:hover {
color: #f00;
}

View File

@ -167,7 +167,7 @@ if ( $page_links )
<?php if ( 'moderated' != $comment_status ): ?>
<input type="submit" value="<?php _e('Unapprove'); ?>" name="unapproveit" class="button-secondary" />
<?php endif; ?>
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<?php do_action('manage_comments_nav', $comment_status); ?>
<?php wp_nonce_field('bulk-comments'); ?>
</div>

View File

@ -82,7 +82,7 @@ if ( $page_links )
?>
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<?php wp_nonce_field('bulk-link-categories'); ?>
</div>

View File

@ -124,7 +124,7 @@ if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_I
}
if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
echo "<a href='" . wp_nonce_url("page.php?action=delete&amp;post=$post_ID", 'delete-page_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete&nbsp;page') . "</a>";
echo "<a class='submitdelete' href='" . wp_nonce_url("page.php?action=delete&amp;post=$post_ID", 'delete-page_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete&nbsp;page') . "</a>";
?>
<br class="clear" />
<?php if ($post_ID): ?>

View File

@ -112,7 +112,7 @@ endif;
<div class="tablenav">
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<?php wp_nonce_field('bulk-pages'); ?>
</div>

View File

@ -145,7 +145,7 @@ if ( $page_links )
?>
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<?php wp_nonce_field('bulk-tags'); ?>
</div>

View File

@ -136,7 +136,7 @@ if ( $page_links )
?>
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<?php wp_nonce_field('bulk-posts'); ?>
<?php
if ( !isset( $_GET['p'] ) ) {

View File

@ -89,7 +89,7 @@ if ( isset($_GET['deleted']) ) {
<div class="tablenav">
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<?php
$categories = get_terms('link_category', "hide_empty=1");
$select_cat = "<select name=\"cat_id\">\n";

View File

@ -136,7 +136,7 @@ if ( $page_links )
?>
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<?php wp_nonce_field('bulk-media'); ?>
<?php

View File

@ -300,7 +300,7 @@ unset($role_links);
<?php endif; ?>
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
<select name="new_role"><option value=''><?php _e('Change role to&hellip;') ?></option>"<?php wp_dropdown_roles(); ?></select>
<input type="submit" value="<?php _e('Change'); ?>" name="changeit" class="button-secondary" />
<?php wp_nonce_field('bulk-users'); ?>

View File

@ -160,7 +160,7 @@ form#upload #post_content {
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
cursor: pointer;
cursor: default;
text-decoration: none;
}