You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/assets/stylesheets/components/_app.scss

46 lines
887 B

._app {
position: relative;
z-index: 1;
height: 100%;
overflow: hidden;
background: $contentBackground;
-webkit-transition: opacity .2s;
transition: opacity .2s;
@extend %border-box;
._booting > & { opacity: 0; }
._noscript > & { display: none; }
._max-width & {
margin: 0 auto;
max-width: $maxWidth;
box-shadow: 1px 0 $headerBorder, -1px 0 $headerBorder;
}
}
._booting {
opacity: 0;
&._loading, &._loading:before { opacity: 1; }
&:before {
content: 'Loading\2026';
position: absolute;
top: 50%;
left: 0;
right: 0;
line-height: 1;
margin-top: -.6em;
font-size: 4rem;
font-weight: 300;
letter-spacing: -.125rem;
color: $loadingText;
text-align: center;
opacity: 0;
-webkit-transition: opacity .1s .3s;
transition: opacity .1s .3s;
}
}
._noscript { opacity: 1; }