diff --git a/src/_Button.sass b/src/_Button.sass index 7c1763c..7fd127c 100644 --- a/src/_Button.sass +++ b/src/_Button.sass @@ -24,20 +24,19 @@ input[type='submit'] text-transform: uppercase white-space: nowrap - &:hover, - &:focus + &:focus, + &:hover background-color: $color-secondary border-color: $color-secondary color: $color-initial outline: 0 - &.button-disabled, &[disabled] opacity: .5 cursor: default - &:hover, - &:focus + &:focus, + &:hover background-color: $color-primary border-color: $color-primary @@ -45,17 +44,16 @@ input[type='submit'] color: $color-primary background-color: transparent - &:hover, - &:focus + &:focus, + &:hover color: $color-secondary background-color: transparent border-color: $color-secondary - &.button-disabled, &[disabled] - &:hover, - &:focus + &:focus, + &:hover color: $color-primary border-color: inherit @@ -64,15 +62,14 @@ input[type='submit'] background-color: transparent border-color: transparent - &:hover, - &:focus + &:focus, + &:hover color: $color-secondary background-color: transparent border-color: transparent - &.button-disabled, &[disabled] - &:hover, - &:focus + &:focus, + &:hover color: $color-primary