mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 01:23:43 +03:00
39 lines
719 B
SCSS
39 lines
719 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 {
|
|
font-family: Montserrat;
|
|
content: "Loading...";
|
|
font-size: 28px;
|
|
text-align: center;
|
|
padding-top: 40px;
|
|
color: #0033a0;
|
|
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;
|
|
}
|