Make delete button more buttony.

git-svn-id: https://develop.svn.wordpress.org/trunk@1945 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-12-13 16:42:22 +00:00
parent 477525c8f7
commit 01840c778e
2 changed files with 8 additions and 3 deletions

View File

@ -174,7 +174,7 @@ if ('publish' != $post_status || 0 == $post_ID) {
<tr>
<th scope="row"><?php _e('Delete'); ?>:</th>
<td><?php if ('edit' == $action) : ?>
<input name="deletepost" class="delete" type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this post') ?>" <?php echo "onclick=\"return confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), addslashes($edited_post_title) ) . "')\""; ?> />
<input name="deletepost" class="button" type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this post') ?>" <?php echo "onclick=\"return confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), addslashes($edited_post_title) ) . "')\""; ?> />
<?php endif; ?></td>
</tr>
</table>

View File

@ -173,7 +173,7 @@ textarea, input, select {
font: 12px Georgia, "Times New Roman", Times, serif;
}
.submit input, .submit input:focus {
.submit input, .submit input:focus, .button {
background: url(../wp-images/fade-butt.png);
border: 3px double #999;
border-left-color: #ccc;
@ -182,7 +182,7 @@ textarea, input, select {
padding: 0.25em;
}
.submit input:active {
.submit input:active, .button:active {
background: #f4f4f4;
border: 3px double #ccc;
border-left-color: #999;
@ -314,6 +314,11 @@ textarea, input, select {
width: 97%;
}
#deletepost:hover {
background: #ce0000;
color: #fff;
}
#ed_del {
text-decoration: line-through;
}