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

71 lines
1 KiB
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 {
2019-07-24 12:33:38 +02:00
color: white;
2019-07-23 21:53:59 +02:00
display: none;
}
.Splash > .error > .title {
font-size: 24px;
margin-bottom: 16px;
}
.Splash > .error > .details {
padding: 16px;
background-color: #222222;
2019-07-23 21:53:59 +02:00
border-radius: 3px;
margin-bottom: 16px;
font-family: monospace;
}
.Splash > .error > .description {
2019-07-24 12:33:38 +02:00
color: white;
2019-07-23 21:53:59 +02:00
margin-bottom: 16px;
font-size: 14px;
}
2019-07-24 12:33:38 +02:00
.Splash > .error > .details > a {
color: $primary !important;
}
2019-07-23 21:53:59 +02:00
.Splash.-hasError {
> .error {
display: block;
}
> .loading {
display: none;
}
}
2019-07-24 12:33:38 +02:00
.mail {
2019-07-25 21:59:52 +02:00
color: #aaaaff;
2019-07-24 12:33:38 +02:00
}