Shots view: set task as active when selecting it

This commit is contained in:
2016-09-22 17:09:43 +02:00
parent e2db647c20
commit 85c7908ac6
4 changed files with 36 additions and 10 deletions

View File

@@ -31,6 +31,8 @@
opacity: 0
color: $color-text-dark-primary
+status-color
border: thin solid transparent
border-radius: 3px
transition: all 150ms ease-in-out
span
@@ -38,6 +40,11 @@
display: block
padding: 3px 10px
&.active
font-weight: bold
+status-border-color
a[class^="status-"]
opacity: 1

View File

@@ -510,21 +510,21 @@
=status-background-color
&.status
&-invalid
color: hsl(hue($color-status-invalid), 100%, 75%)
background-color: hsl(hue($color-status-invalid), 100%, 75%)
&-todo
color: hsl(hue($color-status-todo), 100%, 75%)
background-color: hsl(hue($color-status-todo), 100%, 75%)
&-in_progress
color: hsl(hue($color-status-in_progress), 100%, 60%)
background-color: hsl(hue($color-status-in_progress), 100%, 60%)
&-on_hold
color: hsl(hue($color-status-on_hold), 100%, 75%)
background-color: hsl(hue($color-status-on_hold), 100%, 75%)
&-approved
color: hsl(hue($color-status-approved), 100%, 75%)
background-color: hsl(hue($color-status-approved), 100%, 75%)
&-cbb
color: hsl(hue($color-status-cbb), 100%, 75%)
background-color: hsl(hue($color-status-cbb), 100%, 75%)
&-final
color: hsl(hue($color-status-final), 100%, 40%)
background-color: hsl(hue($color-status-final), 100%, 40%)
&-review
color: hsl(hue($color-status-review), 100%, 75%)
background-color: hsl(hue($color-status-review), 100%, 75%)
=status-color
&.status
@@ -544,3 +544,22 @@
color: $color-status-final-dark
&-review
color: $color-status-review-dark
=status-border-color
&.status
&-invalid
border-color: $color-status-invalid-dark
&-todo
border-color: $color-status-todo-dark
&-in_progress
border-color: $color-status-in_progress-dark
&-on_hold
border-color: $color-status-on_hold-dark
&-approved
border-color: $color-status-approved-dark
&-cbb
border-color: $color-status-cbb-dark
&-final
border-color: $color-status-final-dark
&-review
border-color: $color-status-review-dark