erratic-gate/src/modules/splash/classes/Splash.scss

62 lines
933 B
SCSS
Raw Normal View History

2019-07-23 21:53:59 +02:00
@import './Spinner.scss';
@import '../../core/styles/colors.scss';
.Splash {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: $grey;
padding: 32px;
overflow-y: auto;
z-index: 999999999999999;
}
.Splash > .loading {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.Splash > .error {
display: none;
}
.Splash > .error > .title {
font-size: 24px;
margin-bottom: 16px;
}
.Splash > .error > .details {
padding: 16px;
background-color: shade(darker);
border-radius: 3px;
margin-bottom: 16px;
font-family: monospace;
}
.Splash > .error > .description {
color: font-color(normal);
margin-bottom: 16px;
font-size: 14px;
}
.Splash.-hasError {
> .error {
display: block;
}
> .loading {
display: none;
}
}