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.


git-svn-id: https://develop.svn.wordpress.org/trunk@38536 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2016-09-07 09:51:04 +00:00
parent 1a0effca18
commit 2fc85993ca
1 changed files with 6 additions and 1 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
------------------------------------------------------------------------------*/