Skip to content

Commit

Permalink
Fix outline and tab order of items in the toolbar #4492
Browse files Browse the repository at this point in the history
Updated outline on focused elements if Firefox to look it same, as in Chrome.
  • Loading branch information
edloidas committed Mar 1, 2017
1 parent 25493fb commit eff1abc
Showing 1 changed file with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,20 @@ input:not([type="radio"]), textarea, select {
}

input, textarea, select, button {
outline-width: 2px;
&:focus {
outline-width: 2px;
outline-style: auto;
outline-offset: -2px;
-moz-outline-radius: 3px;
}
}

@-moz-document url-prefix() {
input, textarea, select, button {
&:focus {
outline-color: rgba(66, 148, 222, 0.5);
}
}
}

h1, h2, h3, h4, h5, h6 {
Expand All @@ -71,4 +84,4 @@ h1, h2, h3, h4, h5, h6 {
button::-moz-focus-inner {
border: 0;
padding: 0;
}
}

0 comments on commit eff1abc

Please sign in to comment.