230 lines
4.4 KiB
SCSS
230 lines
4.4 KiB
SCSS
.popup-window {
|
|
width: 61%;
|
|
height: 70%;
|
|
background: white;
|
|
position: fixed;
|
|
margin: 0 auto;
|
|
left: 50%;
|
|
top: 50%;
|
|
max-width: 800px;
|
|
transform: translate(-50%, -50%);
|
|
-ms-transform: translate(-50%, -50%);
|
|
-webkit-transform: translate(-50%, -50%);
|
|
z-index: 5;
|
|
-webkit-box-shadow: 0 11px 8px 0 rgba(0,0,0,0.2);
|
|
box-shadow: 0 11px 8px 0 rgba(0,0,0,0.2);
|
|
border: 2px solid #dadce0;
|
|
border-radius: 6px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
@media (max-width: $desktop-breakpoint) {
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 5;
|
|
max-width: unset;
|
|
}
|
|
|
|
}
|
|
|
|
.popup-window-video {
|
|
height: unset;
|
|
|
|
@media (max-width: $desktop-breakpoint) {
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 5;
|
|
max-width: unset;
|
|
}
|
|
}
|
|
|
|
.popup-window--gone {
|
|
|
|
display: none;
|
|
}
|
|
|
|
.popup-window__title {
|
|
color: black;
|
|
font-weight: 300;
|
|
margin-top: 10px;
|
|
/* width: 100px; */
|
|
max-width: 72%;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
font-size: 21px;
|
|
height: 35px;
|
|
margin-bottom: 0;
|
|
|
|
@media (max-width: $desktop-breakpoint) {
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
.popup-window__subtitle {
|
|
color: black;
|
|
font-weight: 300;
|
|
font-size: 11px;
|
|
margin-top: -11px;
|
|
}
|
|
|
|
.popup-window__image__wrapper__subwrapper {
|
|
background: red;
|
|
}
|
|
|
|
.popup-window__image {
|
|
width: 120px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.popup-window__image--loaded {
|
|
|
|
width: 100%;
|
|
max-height: 100%;
|
|
max-width: 100%;
|
|
object-fit: contain;
|
|
opacity: 1;
|
|
border-radius: 6px;
|
|
height: 100%;
|
|
cursor: pointer;
|
|
|
|
@media (max-width: $desktop-breakpoint) {
|
|
width: 90vw;
|
|
max-height: 70vh;
|
|
max-width: 90vw;
|
|
object-fit: contain;
|
|
opacity: 1;
|
|
border-radius: 6px;
|
|
height: 70vh;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.popup-window__button {
|
|
// width: unset;
|
|
// margin-bottom: 12px;
|
|
font-size: unset;
|
|
padding: 13px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: #3c85ee;
|
|
text-decoration: none;
|
|
border-radius: 5px;
|
|
margin-bottom: 6px;
|
|
|
|
&:hover{
|
|
background-color: darken($color: #3c85ee, $amount: 20);
|
|
}
|
|
|
|
@media (max-width: $desktop-breakpoint) {
|
|
margin-bottom: 12px;
|
|
}
|
|
}
|
|
|
|
.popup-window__button-video {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.popup-window__image__wrapper {
|
|
|
|
flex-direction: column-reverse;
|
|
align-items: center;
|
|
display: flex;
|
|
margin-bottom: 50px;
|
|
height: 50%;
|
|
width: 38%;
|
|
max-width: 80%;
|
|
overflow: hidden;
|
|
position: relative;
|
|
justify-content: center;
|
|
max-height: 50%;
|
|
|
|
@media (max-width: $desktop-breakpoint) {
|
|
|
|
width: 98%;
|
|
max-width: 98%;
|
|
}
|
|
|
|
// flex-direction: column-reverse;
|
|
// align-items: center;
|
|
// display: flex;
|
|
// margin-bottom: 50px;
|
|
// height: 50%;
|
|
// width: 80%;
|
|
// max-width: 80%;
|
|
// overflow: hidden;
|
|
// position: relative;
|
|
// justify-content: center;
|
|
// max-height: 50%;
|
|
|
|
// @media (max-width: $desktop-breakpoint) {
|
|
|
|
// flex-direction: column-reverse;
|
|
// align-items: center;
|
|
// display: flex;
|
|
// margin-bottom: 50px;
|
|
// overflow: visible;
|
|
// position: relative;
|
|
// justify-content: center;
|
|
// height: 100vh;
|
|
// width: 100vw;
|
|
// }
|
|
|
|
}
|
|
|
|
.popup-window__spinner__wrapper {
|
|
margin-left: -25px;
|
|
}
|
|
|
|
.popup-window__close-button {
|
|
width: 29px;
|
|
position: absolute;
|
|
left: 8px;
|
|
top: 10px;
|
|
opacity: 0.7;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.popup-window__video {
|
|
max-height: 70%;
|
|
max-width: 95%;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.popup-window-wrapper {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
|
|
@media (max-width: $desktop-breakpoint) {
|
|
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.popup-window-wrapper-video {
|
|
flex-direction: column;
|
|
justify-content: space-evenly;
|
|
|
|
@media (max-width: $desktop-breakpoint) {
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.popup-file-details-title {
|
|
font-family: "Roboto",sans-serif;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.popup-window-button-wrapper {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
} |