Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
fix(css): Remove the blue background on select element focus in IE10+
Browse files Browse the repository at this point in the history
fixes #1016
  • Loading branch information
Shane Tomlinson committed Jun 19, 2014
1 parent a13a8eb commit b8300f9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,19 @@ label:focus ~ .input-help-focused {
background-color: $stage-background-color;
}


/**
* Override the default blue highlight for IE10+
*/
.select-row select::-ms-value {
background: none;
}

.select-row select:focus::-ms-value {
color: $input-text-color;
}


.select-row select:-moz-focusring {
color: transparent !important; /* !important must be added or else the browser ignores the request */
text-shadow: 0 0 0 $input-row-hover-border-color !important;
Expand Down

0 comments on commit b8300f9

Please sign in to comment.