Zelda64Recomp/assets/scss/styles/components/ModMenu.scss

115 lines
2.6 KiB
SCSS
Raw Normal View History

.mod-menu {
2024-10-30 13:13:31 +00:00
display: none;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
flex-direction: row;
align-items: center;
justify-content: center;
padding: space($page-margin);
background-color: $color-modal-overlay;
2024-10-30 13:13:31 +00:00
&--open {
display: flex;
}
&__modal-wrapper {
display: flex;
position: relative;
flex: 1 1 100%;
flex-direction: column;
width: 100%;
max-width: space($base-modal-max-width);
height: 100%;
margin: auto;
border-width: $border-width-thickness;
border-radius: $border-radius-modal;
border-color: $color-border;
background: $color-bg-shadow;
}
&__modal-header {
display: flex;
position: relative;
flex: 1 1 auto;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
height: auto;
padding: space(16);
border-bottom-width: $border-width-thickness;
border-top-left-radius: $border-radius-modal;
border-top-right-radius: $border-radius-modal;
border-bottom-color: $color-border;
background-color: $color-bg-overlay;
}
&__modal-body {
display: flex;
position: relative;
flex: 1 1 auto;
flex-direction: row;
align-items: center;
justify-content: center;
width: 100%;
height: auto;
}
&__list {
display: block;
position: relative;
flex: 1 1 100%;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
margin: 0;
padding: 0;
border-bottom-left-radius: $border-radius-modal;
background-color: $color-bg-shadow;
}
&__list-scroll {
flex: 1 1 100%;
width: 100%;
height: 100%;
max-height: 100%;
overflow-y: auto;
}
&__details {
display: block;
position: relative;
flex: 1 1 100%;
height: 100%;
border-bottom-right-radius: $border-radius-modal;
background-color: $color-bg-overlay;
}
}
2024-10-30 13:13:31 +00:00
.mod-menu-mod {
display: flex;
position: relative;
flex: 1 1 100%;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
height: auto;
padding: space(16);
border-bottom-width: $border-width-thickness;
border-color: $color-border;
background-color: $color-bg-overlay;
&:last-child {
border-bottom-width: 0;
}
&__label {
@extend %label-lg;
}
}