Unverified Commit 25a1280c authored by Ray Schamp's avatar Ray Schamp Committed by GitHub

Merge pull request #1759 from towerofnix/fix-firefox-focusring

Hide Firefox focus ring on <select> elements (language selector)
parents 00fd21ba 9e487c85
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
} }
select { select {
transition: all .5s ease; transition: border .5s ease;
margin-bottom: .75rem; margin-bottom: .75rem;
border: 1px solid $active-gray; border: 1px solid $active-gray;
border-radius: 5px; border-radius: 5px;
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
width: 100%; width: 100%;
height: 3rem; height: 3rem;
text-indent: 1rem; text-indent: 1rem;
color: $type-gray;
font-size: .875rem; font-size: .875rem;
appearance: none; appearance: none;
...@@ -30,11 +31,15 @@ ...@@ -30,11 +31,15 @@
} }
&:focus { &:focus {
transition: all .5s ease;
outline: none; outline: none;
border: 1px solid $ui-blue; border: 1px solid $ui-blue;
} }
&:-moz-focusring {
text-shadow: 0 0 0 $type-gray;
color: transparent;
}
&:focus, &:focus,
&:hover { &:hover {
background: $ui-light-gray url("../../../static/svgs/forms/carot-hover.svg") no-repeat right center; background: $ui-light-gray url("../../../static/svgs/forms/carot-hover.svg") no-repeat right center;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment