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

git-svn-id: https://develop.svn.wordpress.org/trunk@9941 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-11-28 07:35:33 +00:00
parent 0e735cb613
commit b37725917d
3 changed files with 7 additions and 26 deletions

View File

@ -1422,18 +1422,6 @@ div.star.select:hover {
color: #ccc;
}
form p.submit a.cancel {
border-color: red;
color: red;
text-shadow: none;
}
form p.submit a.cancel:hover {
background: red;
color: white;
}
.misc-pub-section {
border-bottom-color: #eee;
}

View File

@ -280,7 +280,7 @@ function print_plugins_table($plugins, $context = '') {
$action_links = array();
if ( 'active' == $context )
$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>';
$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>';
else //Inactive or Recently deactivated
$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>';

View File

@ -198,17 +198,6 @@ kbd, code {
border-bottom-right-radius: 3px;
}
form p.submit a.cancel {
padding: 3px 0 0;
background: transparent;
border-width: 0 0 1px;
border-style: none none solid;
-moz-border-radius: 0;
-webkit-border-radius: 0;
-khtml-border-radius: 0;
border-radius: 0;
}
form p.submit a.cancel:hover {
text-decoration: none;
}
@ -350,8 +339,12 @@ form p.submit a.cancel:hover {
box-sizing: content-box;
}
a.button {
padding: 4px 8px;
a.button,
a.button-primary,
a.button-secondary {
line-height: 1.4em;
-webkit-border-radius: 10px;
padding: 3px 10px;
}
#doaction,