From 56d866f5edafa929be2e87ad20db42d5bbf9500d Mon Sep 17 00:00:00 2001 From: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Date: Thu, 30 Jan 2020 15:18:18 -1000 Subject: [PATCH] Update hover and focus selectors for Move to Trash to ensure they're always red (#19974) - Updates the selectors in .editor-post-trash to use similar specificity as .components-button.is-link for the hover and focus states to ensure that they are always red. --- packages/editor/src/components/post-trash/style.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor/src/components/post-trash/style.scss b/packages/editor/src/components/post-trash/style.scss index 576d08a1e182c..62262fc5437db 100644 --- a/packages/editor/src/components/post-trash/style.scss +++ b/packages/editor/src/components/post-trash/style.scss @@ -3,8 +3,8 @@ border-color: darken($alert-red, 15%); justify-content: center; - &:hover, - &:focus { + &:not(:disabled):not([aria-disabled="true"]):hover, + &:not([aria-disabled="true"]):focus { color: darken($alert-red, 20%); border-color: darken($alert-red, 20%); }