From a552cf4ae57afe4aedf467238d6ce077a7591ea0 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Thu, 20 Oct 2016 17:50:45 +0200 Subject: [PATCH] Style sidebar icons --- src/styles/_app_base.sass | 12 ++++++++---- src/templates/attract/layout.jade | 8 ++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/styles/_app_base.sass b/src/styles/_app_base.sass index 81877b0..db5c02d 100644 --- a/src/styles/_app_base.sass +++ b/src/styles/_app_base.sass @@ -61,6 +61,7 @@ nav.sidebar background: transparent border: none width: 100% + text-decoration: none &:hover color: $color-text-light-primary @@ -77,10 +78,13 @@ nav.sidebar top: 8px left: 27px - #notifications-toggle #notifications-count - right: 5px - span - top: 1px + #notifications-toggle + &.active .flyout-hat + display: none + #notifications-count + right: 5px + span + top: 1px #col_sidebar diff --git a/src/templates/attract/layout.jade b/src/templates/attract/layout.jade index 06792d0..c3e672e 100644 --- a/src/templates/attract/layout.jade +++ b/src/templates/attract/layout.jade @@ -27,19 +27,19 @@ html(lang="en") nav.sidebar(role="navigation") ul li - a(href="{{ url_for('attract.index') }}", + a.navbar-item(href="{{ url_for('attract.index') }}", title='Attract') i.pi-film-thick | {% if project %} li - a(href="{{ url_for('attract.tasks.perproject.index', project_url=project.url) }}", + a.navbar-item(href="{{ url_for('attract.tasks.perproject.index', project_url=project.url) }}", title='Tasks for project {{ project.name }}') T li - a(href="{{ url_for('attract.shots.perproject.index', project_url=project.url) }}", + a.navbar-item(href="{{ url_for('attract.shots.perproject.index', project_url=project.url) }}", title='Shots for project {{ project.name }}') S | {% else %} li - a(href="{{ url_for('attract.tasks.index') }}", + a.navbar-item(href="{{ url_for('attract.tasks.index') }}", title='Your tasks') T | {% endif %}