mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:43:25 +08:00
ea326906e3
For consistency and and the ability to change all font sizes at once in the dev tools
30 lines
461 B
SCSS
30 lines
461 B
SCSS
.conditional-loading-section {
|
|
&.is-loading {
|
|
padding: 2em;
|
|
margin: 1em;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--primary-very-low);
|
|
flex-direction: column;
|
|
|
|
.title {
|
|
font-size: var(--font-up-1);
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
|
|
&:not(.is-loading) {
|
|
animation: fadein 0.5s;
|
|
}
|
|
|
|
@keyframes fadein {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|