about summary refs log tree commit diff
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-21 00:10:49 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-21 00:10:49 +0100
commit5997bb47a8a97de6cf3b69f81ef86376019f8f31 (patch)
tree679411d0d1b05f618aa6dd2a4246429a7536ac7e /app/assets/stylesheets
parentf338cc6c949515a536849522c0e33eb2790d40fa (diff)
Fix #38 - Unread indicator when new content appears above the fold
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/components.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss
index bc56891f3..4b6bfca48 100644
--- a/app/assets/stylesheets/components.scss
+++ b/app/assets/stylesheets/components.scss
@@ -1079,6 +1079,11 @@ button.active i.fa-retweet {
   background: lighten($color1, 4%);
   flex: 0 0 auto;
   cursor: pointer;
+
+  &.active {
+    color: $color4;
+    text-shadow: 0 0 10px rgba($color4, 0.4);
+  }
 }
 
 .search {
@@ -1201,3 +1206,14 @@ button.active i.fa-retweet {
     }
   }
 }
+
+.status-list__unread-indicator, .notifications__unread-indicator {
+  position: absolute;
+  top: 48px;
+  left: 0;
+  width: 100%;
+  pointer-events: none;
+  height: 30px;
+  z-index: 2;
+  background: linear-gradient(to bottom, rgba($color4, 0.3) 0%, rgba($color4, 0) 60%);
+}