]> cat aescling's git repositories - mastodon.git/commitdiff
Remove outline from focused toot (#4448)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Sun, 30 Jul 2017 14:27:51 +0000 (23:27 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 30 Jul 2017 14:27:51 +0000 (16:27 +0200)
* Remove outline from focused toot

* change style

app/javascript/styles/components.scss

index 8b18d5b5cd7c3f4fa9760844e994534e04a64fcd..3778a2e46b1fb4f34504b585dac679a75f178afe 100644 (file)
   overflow: hidden;
   white-space: pre-wrap;
 
+  &:focus {
+    outline: rgba($ui-highlight-color, 0.7) solid 2px;
+  }
+
   .emojione {
     width: 18px;
     height: 18px;
     }
   }
 
+  &:focus,
+  &.status-direct:focus {
+    outline: 0;
+    background-color: lighten($ui-base-color, 10%);
+  }
+
   &.light {
     .status__relative-time {
       color: $ui-primary-color;