nicer dragndrop animation
This commit is contained in:
parent
0e3653f298
commit
31bd7633d7
1 changed files with 4 additions and 1 deletions
|
@ -234,6 +234,7 @@ h1 {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: .5em 1em 0;
|
padding: .5em 1em 0;
|
||||||
|
transition: padding .2s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.satellite-list-entry.dragging {
|
.satellite-list-entry.dragging {
|
||||||
|
@ -253,7 +254,6 @@ h1 {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 2em;
|
height: 2em;
|
||||||
margin-top: 6em;
|
|
||||||
border: 1px solid white;
|
border: 1px solid white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 2em;
|
line-height: 2em;
|
||||||
|
@ -261,6 +261,9 @@ h1 {
|
||||||
.satellite-list-entry.dragover::before {
|
.satellite-list-entry.dragover::before {
|
||||||
margin-top: -6em;
|
margin-top: -6em;
|
||||||
}
|
}
|
||||||
|
.satellite-list-entry.dragunder::after {
|
||||||
|
margin-top: 6em;
|
||||||
|
}
|
||||||
|
|
||||||
.satellite-list-entry > .options {
|
.satellite-list-entry > .options {
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
|
Loading…
Add table
Reference in a new issue