Better highlighting of tasks, and fix when there are multiple tasks

This commit is contained in:
2016-09-26 16:25:14 +02:00
parent 4392c59cea
commit 8853b2414e

View File

@@ -93,11 +93,10 @@
a a
display: inline-block /* Each task in a new line */ display: inline-block /* Each task in a new line */
position: relative position: relative
top: 2px top: 2px
height: 100% height: 100%
width: 100% padding: 0 15px
transition: all 150ms ease-in-out transition: all 150ms ease-in-out
+status-background-color-before +status-background-color-before
@@ -112,6 +111,7 @@
top: 50% top: 50%
left: 50% left: 50%
transform: translate(-50%, -50%) transform: translate(-50%, -50%)
transition: all 150ms ease-in-out
&.active &.active
opacity: 1 opacity: 1
@@ -123,13 +123,15 @@
border-radius: initial border-radius: initial
opacity: 0 opacity: 0
vertical-align: middle vertical-align: middle
padding: 5px
&:hover a.task-add &:hover
opacity: 1 opacity: 1
&:hover &:hover
a &:before
opacity: 1 opacity: .8
transform: translate(-50%, -50%) scale(1.3)
.attract-form span.shot_id .attract-form span.shot_id
float: right float: right