openmct/platform/commonUI/general/res/sass/_logo-and-bg.scss

46 lines
928 B
SCSS
Raw Normal View History

.l-splash {
background-size: cover;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
&:before,
&:after {
background-position: center;
background-repeat: no-repeat;
background-size: contain;
content: '';
position: absolute;
}
&:before {
// NASA logo
$w: 5%;
$m: 10px;
background-image: url($dirImgs + 'logo-nasa.svg');
top: $m;
right: auto;
bottom: auto;
left: $m;
height: auto;
width: $w * 2;
padding-bottom: $w;
padding-top: $w;
}
&:after {
// App logo
top: 0;
right: 15%;
bottom: 0;
left: 15%;
}
}
.s-splash {
background-image: url($dirImgs + "bg-about-openmctweb.jpg"); // For OpenMCT Web.
&:after {
background-image: url($dirImgs + 'logo-openmctweb-shdw.svg');
}
}