Skip to content

Commit

Permalink
Adding hover state (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnesmithsalus authored Dec 1, 2023
1 parent 3b0ea64 commit 80a0372
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const AssignOfficerModal: FC<AssignOfficerModalProps> = ({
</Modal.Header>
)}
<Modal.Body>
<div className="assign_officer_modal_profile_card">
<div className="assign_officer_modal_profile_card self-assign">
<div className="assign_officer_modal_profile_card_column">
<div className="assign_officer_modal_profile_card_profile-picture">
<div
Expand Down
9 changes: 9 additions & 0 deletions frontend/src/assets/sass/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -330,12 +330,21 @@ button.modal-buttons {
align-self: stretch;
flex-grow: 0;
cursor: pointer;
&:hover {
background-color: #DEEBFF;
}
}

.selected {
background-color: $gray-100;
}

.self-assign {
&:hover {
background-color: $white;
}
}

.assign_officer_modal_profile_card_column {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 80a0372

Please sign in to comment.