Move flash-on to _base, since it's generic

This commit is contained in:
2016-09-22 19:14:58 +02:00
parent c9959a839b
commit 22f778c7a9
4 changed files with 11 additions and 8 deletions

View File

@@ -152,7 +152,17 @@ select.input-transparent
border-bottom: none
cursor: e-resize
/* Generic Statuses */
.processing
+stripes($color-background, rgba($color-background, .5), -45deg, 25px)
+stripes-animate
animation-duration: 2s
.flash-on
background-color: lighten($color-success, 50%) !important
border-color: lighten($color-success, 40%) !important
color: $color-success !important
transition: all .1s ease-in
.flash-off
transition: all 1.2s ease-out

View File

@@ -42,6 +42,7 @@
&.active
text-decoration: none
opacity: 1
+status-border-color
a[class^="status-"]

View File

@@ -19,13 +19,6 @@
border-radius: 50%
transition: all 100ms ease-in-out
.flash-on
background-color: lighten($color-success, 40%)
transition: all .5s ease-in
.flash-off
transition: all 1s ease-out
.task-list-item
border-right: 5px solid transparent
color: $color-primary-dark

View File

@@ -19,7 +19,6 @@
href="javascript:task_open('{{ task._id }}', '{{ project.url }}');")
span.status-indicator
span.name {{ task.name }}
//- span.status {{ task.properties.status | undertitle }}
span.type {{ task.properties.task_type }}
| {% endfor %}
#col_right