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:
parent
e16bd7dae8
commit
8569da174e
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue