Skip to content

Commit

Permalink
Remove outline from focused toot (#4448)
Browse files Browse the repository at this point in the history
* Remove outline from focused toot

* change style
  • Loading branch information
ykzts authored and Gargron committed Jul 30, 2017
1 parent f91284d commit 29abc94
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/javascript/styles/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,10 @@
overflow: hidden;
white-space: pre-wrap;

&:focus {
outline: rgba($ui-highlight-color, 0.7) solid 2px;
}

.emojione {
width: 18px;
height: 18px;
Expand Down Expand Up @@ -563,6 +567,12 @@
}
}

&:focus,
&.status-direct:focus {
outline: 0;
background-color: lighten($ui-base-color, 10%);
}

&.light {
.status__relative-time {
color: $ui-primary-color;
Expand Down

0 comments on commit 29abc94

Please sign in to comment.