CASH-1340: update hop styling for focus button states
This commit is contained in:
parent
55fc7589c2
commit
085cd21da6
2 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue