Skip to content

Commit

Permalink
Limit .close hover/focus to non-disabled controls (#26654)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhlauke committed Jun 3, 2018
1 parent a79b8aa commit 4f1bb98
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions scss/_close.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
text-shadow: $close-text-shadow;
opacity: .5;

@include hover-focus {
color: $close-color;
text-decoration: none;
opacity: .75;
}

// Opinionated: add "hand" cursor to non-disabled .close elements
&:not(:disabled):not(.disabled) {

@include hover-focus {
color: $close-color;
text-decoration: none;
opacity: .75;
}

// Opinionated: add "hand" cursor to non-disabled .close elements
cursor: pointer;
}
}
Expand Down

0 comments on commit 4f1bb98

Please sign in to comment.