Accessibility: Privacy: Use red color for action buttons on the Erase Personal Data screen:

* "Erase Personal Data" button in the Next Steps column.
* "Force Erase Personal Data" row action.

This highlights the destructive nature of those buttons to avoid an accidental erasure, and is consistent with other similar UI elements in the admin, e.g. various "Delete", "Spam", or "Trash" buttons.

Props arena, sabernhardt, carike, azaozz, joedolson, audrasjb, SergeyBiryukov.
Fixes .

git-svn-id: https://develop.svn.wordpress.org/trunk@51891 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-10-05 20:30:11 +00:00
parent be25c1bf25
commit a86f7c7def

@ -883,7 +883,8 @@ hr {
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete,
#delete-link a.delete,
a#remove-post-thumbnail {
a#remove-post-thumbnail,
.privacy_requests .remove-personal-data .remove-personal-data-handle {
color: #b32d2e;
}
@ -901,7 +902,8 @@ span.required,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover,
a#remove-post-thumbnail:hover {
a#remove-post-thumbnail:hover,
.privacy_requests .remove-personal-data .remove-personal-data-handle:hover {
color: #b32d2e;
border: none;
}