fix: purchase confirmation overlay animation

This commit is contained in:
s3lph 2023-05-17 01:55:40 +02:00
parent 2d7d93c2a7
commit 01deb63098
5 changed files with 26 additions and 8 deletions

View file

@ -1,5 +1,18 @@
# Matemat Changelog
<!-- BEGIN RELEASE v0.3.5 -->
## Version 0.3.5
Fix purchase confirmation overlay animation
### Changes
<!-- BEGIN CHANGES 0.3.5-->
- Fix purchase confirmation overlay animation
<!-- END CHANGES 0.3.5 -->
<!-- END RELEASE v0.3.5 -->
<!-- BEGIN RELEASE v0.3.4 -->
## Version 0.3.4

View file

@ -1,2 +1,2 @@
__version__ = '0.3.4'
__version__ = '0.3.5'

View file

@ -1,5 +1,5 @@
Package: matemat
Version: 0.3.4
Version: 0.3.5
Maintainer: s3lph <1375407-s3lph@users.noreply.gitlab.com>
Section: web
Priority: optional

View file

@ -311,11 +311,12 @@ aside#overlay {
padding: 5%;
font-family: sans-serif;
display: none;
transition: opacity 700ms;
opacity: 0;
}
aside#overlay.fade {
opacity: 0;
transition: opacity 0.5s;
opacity: 100%;
}
aside#overlay > h2 {

View file

@ -6,9 +6,13 @@ setTimeout(() => {
setTimeout(() => {
overlay.classList.add('fade');
setTimeout(() => {
overlay.style.display = 'none';
overlay.classList.remove('fade');
}, 500);
}, 500);
setTimeout(() => {
overlay.classList.remove('fade');
setTimeout(() => {
overlay.style.display = 'none';
}, 700);
}, 700);
}, 700);
}, 10);
}
}, 0);