1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 12:56:01 +01:00
metamask-extension/ui/app/css/itcss/components/loading-overlay.scss

51 lines
845 B
SCSS

.loading-overlay {
left: 0;
z-index: 50;
position: absolute;
flex-direction: column;
display: flex;
justify-content: center;
align-items: center;
flex: 1 1 auto;
width: 100%;
background: rgba(255, 255, 255, .8);
@media screen and (max-width: 575px) {
margin-top: 66px;
height: calc(100% - 66px);
}
@media screen and (min-width: 576px) {
margin-top: 75px;
height: calc(100% - 75px);
}
&--full-screen {
position: fixed;
height: 100vh;
width: 100vw;
margin-top: 0;
}
&__container {
position: absolute;
top: 33%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
&__message {
margin-top: 32px;
font-weight: 400;
font-size: 20px;
color: $manatee;
}
}
.spinner {
height: 58px;
width: 58px;
}