From f660784d43dfead332d154a27e43436ad818c099 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Mon, 27 Jul 2020 19:15:55 +0000 Subject: [PATCH] Administration: Fix the red links on the Media Modal. The custom link colors for admin scheme colors were overriding the danger color. Props kebbet, dlh. Fixes #50547. git-svn-id: https://develop.svn.wordpress.org/trunk@48643 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/colors/_admin.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/wp-admin/css/colors/_admin.scss b/src/wp-admin/css/colors/_admin.scss index e067ba9e39..fd9b29cfcc 100644 --- a/src/wp-admin/css/colors/_admin.scss +++ b/src/wp-admin/css/colors/_admin.scss @@ -41,10 +41,19 @@ span.wp-media-buttons-icon:before { } } +.media-modal .delete-attachment, +.media-modal .trash-attachment, +.media-modal .untrash-attachment, .wp-core-ui .button-link-delete { color: #a00; } +.media-modal .delete-attachment:hover, +.media-modal .trash-attachment:hover, +.media-modal .untrash-attachment:hover, +.media-modal .delete-attachment:focus, +.media-modal .trash-attachment:focus, +.media-modal .untrash-attachment:focus, .wp-core-ui .button-link-delete:hover, .wp-core-ui .button-link-delete:focus { color: #dc3232;