Merge pull request #7 from fredericodietz/disabled-state
add button disabled state
This commit is contained in:
commit
fdb2498159
@ -32,6 +32,16 @@ input[type='submit']
|
||||
color: $color-initial
|
||||
outline: 0
|
||||
|
||||
&.button-disabled,
|
||||
&[disabled]
|
||||
opacity: .5
|
||||
cursor: default
|
||||
|
||||
&:hover,
|
||||
&:focus
|
||||
background-color: $color-primary
|
||||
border-color: $color-primary
|
||||
|
||||
&.button-outline
|
||||
color: $color-primary
|
||||
background-color: transparent
|
||||
@ -42,6 +52,13 @@ input[type='submit']
|
||||
background-color: transparent
|
||||
border-color: $color-secondary
|
||||
|
||||
&.button-disabled,
|
||||
&[disabled]
|
||||
&:hover,
|
||||
&:focus
|
||||
color: $color-primary
|
||||
border-color: inherit
|
||||
|
||||
&.button-clear
|
||||
color: $color-primary
|
||||
background-color: transparent
|
||||
@ -52,3 +69,9 @@ input[type='submit']
|
||||
color: $color-secondary
|
||||
background-color: transparent
|
||||
border-color: transparent
|
||||
|
||||
&.button-disabled,
|
||||
&[disabled]
|
||||
&:hover,
|
||||
&:focus
|
||||
color: $color-primary
|
||||
|
Loading…
Reference in New Issue
Block a user