From 29abc9438c35f81e862813d40d730b6164ea295a Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Sun, 30 Jul 2017 23:27:51 +0900 Subject: Remove outline from focused toot (#4448) * Remove outline from focused toot * change style --- app/javascript/styles/components.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app') diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index 8b18d5b5c..3778a2e46 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -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; @@ -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; -- cgit