Minor tweaks to active/in-edit shots

This commit is contained in:
2016-11-04 12:48:01 +01:00
parent a8afade7ba
commit f364f2aa89
3 changed files with 9 additions and 10 deletions

View File

@@ -88,7 +88,7 @@
/* Dashboard specific styles */
.dashboard
.d-stats
padding: 0 20px
padding: 0 10px
.d-stats-card
+container-box

View File

@@ -37,14 +37,15 @@
position: relative
&.active
border-color: $color-background-dark
background-color: $color-background-light
background-color: $color-background-active
.table-cell
border-bottom-color: darken($color-background-active, 15%)
.table-cell:last-child
box-shadow: inset -5px 0 0 $color-primary
&.not-in-edit
+stripes(rgba($color-background, .2), rgba($color-background, .5), -45deg, 25px)
+stripes(rgba($color-background, .1), rgba($color-background, .5), 90deg, 28px)
.table-cell
&.shot-name a
@@ -62,9 +63,10 @@
&.shot-thumbnail img
opacity: .5
&:hover, &.active
+stripes(rgba($color-background, .3), rgba($color-background, .8), -45deg, 25px)
&.active
+stripes(white, rgba($color-background-active, .8), 90deg, 28px)
&:hover, &.active
.table-cell
&.shot-thumbnail img
opacity: 1
@@ -75,11 +77,8 @@
opacity: 1
border: none
@include status-color-property(background-color, ' .shot-status', '')
.table-cell
text-align: center
border-left: thin solid transparent

View File

@@ -1,6 +1,6 @@
| {% extends 'attract/layout.html' %}
| {% block bodyattrs %}{{ super() }} data-context='task'{% endblock %}
| {% block page_title %}Tasks for you{% endblock %}
| {% block page_title %}Tasks for You{% endblock %}
| {% block body %}
#col_main
| {% from "attract/tasks/task_list_for_user.html" import task_list_for_user %}