Skip to content

Commit

Permalink
Merge pull request #1836 from WordPress/update/quicktags-buttons-focu…
Browse files Browse the repository at this point in the history
…s-style

Add focus style for the quicktags buttons.
  • Loading branch information
afercia authored Jul 10, 2017
2 parents 4e0ea5c + 56b98cf commit 46ae03c
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions editor/modes/text-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,16 @@
font-family: $editor-html-font;
color: $dark-gray-500;
border: 1px solid transparent;
}

button:first-child {
margin-left: 0;
}

button:hover {
border: 1px solid $dark-gray-500;
}
&:first-child {
margin-left: 0;
}

button:focus {
outline: none;
&:hover,
&:focus {
outline: none;
border: 1px solid $dark-gray-500;
}
}

@include break-small() {
Expand Down

0 comments on commit 46ae03c

Please sign in to comment.