2024-10-10 07:38:08 +00:00
|
|
|
@use 'sass:math';
|
|
|
|
|
2024-08-15 14:56:28 +00:00
|
|
|
@keyframes blink {
|
|
|
|
0% {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
|
|
|
|
20% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-10 07:38:08 +00:00
|
|
|
.loading-screen {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2024-08-15 14:56:28 +00:00
|
|
|
width: 100%;
|
2024-10-10 07:38:08 +00:00
|
|
|
height: 100%;
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
.loading-screen-brand-container {
|
|
|
|
min-width: 200px;
|
2024-08-15 14:56:28 +00:00
|
|
|
}
|
|
|
|
|
2024-10-10 07:38:08 +00:00
|
|
|
.loading-screen-brand {
|
|
|
|
position: relative;
|
|
|
|
padding-top: math.percentage(math.div(150, 130)); // dimensions of the SVG
|
|
|
|
height: 0;
|
|
|
|
background: url(../../../../../public/img/ol-brand/overleaf-o-grey.svg)
|
|
|
|
no-repeat bottom / 100%;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
height: inherit;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
background: url(../../../../../public/img/ol-brand/overleaf-o.svg)
|
|
|
|
no-repeat bottom / 100%;
|
|
|
|
transition: height 0.5s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-screen-label {
|
|
|
|
margin: 0;
|
|
|
|
padding-top: var(--spacing-09);
|
|
|
|
font-family: $font-family-serif;
|
|
|
|
font-size: var(--font-size-07);
|
|
|
|
color: var(--content-secondary);
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-screen-ellip {
|
|
|
|
animation: blink 1.4s both infinite;
|
2024-08-15 14:56:28 +00:00
|
|
|
|
2024-10-10 07:38:08 +00:00
|
|
|
&:nth-child(2) {
|
|
|
|
animation-delay: 0.2s;
|
|
|
|
}
|
2024-08-15 14:56:28 +00:00
|
|
|
|
2024-10-10 07:38:08 +00:00
|
|
|
&:nth-child(3) {
|
|
|
|
animation-delay: 0.4s;
|
|
|
|
}
|
2024-08-15 14:56:28 +00:00
|
|
|
}
|
|
|
|
|
2024-10-10 07:38:08 +00:00
|
|
|
.loading-screen-error {
|
|
|
|
margin: 0;
|
|
|
|
padding-top: var(--spacing-06);
|
|
|
|
color: var(--content-danger);
|
2024-08-15 14:56:28 +00:00
|
|
|
}
|
|
|
|
}
|