75 lines
1.5 KiB
SCSS
75 lines
1.5 KiB
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($base-modal-max-width);
|
|
width: 100%;
|
|
height: 100%;
|
|
background: $color-modal-overlay;
|
|
border-radius: $border-radius-modal;
|
|
border-color: $color-border;
|
|
border-width: $border-width-thickness;
|
|
|
|
> .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%;
|
|
}
|
|
}
|
|
|
|
.centered-page__controls {
|
|
display: flex;
|
|
flex-direction: row;
|
|
position: absolute;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: auto;
|
|
bottom: space(24);
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
max-width: space($base-modal-max-width);
|
|
|
|
> label {
|
|
@extend %label-sm;
|
|
display: inline-block;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: auto;
|
|
height: space(24);
|
|
|
|
&:not(:last-child) {
|
|
margin-right: space(40);
|
|
}
|
|
|
|
> span:first-child {
|
|
margin-right: space(4);
|
|
}
|
|
}
|
|
}
|