зеркало из https://github.com/mozilla/fxa.git
Merge pull request mozilla/fxa-content-server#1274 from mozilla/issue-1016-ie10-select-highlight
fix(css): Remove the blue background on select element focus in IE10+
This commit is contained in:
Коммит
8b7de6f88c
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче