From 551c620bd4aaab9ca06884a91af0fff47b82f350 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Tue, 5 Aug 2014 15:26:57 +0200 Subject: [PATCH] create activity-counter --- .../javascripts/app/views/navigation.jst.eco | 4 +++- app/assets/stylesheets/zzz.css.erb | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/views/navigation.jst.eco b/app/assets/javascripts/app/views/navigation.jst.eco index 9f2301af0..15ee3c326 100644 --- a/app/assets/javascripts/app/views/navigation.jst.eco +++ b/app/assets/javascripts/app/views/navigation.jst.eco @@ -5,7 +5,9 @@
- + diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb index d4093df84..5d4fbb9f9 100644 --- a/app/assets/stylesheets/zzz.css.erb +++ b/app/assets/stylesheets/zzz.css.erb @@ -1798,8 +1798,26 @@ footer { background: url(<%= asset_path "logo.svg" %>); transition: 240ms; cursor: pointer; + position: relative; } + .logo .activity-counter { + height: 19px; + min-width: 19px; + position: absolute; + right: 0; + bottom: 0; + padding: 0 3px; + font-size: 11px; + line-height: 17px; + text-align: center; + color: white; + text-shadow: 0 1px 1px rgba(0,0,0,.21); + background: hsl(360,71%,60%); + border-radius: 10px; + border: 2px solid hsl(232,10%,16%); + } + .search .custom-dropdown-menu { margin: 0; padding: 0;