CASH-1340: update hop styling for focus button states

This commit is contained in:
AdamCaouetteSafelite 2025-08-25 17:59:38 -04:00
parent 55fc7589c2
commit 085cd21da6
2 changed files with 6 additions and 6 deletions

View file

@ -153,13 +153,13 @@ body .buttonContainer button {
}
}
body .buttonContainer button:focus {
box-shadow: 0 0 0 3px, 0 0 0 5.5px #06577c;
box-shadow: 0 0 0 3px, 0 0 0 5.5px #db0020;
}
body .buttonContainer button:focus, body .buttonContainer button:focus-visible {
outline: none;
box-shadow: 0 0 0 3px, 0 0 0 5.5px #06577c;
box-shadow: 0 0 0 3px, 0 0 0 5.5px #db0020;
color: #fff;
background: linear-gradient(270deg, rgb(6, 87, 124) 0%, rgb(6, 87, 124) 100%);
background: #db0020;
}
body .buttonContainer button:disabled {
background: #e3e4e4 !important;

View file

@ -161,15 +161,15 @@ body {
cursor: pointer;
}
&:focus {
box-shadow: 0 0 0 3px, 0 0 0 5.5px #06577c;
box-shadow: 0 0 0 3px, 0 0 0 5.5px #db0020;
}
&:focus, // Mouse, touch, stylus focus
&:focus-visible {
// Keyboard focus for accessibility
outline: none;
box-shadow: 0 0 0 3px, 0 0 0 5.5px #06577c;
box-shadow: 0 0 0 3px, 0 0 0 5.5px #db0020;
color: #fff;
background: linear-gradient(270deg, rgba(6, 87, 124, 1) 0%, rgba(6, 87, 124, 1) 100%);
background: #db0020;
}
&:disabled {
background: #e3e4e4 !important;