Make delete button more buttony.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-12-13 16:42:22 +00:00
parent e16bd7dae8
commit 8569da174e
2 changed files with 8 additions and 3 deletions

View File

@ -174,7 +174,7 @@ if ('publish' != $post_status || 0 == $post_ID) {
<tr> <tr>
<th scope="row"><?php _e('Delete'); ?>:</th> <th scope="row"><?php _e('Delete'); ?>:</th>
<td><?php if ('edit' == $action) : ?> <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> <?php endif; ?></td>
</tr> </tr>
</table> </table>

View File

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