-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(onboarding) change loader and overall adjustments
Signed-off-by: Tomasz Wylężek <tomwylezek@gmail.com>
- Loading branch information
1 parent
95976c9
commit 3db8f49
Showing
19 changed files
with
187 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<template> | ||
<div | ||
class="loading" | ||
data-testid="loading" | ||
> | ||
<div /> | ||
<div /> | ||
<div /> | ||
<div /> | ||
<div /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'Loading', | ||
} | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.loading { | ||
display: flex; | ||
justify-content: space-between; | ||
width: 200px; | ||
> div { | ||
height: 18px; | ||
width: 18px; | ||
border-radius: 50%; | ||
background: linear-gradient(90deg, rgba(130, 45, 197, 0.3) 0%, rgba(130, 45, 197, 0.3) 107.42%); | ||
animation: loadingAnimation 0.5s infinite linear alternate; | ||
&:nth-of-type(2) { | ||
animation-delay: 0.25s; | ||
} | ||
&:nth-of-type(3) { | ||
animation-delay: 0.5s; | ||
} | ||
&:nth-of-type(4) { | ||
animation-delay: 0.75s; | ||
} | ||
&:nth-of-type(5) { | ||
animation-delay: 1s; | ||
} | ||
} | ||
} | ||
@keyframes loadingAnimation { | ||
0%, | ||
50% { | ||
background: linear-gradient(90deg, rgba(130, 45, 197, 0.3) 0%, rgba(130, 45, 197, 0.3) 107.42%); | ||
} | ||
75% { | ||
background: linear-gradient(90deg, rgba(130, 45, 197, 0.6) 0%, rgba(130, 45, 197, 0.6) 107.42%); | ||
} | ||
100% { | ||
background: linear-gradient(90deg, #822dc5 0%, #822dc5 107.42%); | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.