Skip to content

Commit

Permalink
Hover CSS is taking precedence over focus #58
Browse files Browse the repository at this point in the history
Fix to ensure the focus effect takes precedence over the hover effect.
  • Loading branch information
solsticesurfer committed Jul 12, 2016
1 parent 98b3d8b commit 878825a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions gridforms/gridforms.sass
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,14 @@
cursor: text
&:last-child
border-right: none
&:hover
background: lighten($field-focus-color, 5%)
cursor: text
&.focus
background: $field-focus-color
label
color: darken($label-color, 5%)
&:hover
background: lighten($field-focus-color, 5%)
cursor: text


// Overide styles when printing to ensure good looking output.
@media print
Expand Down

0 comments on commit 878825a

Please sign in to comment.