about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
authorUna Thompson <una@unascribed.com>2018-04-24 11:31:26 -0400
committerUna Thompson <una@unascribed.com>2018-04-24 11:34:17 -0400
commit62bea7a290502475e2ed2bc9550dfdbeb6d7a8b4 (patch)
tree5ee6592a786cb8bd42db58a2dda5c8826bc9000f /app/javascript/flavours
parent65b8880ec99953969197c63f5396c7da0a6a6c55 (diff)
Fix fade being colored wrongly for DMs and upon focus
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/styles/components/status.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/status.scss b/app/javascript/flavours/glitch/styles/components/status.scss
index 0a022802a..2946b39e1 100644
--- a/app/javascript/flavours/glitch/styles/components/status.scss
+++ b/app/javascript/flavours/glitch/styles/components/status.scss
@@ -259,6 +259,12 @@
         text-decoration: none;
       }
     }
+    &:focus > .status__content:after {
+      background: linear-gradient(rgba(lighten($ui-base-color, 4%), 0), rgba(lighten($ui-base-color, 4%), 1));
+    }
+    &.status-direct> .status__content:after {
+      background: linear-gradient(rgba(lighten($ui-base-color, 8%), 0), rgba(lighten($ui-base-color, 8%), 1));
+    }
 
     .notification__message {
       margin-bottom: 0;