This commit is contained in:
Jeremy Thomas 2016-05-30 19:41:54 +01:00
parent 22700105dd
commit c0aca1c065
3 changed files with 8 additions and 3 deletions

View File

@ -4,6 +4,7 @@
* BREAKING: `.control.is-grouped` now uses `.control` elements as direct children * BREAKING: `.control.is-grouped` now uses `.control` elements as direct children
* Fix #220 * Fix #220
* Fix #214
* Fix #210 * Fix #210
* Fix #206 * Fix #206
* Fix #122 * Fix #122

View File

@ -39,7 +39,9 @@
&:last-child &:last-child
margin-left: 4px margin-left: 4px
margin-right: -2px margin-right: -2px
&:hover &:hover,
&:focus,
&.is-active
color: $control-hover color: $control-hover
&:active &:active
box-shadow: inset 0 1px 2px rgba($black, 0.2) box-shadow: inset 0 1px 2px rgba($black, 0.2)
@ -52,7 +54,8 @@
border-color: transparent border-color: transparent
color: $color-invert color: $color-invert
&:hover, &:hover,
&:focus &:focus,
&.is-active
background: darken($color, 10%) background: darken($color, 10%)
border-color: transparent border-color: transparent
color: $color-invert color: $color-invert

View File

@ -18,7 +18,8 @@
&:hover &:hover
border-color: $control-hover-border border-color: $control-hover-border
&:active, &:active,
&:focus &:focus,
&.is-active
border-color: $control-active-border border-color: $control-active-border
outline: none outline: none
&[disabled], &[disabled],