Remove "Danger!" red from Cancel links and Deactivate plugins
git-svn-id: http://svn.automattic.com/wordpress/trunk@9941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1ab577ed68
commit
e7ac7d001b
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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&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&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&plugin=' . $plugin_file, 'activate-plugin_' . $plugin_file) . '" title="' . __('Activate this plugin') . '" class="edit">' . __('Activate') . '</a>';
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue