Make WordPress Core

Changeset 1945


Ignore:
Timestamp:
12/13/2004 04:42:22 PM (20 years ago)
Author:
saxmatt
Message:

Make delete button more buttony.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r1940 r1945  
    175175        <th scope="row"><?php _e('Delete'); ?>:</th>
    176176        <td><?php if ('edit' == $action) : ?>
    177         <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) ) . "')\""; ?> />
     177        <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) ) . "')\""; ?> />
    178178<?php endif; ?></td>
    179179    </tr>
  • trunk/wp-admin/wp-admin.css

    r1935 r1945  
    174174}
    175175
    176 .submit input, .submit input:focus {
     176.submit input, .submit input:focus, .button {
    177177    background: url(../wp-images/fade-butt.png);
    178178    border: 3px double #999;
     
    183183}
    184184
    185 .submit input:active {
     185.submit input:active, .button:active {
    186186    background: #f4f4f4;
    187187    border: 3px double #ccc;
     
    313313    margin-left: 1%;
    314314    width: 97%;
     315}
     316
     317#deletepost:hover {
     318    background: #ce0000;
     319    color: #fff;
    315320}
    316321
Note: See TracChangeset for help on using the changeset viewer.