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 specific styles */
.dashboard .dashboard
.d-stats .d-stats
padding: 0 20px padding: 0 10px
.d-stats-card .d-stats-card
+container-box +container-box

View File

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

View File

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