2025-02-14 18:55:26 -05:00

126 lines
3.0 KiB
SCSS

.mod-menu {
display: flex;
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;
&__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;
}
&__list-entry {
@extend %nav-all;
display: flex;
position: relative;
flex-direction: row;
width: 100%;
height: auto;
padding: space(4) space(8) space(4) space(8);
border-width: $border-width-thickness;
@include create-icon-button-variation($color-text);
border-color: rgba($color-text, 0.05);
&:hover, &:focus {
cursor: pointer;
}
&[is_selected] {
border-color: rgb(255,255,255);
}
}
&__list-entry-thumbnail {
height: 100dp;
width: 100dp;
min-width: 100dp;
min-height: 100dp;
background-color: $color-bg-overlay;
}
&__list-entry-body {
display: flex;
position: relative;
flex-direction: column;
width: auto;
height: 100dp;
margin-left: space(16);
overflow: hidden;
}
&__list-entry-name {
@extend %label-md;
}
&__list-entry-description {
padding-top: space(8);
@extend %body;
}
}