Zelda64Recomp/assets/scss/styles/components/CenteredPage.scss

45 lines
917 B
SCSS
Raw Normal View History

2024-01-07 22:33:22 +01:00
@use 'sass:math';
2024-01-07 01:04:28 +01:00
.centered-page {
2024-01-07 22:33:22 +01:00
display: flex;
2024-01-08 01:23:05 +01:00
// visibility: hidden;
2024-01-07 22:33:22 +01:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: space($page-margin);
background-color: $color-border-soft;
2024-01-07 22:33:22 +01:00
}
.centered-page__modal {
2024-01-07 01:04:28 +01:00
@extend %nav-all;
display: flex;
flex-direction: column;
position: relative;
2024-01-07 22:33:22 +01:00
margin: auto;
flex: 1 1 100%;
max-width: space($base-modal-max-width);
2024-01-07 01:04:28 +01:00
width: 100%;
2024-01-07 22:33:22 +01:00
height: 100%;
2024-01-08 17:06:59 +01:00
background: $color-modal-overlay;
2024-01-07 22:33:22 +01:00
border-radius: $border-radius-modal;
2024-01-28 16:50:51 +01:00
border-color: $color-border;
border-width: $border-width-thickness;
2024-01-07 22:33:22 +01:00
2024-01-22 17:43:21 +01:00
> .tabs {
display: flex;
flex-direction: column;
position: relative;
margin: auto;
flex: 1 1 100%;
max-width: space($base-modal-max-width);
width: 100%;
height: 100%;
}
panels {
flex: 1 1 100%;
}
2024-01-07 01:04:28 +01:00
}