forked from cboard-org/cboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added a loader during the initial app start-up, issue cboard-org#1108
- Loading branch information
Batjin Lamjav
authored and
Batjin Lamjav
committed
Dec 12, 2022
1 parent
4de8576
commit 20ee367
Showing
2 changed files
with
39 additions
and
1 deletion.
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,33 @@ | ||
.loader { | ||
border: 16px solid #f3f3f3; | ||
border-top: 16px solid #3498db; | ||
border-radius: 50%; | ||
box-sizing: border-box; | ||
width: 120px; | ||
height: 120px; | ||
animation: spin 2s linear infinite; | ||
margin: auto; | ||
text-align: center; | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
} | ||
|
||
/* .background { | ||
height: 100%; | ||
padding: 1.5rem; | ||
position: relative; | ||
color: #eceff1; | ||
overflow: auto; | ||
background: url('/images/bg/bg-pattern.png'), | ||
linear-gradient(to right, rgb(121, 22, 254), rgb(172, 47, 138)); | ||
} */ | ||
|
||
@keyframes spin { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} |
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