about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-04-24 14:26:53 -0500
committerGitHub <noreply@github.com>2018-04-24 14:26:53 -0500
commitaebcf83b4d363edd398370f4c00bef5bc7dedc9c (patch)
tree5ee6592a786cb8bd42db58a2dda5c8826bc9000f
parent65b8880ec99953969197c63f5396c7da0a6a6c55 (diff)
parent62bea7a290502475e2ed2bc9550dfdbeb6d7a8b4 (diff)
Merge pull request #443 from unascribed/glitchsoc-pr-better-collapsed-statuses-fix
Fix fade being colored wrongly for DMs and upon focus
-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;