125 lines
2.5 KiB
SCSS
125 lines
2.5 KiB
SCSS
.drawer-portal {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: $drawerZ;
|
|
}
|
|
|
|
.drawer-menu {
|
|
padding: 12px 16px;
|
|
max-height: 50vh;
|
|
background: #242528;
|
|
border-radius: 16px 16px 0 0;
|
|
overflow-y: auto;
|
|
|
|
&.expanded {
|
|
max-height: 80vh;
|
|
}
|
|
|
|
.drawer-toggle {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 44px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: $overflowMenuItemHoverBG;
|
|
}
|
|
|
|
svg, path {
|
|
fill: #b8c7e0;
|
|
}
|
|
}
|
|
|
|
.popupmenu {
|
|
margin: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.popupmenu__item {
|
|
height: 48px;
|
|
}
|
|
|
|
&#{&} .overflow-menu {
|
|
margin: auto;
|
|
font-size: 1.2em;
|
|
list-style-type: none;
|
|
padding: 0;
|
|
|
|
.overflow-menu-item {
|
|
box-sizing: border-box;
|
|
height: 48px;
|
|
padding: 12px 16px;
|
|
|
|
align-items: center;
|
|
color: $overflowMenuItemColor;
|
|
cursor: pointer;
|
|
display: flex;
|
|
font-size: 14px;
|
|
|
|
div {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $overflowMenuItemHoverBG;
|
|
color: $overflowMenuItemHoverColor;
|
|
}
|
|
|
|
&.unclickable {
|
|
cursor: default;
|
|
}
|
|
&.unclickable:hover {
|
|
background: inherit;
|
|
}
|
|
&.disabled {
|
|
cursor: initial;
|
|
color: #3b475c;
|
|
}
|
|
}
|
|
|
|
.beta-tag {
|
|
background: $overflowMenuItemColor;
|
|
border-radius: 2px;
|
|
color: $overflowMenuBG;
|
|
font-size: 11px;
|
|
font-weight: bold;
|
|
margin-left: 8px;
|
|
padding: 0 6px;
|
|
}
|
|
|
|
.overflow-menu-item-icon {
|
|
margin-right: 10px;
|
|
|
|
i {
|
|
display: inline;
|
|
font-size: 24px;
|
|
}
|
|
|
|
i:hover {
|
|
background-color: initial;
|
|
}
|
|
|
|
img {
|
|
max-width: 24px;
|
|
max-height: 24px;
|
|
}
|
|
|
|
svg {
|
|
fill: #B8C7E0 !important;
|
|
}
|
|
}
|
|
|
|
.profile-text {
|
|
max-width: 150px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
}
|