mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-11-14 02:05:05 +01:00
35 lines
738 B
SCSS
35 lines
738 B
SCSS
@use 'sass:math';
|
|
|
|
.centered-page {
|
|
display: flex;
|
|
// visibility: hidden;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
padding: space($page-margin);
|
|
background-color: $color-border-soft;
|
|
}
|
|
|
|
.centered-page__modal {
|
|
@extend %nav-all;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
margin: auto;
|
|
flex: 1 1 100%;
|
|
max-width: space(math.div($base-height*16, 9))dp;
|
|
// max-width: space(math.div($base-height*4, 3))dp;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: $color-modal-overlay;
|
|
border-radius: $border-radius-modal;
|
|
border-color: $color-bg-shadow;
|
|
border-width: space(1);
|
|
}
|
|
|
|
.centered-page__modal panels {
|
|
flex: 1 1 100%;
|
|
}
|