Skip to content

Commit

Permalink
fix(css): use box shadow to represent :hover state on form elements
Browse files Browse the repository at this point in the history
See #362
  • Loading branch information
theetrain committed Aug 8, 2017
1 parent 8b61d81 commit 262b9dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/scss/elements/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ select {
outline: 0;
padding: 11px;
width: 100%;
transition: border-color .1s linear, background-color .1s linear;
transition: background-color .1s linear;

.field & {
margin-bottom: $form-field-bottom-spacing;
Expand All @@ -37,7 +37,8 @@ select {
}

&:focus {
border-color: $color-shark;
border-color: transparent;
box-shadow: 0 0 4px 1px $color-shuttle-grey;
}

@include from-breakpoint(medium) {
Expand Down

0 comments on commit 262b9dc

Please sign in to comment.