Make WordPress Core

Changeset 7184


Ignore:
Timestamp:
03/07/2008 06:35:24 PM (17 years ago)
Author:
matt
Message:

Make deletes hover red, rawr.

Location:
trunk/wp-admin
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/categories.php

    r7130 r7184  
    136136
    137137<div style="float: left">
    138 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
     138<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
    139139<?php wp_nonce_field('bulk-categories'); ?>
    140140</div>
  • trunk/wp-admin/css/colors-fresh.css

    r7181 r7184  
    1414div#current-widgets, #postcustom table, #your-profile fieldset, a.page-numbers, #rightnow, div.dashboard-widget, .widefat {
    1515    border-color: #ccc;
    16 }
    17 
    18 div#media-upload-error, .file-error, .required abbr, .widget-control-remove:hover {
    19     color: #f00;
    2016}
    2117
     
    183179}
    184180
    185 .side-info ul, a.delete {
     181.side-info ul {
    186182    color: #666;
    187183}
     
    494490    color: #555;
    495491}
     492
     493div#media-upload-error, .file-error, .required abbr, .widget-control-remove:hover, .delete:hover {
     494    color: #f00;
     495}
  • trunk/wp-admin/edit-comments.php

    r7181 r7184  
    168168<input type="submit" value="<?php _e('Unapprove'); ?>" name="unapproveit" class="button-secondary" />
    169169<?php endif; ?>
    170 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
     170<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
    171171<?php do_action('manage_comments_nav', $comment_status); ?>
    172172<?php wp_nonce_field('bulk-comments'); ?>
  • trunk/wp-admin/edit-link-categories.php

    r7130 r7184  
    8383
    8484<div style="float: left">
    85 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
     85<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
    8686<?php wp_nonce_field('bulk-link-categories'); ?>
    8787</div>
  • trunk/wp-admin/edit-page-form.php

    r7181 r7184  
    125125
    126126if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
    127     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>";
     127    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>";
    128128?>
    129129<br class="clear" />
  • trunk/wp-admin/edit-pages.php

    r7170 r7184  
    113113
    114114<div style="float: left">
    115 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
     115<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
    116116<?php wp_nonce_field('bulk-pages'); ?>
    117117</div>
  • trunk/wp-admin/edit-tags.php

    r7130 r7184  
    146146
    147147<div style="float: left">
    148 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
     148<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
    149149<?php wp_nonce_field('bulk-tags'); ?>
    150150</div>
  • trunk/wp-admin/edit.php

    r7170 r7184  
    137137
    138138<div style="float: left">
    139 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
     139<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
    140140<?php wp_nonce_field('bulk-posts'); ?>
    141141<?php
  • trunk/wp-admin/link-manager.php

    r7130 r7184  
    9090
    9191<div style="float: left">
    92 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
     92<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
    9393<?php
    9494$categories = get_terms('link_category', "hide_empty=1");
  • trunk/wp-admin/upload.php

    r7170 r7184  
    137137
    138138<div style="float: left">
    139 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
     139<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
    140140<?php wp_nonce_field('bulk-media'); ?>
    141141<?php
  • trunk/wp-admin/users.php

    r7130 r7184  
    301301
    302302<div style="float: left">
    303 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" />
     303<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
    304304<select name="new_role"><option value=''><?php _e('Change role to&hellip;') ?></option>"<?php wp_dropdown_roles(); ?></select>
    305305<input type="submit" value="<?php _e('Change'); ?>" name="changeit" class="button-secondary" />
  • trunk/wp-admin/wp-admin.css

    r7181 r7184  
    161161    -webkit-border-radius: 3px;
    162162    border-radius: 3px;
    163     cursor: pointer;
     163    cursor: default;
    164164    text-decoration: none; 
    165165}
Note: See TracChangeset for help on using the changeset viewer.