/* No context defined for this component. */
%popup-modal {
position: relative;
width: 90vw;
height: 90vh;
max-width: 900px;
margin: auto;
border-radius: $minor-border-radius;
padding: $base-spacing * 1.5;
background-color: $panel-primary;
}
// TODO convert to mixin
@mixin close-x {
position: absolute;
top: 0;
right: 0;
width: $medium-icon-font-size;
height: $medium-icon-font-size;
text-align: center;
color: $grey-dark;
cursor: pointer;
&:after {
content: '\f00d'; // X icon
font-family: FontAwesome;
margin-left: 0;
}
&:hover, &:active, &:focus {
color: $grey-demon;
text-decoration: none;
}
}
@mixin close-x-overflow {
width: $close-x-overflow-size;
height: $close-x-overflow-size;
border-radius: 50%;
background-color: $grey-darkest;
opacity: 1;
color: white;
line-height: 0;
font-size: 16px;
right: -$close-x-overflow-size / 2;
top: -$close-x-overflow-size / 2;
}
There are no notes for this item.