Skip to content

Commit

Permalink
Merge pull request #2208 from freedomofpress/hover-state-modal-dialog
Browse files Browse the repository at this point in the history
Add hover styling to ModalDialog.dangerous (destructive) buttons
  • Loading branch information
cfm authored Sep 9, 2024
2 parents 3e5ac73 + 73213e0 commit ea9bb4a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions client/securedrop_client/gui/base/dialog_button.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ea9bb4a

Please sign in to comment.