mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-11-13 12:23:44 +01:00
feat(ui:transaction): deleting transactions is smoother and no longer requires a full list refresh
This commit is contained in:
1 parent
0ab2a41ccc
commit
52fe81f564
10 files changed
+130
-5
No files matched your search
@@ -300,4 +300,21 @@
|
||||
100% {
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Transaction rows and dividers on their way out.
|
||||
// See templates/includes/scripts/hyperscript/transactions.html, which waits on
|
||||
// transitionend, so every property here shares one duration and reduced motion
|
||||
// shortens it rather than removing it.
|
||||
.transaction-removing {
|
||||
transition-property: height, opacity, transform;
|
||||
transition-duration: 0.25s;
|
||||
transition-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);
|
||||
transform: translateX(-1.5rem);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
transition-duration: 0.01s;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user