Style sidebar according to context

This commit is contained in:
2016-11-01 16:16:04 +01:00
parent fe714e10d1
commit aa2f97c7c9
3 changed files with 23 additions and 4 deletions

View File

@@ -6,6 +6,24 @@ body
bottom: 0
background-color: $color-background-light
&[data-context="task"]
nav.sidebar .navbar-item.tasks
background-color: $color-background-nav
box-shadow: inset 3px 0 0 $color-primary
color: white
&[data-context="shot"]
nav.sidebar .navbar-item.shots
background-color: $color-background-nav
box-shadow: inset 3px 0 0 $color-primary
color: white
&[data-context="dashboard"]
nav.sidebar .navbar-item.attract
background-color: $color-background-nav
box-shadow: inset 3px 0 0 $color-primary
color: white
#app-main
display: flex
align-items: stretch