mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-04 11:52:39 +02:00
style(v2): better loading screen
This commit is contained in:
parent
6cec7ce982
commit
62b5895ef8
2 changed files with 31 additions and 1 deletions
22
v2/lib/theme/Loading/styles.module.css
Normal file
22
v2/lib/theme/Loading/styles.module.css
Normal file
|
@ -0,0 +1,22 @@
|
|||
.loader {
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
top: 35%;
|
||||
}
|
||||
|
||||
.loaderSpinning {
|
||||
width: 49px;
|
||||
height: 49px;
|
||||
margin: 0 auto;
|
||||
border: 5px solid #cccccc;
|
||||
border-radius: 50%;
|
||||
border-top: 5px solid #1d4d8b;
|
||||
animation: loader-spin infinite 1s linear;
|
||||
}
|
||||
|
||||
@keyframes loader-spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue