generated from theodorusclarence/ts-nextjs-tailwind-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: fix localStorage error by adding loading screen
- Loading branch information
1 parent
0797008
commit 4030c71
Showing
7 changed files
with
101 additions
and
13 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/** | ||
* ============================================== | ||
* Dot Flashing | ||
* ============================================== | ||
*/ | ||
|
||
:root { | ||
--dot-color: #80a4ff; | ||
} | ||
|
||
.dot-flashing { | ||
position: relative; | ||
width: 10px; | ||
height: 10px; | ||
border-radius: 5px; | ||
background-color: var(--dot-color); | ||
color: var(--dot-color); | ||
animation: dot-flashing 1s infinite linear alternate; | ||
animation-delay: 0.5s; | ||
} | ||
.dot-flashing::before, | ||
.dot-flashing::after { | ||
content: ''; | ||
display: inline-block; | ||
position: absolute; | ||
top: 0; | ||
} | ||
.dot-flashing::before { | ||
left: -15px; | ||
width: 10px; | ||
height: 10px; | ||
border-radius: 5px; | ||
background-color: var(--dot-color); | ||
color: var(--dot-color); | ||
animation: dot-flashing 1s infinite alternate; | ||
animation-delay: 0s; | ||
} | ||
.dot-flashing::after { | ||
left: 15px; | ||
width: 10px; | ||
height: 10px; | ||
border-radius: 5px; | ||
background-color: var(--dot-color); | ||
color: var(--dot-color); | ||
animation: dot-flashing 1s infinite alternate; | ||
animation-delay: 1s; | ||
} | ||
|
||
@keyframes dot-flashing { | ||
0% { | ||
background-color: var(--dot-color); | ||
} | ||
50%, | ||
100% { | ||
background-color: rgba(152, 128, 255, 0.2); | ||
} | ||
} |