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:
Andrea Fercia 2016-09-07 09:52:30 +00:00
parent 1dbef33d80
commit 4a06a09310
5 changed files with 15 additions and 5 deletions

View File

@ -826,6 +826,8 @@ hr {
border-bottom: 1px solid #fafafa;
}
.widget-control-remove,
.widget-control-remove:focus,
.row-actions span.delete a,
.row-actions span.trash a,
.row-actions span.spam a,
@ -842,7 +844,6 @@ hr {
abbr.required,
span.required,
.file-error,
.widget-control-remove:hover,
.row-actions .delete a:hover,
.row-actions .trash a:hover,
.row-actions .spam a:hover,
@ -858,6 +859,10 @@ span.required,
border: none;
}
.widget-control-remove:hover {
color: #f00;
}
/*------------------------------------------------------------------------------
3.0 - Actions
------------------------------------------------------------------------------*/

File diff suppressed because one or more lines are too long

View File

@ -826,6 +826,8 @@ hr {
border-bottom: 1px solid #fafafa;
}
.widget-control-remove,
.widget-control-remove:focus,
.row-actions span.delete a,
.row-actions span.trash a,
.row-actions span.spam a,
@ -842,7 +844,6 @@ hr {
abbr.required,
span.required,
.file-error,
.widget-control-remove:hover,
.row-actions .delete a:hover,
.row-actions .trash a:hover,
.row-actions .spam a:hover,
@ -858,6 +859,10 @@ span.required,
border: none;
}
.widget-control-remove:hover {
color: #f00;
}
/*------------------------------------------------------------------------------
3.0 - Actions
------------------------------------------------------------------------------*/

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @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.