2018-05-03 09:41:41 -04:00
|
|
|
.conditional-loading-section {
|
|
|
|
&.is-loading {
|
|
|
|
padding: 2em;
|
|
|
|
margin: 1em;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
background: $primary-very-low;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
font-size: $font-up-1;
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2018-10-02 03:20:04 -04:00
|
|
|
|
|
|
|
&:not(.is-loading) {
|
|
|
|
animation: fadein 0.5s;
|
|
|
|
-webkit-animation: fadein 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadein {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes fadein {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2018-05-03 09:41:41 -04:00
|
|
|
}
|