127 lines
1.8 KiB
SCSS
127 lines
1.8 KiB
SCSS
@import '~styles/Variables.scss';
|
|
|
|
$overlay-opacity: 0.7;
|
|
$footer-height: 60px;
|
|
|
|
.wrapper {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
align-items: stretch;
|
|
height: 100vh;
|
|
|
|
&.overlaid {
|
|
background-color: rgba($main-overlay-color, $overlay-opacity);
|
|
|
|
.highlight {
|
|
z-index: 1;
|
|
}
|
|
}
|
|
|
|
.body {
|
|
background-color: $main-background-color;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
align-items: stretch;
|
|
position: relative;
|
|
padding-bottom: $footer-height;
|
|
}
|
|
}
|
|
|
|
.header {
|
|
flex: 0 0 auto;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.5rem 1rem;
|
|
position: sticky;
|
|
top: 0;
|
|
|
|
a {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.footer {
|
|
height: $footer-height;
|
|
position: fixed;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.header,
|
|
.footer {
|
|
display: flex;
|
|
margin: 0.1em;
|
|
z-index: 10;
|
|
}
|
|
|
|
.navigation {
|
|
padding: 1em;
|
|
position: sticky;
|
|
top: 90px;
|
|
display: inline-flex;
|
|
flex-flow: column nowrap;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.header,
|
|
.navigation {
|
|
button {
|
|
padding: 0;
|
|
margin-bottom: 1em;
|
|
outline: none;
|
|
border: none;
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
|
|
.overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background-color: $main-overlay-color;
|
|
opacity: $overlay-opacity;
|
|
|
|
&.complete {
|
|
z-index: 1;
|
|
}
|
|
}
|
|
|
|
.navigationWrapper {
|
|
display: flex;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.displayWrapper {
|
|
margin: 0 auto;
|
|
|
|
& > * {
|
|
width: map-get($container-width, 'desktop');
|
|
margin: 0 1em;
|
|
}
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
|
|
.leftColumn,
|
|
.rightColumn {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.leftColumn {
|
|
width: 45%;
|
|
text-align: center;
|
|
}
|
|
|
|
.rightColumn {
|
|
flex-grow: 1;
|
|
align-items: start;
|
|
}
|
|
}
|