Add reordering animation
This commit is contained in:
parent
e1ecca3596
commit
21a210b285
@ -3,6 +3,24 @@
|
||||
|
||||
.tasks {
|
||||
width: 100%;
|
||||
|
||||
.flip-list-move {
|
||||
transition: transform $transition-duration;
|
||||
}
|
||||
|
||||
.no-move {
|
||||
transition: transform 0;
|
||||
}
|
||||
|
||||
.ghost {
|
||||
border-radius: $radius;
|
||||
background: $grey-100;
|
||||
border: 3px dashed $grey-300;
|
||||
|
||||
* {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.taskedit {
|
||||
@ -32,12 +50,13 @@
|
||||
.task {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding: 0.5rem;
|
||||
padding: .3rem;
|
||||
transition: background-color $transition;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
margin: 0 .5rem;
|
||||
border-radius: $radius;
|
||||
border: 3px solid transparent;
|
||||
|
||||
&:first-child {
|
||||
margin-top: .5rem;
|
||||
|
Reference in New Issue
Block a user