2024-01-07 21:33:22 +00:00
|
|
|
@use 'sass:math';
|
2024-01-07 00:04:28 +00:00
|
|
|
|
|
|
|
.centered-page {
|
2024-01-07 21:33:22 +00:00
|
|
|
display: flex;
|
2024-01-08 00:23:05 +00:00
|
|
|
// visibility: hidden;
|
2024-01-07 21:33:22 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
padding: space($page-margin);
|
2024-01-08 15:42:21 +00:00
|
|
|
background-color: $color-border-soft;
|
2024-01-07 21:33:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.centered-page__modal {
|
2024-01-07 00:04:28 +00:00
|
|
|
@extend %nav-all;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: relative;
|
2024-01-07 21:33:22 +00:00
|
|
|
margin: auto;
|
|
|
|
flex: 1 1 100%;
|
2024-01-16 20:26:57 +00:00
|
|
|
max-width: space(math.div($base-height*16, 9))dp;
|
|
|
|
// max-width: space(math.div($base-height*4, 3))dp;
|
2024-01-07 00:04:28 +00:00
|
|
|
width: 100%;
|
2024-01-07 21:33:22 +00:00
|
|
|
height: 100%;
|
2024-01-08 16:06:59 +00:00
|
|
|
background: $color-modal-overlay;
|
2024-01-07 21:33:22 +00:00
|
|
|
border-radius: $border-radius-modal;
|
2024-01-08 00:23:05 +00:00
|
|
|
border-color: $color-bg-shadow;
|
2024-01-07 21:33:22 +00:00
|
|
|
border-width: space(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.centered-page__modal panels {
|
|
|
|
flex: 1 1 100%;
|
2024-01-07 00:04:28 +00:00
|
|
|
}
|