Merge pull request #133 from resin-io/fix/132/progress-button-disable

Prevent click events on disable buttons
This commit is contained in:
Juan Cruz Viotti 2016-01-26 08:55:11 -04:00
commit 39cd055548
2 changed files with 3 additions and 1 deletions

View File

@ -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; }

View File

@ -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);