mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-29 14:16:36 +00:00
Merge pull request #133 from resin-io/fix/132/progress-button-disable
Prevent click events on disable buttons
This commit is contained in:
commit
39cd055548
@ -5877,7 +5877,8 @@ hero-icon[disabled] hero-caption {
|
||||
|
||||
hero-button .btn[disabled] {
|
||||
background-color: #313339;
|
||||
color: #787c7f; }
|
||||
color: #787c7f;
|
||||
pointer-events: none; }
|
||||
hero-button .btn[disabled]:hover {
|
||||
background-color: #36383e; }
|
||||
|
||||
|
@ -52,6 +52,7 @@ hero-button .btn {
|
||||
&[disabled] {
|
||||
background-color: $btn-disabled;
|
||||
color: $color-disabled;
|
||||
pointer-events: none;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($btn-disabled, 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user