Style sidebar icons

This commit is contained in:
2016-10-20 17:50:45 +02:00
parent 7b737d6d5a
commit a552cf4ae5
2 changed files with 12 additions and 8 deletions

View File

@@ -61,6 +61,7 @@ nav.sidebar
background: transparent background: transparent
border: none border: none
width: 100% width: 100%
text-decoration: none
&:hover &:hover
color: $color-text-light-primary color: $color-text-light-primary
@@ -77,10 +78,13 @@ nav.sidebar
top: 8px top: 8px
left: 27px left: 27px
#notifications-toggle #notifications-count #notifications-toggle
right: 5px &.active .flyout-hat
span display: none
top: 1px #notifications-count
right: 5px
span
top: 1px
#col_sidebar #col_sidebar

View File

@@ -27,19 +27,19 @@ html(lang="en")
nav.sidebar(role="navigation") nav.sidebar(role="navigation")
ul ul
li li
a(href="{{ url_for('attract.index') }}", a.navbar-item(href="{{ url_for('attract.index') }}",
title='Attract') title='Attract')
i.pi-film-thick i.pi-film-thick
| {% if project %} | {% if project %}
li 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 title='Tasks for project {{ project.name }}') T
li 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 title='Shots for project {{ project.name }}') S
| {% else %} | {% else %}
li li
a(href="{{ url_for('attract.tasks.index') }}", a.navbar-item(href="{{ url_for('attract.tasks.index') }}",
title='Your tasks') T title='Your tasks') T
| {% endif %} | {% endif %}