diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-08-11 12:05:46 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-08-11 12:05:46 -0400 |
commit | a386bb9293d68d28aa31107334bbd80619e5de80 (patch) | |
tree | 11189e1666ae3cc01431e6c9d48ec7a669f8cdc8 /web/sass-files | |
parent | bffc37be134cca4b6b8b2172726de39595b6091a (diff) | |
parent | 72e5d441ff471d75effe52b4ef0eafe0667aa54e (diff) | |
download | chat-a386bb9293d68d28aa31107334bbd80619e5de80.tar.gz chat-a386bb9293d68d28aa31107334bbd80619e5de80.tar.bz2 chat-a386bb9293d68d28aa31107334bbd80619e5de80.zip |
Merge pull request #353 from hmhealey/mm401
MM-401 Add indicators to the sidebar for offscreen unread channels
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 { |