commit: 29abc9438c35f81e862813d40d730b6164ea295a
parent: f91284d230c261baa6adc1764cad08b561c5ba67
Author: Yamagishi Kazutoshi <ykzts@desire.sh>
Date: Sun, 30 Jul 2017 23:27:51 +0900
Remove outline from focused toot (#4448)
* Remove outline from focused toot
* change style
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git 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;