File: /var/www/quadcode-jobs/resources/sass/components/overlay.scss
.overlay {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
display: flex;
justify-content: center;
align-items: center;
background-color: rgba(0,0,0,.5);
visibility: hidden;
opacity: 0;
pointer-events: none;
transition: opacity .6s cubic-bezier(.55,0,.1,1),transform .6s cubic-bezier(.55,0,.1,1),visibility .6s cubic-bezier(.55,0,.1,1);
-ms-overflow-style: none;
&::-webkit-scrollbar {
width: 0;
}
&__content {
width: 996px;
height: 558px;
position: relative;
iframe {
width: 100%;
height: 100%;
}
video {
width: 100%;
}
}
&__close {
width: 5.5rem;
height: 5.5rem;
position: absolute;
right: 0;
top: 0;
background: var(--color-highlight);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 200;
svg {
width: 14px;
path {
fill: white;
}
}
}
&--open {
visibility: visible;
opacity: 1;
pointer-events: auto;
}
}