Make WordPress Core

Changeset 9941


Ignore:
Timestamp:
11/28/2008 07:35:33 AM (16 years ago)
Author:
azaozz
Message:

Remove "Danger!" red from Cancel links and Deactivate plugins

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-fresh.css

    r9929 r9941  
    14231423}
    14241424
    1425 
    1426 form p.submit a.cancel {
    1427     border-color: red;
    1428     color: red;
    1429     text-shadow: none;
    1430 }
    1431 
    1432 form p.submit a.cancel:hover {
    1433     background: red;
    1434     color: white;
    1435 }
    1436 
    14371425.misc-pub-section {
    14381426    border-bottom-color: #eee;
  • trunk/wp-admin/plugins.php

    r9904 r9941  
    281281
    282282        if ( 'active' == $context )
    283             $action_links[] = '<a href="' . wp_nonce_url('plugins.php?action=deactivate&amp;plugin=' . $plugin_file, 'deactivate-plugin_' . $plugin_file) . '" title="' . __('Deactivate this plugin') . '" class="delete">' . __('Deactivate') . '</a>';
     283            $action_links[] = '<a href="' . wp_nonce_url('plugins.php?action=deactivate&amp;plugin=' . $plugin_file, 'deactivate-plugin_' . $plugin_file) . '" title="' . __('Deactivate this plugin') . '">' . __('Deactivate') . '</a>';
    284284        else //Inactive or Recently deactivated
    285285            $action_links[] = '<a href="' . wp_nonce_url('plugins.php?action=activate&amp;plugin=' . $plugin_file, 'activate-plugin_' . $plugin_file) . '" title="' . __('Activate this plugin') . '" class="edit">' . __('Activate') . '</a>';
  • trunk/wp-admin/wp-admin.css

    r9939 r9941  
    197197    border-bottom-left-radius: 3px;
    198198    border-bottom-right-radius: 3px;
    199 }
    200 
    201 form p.submit a.cancel {
    202     padding: 3px 0 0;
    203     background: transparent;
    204     border-width: 0 0 1px;
    205     border-style: none none solid;
    206     -moz-border-radius: 0;
    207     -webkit-border-radius: 0;
    208     -khtml-border-radius: 0;
    209     border-radius: 0;
    210199}
    211200
     
    351340}
    352341
    353 a.button {
    354     padding: 4px 8px;
     342a.button,
     343a.button-primary,
     344a.button-secondary {
     345    line-height: 1.4em;
     346    -webkit-border-radius: 10px;
     347    padding: 3px 10px;
    355348}
    356349
Note: See TracChangeset for help on using the changeset viewer.