mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 17:13:44 +03:00
38 lines
692 B
SCSS
38 lines
692 B
SCSS
|
redoc.loading {
|
||
|
position: relative;
|
||
|
display: block;
|
||
|
min-height:350px;
|
||
|
}
|
||
|
|
||
|
@keyframes move {
|
||
|
0% {transform: translateY(10px)}
|
||
|
25% {transform: translateY(0px)}
|
||
|
50% {transform: translateY(10px)}
|
||
|
75% {transform: translateY(20px)}
|
||
|
100% {transform: translateY(10px)}
|
||
|
}
|
||
|
|
||
|
redoc.loading:before {
|
||
|
content: "Loading...";
|
||
|
font-size: 28px;
|
||
|
text-align: center;
|
||
|
padding-top: 40px;
|
||
|
color: #3F5C9C;
|
||
|
font-weight: bold;
|
||
|
display: block;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background-color: white;
|
||
|
z-index: 9999;
|
||
|
opacity: 1;
|
||
|
transition: all 0.6s ease-out;
|
||
|
animation: 2s move linear infinite;
|
||
|
}
|
||
|
|
||
|
redoc.loading-remove:before {
|
||
|
opacity: 0;
|
||
|
}
|