From 2fc85993ca45772c65f6e966a68324efe2656f3b Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 7 Sep 2016 09:51:04 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/common.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index 0976ed98ee..c699ad8b46 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -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 ------------------------------------------------------------------------------*/