File: D:/HostingSpaces/SBogers10/ridderstee.komma.pro/wwwroot/css/popup.scss
@import 'bourbon/bourbon';
@import 'mixins/mixins';
@import 'functions/functions';
@import 'config';
@import "partials/button";
.c-pop-up {
position: fixed;
z-index: 800;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow-y: scroll;
}
.fade-out {
visibility: hidden;
opacity: 0;
transition: visibility 0s 0.3s, opacity 0.3s linear;
}
.c-pop-up__contain {
@include flex(center, center);
height: 100%;
min-height: 640px;
width: 100%;
@include respond-to-width(500) {
margin: 100px 0;
}
}
.c-pop-up__overlay {
position: fixed;
left: 0;
top: 0;
height: 100%;
width: 100%;
background-color: $darkBlue;
opacity: 0.85;
}
.c-pop-up__modal {
position: relative;
z-index: 2;
width: calc(95% - 48px);
max-width: 900px;
}
.c-pop-up__close {
z-index: 2;
position: absolute;
right: -12px;
top: -12px;
width: 24px;
height: 24px;
background-color: #C8BA9F;
border-radius: 12px;
cursor: pointer;
&:before,
&:after {
content: '';
display: block;
width: 12px;
height: 3px;
background-color: $darkBlue;
position: absolute;
top: calc(50% - 1px);
left: calc(50% - 6px);
}
&:before {
transform: rotate(45deg);
}
&:after {
transform: rotate(135deg);
}
}
.c-pop-up__top{
width: 100%;
height: 600px;
max-width: 900px;
background-image: url("/img/pop-up-background.jpg");
background-color: #c3c3c3;
background-position: center;
background-size: cover;
position: relative;
@include respond-to-width(500) {
height: 400px;
}
}
.c-pop-up__bottom{
width: 100%;
background-color: #C8BA9F;
color: $darkBlue;
display: flex;
@include respond-to-width(500) {
display: block;
}
}
.c-pop-up__pre-title {
font-size: 16px;
line-height: 22px;
font-weight: medium();
font-style: italic;
color: white;
text-align: center;
margin-bottom: 20px;
}
.c-pop-up__logo {
width: 60%;
max-width: 400px;
margin: 0 auto 15px;
position: absolute;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
bottom: 50px;
svg {
width: 100%;
-webkit-filter: drop-shadow(3px 3px 2px rgba(0,0,0,0.4));
filter: drop-shadow(3px 3px 2px rgba(0,0,0,0.4));
}
}
.c-pop-up__description {
color: $darkBlue;
font-size: 16px;
line-height: 1.4;
}
.c-pop-up__arrowlink{
display: inline-block;
color: #052c35;
text-decoration: none;
margin-top: 10px;
margin-right: 10px;
font-weight: 600;
}
.c-pop-up__buttons { /*Deze bestaat niet meer WEGHALEN*/
@include flex(center, stretch);
@include respond-to-width(500) {
display: block;
text-align: center;
}
}
.c-pop-up__cta-item {
width: 49.5%;
padding: 25px 40px 25px 40px;
display: inline-block;
margin: 0;
@include respond-to-width(500) {
width: 100%;
margin-bottom: 20px;
text-align: center;
}
}
.c-pop-up__button-layout {
text-align: center;
}
.c-pop-up__label {
margin: 0 0 15px;
font-weight: bold();
}
.c-pop-up__button {
display: inline-block;
width: 100%;
max-width: 225px;
}
.c-pop-up__overlay-button {
border-radius: 9999px;
background-color: $orange;
height: 130px;
width: 130px;
-webkit-box-shadow: 5px 5px 10px -5px rgba(0,0,0,0.5);
-moz-box-shadow: 5px 5px 10px -5px rgba(0,0,0,0.5);
box-shadow: 5px 5px 10px -5px rgba(0,0,0,0.5);
@include flex(center, center);
position: absolute;
right: 50px;
top: 50px;
span {
text-align: center;
font-size: 24px;
line-height: 30px;
@include phenomena();
color: white;
transform: rotate(12deg);
}
}
// sass wwwroot/css/popup.scss wwwroot/css/popup.css --style=compressed