74 lines
1.5 KiB
SCSS
Raw Normal View History

2024-01-07 15:33:22 -06:00
@use 'sass:math';
2024-01-06 18:04:28 -06:00
.centered-page {
2024-01-07 15:33:22 -06:00
display: flex;
2024-01-07 18:23:05 -06:00
// visibility: hidden;
2024-01-07 15:33:22 -06:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: space($page-margin);
background-color: $color-border-soft;
2024-01-07 15:33:22 -06:00
}
.centered-page__modal {
2024-01-06 18:04:28 -06:00
display: flex;
position: relative;
2024-01-07 15:33:22 -06:00
flex: 1 1 100%;
flex-direction: column;
2024-01-06 18:04:28 -06:00
width: 100%;
max-width: space($base-modal-max-width);
2024-01-07 15:33:22 -06:00
height: 100%;
margin: auto;
border-width: $border-width-thickness;
2024-01-07 15:33:22 -06:00
border-radius: $border-radius-modal;
2024-01-28 09:50:51 -06:00
border-color: $color-border;
background: $color-modal-overlay;
2024-01-07 15:33:22 -06:00
2024-01-22 10:43:21 -06:00
> .tabs {
display: flex;
position: relative;
flex: 1 1 100%;
flex-direction: column;
2024-01-22 10:43:21 -06:00
width: 100%;
max-width: space($base-modal-max-width);
2024-01-22 10:43:21 -06:00
height: 100%;
margin: auto;
2024-01-22 10:43:21 -06:00
}
panels {
flex: 1 1 100%;
}
2024-01-06 18:04:28 -06:00
}
2024-03-03 14:57:19 -06:00
.centered-page__controls {
display: flex;
position: absolute;
bottom: space(24);
flex-direction: row;
2024-03-03 14:57:19 -06:00
align-items: center;
justify-content: center;
width: 100%;
max-width: space($base-modal-max-width);
height: auto;
margin: 0 auto;
2024-03-03 14:57:19 -06:00
> 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);
}
}
}