webapp/src/components/Nav/Popup.module.scss

45 lines
600 B
SCSS
Raw Normal View History

2022-10-17 20:53:04 +00:00
.popup {
background: #fff;
border: 2px solid #000;
@include font-size(1.6rem);
padding: 2.4rem 2.4rem 2.4rem 1.6rem;
position: absolute;
z-index: 10;
ul {
margin-bottom: 0;
}
li {
margin-bottom: 1.6rem;
padding-left: 3.6rem;
position: relative;
&:last-child {
margin-bottom: 0;
}
}
a {
border: none;
}
img {
filter: invert(1);
max-height: 2rem;
max-width: 2rem;
}
.icon {
left: 1.5rem;
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
}
}
.popupShare {
right: 1em;
top: 4.5rem;
}