From 483467d08ad27a49345b4549ffc0151c2c79d6de Mon Sep 17 00:00:00 2001 From: CJ Patoilo Date: Sun, 7 Aug 2016 15:48:40 -0300 Subject: [PATCH] Remove class .button-disabled --- src/_Button.sass | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) 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