diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-08-06 18:57:57 -0400 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-08-06 18:57:57 -0400 |
commit | 34f7451c4ad50fe64cc1c06dbd204c5b6446bca5 (patch) | |
tree | 960c89e2f9dc5c94f41afde55a5544c7ffa582ae /web/sass-files | |
parent | 38e2b69dba76a83a5da25d09b36293dfe2a85630 (diff) | |
download | chat-34f7451c4ad50fe64cc1c06dbd204c5b6446bca5.tar.gz chat-34f7451c4ad50fe64cc1c06dbd204c5b6446bca5.tar.bz2 chat-34f7451c4ad50fe64cc1c06dbd204c5b6446bca5.zip |
Added indicators for when a channel with unread posts is offscreen
Diffstat (limited to 'web/sass-files')
-rw-r--r-- | web/sass-files/sass/partials/_sidebar--left.scss | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/web/sass-files/sass/partials/_sidebar--left.scss b/web/sass-files/sass/partials/_sidebar--left.scss index 89d1ff416..5d866715e 100644 --- a/web/sass-files/sass/partials/_sidebar--left.scss +++ b/web/sass-files/sass/partials/_sidebar--left.scss @@ -35,7 +35,29 @@ height: 100%; position: relative; overflow: auto; + + } + + .nav-pills__unread-indicator { + position: absolute; + left: 0; + right: 0; + width: 70%; + background-color: darken($primary-color, 5%); + color: white; + margin: 0 auto; + padding: 2px; + text-align: center; + z-index: 1; } + + .nav-pills__unread-indicator-top { + top: 56px; + } + .nav-pills__unread-indicator-bottom { + bottom: 0px; + } + .nav { &.nav-stacked { > li+li { |