mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Widgets: Make the Delete/Remove links red.
For consistency and accessibility, all the UI controls that perform destructive actions should be red. Props monikarao, lukecavanagh, patilswapnilv, ibachal. See #35622. Fixes #37016. Built from https://develop.svn.wordpress.org/trunk@38536 git-svn-id: http://core.svn.wordpress.org/trunk@38479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1dbef33d80
commit
4a06a09310
@ -826,6 +826,8 @@ hr {
|
|||||||
border-bottom: 1px solid #fafafa;
|
border-bottom: 1px solid #fafafa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.widget-control-remove,
|
||||||
|
.widget-control-remove:focus,
|
||||||
.row-actions span.delete a,
|
.row-actions span.delete a,
|
||||||
.row-actions span.trash a,
|
.row-actions span.trash a,
|
||||||
.row-actions span.spam a,
|
.row-actions span.spam a,
|
||||||
@ -842,7 +844,6 @@ hr {
|
|||||||
abbr.required,
|
abbr.required,
|
||||||
span.required,
|
span.required,
|
||||||
.file-error,
|
.file-error,
|
||||||
.widget-control-remove:hover,
|
|
||||||
.row-actions .delete a:hover,
|
.row-actions .delete a:hover,
|
||||||
.row-actions .trash a:hover,
|
.row-actions .trash a:hover,
|
||||||
.row-actions .spam a:hover,
|
.row-actions .spam a:hover,
|
||||||
@ -858,6 +859,10 @@ span.required,
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.widget-control-remove:hover {
|
||||||
|
color: #f00;
|
||||||
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------
|
||||||
3.0 - Actions
|
3.0 - Actions
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
2
wp-admin/css/common-rtl.min.css
vendored
2
wp-admin/css/common-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -826,6 +826,8 @@ hr {
|
|||||||
border-bottom: 1px solid #fafafa;
|
border-bottom: 1px solid #fafafa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.widget-control-remove,
|
||||||
|
.widget-control-remove:focus,
|
||||||
.row-actions span.delete a,
|
.row-actions span.delete a,
|
||||||
.row-actions span.trash a,
|
.row-actions span.trash a,
|
||||||
.row-actions span.spam a,
|
.row-actions span.spam a,
|
||||||
@ -842,7 +844,6 @@ hr {
|
|||||||
abbr.required,
|
abbr.required,
|
||||||
span.required,
|
span.required,
|
||||||
.file-error,
|
.file-error,
|
||||||
.widget-control-remove:hover,
|
|
||||||
.row-actions .delete a:hover,
|
.row-actions .delete a:hover,
|
||||||
.row-actions .trash a:hover,
|
.row-actions .trash a:hover,
|
||||||
.row-actions .spam a:hover,
|
.row-actions .spam a:hover,
|
||||||
@ -858,6 +859,10 @@ span.required,
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.widget-control-remove:hover {
|
||||||
|
color: #f00;
|
||||||
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------
|
||||||
3.0 - Actions
|
3.0 - Actions
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
2
wp-admin/css/common.min.css
vendored
2
wp-admin/css/common.min.css
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.7-alpha-38535';
|
$wp_version = '4.7-alpha-38536';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user