From 73213e0272b7b58765e3c4c47dc7fb7c29303f1a Mon Sep 17 00:00:00 2001 From: Ro Date: Thu, 5 Sep 2024 21:56:30 -0400 Subject: [PATCH] Add hover styling to ModalDialog.dangerous (destructive) buttons --- client/securedrop_client/gui/base/dialog_button.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/client/securedrop_client/gui/base/dialog_button.css b/client/securedrop_client/gui/base/dialog_button.css index b0d120553..304b29641 100644 --- a/client/securedrop_client/gui/base/dialog_button.css +++ b/client/securedrop_client/gui/base/dialog_button.css @@ -25,6 +25,18 @@ color: #ffffff; } +#ModalDialog.dangerous #ModalDialog_button_box QPushButton#ModalDialog_primary_button:hover { + background-color: #de043b; + border-color: #ff3366; +} + +#ModalDialog.dangerous #ModalDialog_button_box QPushButton#ModalDialog_cancel_button:hover { + background-color: #de043b; + border-color: #ff3366; + color: #ffffff; +} + + #ModalDialog_button_box QPushButton#ModalDialog_primary_button::disabled { border: 2px solid #c2c4e3; background-color: #c2c4e3;