2018-07-05 09:59:42 +00:00
|
|
|
@import './assets/styles/global.scss';
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.modal-open {
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
z-index: 3;
|
2018-07-11 09:18:07 +00:00
|
|
|
background-color: $dark-navy;
|
2018-07-06 13:49:24 +00:00
|
|
|
overflow: auto;
|
2018-07-05 09:59:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.modal-on-mobile-only {
|
|
|
|
|
|
|
|
@media (min-width: $desktop) {
|
|
|
|
background-color: transparent;
|
|
|
|
height: auto;
|
2018-07-06 11:46:30 +00:00
|
|
|
display: block;
|
|
|
|
position: initial;
|
|
|
|
width: auto;
|
2018-07-05 09:59:42 +00:00
|
|
|
|
|
|
|
.modal-inner {
|
|
|
|
position: initial;
|
|
|
|
padding: 0;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
top: inherit;
|
|
|
|
left: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-close {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-inner {
|
2018-07-06 13:49:24 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding-top: calculateRem(24);
|
2018-07-05 09:59:42 +00:00
|
|
|
|
|
|
|
@media (min-width: $tablet) {
|
2018-07-06 13:49:24 +00:00
|
|
|
padding-top: calculateRem(48);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.container {
|
|
|
|
max-width: calculateRem(1024);
|
2018-07-05 09:59:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-close {
|
2018-07-06 13:49:24 +00:00
|
|
|
position: fixed;
|
|
|
|
top: calculateRem(16);
|
|
|
|
right: calculateRem(16);
|
2018-07-05 09:59:42 +00:00
|
|
|
padding: calculateRem(4);
|
|
|
|
background-color: #cfcfcf;
|
|
|
|
text-align: center;
|
|
|
|
width: calculateRem(32);
|
|
|
|
height: calculateRem(32);
|
|
|
|
border-radius: 50%;
|
|
|
|
cursor: pointer;
|
|
|
|
outline: none;
|
2018-07-06 13:49:24 +00:00
|
|
|
z-index: 4;
|
2018-07-05 09:59:42 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #c1c1c1;
|
|
|
|
}
|
|
|
|
}
|