mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 17:43:45 +03:00
5485df84fe
- renam DOM elements variables to start from $ - use DI for OptionsManager - move loading styles into separate CSS file - minor other refactors
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;
|
|
}
|